The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||||
Show Events & Birthdays on Additional Forum Pages
![]() Developer Last Online: Jun 2014 ![]() ![]()
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"> <!-- today's birthdays --> <if condition="$show['birthdays']"> <tbody> <tr> <td class="thead" colspan="2"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_birthdays')"><img id="collapseimg_forumhome_birthdays" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_birthdays].gif" alt="" border="0" /></a> $vbphrase[todays_birthdays] </td> </tr> </tbody> <tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse[collapseobj_forumhome_birthdays]"> <tr> <td class="alt2"><a href="calendar.php?$session[sessionurl]do=getday&day=$today&sb=1"><img src="$stylevar[imgdir_misc]/birthday.gif" alt="$vbphrase[view_birthdays]" border="0" /></a></td> <td class="alt1" width="100%"><div class="smallfont">$birthdays</div></td> </tr> </tbody> </if> <!-- end today's birthdays --> <if condition="$show['upcomingevents']"> <tbody> <tr> <td class="thead" colspan="2"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a> <if condition="$show['todaysevents']">$vbphrase[todays_events]<else /><phrase 1="$vboptions[showevents]">$vbphrase[upcoming_events_for_the_next_x_days]</phrase></if> </td> </tr> </tbody> <tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]"> <tr> <td class="alt2"><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/calendar.gif" alt="$vbphrase[calendar]" border="0" /></a></td> <td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td> </tr> </tbody> </if> </table> <br /> 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. Show Your Support
|
Comments |
#2
|
||||
|
||||
![]()
nice hack installed thanx
|
#3
|
|||
|
|||
![]()
it doesn't work on my site. Are there any known bugs or issues with other mods that you know of?
|
#4
|
|||
|
|||
![]()
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"? |
#5
|
|||
|
|||
![]()
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! ![]() |
#6
|
||||
|
||||
![]()
Working good...
![]() |
#7
|
||||
|
||||
![]()
Excellent Work!
Is there a way to modify the number of days? I would like to show upcoming events for the next 30 days. |
#8
|
|||
|
|||
![]()
Any way to get this to just appear in a vBA CMPS module rather than the forum pages?
|
#9
|
|||
|
|||
![]() Quote:
|
#10
|
|||
|
|||
![]() Quote:
|
![]() |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|