Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vB-marquee - scrolling "recent threads" for non-vb page Details »»
vB-marquee - scrolling "recent threads" for non-vb page
Version: 1.00, by jcroft jcroft is offline
Developer Last Online: Oct 2005 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 02-26-2002 Last Update: Never Installs: 20
 
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 02-27-2002, 09:40 PM
fonzerelli_79's Avatar
fonzerelli_79 fonzerelli_79 is offline
 
Join Date: Nov 2001
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #3  
Old 02-27-2002, 09:58 PM
jcroft jcroft is offline
 
Join Date: Nov 2001
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...


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
Reply With Quote
  #4  
Old 02-27-2002, 10:33 PM
jcroft jcroft is offline
 
Join Date: Nov 2001
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #5  
Old 02-27-2002, 11:16 PM
Reeve of shinra's Avatar
Reeve of shinra Reeve of shinra is offline
 
Join Date: Oct 2001
Location: NYC
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just to let you know, ... there is a flash version of the newsfader which might make this work better with users using netsuck
Reply With Quote
  #6  
Old 02-28-2002, 12:12 AM
Psychdrone Psychdrone is offline
 
Join Date: Nov 2001
Posts: 525
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #7  
Old 02-28-2002, 12:42 AM
ZiRu$'s Avatar
ZiRu$ ZiRu$ is offline
 
Join Date: Jan 2002
Location: Manitoba, Canada
Posts: 520
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great idea and looks nice but i dont need it
Reply With Quote
  #8  
Old 02-28-2002, 01:44 AM
Gamingforce's Avatar
Gamingforce Gamingforce is offline
 
Join Date: Oct 2001
Location: New York City
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #9  
Old 02-28-2002, 03:17 AM
lordofgun lordofgun is offline
 
Join Date: Jan 2002
Posts: 285
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

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?
Reply With Quote
  #10  
Old 02-28-2002, 08:00 AM
fonzerelli_79's Avatar
fonzerelli_79 fonzerelli_79 is offline
 
Join Date: Nov 2001
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

once again, top hack mate!!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:21 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.04390 seconds
  • Memory Usage 2,289KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete