natimage Posted June 28, 2004 Share Posted June 28, 2004 Maybe not the best forum...it's too late here for me to make that decision very well!! Anyway, I'm wondering if it is possible to change which invision power board page loads after login or registration. 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. Anyone know how to go about doing this??? Quote Link to comment Share on other sites More sharing options...
TCH-Bruce Posted June 28, 2004 Share Posted June 28, 2004 Not sure Tracey but I'm sure someone will have an idea. Moving for organization. Quote Link to comment Share on other sites More sharing options...
borfast Posted June 28, 2004 Share Posted June 28, 2004 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. 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. If it's with a PHP redirect, then you should look in the login code for something that looks like this >header("location: index.php"); and change "index.php" into whatever you want. 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 ><meta http-equiv="Refresh" content="5; URL=index.php"> and, once again, change "index.php" to the calendar URL. Quote Link to comment Share on other sites More sharing options...
natimage Posted June 28, 2004 Author Share Posted June 28, 2004 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 ><meta http-equiv='refresh' content='2; url={$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}$Url'> 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: Fatal error: Call to a member function on a non-object in /home/pioneers/public_html/invision/sources/calendar.php on line 50 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. Thanks for the help...I'll keep working on it! Quote Link to comment Share on other sites More sharing options...
natimage Posted June 28, 2004 Author Share Posted June 28, 2004 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. Up in the top, left corner the word calendar> is appearing. To check it out, you can login to THIS BOARD using: username=testing password=testing 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 ><meta http-equiv='refresh' content='2; url={$ibforums->base_url}&act=calendar'>{$ibforums->lang['tb_calendar']}> Quote Link to comment Share on other sites More sharing options...
Ninepatch Posted June 28, 2004 Share Posted June 28, 2004 Go girl, go! You get to wear the Ya Ya hat today! Thumbs Up Quote Link to comment Share on other sites More sharing options...
natimage Posted June 28, 2004 Author Share Posted June 28, 2004 YA-YA!!!!! ...now where's my crown???? woooot Quote Link to comment Share on other sites More sharing options...
TCH-Bruce Posted June 28, 2004 Share Posted June 28, 2004 Tracy, glad you got it working. Quote Link to comment Share on other sites More sharing options...
natimage Posted June 28, 2004 Author Share Posted June 28, 2004 I fixed the little oddity I mentioned. Works like a charm now!!!!! Quote Link to comment Share on other sites More sharing options...
TCH-Don Posted June 28, 2004 Share Posted June 28, 2004 Nice going tracy Thumbs Up Quote Link to comment Share on other sites More sharing options...
borfast Posted June 28, 2004 Share Posted June 28, 2004 Well, looks like I'm a bit late to try and help you but you didn't seem to need my help anyway Glad you got it working Thumbs Up Quote Link to comment Share on other sites More sharing options...
natimage Posted June 28, 2004 Author Share Posted June 28, 2004 Well, looks like I'm a bit late to try and help you but you didn't seem to need my help anyway Glad you got it working Thumbs Up 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!!! Quote Link to comment Share on other sites More sharing options...
borfast Posted June 29, 2004 Share Posted June 29, 2004 Tracy, I have only shown you the path. You were the one that walked it, so the merit is yours Quote Link to comment Share on other sites More sharing options...
natimage Posted June 29, 2004 Author Share Posted June 29, 2004 ...thanks, man! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.