Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Upcoming Events on Top of Pages Details »»
Upcoming Events on Top of Pages
Version: 1.00, by Front Range Front Range is offline
Developer Last Online: Feb 2013 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 4.0.1 Rating:
Released: 01-27-2010 Last Update: Never Installs: 52
Template Edits
Re-useable Code Translations  
No support by the author.

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.

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 02-03-2010, 06:49 PM
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Location: Brisbane
Posts: 2,264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
Reply With Quote
  #23  
Old 02-03-2010, 07:45 PM
Front Range Front Range is offline
 
Join Date: Apr 2008
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
Reply With Quote
  #24  
Old 02-03-2010, 08:28 PM
InsomniacP InsomniacP is offline
 
Join Date: Dec 2009
Location: Lancashire UK
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great addition... Nice work fella! Keep it up
Reply With Quote
  #25  
Old 02-04-2010, 01:03 AM
Front Range Front Range is offline
 
Join Date: Apr 2008
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you InsomniacP.
Reply With Quote
  #26  
Old 02-04-2010, 02:22 AM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.?
Reply With Quote
  #27  
Old 02-05-2010, 01:21 PM
Front Range Front Range is offline
 
Join Date: Apr 2008
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Videx View Post
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.?
I used the WGO div style because I like WGO to match the forums colors. You can change the color used in WGO to match your forums which IMHO looks better than the gray. I'm not sure how to change it another way, sorry.
Reply With Quote
  #28  
Old 03-08-2010, 09:11 PM
betts02's Avatar
betts02 betts02 is offline
 
Join Date: Jun 2009
Posts: 910
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 ?
Reply With Quote
  #29  
Old 03-08-2010, 09:24 PM
Front Range 4x4 Front Range 4x4 is offline
 
Join Date: Jan 2009
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #30  
Old 03-08-2010, 09:36 PM
betts02's Avatar
betts02 betts02 is offline
 
Join Date: Jun 2009
Posts: 910
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 ?
Reply With Quote
  #31  
Old 03-08-2010, 09:50 PM
Front Range 4x4 Front Range 4x4 is offline
 
Join Date: Jan 2009
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 09:42 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05369 seconds
  • Memory Usage 2,316KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete