Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Upcoming Events on Top of Pages Details »
Upcoming Events on Top of Pages
Mod Version: 1.00, by Front Range (Member) Front Range is offline
Developer Last Online: Feb 2013 I like it Show Printable Version Email this Page

vB Version: 4.0.1 Rating: (4 votes - 4.75 average) Installs: 51
Released: 28 Jan 2010 Last Update: Never Downloads: 24
Not Supported Template Edits Re-usable Code Translations  

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.

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #46  
Old 03 Apr 2010, 11:06
deadbolt80 deadbolt80 is offline
 
Join Date: Jan 2010
Hi!

Nice addition. I do have a questions though, is it possible to have the events be centered and underneath each other for easier view?

What do I need to modify to make that possible?

Thanks for the help.
Reply With Quote
  #47  
Old 03 Apr 2010, 18:29
Front Range 4x4 Front Range 4x4 is offline
 
Join Date: Jan 2009
Real name: Chris
Change:

<ol class="commalist">
{vb:raw upcomingevents}
</ol>

to:

{vb:raw upcomingevents}

That should do it I think.
Reply With Quote
  #48  
Old 03 Apr 2010, 18:30
Front Range 4x4 Front Range 4x4 is offline
 
Join Date: Jan 2009
Real name: Chris
It sure would be nice if someone could make a product or plugin that would make this show on all pages. I tried but couldn't get it to work.
Reply With Quote
  #49  
Old 04 Apr 2010, 07:56
deadbolt80 deadbolt80 is offline
 
Join Date: Jan 2010
Originally Posted by Front Range 4x4 View Post
Change:

<ol class="commalist">
{vb:raw upcomingevents}
</ol>

to:

{vb:raw upcomingevents}

That should do it I think.
Nope, that didn't change anything at all.
Reply With Quote
  #50  
Old 04 Apr 2010, 15:17
Front Range 4x4 Front Range 4x4 is offline
 
Join Date: Jan 2009
Real name: Chris
Can you post a link?
Reply With Quote
  #51  
Old 04 Apr 2010, 23:45
tiga2 tiga2 is offline
 
Join Date: Feb 2010
I was trying to Put the Text "Upcoming Events:" beside the events
But it still makes a Line break before it lists the Events.. Any Ideas?


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #52  
Old 05 Apr 2010, 00:27
Front Range 4x4 Front Range 4x4 is offline
 
Join Date: Jan 2009
Real name: Chris
You can use any code you would like, most of what I provided was formatting the way I use it. Play around with it using {vb:raw upcomingevents} to get the formatting the way you like it.
Reply With Quote
  #53  
Old 05 Apr 2010, 16:22
customcolor customcolor is offline
 
Join Date: Mar 2010
i added the code and it works great for us...we dont have many events so some may even forget to check the calender...so adding this will remind people i also added this to under the navbar so it wouldnt split the header and navbar in our style sheet...code::::

{vb:raw header}

{vb:raw navbar}

<!-- upcomingevents -->
<div id="wgo" class="collapse wgo_block">
<h2>
<span>
Up and Coming Calendered 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 -->




Link to our forums home..like i say there isnt many things going on so there may not be something showing all the time.
Reply With Quote
  #54  
Old 07 Apr 2010, 08:21
deadbolt80 deadbolt80 is offline
 
Join Date: Jan 2010
Originally Posted by Front Range 4x4 View Post
Can you post a link?

My site is 6thGenMaxima.org.. not sure if you see the upcoming events if you're not logged in, but try anyway.
Reply With Quote
  #55  
Old 07 Apr 2010, 15:37
Front Range 4x4 Front Range 4x4 is offline
 
Join Date: Jan 2009
Real name: Chris
I don't see anything in the WGO deadbolt, maybe it's permissions. Is anything showing there for you? If it's not showing in the standard location it surely won't show at the top of the page either.
Reply With Quote
  #56  
Old 08 Apr 2010, 01:08
deadbolt80 deadbolt80 is offline
 
Join Date: Jan 2010
I see it in the wgo section... I just want the list of events on the top of my forums page to be centered and instead of "," in between, for it to be stacked.... did I explain myself correctly? lol.

What permissions would I need to adjust for you to see it?
Reply With Quote
  #57  
Old 09 Apr 2010, 00:54
Front Range 4x4 Front Range 4x4 is offline
 
Join Date: Jan 2009
Real name: Chris
I don't need to see it now that I understand what you're trying to do. You want it to look as it does in WGO, right?

Just look at the WGO section of the FORUMHOME template and copy & paste in place of this:

<div id="wgo_events" class="wgo_subblock">
<ol class="commalist">
{vb:raw upcomingevents}
</ol>

You might have to diddle (technical term) with it a bit but that should do it.
Reply With Quote
  #58  
Old 18 Apr 2010, 09:10
betts02's Avatar
betts02 betts02 is offline
 
Join Date: Jun 2009
Works great under each other with tht code, cheers
Reply With Quote
  #59  
Old 18 Apr 2010, 13:51
Front Range 4x4 Front Range 4x4 is offline
 
Join Date: Jan 2009
Real name: Chris
Originally Posted by deadbolt80 View Post
I see it in the wgo section... I just want the list of events on the top of my forums page to be centered and instead of "," in between, for it to be stacked.... did I explain myself correctly? lol.
Here's how you do it to have the events stacked/listed one on top of the other.


<!-- upcomingevents -->
<div id="wgo" class="collapse wgo_block">
<h2>
<span>
<big>Upcoming Events</big>
</span>
</h2>
<div class="floatcontainer">
<div style="background: #F7FE2E">
<div id="wgo_events" class="wgo_subblock">
{vb:raw upcomingevents}
</div>
</div>
</div>
</div>
<!-- upcomingevents -->
Reply With Quote
  #60  
Old 24 Apr 2010, 14:46
kfrosty kfrosty is offline
 
Join Date: Mar 2010
Installed. Has anybody tried to get this working in the FORUMDISPLAY template? It shows up but no events but works fine in the FORUMHOME template.

Thanks.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 20:35.

Layout Options | Width: Wide Color: