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)

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)?


All times are GMT. The time now is 08:07 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.01181 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
  • (4)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