Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
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: Mini Mods - Version: 4.0.4 Rating:
Released: 07-06-2010 Last Update: 07-07-2010 Installs: 49
Uses Plugins Template Edits Auto-Templates
 
No support by the author.

Displays Upcoming Events on the top of the pages FORUMHOME, FORUMDISPLAY and SHOWTHREAD.

After numerous failures in creating this plug-in Dark_Wizard created it for me and deserves all credit for this product.

It does not work with Farcaster's Event Attendance (RSVP)

7/8/10 - Replaced download with Dark_Wizard's as mentioned in Post #20 :up:

Download Now

File Type: zip product-Upcoming_Events_Top_Of_Pages.xml.zip (1.9 KB, 427 views)

Supporters / CoAuthors

Show Your Support

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

Comments
  #42  
Old 07-09-2010, 09:29 PM
Front Range Front Range is offline
 
Join Date: Apr 2008
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dark_Wizard View Post
This wasn't to be a released mod only something done for FR.
100% accurate but I figured other people could benefit as well. It's not perfect, won't satisfy everyone's wants but it's good as it stands for anyone who has event based forums. If you like it send a donation Dark_Wizards way. If you don't like it, don't use it. If want additional features hire him to do it for you.
Reply With Quote
  #43  
Old 07-10-2010, 07:35 AM
rootrider rootrider is offline
 
Join Date: Feb 2010
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dark_Wizard View Post
This doesn't break his mod but his mod has an array issue that will surface when this mod is used along side his and when someone tries to rsvp to an event it shows.
okay.. can you or FR detail a little more about what should be changed in the templates to alleviate this? .. or is this not possible? I seem to remember a mention of something about this originally, but I can't find it now.

Thanks guys..
Reply With Quote
  #44  
Old 07-10-2010, 04:20 PM
Front Range Front Range is offline
 
Join Date: Apr 2008
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Go to your Plugin Manager and make Upcoming Events on Top of Pages [Auto Templates] inactive.

The manually edit each of these templates: FORUMHOME, FORUMDISPLAY, SHOWTHREAD by pasting the code below {vb:raw navbar}

<!-- upcomingevents -->
<div class="block" style="border:{vb:stylevar blocksubhead_border}">
<div class="blockhead">
<h2>
<span>{vb:rawphrase upcoming_events_for_the_next_x_days, {$vboptions.showevents}}</span>
</h2>
</div>
<div class="blockrow">
<ol class="commalist">
{vb:raw upcoming_events}
</ol>
</div>
</div>
<!-- upcomingevents -->

Note: It may be just my style but this turns some text bold in FORUMDISPLAY
Reply With Quote
  #45  
Old 07-10-2010, 05:13 PM
Front Range Front Range is offline
 
Join Date: Apr 2008
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Front Range View Post
Note: It may be just my style but this turns some text bold in FORUMDISPLAY
Probably not the right way to do things but it works: get rid of the bold in FORUMDISPLAY (if it shows up that way for you too is just add </b> before <!-- upcomingevents -->
Reply With Quote
  #46  
Old 07-10-2010, 06:36 PM
HondaATC HondaATC is offline
 
Join Date: May 2004
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works perfectly for me, nice mod! I also made a little addition because adding events is burried down in the calender, that will show a "Add Event" button right across from the current showing dates:

open the .xml file in a text editor

Directly below this (Line #46)

Code:
<span>{vb:rawphrase upcoming_events_for_the_next_x_days, {$vboptions.showevents}}</span>
Add this:

Code:
<div id="calendar_nav">
		<a id="neweventbutton" class="textcontrol" href="calendar.php?do=add&amp;type=single&amp;c=1">Add New Event</a>
	  	</div>
Save, reupload the product, overwrite the existing one. Gives you something that looks like this:

http://www.3wheelerworld.com/forum.php



My members post a ton of rides and gatherings in the local riding forum, but they don't get near the views that they should, Hopefully between this mod and my little addition that makes it easier to add them, it'll increase that a bit.
Reply With Quote
  #47  
Old 07-10-2010, 07:37 PM
Front Range Front Range is offline
 
Join Date: Apr 2008
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very good idea HondaATC!

I changed the location to inside the <h2><span> tags for my site but I know my users will really appreciate the button - anything to make things easier!

Thanks!

See it here: http://www.frontrange4x4.com/forums/forum.php

BTW, there's something wrong with your navabr.
Reply With Quote
  #48  
Old 07-10-2010, 08:26 PM
HondaATC HondaATC is offline
 
Join Date: May 2004
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah...thats compliments of the vB support team. It doesn't show in Firefox or IE, but does in pretty much every other browser. I've disabled all the hacks and reverted every single template and it still happens. Spent many hours on it, only showed up after I went to 4.03 No one can tell me what it is. If anyone happens to find out, let me know
Reply With Quote
  #49  
Old 07-10-2010, 08:34 PM
Front Range Front Range is offline
 
Join Date: Apr 2008
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bummer, I use Chrome so I see the the bad stuff. Another reason I won't go to 4.0.3
Reply With Quote
  #50  
Old 07-11-2010, 05:25 AM
rootrider rootrider is offline
 
Join Date: Feb 2010
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Front Range View Post
Go to your Plugin Manager and make Upcoming Events on Top of Pages [Auto Templates] inactive.

The manually edit each of these templates: FORUMHOME, FORUMDISPLAY, SHOWTHREAD by pasting the code below {vb:raw navbar}

<!-- upcomingevents -->
<div class="block" style="border:{vb:stylevar blocksubhead_border}">
<div class="blockhead">
<h2>
<span>{vb:rawphrase upcoming_events_for_the_next_x_days, {$vboptions.showevents}}</span>
</h2>
</div>
<div class="blockrow">
<ol class="commalist">
{vb:raw upcoming_events}
</ol>
</div>
</div>
<!-- upcomingevents -->

Note: It may be just my style but this turns some text bold in FORUMDISPLAY
thanks.. I'll play with this and see what I can do..
Reply With Quote
  #51  
Old 07-13-2010, 02:58 PM
Front Range Front Range is offline
 
Join Date: Apr 2008
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dark_Wizard View Post
Here is an updated version that places a comma after the event with the exception of the last event or a single event.

Enjoy!
Bob
I sure could use the comma but when replacing the original with this it doesn't show my events. Can I edit the comma in instead?
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 12:17 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.08062 seconds
  • Memory Usage 2,333KB
  • 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
  • (2)bbcode_code
  • (5)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
  • (1)postbit_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete