vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Move Upcoming Events (https://vborg.vbsupport.ru/showthread.php?t=210300)

Front Range 4x4 04-04-2009 03:34 PM

Move Upcoming Events
 
1 Attachment(s)
Came looking for info on moving Upcoming Events to the top of the page. I found a lot of inquiries relating to the same thing but no solution. Sometimes the simple solutions escape me as in this case until I tried using a Notice. Since they accept HTML is just viewed source, copied and modified to what I wanted. Not totally hands off but thought I'd share.

Front Range 4x4 10-07-2009 07:53 PM

1 Attachment(s)
I've found a better way to do it than posted above and since I'm still seeing inquiries on moving the Upcoming Events to the top of the page and posted info on how to do it in this thread: https://vborg.vbsupport.ru/showthrea...pcoming+events

Attached is an example of how mine looks. I use the Random Image mod to put rotating images on each side of the Upcoming Events for a bit of visual interest as well.

TNCclubman 10-07-2009 07:59 PM

so whats the code you put in the 'announcement'?

Front Range 4x4 10-07-2009 08:06 PM

None. I changed the way I did it so when an event is posted to the calendar it shows up on the top of the page instead of in "What's Going On"

First I used the variable replacement and changed </div><div> to <br /> which gives the Upcoming Events a line by line display.

I used code similar to this below the navbar:

<!-- upcomingevents -->
<table class="tcat" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="1" width="100%" align="center">
<tr>
<td bgcolor="xxxxxxx" valign="top">
$upcomingevents
</td>
</tr>
</table>
<!-- /upcomingevents -->

Then I used the "Events on Forum Pages" mod by Farcaster so the upcoming events show on all pages. Yes, it works on 3.8.4

HTH!


All times are GMT. The time now is 10:02 AM.

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.01082 seconds
  • Memory Usage 1,712KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete