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)

ErnieTheMilk 04-02-2010 04:03 PM

Does anyone know if there is a mod such as this for vB3.8?

This is exactly what I want for my forum...

Thanks

Front Range 4x4 04-02-2010 04:26 PM

<a href="https://vborg.vbsupport.ru/showthread.php?t=222472&highlight=upcoming+events" target="_blank">https://vborg.vbsupport.ru/showt...pcoming+events</a>

ErnieTheMilk 04-02-2010 10:45 PM

Quote:

Originally Posted by Front Range 4x4 (Post 2014720)

Thanks, but I'm not with you... that doesn't appear to give me much info as to how to load the system for upcoming events :)

ErnieTheMilk 04-03-2010 07:54 AM

I've uploaded the code, but all I've got is the 'upcoming events' info, I don't have any information showing - the calendar is showing to give the information from Display Calendar Events, any help anyone... :)

Ticinofelino 04-03-2010 08:16 AM

Quote:

Originally Posted by utahraves (Post 1969401)
Does not work on mine. I placed in ForumHome underneath the options you selected and still do not see the actual events. I have a LOT of events being an event board and all...

Same problem here :(

fixed!! sorry, it was my mistake... working now

Thanks :)

deadbolt80 04-03-2010 09:06 AM

Hi!

Nice addition. I do have a questions though, is it possible to have the events be centered and underneath each other for easier view?

What do I need to modify to make that possible?

Thanks for the help.

Front Range 4x4 04-03-2010 04:29 PM

Change:

<ol class="commalist">
{vb:raw upcomingevents}
</ol>

to:

{vb:raw upcomingevents}

That should do it I think.

Front Range 4x4 04-03-2010 04:30 PM

It sure would be nice if someone could make a product or plugin that would make this show on all pages. I tried but couldn't get it to work.

deadbolt80 04-04-2010 05:56 AM

Quote:

Originally Posted by Front Range 4x4 (Post 2015204)
Change:

<ol class="commalist">
{vb:raw upcomingevents}
</ol>

to:

{vb:raw upcomingevents}

That should do it I think.

Nope, that didn't change anything at all. :confused:

Front Range 4x4 04-04-2010 01:17 PM

Can you post a link?

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.

rrogerstx 04-29-2010 07:12 PM

Any chance this could be modified to work in a sideblock? I already have a "last posts" scoll at the top of my page but I'd like to add upcoming events to the sideblock.

Does anyone know if this could work as a "custom html/php" sideblock?

Front Range 4x4 04-29-2010 07:42 PM

Quote:

Originally Posted by kfrosty (Post 2026457)
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.

My hope in posting this was that someone would make it usable on FORUMDISPLAY, so far there haven't been any takers. :(

Quote:

Originally Posted by rrogerstx (Post 2029171)
Any chance this could be modified to work in a sideblock? I already have a "last posts" scoll at the top of my page but I'd like to add upcoming events to the sideblock.

Does anyone know if this could work as a "custom html/php" sideblock?

I only use the forum so I'm no help, sorry.

rrogerstx 04-29-2010 07:48 PM

Quote:

Originally Posted by Front Range 4x4 (Post 2029193)
My hope in posting this was that someone would make it usable on FORUMDISPLAY, so far there haven't been any takers. :(



I only use the forum so I'm no help, sorry.

Sideblocks are actually part of the forum. If you enable sideblocks (and create a block) it appears as a column, either on the left or the right side of the forums, where you can add last forum posts, last blog entries, links to cms articles and what not. I'd like to use your code as a sideblock but I'm a serious noob to vbulletin..

You can see an example of the sideblock here: http://edmondconnect.com/forum.php at my site. It's the Welcome box on the right side of the forums. The block I have there now is pulling the lastest CMS articles. But there's an option for custom php/html blocks that I though perhaps your code could be put in and get the latest events to come up...unfortunately I just don't know how to implement it.

Just a thought..

Front Range 4x4 04-29-2010 08:01 PM

Of course you're right, thanks for the reminder. I should have said I don't use any side columns.

I would if there was any similarity between forum blocks and widgets but for some reason they're totally different.

darkdevilz 05-02-2010 06:46 PM

Front Range 4x4 thanks for this modification. it is working very very well. and I ahve a question. can we make this automatic. if there is an event event box will be shown but there isnt any event event boz wont shown. I make that but now there isnt any event and event box is empty..

Front Range 4x4 05-02-2010 08:07 PM

I would think so but I'm no programmer so don't really understand the if/else stuff to make it work. Maybe someone could help out on that. It was my hope someone would make a plugin to show this on forumdisplay & showthread but that hasn't happened and my attempts failed.

goran424 05-08-2010 02:07 AM

Front Range, thanks, this is something that I really need.

Just one more thing: is there a way to add marquee so list of upcoming events moves from left to right or vice versa?

Front Range 4x4 05-08-2010 02:29 AM

Sure, just wrap marquee BBCode around it.

<marquee onmouseover=this.stop() onmouseout=this.start() direction="left" scrolldelay="9" scrollamount="2">{vb:raw upcomingevents}</MARQUEE>

goran424 05-08-2010 02:36 AM

It works perfect FR4x4, you rock!

Videx 05-08-2010 02:50 AM

Quote:

Originally Posted by Front Range 4x4 (Post 2033526)
Sure, just wrap marquee BBCode around it.

<marquee onmouseover=this.stop() onmouseout=this.start() direction="left" scrolldelay="9" scrollamount="2">{vb:raw upcomingevents}</MARQUEE>

Hm. I wonder why the scrolldelay has no effect (ff & ie8)?

Front Range 4x4 05-08-2010 02:02 PM

I have no idea Videx, I just tried it after being asked. I don't ever use marquee code myself.

rootrider 05-18-2010 06:02 AM

Quote:

Originally Posted by Front Range 4x4 (Post 2029193)
My hope in posting this was that someone would make it usable on FORUMDISPLAY, so far there haven't been any takers. :(

subscribing.. this is what I need as well since I don't use the forumhome page at all

betts02 05-18-2010 05:26 PM

I have had this installed for a while now on my forums home page and would love to see an option for it to display an image also, Could this be done ?

So in that upcoming box it would have the event and an image for that event

As a gaming clan this would be great for my site and with images maybe others would like this ?

Cheers

Front Range 4x4 05-18-2010 05:41 PM

You can add an image anywhere you want one using something like this:
<img src="{vb:stylevar imgdir_misc}/your_image.png" alt="Your Image name" />

Put your_image.png in the images/misc directory.

For example:

<!-- upcomingevents -->
<div id="wgo" class="collapse wgo_block">
<h2>
<span>
<img src="{vb:stylevar imgdir_misc}/your_image.png" alt="Your Image name" />
Upcoming Events
</span>
</h2>
<div class="floatcontainer">
<div id="wgo_events" class="wgo_subblock">
<ol class="commalist">
{vb:raw upcomingevents}
</ol>
</div>
</div>
</div>
<!-- upcomingevents -->

betts02 05-18-2010 10:24 PM

Dont think this could actually work but....

What i wanted is somehow when i post an event for say a Call Of Duty game match

It places this event with a Call Of Duty image and the event date/time, etc

Same if i place an event for say Gears Of War, It places a Gears Of War image

Dont think this can be done ??? But thought i would ask anyway

Somehow it needs to fetch an image from the posted event and have an option to include an image

Would pay for this if possible

Front Range 4x4 05-18-2010 10:36 PM

I'm sure there's a way but not within my ability.

Joan23 06-11-2010 03:25 PM

Someone knows any solution for this version ?. I have been watching my FORUMHOME template and don't have those variables {vb:raw header}{vb:raw navbar}.

Regards

Joan (Barcelona)

Front Range 06-11-2010 03:46 PM

IIRC just use this code under the existing navbar in 3.8

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

Joan23 06-12-2010 11:08 AM

Quote:

Originally Posted by Front Range 4x4 (Post 2039529)
I'm sure there's a way but not within my ability.

Don't work :( , I will be waiting for any solution. Thanks a lot sir.

Joan

your24hourstore 06-12-2010 11:31 AM

his cms is just an opening page, and new is his best open view of his site, its in the right place for him I think. nice site although i had the same problem, as some other as it did not work for me. but its more than likey a setting he uses, that i havent figured out yet.. do you have wgo in sidebar as a widget someplace i cant find?


All times are GMT. The time now is 06:31 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.01498 seconds
  • Memory Usage 1,830KB
  • 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
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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