vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Forum Home Enhancements - Upcoming Events on Top of Pages (https://vborg.vbsupport.ru/showthread.php?t=234407)

Front Range 01-27-2010 10:00 PM

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.

Skyrider 01-28-2010 10:42 PM

Screenies would be great :)

utahraves 01-28-2010 11:28 PM

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 :)

Front Range 4x4 01-29-2010 12:28 AM

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:

Videx 01-29-2010 01:01 AM

Ya, I tried to get it into a forum block and had no luck either.

durdan1 01-29-2010 01:04 AM

Quote:

Originally Posted by Front Range 4x4 (Post 1969433)
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.

TimberFloorAu 01-29-2010 01:04 AM

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 :)

Front Range 01-29-2010 02:04 AM

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.

Front Range 01-29-2010 09:39 PM

Quote:

Originally Posted by utahraves (Post 1969401)
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.

asuccar 01-30-2010 02:47 AM

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.


All times are GMT. The time now is 07:20 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01248 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete