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

I have not turned anything off, so where would the option to turn it on be ?

sorry i am new to vb
Reply With Quote
  #33  
Old 03-08-2010, 10:26 PM
Front Range 4x4 Front Range 4x4 is offline
 
Join Date: Jan 2009
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

It was set to 1, i changed it to 5 and now all is working fine, many thanks
Reply With Quote
  #35  
Old 03-08-2010, 10:57 PM
Front Range 4x4 Front Range 4x4 is offline
 
Join Date: Jan 2009
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad to hear that!
Reply With Quote
  #36  
Old 03-12-2010, 09:13 PM
cindy helmond cindy helmond is offline
 
Join Date: Feb 2006
Location: The Netherlands
Posts: 334
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice installed but can you add an button before the tekst ?thx
Reply With Quote
  #37  
Old 03-12-2010, 09:35 PM
Front Range 4x4 Front Range 4x4 is offline
 
Join Date: Jan 2009
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What kind of button Cindy?
Reply With Quote
  #38  
Old 03-12-2010, 09:42 PM
cindy helmond cindy helmond is offline
 
Join Date: Feb 2006
Location: The Netherlands
Posts: 334
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Front Range 4x4 View Post
What kind of button Cindy?
hi i mean that you can see like if someone has an birthsday on forumhome there is an cake icon
Reply With Quote
  #39  
Old 03-12-2010, 10:07 PM
Front Range 4x4 Front Range 4x4 is offline
 
Join Date: Jan 2009
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #40  
Old 03-26-2010, 08:23 PM
SGT.Viper SGT.Viper is offline
 
Join Date: Jul 2009
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awcoding has a really good Donation bar. Check it out www.clanteamxtreme.com/forums

Its not alot of money too!!
Reply With Quote
  #41  
Old 03-27-2010, 12:34 AM
Front Range Front Range is offline
 
Join Date: Apr 2008
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

VSa - PayPal Donate is better and free.
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 02:39 AM.


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.07318 seconds
  • Memory Usage 2,314KB
  • 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