![]() |
Snowbot - Try uploading an un-hacked version of functions_calendar.php into your forum/includes folder and see if that makes a difference. That will add the arrows back and make the calendar slightly wider than the rest of the blocks, but you should try that to test and see if it's a problem with the file, or if you are somehow missing the calendar phrases.
The Quibbler - To add more custom blocks, just copy the content from one of the other custom blocks and then paste it into your index template where you would like it to appear. ;) |
I guess I do have one other problem with it that I just discovered. I made a new template called 'index_links', to try making a page for the site; when I go to adv_index.php?page=links, I get this error:
Quote:
|
Ahh, good find... If you'll look in your adv_index.php file for this line of code:
include('./includes/functions_bbcodeparse.php'); Remove that and paste it right below this line instead: require_once('./global.php'); That should fix the problem. :) |
Ah, that fixed it :)
One last question: if I was going to link to a page of content in a side block, what would I link to? Just "?page=links"? That's what I do for my current non-vbulletin home page; it's got a similar content system. But with vB, if someone came to adv_index.php?referrerid=1, wouldn't going to ?page=links and taking off the ?referrerid=1 cause the referrer to not get the credit if they register later? Or is that not how it works? |
Quote:
|
In the install file it says
Find: function construct_calendar_output($today, $usertoday, $calendarinfo, $fullcalendar = 0, $weekrange = '') { global $birthdaycache, $eventcache, $bbuserinfo, $vbphrase, $stylevar; Replace it with: function construct_calendar_output($today, $usertoday, $calendarinfo, $fullcalendar = 0, $weekrange = '', $dontshowweek = '0') { global $birthdaycache, $eventcache, $bbuserinfo, $vbphrase, $stylevar, $vboptions; But that code isnt there, its now changed to global $birthdaycache, $eventcache, $bbuserinfo, $vbphrase, $stylevar, $show, $offset, $colspan, $days, $months, $show, $vboptions; so what do i change the file to now? Can you update the install instructions also so other know? :) |
Quote:
|
Quibbler - I'm not quite sure what you mean by the content in side blocks... Could you maybe give me an example of what you're talking about?
I'm honestly not too familiar with the way the referrer system works since that's not something I use. I'm pretty sure though that as long as the visitor uses the link containing "referrerid=X" when they first visit your site that everything will still work. I know a visitor can visit the site, browse threads, and then sign up, so it shouldn't be a problem if they visit other parts as well. It may not hurt to test it out though. ;) SnowBot - Ok, I figured that was it. I assume you saw that the zip file was updated earlier today, so if you download that and re-apply the file change to functions_calendar.php it should fix the problem. |
great hack,
but i?ve a problem with the calendar :/ as you can see on the attached screenshot, my calendar has 8 columns :( I?ve set "Monday" as start of week in vb-options and profile |
Tigga - I was talking about using a sideblock to have links to the pages of content, but never mind. It works fine, so I'm not going to make things more complicated by bothering with the "correct" way to do it, as long as it works.
|
All times are GMT. The time now is 05:03 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|