![]() |
|
Mod Options |
![]() |
|||||||||||||||||||||||
UpComing Events SideBlock/Bar With/Without Image
![]() Developer Last Online: Feb 2020 ![]() ![]() ![]()
Upcoming Events in Forum Block/Sidebar
Add the "Upcoming Events" in the forum side block (Added as a few people seem to have issues with other mods the same) Start by logging into your Admin cp Goto Forums and moderators - Forum Blocks Manager and add a new Block. Call the Block Upcoming Events(Or what ever suits your liking) Set the block to Active And use PhP Format. Now add the content below :
Then just make sure the template to use is set to Block_HTML This will then show the latest upcoming event from your calendar with multi-day events shown until the last day of the event. Update Thanks to dcuellar What this does is add a picture centered above the upcoming event. The picture is uploaded to 'images/' as event.jpg. You can change that to whatever you want. It also corrects the issue I had with the date. It's now projecting the proper date. NOTE: I changed the number of events to display to 1. I do not need the range on my forum so I did not test that part. Here you go for those interested (change what's in Red):
Thanks go to cybaGirl for this fix: Anyone who has the date showing as the day before can use this code in there forum block.
Download Now Only licensed members can download files, Click Here for more information. Show Your Support
|
Comments |
#2
|
||||
|
||||
Works well in Vbull 4.0.6 and no screenshots needed as each users forum will be showing different upcoming events anyway!
We use this to show upcoming events on the calendar for our Football comps and the like! No members have liked this post.
Last edited by ProFifaLeagues; 06 Nov 2010 at 13:04. |
#3
|
|||
|
|||
what about birthdays? are they shown?
No members have liked this post.
|
#4
|
||||
|
||||
No mate it wont pull the birthdays but is something i will look into adding next!
No members have liked this post.
|
#5
|
|||
|
|||
cheers, its installed when it shows birhtdays since i am looking for that a long time!
No members have liked this post.
|
#6
|
||||
|
||||
Well this may be of help then fella and it works well as i have used it
http://www.vbulletin.org/forum/showt...light=birthday No members have liked this post.
|
#7
|
||||
|
||||
demo?
__________________
Metallica Unauthorized.. No members have liked this post.
|
#8
|
||||
|
||||
We run a closed Site but will add some screen shots later when i get home!
No members have liked this post.
|
#9
|
||||
|
||||
Heres a basic view with one event arranged for today(Info pulled from the calendar)
No members have liked this post.
|
#10
|
|||
|
|||
We have multiple calendar events per day, and for today it only shows 1 event out of 4
__________________
RaceDepartment.com No members have liked this post.
|
#11
|
||||
|
||||
Originally Posted by Bram H
Not sure then there whats happening as we have it set to pull all events on the preset day from the main calendar but n saying that we do only run one event at a set date!![]()
Sorry i cant be more helpful but after a quick look around seems there is a few problems with the date discrepancy on vbull for this type of mod...Only other thing you could try would be copy the original upcoming event code and test that. No members have liked this post.
|
#12
|
|||
|
|||
Originally Posted by rammieone
![]()
quite nice, thats true. but i would rather the birthdays in the calender widget as well. No members have liked this post.
|
#13
|
|||
|
|||
This one works well. Anyway to have an image above the event in the forum block. Would be nice for it to automatically pull an image posted in the calendar event.
No members have liked this post.
|
#14
|
|||
|
|||
Also, I just noticed that the date shown on the forum block is one day before it is set in the calendar.
No members have liked this post.
|
#15
|
||||
|
||||
Got both of my above comments to work.
Here you go for those interested (change what's in Red):
What this does is add a picture centered above the upcoming event. The picture is uploaded to 'images/' as event.jpg. You can change that to whatever you want. It also corrects the issue I had with the date. It's now projecting the proper date. What I'd really like to do is replace the code related to the image with a piece of code that uses an image that was either attached or placed between img tags in the event. NOTE: I changed the number of events to display to 1. I do not need the range on my forum so I did not test that part. No members have liked this post.
Last edited by dcuellar; 16 Nov 2010 at 03:41. |
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 21:21.