View Full Version : calendar link not picking up forums folder
The calendar on my home page, doesn't link correctly. It's not seeing the forums folder IE clicking it links to http://2coolfishing.net/calendar.php?month=5&year=2004&c=1&do=displaymonth instead of http://2coolfishing.net/ttmbforum/calendar.php? Any ideas on how to correct this very small issue would be appreciated.
Mont
Brian
05-28-2004, 11:18 AM
It looks like you missed one of the file modifications. Make sure that you applied the changes to your includes/functions_calendar.php file.
Richard
05-28-2004, 01:50 PM
I had ran into this same problem, but forgot to post about it.
It is a template error. In the calendar_smallmonth_header template, change this line:</if><a href="calendar.php?$session[sessionurl]month=$month&year=$year&c=$calendarid&do=displaymonth">$monthname $year</a></td>to this:</if><a href="$vboptions[bburl]/calendar.php?$session[sessionurl]month=$month&year=$year&c=$calendarid&do=displaymonth">$monthname $year</a></td>
Brian, the installation was done by the vBadvanced team, I didn't actually do it. Can they have another look at the install and see if they can correct it?
Brian
05-28-2004, 04:13 PM
Ahhh, very sorry about that. Would you mind filling out a support ticket then so I can have a look? Since the installation was complete we don't still have your server & forum info.
thanks Brian, and its certainly no rush to fix this, it's a very minor problem. You hack is greatness.
thanks for fixing it Brian. It's working great now.
Richard
06-03-2004, 08:12 PM
this fix wasn't included in v1.0.0 (Gold)
Brian
06-04-2004, 10:54 AM
Well crap... I've just updated the zip file and double checked this time to be sure that the templates.txt file contains the correct code.
If anyone is having a problem with this, you can simply edit your 'calendar_smallmonth_header' template and look for:
calendar.php
Replace that with:
$vboptions[bburl]/calendar.php
And that will fix the problem. :)
cmiller1014
03-19-2005, 12:30 PM
Over a year later and it hasnt been updated in the zip file yet? We just installed and have the same problem. :D
Brian
03-19-2005, 12:37 PM
The zip file was updated long ago and does not even contain a templates.txt file anymore. If the link isn't pointing to your calendar then you either missed the template modifications, or you didn't apply the changes to your functions_calendar.php file.
dstephan
09-05-2005, 11:57 PM
I just installed this last week and I'm having this exact problem. The code in calendar_smallmonth_header has the "$vboptions[bburl]/calendar.php". But it's not going to the "forums" dir on the minis. I doublechecked the code changes and seem to have gotten them all.
Rich330
09-06-2005, 09:39 PM
I'm having the same problem also on this one :(
Rich330
09-06-2005, 09:45 PM
OK fixed the above problem by adding forum/ infront of calendar
$vboptions[bburl]/forum/calendar.php
Well crap... I've just updated the zip file and double checked this time to be sure that the templates.txt file contains the correct code.
If anyone is having a problem with this, you can simply edit your 'calendar_smallmonth_header' template and look for:
calendar.php
Replace that with:
$vboptions[bburl]/calendar.php
And that will fix the problem. :)
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.