![]() |
Show Events & Birthdays on Additional Forum Pages
This hack will allow you to display upcomming events and birthdays at the top of the forum display, show thread and/or search pages. It uses the forums normal calendar permission rules, so only authorized users will be able to see your forum's events. The hack will correctly install for both 3.5.x and 3.6.0 version forums.
Installation: 1. Use the Product Manager to import the product file product-rah_events_on_forum_pages_1_1_0 2. Configure the product options as desired under the vBulletin options, "Events on Forum Pages". 3. Use the Style Manager to add the code below to the bottom of the navbar template. HTML Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> That's it. You're done. Enjoy! Please find sample screenshots of the options menu and the forum display page attached. If you have any questions, please feel free to PM me. |
nice hack installed thanx
|
it doesn't work on my site. Are there any known bugs or issues with other mods that you know of?
|
No known bugs at this point. I originally wrote this mod for a fellow who is running a 3.5.4 board, and it has been running there without issue for the past three weeks or so, and I've been running it on a 3.6.0 test site also without any problems. Can you specify exactly what is happening?
And, additionally: - If you aren't seeing the events on the forumdisplay, showthread or search pages, are you able to at least see them at the top of the forumhome page, just under the navbar? - Are all the option configurations set to "Yes"? |
One addition that might be handy for some: Add an option to select on which forums this information is shown. Imagine someone has a forum where people discuss events - it would be good to show the upcoming events only on that forum because on the other forums it's just an information-overkill. :)
I'll click install later - I am now busy with other things but I will install this addon for sure. Thank you! :) |
Working good... :)
|
Excellent Work!
Is there a way to modify the number of days? I would like to show upcoming events for the next 30 days. |
Any way to get this to just appear in a vBA CMPS module rather than the forum pages?
|
Quote:
|
Quote:
|
It'd be nice, if there is an option to set specific forum for events & birthdays. for example, I've an forum for members birthdays.. so i only want to show birthdays on that section.. thx..
//Edit .. Oops sorry! MrNase already posted this :p |
Quote:
That would be great - thank you! :) |
Quote:
For instance, I use the "Event Forums" mod, which already puts a display of X days at the top of calendar-linked forums. In those forums I'd like to use the Event Forums display for 7 days worth of events, but use your mod to display just a day or two everywhere else. Other than that, this mod looks perfect for my site. -- hugh |
I have confirmed that this hack is working with 3.6.0 through 3.6.2.
|
I get an error when I use it:
Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of convert_bits_to_array(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /is/htdocs/wp1012303_QBSRR1K0AQ/www/board/forumdisplay.php(106) : eval()'d code on line 103 AND vBulletin Message Unable to add cookies, header already sent. File: /is/htdocs/wp1012303_QBSRR1K0AQ/www/board/forumdisplay.php(106) : eval()'d code Line: 103 |
Awesome. I had just did the templace edit manually to show on Forum home and was dreading having to do it all by hand to show other places.
I removed my manual template edit from FORUMHOME and followed your directions. This hack did the trick very nicely to have it show other places with only the one template edit in navbar. Thanks! |
Hi!
I have the following problem: On the forum index I see this (index.php): http://www.necronia.de/home1.jpg That's ok :) But when I switch to a forum I see this (forumdisplay.php): http://www.necronia.de/forum1.jpg Same in viewing a thread (showthread.php) :( Can someone help me? :) I'm using vBulletin 3.6.4. Thx, GHoSti |
Hello,
Thank you for this great addon! One suggestion but I don't know if it's doable since it's probably intertwined with VB... It would be great to be able to select which calendar to display on which forum since VB allows for creation of multiple calendars. Once again, thanks a lot for this mod, it's exactly what I've been looking for! - Jeff |
Farcaster, like Jeff suggest, is there a way to make these info display on a specific forum only?
|
Confirming that this works on 3.6.3
Great hack, just what I was looking for. Thanks! |
I am using 3.6.5 but after installation nothing changed on my site...no upcoming events...nothing... all options are "YES"?
Can somebody help me? |
I love this hack, Thanks Farcaster.
I also would love to use this on vbadvanced portal. |
I'd like to only see special calendars on special forums.
|
sweet how many additional queries does this add?
|
this hack didnt work with 3.6.4.
i installed, edited the template and ... nothing happaned. all to yes! there is only 1 change. i have 1 more line between the navbar and the forum, but it is a clear line. nothing in it :( can someone help me? ADD: after reboot .... they appear. but! only the today events! why doesnt appear upcoming events? tell me, how i can set the days for the events to display. |
Help! I am getting the following error:
Database error in vBulletin 3.6.5: Invalid SQL: SELECT c.calendarid, max(CASE WHEN cp.calendarpermissions IS NULL THEN ug.calendarpermissions ELSE cp.calendarpermissions END) maxPerm FROM usergroup ug CROSS JOIN calendar c LEFT JOIN calendarpermission cp ON c.calendarid = cp.calendarid AND cp.usergroupid = ug.usergroupid WHERE ug.usergroupid IN (6, 09) GROUP BY c.calendarid;; MySQL Error : Unknown column 'ug.usergroupid' in 'on clause' Error Number : 1054 Date : Monday, May 21st 2007 @ 08:36:59 PM Script : XXXX Referrer : XXXX IP Address : XXX Username : XXX Classname : vB_Database Thanks for what is promising to be a very useful mod. :) |
I was able to install it and it is a very good mod, but... it did add about 5 queries, so, sadly, I had to uninstall it. Is there any way of decreasing the quearies this mod requires? That would be great.
|
Hi,
I have the problem that your mod shows the birthdays on forumhome, even though I did switch this feature off (I only want to show events). Any ideas on this ? |
Works on 3.6.5
|
Quote:
|
Not functioning in 3.7.1 when one uses the nice ad_on hooks of vbulleting and trying to put into ad_navbar_below the code to escape editing navbar template :(
But it is ok when one edits navbar |
Would it be possible to choose a specific calendar to display only on a certain forum, or forum(S)?
|
I really like this product, It is simple and easy, Works thus far in my 3.8.4 PL1 system
What I would like to do as well is add the Events Posting to a Thread, much like the mod Here |
It is Buggy as of being in showthread_start and forumdisplay_start hook it generates the error.
PHP Warning: Call-time pass-by-reference has been deprecated in showthread.php(112) : eval()'d code on line 104 or forumdisplay.php(111) : eval()'d code on line 111 Disabled. |
where in the code can I change the x amount of days for forum events?
|
All times are GMT. The time now is 06:38 AM. |
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:
|