vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vB-marquee - scrolling "recent threads" for non-vb page (https://vborg.vbsupport.ru/showthread.php?t=35513)

jcroft 02-26-2002 10:00 PM

vB-marquee - scrolling "recent threads" for non-vb page
 
Ok, this is my first, and only "hack" (although it's really more of an add-on). It's VERY simple and may not even be worth releasing here, but I thought some people might be able to make use of it.

It is losley based on the Taskbar Ticker by wluke, so props to him.

It provides a scrolling marquee of your most recent threads on a non-vb page. You can easily include this file on your home page, or whereever you need the most recent threads listed.

As it uses the "marquee" tag, it only works in IE. Netscape users will see the list of threads, but it will not scroll.

To install: simply download the attached zip, and place the one file in your vB directory. Configure the variables to your liking, and include the file wherever you wish.

Online demo: http://forums.newbeetle.org/marquee.php

I'd love to hear comments, suggestions, and/or see your modifications to this script. Thanks!

Jeff
www.newbeetle.org

fonzerelli_79 02-27-2002 09:40 PM

top hack mate

you can see what it looks like at http://www.manutdchat.com/content_for_your_site.php

im using an iframe though
i know you use the tag target="_blank" or target="new" in html but im not sure how to implement this in marquee.php so that when someone clicks on the link, a new window appears with the forum

jcroft 02-27-2002 09:58 PM

Great! I'm so glad that someone made use of it. Using it in an IFRAM and letting people pull from your fedd is a GREAT idea. I might do that myself... :D


Try this in marquee.php for the target attribute...

On the lines with the links, look for the "href." Just BEFORE "href", type this:

Code:

target=\"_blank\"
Make sure you leave a space between the end of your taget attribute and the begining of the href.

Let me know if you need more detailed help...

Jeff

jcroft 02-27-2002 10:33 PM

I went ahead and used fonzerelli's idea for my site, as well. This is a great idea!

Check it out: http://newbeetle.org/misc/today.php

Reeve of shinra 02-27-2002 11:16 PM

just to let you know, ... there is a flash version of the newsfader which might make this work better with users using netsuck

Psychdrone 02-28-2002 12:12 AM

Quote:

Originally posted by Reeve of shinra
just to let you know, ... there is a flash version of the newsfader which might make this work better with users using netsuck
really show us;)

ZiRu$ 02-28-2002 12:42 AM

great idea and looks nice but i dont need it :)

Gamingforce 02-28-2002 01:44 AM

Awesome job! I'm using it with the iframe method. I have a page up so anyone can easily include the code into their own site. Check it out:

http://www.gamingforce.com/forums/gffinclude.php

Thanks a bunch!

lordofgun 02-28-2002 03:17 AM

:up: EXCELLENT! It's on my site www.billsinsider.com getting 4 million hits per month, so you're famous now! :D

Question: Can something similar be done for a news feature. For example, we could post some news on the message boards, and have it show up on a non-vb page in a similar style, but without the scroll? is there already a hack like that?

fonzerelli_79 02-28-2002 08:00 AM

thanks jcroft - im at the computers at uni but ill sort it when i get home

once again, top hack mate!!


All times are GMT. The time now is 01:24 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.01222 seconds
  • Memory Usage 1,735KB
  • 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_code_printable
  • (1)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
  • (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