Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications

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
  #102  
Old 08-15-2010, 07:24 PM
COL NIL SATIS COL NIL SATIS is offline
 
Join Date: Aug 2009
Location: Liverpool UK
Posts: 802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Videx View Post
It's not broken. Though there are way too many versions floating around right now. You should go over to the add-on thread and try that one before messing with this version which requires manual editing.

If you still need to post a problem, we'll need more info. First, assure us you're using the default style and have tried disabling all other products. Then at least give us a link.
Ok Videx i will give that a whirl :up:
Reply With Quote
  #103  
Old 10-05-2010, 04:40 AM
NashChristian's Avatar
NashChristian NashChristian is offline
 
Join Date: Jul 2007
Location: Nashville, TN
Posts: 292
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default


vB has been taking their sweet time developing a corporate solution for this Calendar Widget. It has been logged in Jira, but there have only been TWO votes so far and it appears to have been deprioritized.

Please log into Jira and VOTE FOR THIS! It will only take you a minute: http://tracker.vbulletin.com/browse/VBIV-7656

Quote:
A number of customer have asked for a calendar widget that will access the current site calendar. That is distinct from the current cms calendar widget that displays dates on which articles have been published. Wayne also feels this should get a high priority.
Reply With Quote
  #104  
Old 02-17-2011, 11:04 AM
TTF TTF is offline
 
Join Date: Aug 2010
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've added this but the headerbar isn't displaying. Any ideas where I could be going wrong? - www.t-muscle.co.uk
Reply With Quote
  #105  
Old 03-21-2011, 06:23 AM
Eq4bits Eq4bits is offline
 
Join Date: May 2006
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Woot! Thanks for this. My writing group REALLY uses this, now they can't miss an upcoming event because of not scrolling down.

not sure if it will show to unregistered guests but here's my link:
http://dawnsistersweyr.net/forum.php

I saw where someone got it to scroll left to right marquee style... is there a way to scroll it top to bottom (like the words at the beginning of Star Wars)?

I'm going to see if i can figure out how to make it show on other forum pages as well... I have an idea......
Reply With Quote
  #106  
Old 03-21-2011, 07:16 AM
Eq4bits Eq4bits is offline
 
Join Date: May 2006
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you only want the top upcoming events to show to the usergroups as set in vB Settings>Options then add
Quote:
<vb:if condition="$show['upcomingevents']">
at the beginning
and
Quote:
</vb:if>
at the end
Reply With Quote
  #107  
Old 03-29-2011, 05:36 PM
zeus_r6 zeus_r6 is offline
 
Join Date: Jun 2007
Posts: 184
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anybody know what the phrase would be for upcoming birthdays?
Reply With Quote
  #108  
Old 03-29-2011, 10:11 PM
Eq4bits Eq4bits is offline
 
Join Date: May 2006
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It would have to be in a separate 'box' but this should work: (you could replace 'Birthdays' with 'Happy Birthday To:' or whatever you want )
PHP Code:
<!-- birthdays -->
<
div id="wgo" class="collapse wgo_block">
<
h2>
<
span>
Birthdays
</span>
</
h2>
<
div class="floatcontainer">
<
div id="wgo_events" class="wgo_subblock">
<
ol class="commalist">
{
vb:raw birthdays}
</
ol>
</
div>
</
dl>
</
div>
</
div>
<!-- 
birthdays --> 
Reply With Quote
  #109  
Old 01-13-2012, 06:47 PM
vbcenter vbcenter is offline
 
Join Date: Jul 2010
Location: www.vbulletincenter.com
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

English : Thank you !
Turkish : Teşekkürler (:
Reply With Quote
  #110  
Old 09-07-2012, 02:02 PM
Eq4bits Eq4bits is offline
 
Join Date: May 2006
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is anyone using this successfully in v4.2?
Reply With Quote
  #111  
Old 09-07-2012, 02:59 PM
Front Range Front Range is offline
 
Join Date: Apr 2008
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Still works fine - http://frontrange4x4.com/forums/
Reply With Quote
Reply

Thread Tools

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:32 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.11814 seconds
  • Memory Usage 2,320KB
  • 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_php
  • (4)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
  • (3)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