The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
my first hack, enjoy...
Today's Events on Main Forum Page Hack Version: 4 Description: Lists today's events on the main page, under the Online Users & Birthdays (both public, and private events). *Version 2 adds the ability to list either bulleted or linear *Version 3 uses the users timezone adjusted date, rather than the servers date *Version 4 fixes a type-o on line 47ish, and adds one bit of instruction if using the bulleted list, rather than linear Files to Add: todaysevents.php Files to Edit: index.php Templates to Edit: forumhome_loggedinusers Templates to Add: calendar_privateevent_linear, calendar_publicevent_linear Demo: Bulleted: Linear: upgrade from version 2: 0) backup necessary files 1) upload new todaysevents.php 2) done upgrade from version 2: 0) backup necessary files 1) upload new todaysevents.php 2) done upgrade from version 1: 0) backup necessary files 1) upload new todaysevents.php 2) add 2 templates (NOTE: there is an important space after the comma at the end, and an extra space in {calpubliccolor } and {calprivatecolor }) calendar_publicevent_linear PHP Code:
PHP Code:
4) done First Time Installation: 0) backup everything, just in case 1) upload todaysevents.php to your main vbulletin directory 2) edit index.php after this: PHP Code:
PHP Code:
change this: PHP Code:
to this: PHP Code:
(NOTE: there is an important space after the comma at the end, and an extra space in {calpubliccolor } and {calprivatecolor }) calendar_publicevent_linear PHP Code:
PHP Code:
6) All done. one person downloaded version 4, i didnt test my change, and forgot to comment out a line. line 10 needs comments for that one person who downloaded the bad version 4 this one is fixed, fyi (its at the bottom somewhere) https://vborg.vbsupport.ru/showthrea...943#post141943 Show Your Support
|
Comments |
#112
|
|||
|
|||
You are not the only one smachol no probs here too, and integrated with vB very nice
|
#113
|
||||
|
||||
Is it possible to show an image, underneath the event (relating to the event, of course ) on the main page? That'd be cool.
Thanx |
#114
|
||||
|
||||
There's something in this hack who will not work with latest version of Vbulletin because $birthdaybits is now independant of 'forumhome_loggedinusers'. It's now on template "forumhome_birthdaybit "
So... here what I do for correct the situation (mod of the original instal instruction) a) In step 2 you must search for Quote:
Quote:
In step 3 Instead of template 'forumhome_loggedinusers', you must use 'forumhome_birthdaybit '. So, in forumhome_birthdaybit templates, change this: Quote:
Quote:
You can look at the results at my 2.2.6 vBulletin board here |
#115
|
||||
|
||||
Is it possible to make it so a Calender event will popup when a user goes to the forum??
|
#116
|
||||
|
||||
Ok mine only shows up when I have a birthday on the same day as the event ...
|
#117
|
|||
|
|||
hhmm. My $birthdaybits is in the formhome template what do i do about that? Because mine is not showing up neither. Please help me out. Thanks.
|
#118
|
|||
|
|||
Ok it works now but i see the comma at the end. Why is that and how do i fix it?
|
#119
|
||||
|
||||
I put mine in the forumhome_pmloggedin and put $pminfo at the top of forumhome.
|
#120
|
||||
|
||||
? How did you fix it BigJohnson?
|
#121
|
|||
|
|||
How do i make this to work on non-VB page? This would be great.
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|