vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Forum Home Enhancements - Upcoming Events on Top of Pages (https://vborg.vbsupport.ru/showthread.php?t=234407)

tiga2 04-04-2010 09:45 PM

I was trying to Put the Text "Upcoming Events:" beside the events
But it still makes a Line break before it lists the Events.. Any Ideas?

HTML Code:

<!-- upcomingevents -->
<div id="wgo" class="collapse wgo_block">
<div class="floatcontainer">
<div id="wgo_events" class="wgo_subblock">
Upcoming Events:
<ol class="commalist">
{vb:raw upcomingevents}
</ol>
</div>
</dl>
</div>
</div>
<!-- upcomingevents -->


Front Range 4x4 04-04-2010 10:27 PM

You can use any code you would like, most of what I provided was formatting the way I use it. Play around with it using {vb:raw upcomingevents} to get the formatting the way you like it.

customcolor 04-05-2010 02:22 PM

i added the code and it works great for us...we dont have many events so some may even forget to check the calender...so adding this will remind people :) i also added this to under the navbar so it wouldnt split the header and navbar in our style sheet...code::::

{vb:raw header}

{vb:raw navbar}

<!-- upcomingevents -->
<div id="wgo" class="collapse wgo_block">
<h2>
<span>
Up and Coming Calendered 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 -->




Link to our forums home..like i say there isnt many things going on so there may not be something showing all the time.

deadbolt80 04-07-2010 06:21 AM

Quote:

Originally Posted by Front Range 4x4 (Post 2015586)
Can you post a link?


My site is 6thGenMaxima.org.. not sure if you see the upcoming events if you're not logged in, but try anyway.

Front Range 4x4 04-07-2010 01:37 PM

I don't see anything in the WGO deadbolt, maybe it's permissions. Is anything showing there for you? If it's not showing in the standard location it surely won't show at the top of the page either.

deadbolt80 04-07-2010 11:08 PM

I see it in the wgo section... I just want the list of events on the top of my forums page to be centered and instead of "," in between, for it to be stacked.... did I explain myself correctly? lol.

What permissions would I need to adjust for you to see it?

Front Range 4x4 04-08-2010 10:54 PM

I don't need to see it now that I understand what you're trying to do. You want it to look as it does in WGO, right?

Just look at the WGO section of the FORUMHOME template and copy & paste in place of this:

<div id="wgo_events" class="wgo_subblock">
<ol class="commalist">
{vb:raw upcomingevents}
</ol>

You might have to diddle (technical term) with it a bit but that should do it.

betts02 04-18-2010 07:10 AM

Works great under each other with tht code, cheers

Front Range 4x4 04-18-2010 11:51 AM

Quote:

Originally Posted by deadbolt80 (Post 2017688)
I see it in the wgo section... I just want the list of events on the top of my forums page to be centered and instead of "," in between, for it to be stacked.... did I explain myself correctly? lol.

Here's how you do it to have the events stacked/listed one on top of the other.


<!-- upcomingevents -->
<div id="wgo" class="collapse wgo_block">
<h2>
<span>
<big>Upcoming Events</big>
</span>
</h2>
<div class="floatcontainer">
<div style="background: #F7FE2E">
<div id="wgo_events" class="wgo_subblock">
{vb:raw upcomingevents}
</div>
</div>
</div>
</div>
<!-- upcomingevents -->

kfrosty 04-24-2010 12:46 PM

Installed. Has anybody tried to get this working in the FORUMDISPLAY template? It shows up but no events but works fine in the FORUMHOME template.

Thanks.


All times are GMT. The time now is 02:49 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.01092 seconds
  • Memory Usage 1,740KB
  • 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)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete