![]() |
Upcoming Events on Top of Pages
1 Attachment(s)
This is what I did to make Upcoming Events display nicely on the top of Forumhome:
Added below {vb:raw header}{vb:raw navbar} <!-- upcomingevents --> <div id="wgo" class="collapse wgo_block"> <h2> <span> Upcoming Events </span> </h2> <div class="floatcontainer"> <div id="wgo_events" class="wgo_subblock"> <ol class="commalist"> {vb:raw upcomingevents} </ol> </div> </dl> </div> </div> <!-- upcomingevents --> Note that the commalist class reduces the space this takes and displays nicely. If anyone can help by explaining how this can be added to all pages I would be grateful. |
Screenies would be great :)
|
Does not work on mine. I placed in ForumHome underneath the options you selected and still do not see the actual events. I have a LOT of events being an event board and all...
Uninstalled/Removed code. Provide screen shots and try again :) |
1 Attachment(s)
Okay, I'm adding a bit more code copied directly from my edited Forumhome to make sure I provided it correctly.
</head> <body> {vb:raw header}{vb:raw navbar} <!-- upcomingevents --> <div id="wgo" class="collapse wgo_block"> <h2> <span> Front Range 4x4 - Upcoming Runs </span> </h2> <div class="floatcontainer"> <div id="wgo_events" class="wgo_subblock"> <ol class="commalist"> {vb:raw upcomingevents} </ol> </div> </dl> </div> </div> <!-- upcomingevents --> <vb:if condition="$show['sidebar']"> And a screen shot: |
Ya, I tried to get it into a forum block and had no luck either.
|
Quote:
|
You are using the block WGO ( whats going on ) isnt that conflicting with the actual WGO block for whats going on
Ahh strike that you havent got it collpase/expand so looks fine :) |
Sorry but I have no idea why anyone would have different results than I'm having. I did the same basic concept on 3.8 too. I just updated to the latest (4.01?) and had to revert the forumhome template which eliminated the Upcoming Events so just pasted what I posted here and it worked fine.
See it in person: http://frontrange4x4.com I'd like to get a forum block with this too but don't "get" them yet. I do use the widget available. The donation mod is here: http://www.phpjabbers.com/paypal-donate-script/ but you should know you have to enter the donations received manually by the admin script. |
Quote:
I just changed the notices to the same format and that works just as well. |
Heya,
I luv what you've done with the site...looks really cool! Please be patient with my question, i'm a real novice:-) Where do I actually place that code you displayed? Is it through admincp? Also, which widget are you using on the front page for 'upcoming runs'? Cheers. |
admincp->styles & templates ->search in templates ->search for forumhome
Open forumhome and paste it under the {vb:raw header}{vb:raw navbar} tags Widget: https://vborg.vbsupport.ru/showthread.php?t=231365 Read through the thread to find the change of time fix. It does work. |
This is so VB3.. Need to start thinking VB4.x. We need to get away from putting everything on the ForumHome and put it on the CMS. That's where stuff belongs. Including recent threads, etc. A Forum is a forum.. all this other stuff just makes it look trashy and cluttered.
|
So now there's a right way and it's your way? :rolleyes:
|
Quote:
|
The calendar is critical and having the events on top of the forum is the only way to go for my site, my users love it. Anyone who doesn't like it shouldn't use, life's like that.
|
Looks good, I've tagged it until I do this, but wanted to say thanks for sharing!
|
Do I customise any of the code?
|
You can any way you'd like but I suggest starting with what I have to see it first. I have it reduced to consume as little space as possible.
|
It'd be cool if we could get upcoming events to appear on the sideblock as well
|
I agree, it's my hope someone can show us how to do that.
|
Good work FrontRange
How annoying is it when you release code, and then get hijacked by idiots. Dont these people realise this is your code you are sharing, and not forcing people to use. Keep it up :up: |
This is just a little template mod I like and use. My sympathies go to coders who come up with a great mod only to have people being critical because it doesn't suit their specific need. :erm:
|
Great addition... Nice work fella! Keep it up
|
Thank you InsomniacP.
|
Well, I couldn't hold out much longer, so marked as installed. Only problem - the background behind the words "upcoming events" is dark gray instead of that light blue color the vb4 default style uses.?
|
Quote:
|
Had this installed yesterday and worked fine, removed the code today due to an error, never worked so i placed the code back as i did before
now all i get is the events box, thst it. nothing ele just the upcoing events box with n o events under it any ideas ? |
Only thing would be leaving out {vb:raw upcomingevents}
Do you have it turned on? Are they showing at the bottom of forumhome? I just looked and you did leave it out. |
In FORUMHOME i have :
{vb:raw navbar} <!-- upcomingevents --> <div id="wgo" class="collapse wgo_block"> <h2> <span> Upcoming Matches </span> </h2> <div class="floatcontainer"> <div id="wgo_events" class="wgo_subblock"> <ol class="commalist"> {vb:raw upcomingevents} </ol> </div> </dl> </div> </div> <!-- upcomingevents --> Is this correct ? |
Yes, that's correct but I do not see anything on the bottom of the page which, unless you removed it, means you don't have it turned on in your admincp
|
I have not turned anything off, so where would the option to turn it on be ?
sorry i am new to vb |
admincp->settings->options->forum homepage options->Display Calendar Events
Choose the number of upcoming days that you wish to display upcoming events from. Entering 0 disables upcoming events |
It was set to 1, i changed it to 5 and now all is working fine, many thanks
|
Glad to hear that!
|
nice installed but can you add an button before the tekst ?thx
|
What kind of button Cindy?
|
Quote:
|
Sure, I don't use birthdays there myself but you can put something like this which I use elsewhere on the top of the page:
<vb:if condition="$show['birthdays']"> <ol class="commalist" id="wgo_onlineusers_list"> <img src="images/smilies/birthday.gif"> Happy Birthday to{vb:raw birthdays}! </vb:if> You might have to check the image path but that's close. Basically you can take anything from WGO and paste it in there and by using <ol class="commalist" id="wgo_onlineusers_list"> you make it into a comma list instead vertical like in WGO to save space. |
awcoding has a really good Donation bar. Check it out www.clanteamxtreme.com/forums
Its not alot of money too!! |
VSa - PayPal Donate is better and free.
|
All times are GMT. The time now is 07:51 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:
|