Maybe not the best forum...it's too late here for me to make that decision very well!! <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/blink.gif" style="vertical-align:middle" emoid=":blink:" border="0" alt="blink.gif" /> Anyway, I'm wondering if it is possible to change which invision power board page loads after login or registration.<br /><br />I have a client who wants to start out just using the calendar feature. I'm sure later they will move into using the forums, but right now, it's just the calendar they want. Now, these aren't all the most computer literate people I've ever run across. So, in my effort to make it as easy as possible, I'd like to have the calendar page come up instead of the main IPB forums page.<br /><br />Anyone know how to go about doing this???<!--content-->
Not sure Tracey but I'm sure someone will have an idea. <br /><br />Moving for organization.<!--content-->
Tracy, I'd say you have to change the login page and make it redirect you to the calendar page instead of the "main" page.<br /><br />I have never done it, so I don't know where you should look for it but I don't think it's very hard. Since IPB redirects you, then it's only a matter of changing where it redirects you to.<br /><br />If it's with a PHP redirect, then you should look in the login code for something that looks like this<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->header("location: index.php");<!--c2--></div><!--ec2-->and change "index.php" into whatever you want.<br />On the other hand, if it's an HTML redirect (I don't think so), you should be looking for something that looks like this<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--><meta http-equiv="Refresh" content="5; URL=index.php"><!--c2--></div><!--ec2--> and, once again, change "index.php" to the calendar URL.<!--content-->
well...I'm not directly finding either of your suggestions. I have played with some things, but haven't gotten anywhere. The last thing I found was <br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--><meta http-equiv='refresh' content='2; url={$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}$Url'><!--c2--></div><!--ec2--><br />which I tried changing to no avail. When I put the calendar.php into that syntax, or try to access the calendar.php page directly, I get this error:<br /><!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->Fatal error: Call to a member function on a non-object in /home/pioneers/public_html/invision/sources/calendar.php on line 50<!--QuoteEnd--></div><!--QuoteEEnd--><br /><br />Maybe some of this info. will help someone know what I should be looking for. I'm somewhat comfortable working with php, but trying to read the php in this program is a bit over my head.<br /><br />Thanks for the help...I'll keep working on it!<!--content-->
WOW...I got it to work. Now, there's this strange little thing happening during the re-direct time, you know, when you have the little box in the middle of the screen telling you that you are being logged in or re-directed, or whatever.<br /><br />Up in the top, left corner the word calendar> is appearing. To check it out, you can login to <a href="http://www.pioneershospital.com/invision" target="_blank">THIS BOARD</a> using:<br /><br />username=testing<br />password=testing<br /><br />Thanks for checking it out. Here is how I made the code work. In the skins_global.php file, I changed the http refresh on line 149 to<br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--><meta http-equiv='refresh' content='2; url={$ibforums->base_url}&act=calendar'>{$ibforums->lang['tb_calendar']}><!--c2--></div><!--ec2--><!--content-->
Go girl, go! You get to wear the Ya Ya hat today! Thumbs Up<!--content-->
<b>YA-YA!!!!!</b> <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/goof.gif" style="vertical-align:middle" emoid=":goof:" border="0" alt="goof.gif" /><br /><br />...now where's my crown???? woooot<!--content-->
Tracy, glad you got it working.<!--content-->
I fixed the little oddity I mentioned. Works like a charm now!!!!!<!--content-->
Nice going tracy Thumbs Up<!--content-->
Well, looks like I'm a bit late to try and help you but you didn't seem to need my help anyway <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/wink.gif" style="vertical-align:middle" emoid="" border="0" alt="wink.gif" /><br />Glad you got it working <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid="" border="0" alt="smile.gif" /><br /> Thumbs Up<!--content-->
<!--QuoteBegin-TCH-Raul+Jun 28 2004, 05:29 PM--><div class='quotetop'>QUOTE(TCH-Raul @ Jun 28 2004, 05:29 PM)</div><div class='quotemain'><!--QuoteEBegin-->Well, looks like I'm a bit late to try and help you but you didn't seem to need my help anyway <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/wink.gif" style="vertical-align:middle" emoid="" border="0" alt="wink.gif" /><br />Glad you got it working <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid="" border="0" alt="smile.gif" /><br /> Thumbs Up<!--QuoteEnd--></div><!--QuoteEEnd--><br /> I wouldn't say that...you got me to looking for the right things! Just took a bit of guessing on my part since I felt like I was trying to read some foreign language!!! <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/tongue.gif" style="vertical-align:middle" emoid="" border="0" alt="tongue.gif" /><!--content-->
Tracy, I have only shown you the path. You were the one that walked it, so the merit is yours <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid="" border="0" alt="smile.gif" /><!--content-->
...thanks, man! <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/biggrin.gif" style="vertical-align:middle" emoid="" border="0" alt="biggrin.gif" /><!--content-->
Not sure Tracey but I'm sure someone will have an idea. <br /><br />Moving for organization.<!--content-->
Tracy, I'd say you have to change the login page and make it redirect you to the calendar page instead of the "main" page.<br /><br />I have never done it, so I don't know where you should look for it but I don't think it's very hard. Since IPB redirects you, then it's only a matter of changing where it redirects you to.<br /><br />If it's with a PHP redirect, then you should look in the login code for something that looks like this<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->header("location: index.php");<!--c2--></div><!--ec2-->and change "index.php" into whatever you want.<br />On the other hand, if it's an HTML redirect (I don't think so), you should be looking for something that looks like this<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--><meta http-equiv="Refresh" content="5; URL=index.php"><!--c2--></div><!--ec2--> and, once again, change "index.php" to the calendar URL.<!--content-->
well...I'm not directly finding either of your suggestions. I have played with some things, but haven't gotten anywhere. The last thing I found was <br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--><meta http-equiv='refresh' content='2; url={$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}$Url'><!--c2--></div><!--ec2--><br />which I tried changing to no avail. When I put the calendar.php into that syntax, or try to access the calendar.php page directly, I get this error:<br /><!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->Fatal error: Call to a member function on a non-object in /home/pioneers/public_html/invision/sources/calendar.php on line 50<!--QuoteEnd--></div><!--QuoteEEnd--><br /><br />Maybe some of this info. will help someone know what I should be looking for. I'm somewhat comfortable working with php, but trying to read the php in this program is a bit over my head.<br /><br />Thanks for the help...I'll keep working on it!<!--content-->
WOW...I got it to work. Now, there's this strange little thing happening during the re-direct time, you know, when you have the little box in the middle of the screen telling you that you are being logged in or re-directed, or whatever.<br /><br />Up in the top, left corner the word calendar> is appearing. To check it out, you can login to <a href="http://www.pioneershospital.com/invision" target="_blank">THIS BOARD</a> using:<br /><br />username=testing<br />password=testing<br /><br />Thanks for checking it out. Here is how I made the code work. In the skins_global.php file, I changed the http refresh on line 149 to<br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--><meta http-equiv='refresh' content='2; url={$ibforums->base_url}&act=calendar'>{$ibforums->lang['tb_calendar']}><!--c2--></div><!--ec2--><!--content-->
Go girl, go! You get to wear the Ya Ya hat today! Thumbs Up<!--content-->
<b>YA-YA!!!!!</b> <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/goof.gif" style="vertical-align:middle" emoid=":goof:" border="0" alt="goof.gif" /><br /><br />...now where's my crown???? woooot<!--content-->
Tracy, glad you got it working.<!--content-->
I fixed the little oddity I mentioned. Works like a charm now!!!!!<!--content-->
Nice going tracy Thumbs Up<!--content-->
Well, looks like I'm a bit late to try and help you but you didn't seem to need my help anyway <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/wink.gif" style="vertical-align:middle" emoid="" border="0" alt="wink.gif" /><br />Glad you got it working <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid="" border="0" alt="smile.gif" /><br /> Thumbs Up<!--content-->
<!--QuoteBegin-TCH-Raul+Jun 28 2004, 05:29 PM--><div class='quotetop'>QUOTE(TCH-Raul @ Jun 28 2004, 05:29 PM)</div><div class='quotemain'><!--QuoteEBegin-->Well, looks like I'm a bit late to try and help you but you didn't seem to need my help anyway <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/wink.gif" style="vertical-align:middle" emoid="" border="0" alt="wink.gif" /><br />Glad you got it working <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid="" border="0" alt="smile.gif" /><br /> Thumbs Up<!--QuoteEnd--></div><!--QuoteEEnd--><br /> I wouldn't say that...you got me to looking for the right things! Just took a bit of guessing on my part since I felt like I was trying to read some foreign language!!! <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/tongue.gif" style="vertical-align:middle" emoid="" border="0" alt="tongue.gif" /><!--content-->
Tracy, I have only shown you the path. You were the one that walked it, so the merit is yours <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid="" border="0" alt="smile.gif" /><!--content-->
...thanks, man! <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/biggrin.gif" style="vertical-align:middle" emoid="" border="0" alt="biggrin.gif" /><!--content-->