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.
Comments
  #2  
Old 29 Jan 2010, 00:42
Skyrider Skyrider is offline
 
Join Date: Feb 2006
Screenies would be great
Reply With Quote
  #3  
Old 29 Jan 2010, 01:28
utahraves's Avatar
utahraves utahraves is offline
 
Join Date: May 2007
Real name: Cody Cook
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

Last edited by utahraves; 29 Jan 2010 at 02:12.
Reply With Quote
  #4  
Old 29 Jan 2010, 02:28
Front Range 4x4 Front Range 4x4 is offline
 
Join Date: Jan 2009
Real name: Chris
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:
Attached Images
File Type: jpg screenshot_01.jpg (141.0 KB, 1725 views)
Reply With Quote
  #5  
Old 29 Jan 2010, 03:01
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Ya, I tried to get it into a forum block and had no luck either.
Reply With Quote
  #6  
Old 29 Jan 2010, 03:04
durdan1 durdan1 is offline
 
Join Date: Aug 2009
Originally Posted by Front Range 4x4 View Post
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:
Hey there, sorry to change subject but what donation mod are you using for your forum. I like that meter.
Reply With Quote
  #7  
Old 29 Jan 2010, 03:04
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Real name: Blue
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
__________________

My Hacks [ click ] | Steve ~ Administrator for British Expats AustraliaBound.org/forum | Test our forum - user; don pass; pass123
Sports Tipping Mod - coming February 2010 ~ Show your Interest !
Reply With Quote
  #8  
Old 29 Jan 2010, 04:04
Front Range Front Range is offline
 
Join Date: Apr 2008
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.
Reply With Quote
  #9  
Old 29 Jan 2010, 23:39
Front Range Front Range is offline
 
Join Date: Apr 2008
Originally Posted by utahraves View Post
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
Have you tried this again utahraves? My site is very dependent on events and my users rely on this showing. I'll eventually get it on all pages but my limited knowledge is limiting me. If you use the code I provided on forumhome and the events are showing in WGO they have to show up on top too.

I just changed the notices to the same format and that works just as well.
Reply With Quote
  #10  
Old 30 Jan 2010, 04:47
asuccar asuccar is offline
 
Join Date: Dec 2009
Question

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.
Reply With Quote
  #11  
Old 30 Jan 2010, 05:07
Front Range Front Range is offline
 
Join Date: Apr 2008
admincp->styles & templates ->search in templates ->search for forumhome

Open forumhome and paste it under the {vb:raw header}{vb:raw navbar} tags

Widget: http://www.vbulletin.org/forum/showthread.php?t=231365
Read through the thread to find the change of time fix. It does work.
Reply With Quote
  #12  
Old 30 Jan 2010, 09:18
TalkVirginia's Avatar
TalkVirginia TalkVirginia is offline
 
Join Date: Oct 2008
Real name: Jim
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.
__________________
Jim - Webadmin 3:33am Paranormal Research - History will always repeat itself but sometimes the past never leave
vb4.x Email Reminders for Inactive Users, Add Mass Child Forums for vb3.8.6 & vb4.1.2
Reply With Quote
  #13  
Old 30 Jan 2010, 14:40
Front Range Front Range is offline
 
Join Date: Apr 2008
So now there's a right way and it's your way?
Reply With Quote
  #14  
Old 30 Jan 2010, 14:42
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Originally Posted by TalkVirginia View Post
all this other stuff just makes it look trashy and cluttered.
I won't really disagree, as I wouldn't put "recent threads" on forumhome myself, but I do put it out on the CMS. But I think it's all about options. Being a community forum, our calendar is pretty important, and I'd like the option of having it in both places. Right now someone has to click through to the calendar to see what's on for today and that sucks.
Reply With Quote
  #15  
Old 31 Jan 2010, 00:23
Front Range Front Range is offline
 
Join Date: Apr 2008
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.
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 22:34.

Layout Options | Width: Wide Color: