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
  #12  
Old 02-28-2002, 09:46 AM
Lesane's Avatar
Lesane Lesane is offline
 
Join Date: Oct 2001
Location: The Netherlands
Posts: 1,149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice Hack, Thanks :up:
Reply With Quote
  #13  
Old 02-28-2002, 11:50 AM
xcal xcal is offline
 
Join Date: Oct 2001
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok ive installed today the only problem is that i have an invisble moderators forum, and ive asked some of my trusted users and they say they can still see these threads , obviously they cant read the actual threads , but they can still see the topics, access masks are on, and the forum is hidden from them , am i missing something as regards to the marquee config,

its not a major problem in that the users cant read the threads but the titles of some of the mods threads are enough to make you shudder so any advice would be appreciated
Reply With Quote
  #14  
Old 02-28-2002, 12:32 PM
The Realist's Avatar
The Realist The Realist is offline
 
Join Date: Oct 2001
Location: UK
Posts: 842
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Same here, anyone know the answer!



Quote:
Originally posted by xcal
ok ive installed today the only problem is that i have an invisble moderators forum, and ive asked some of my trusted users and they say they can still see these threads , obviously they cant read the actual threads , but they can still see the topics, access masks are on, and the forum is hidden from them , am i missing something as regards to the marquee config,

its not a major problem in that the users cant read the threads but the titles of some of the mods threads are enough to make you shudder so any advice would be appreciated
Reply With Quote
  #15  
Old 02-28-2002, 03:21 PM
xcal xcal is offline
 
Join Date: Oct 2001
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok temporary fix

find this code in marquee.php

PHP Code:
$latestposts $DB_site->query("
SELECT threadid, forumid, title, replycount, lastposter, postuserid, postusername 
FROM thread 
ORDER BY lastpost 
DESC LIMIT 
$number_threads
change this line

FROM thread

to

PHP Code:
FROM thread WHERE forumid !='8' 
changing the value 8 for the forum you dont want to include, it seems to work for me, but is obviously not the best fix
Reply With Quote
  #16  
Old 02-28-2002, 06:49 PM
fonzerelli_79's Avatar
fonzerelli_79 fonzerelli_79 is offline
 
Join Date: Nov 2001
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

got the tarket = blank working
cheers jcroft
Reply With Quote
  #17  
Old 02-28-2002, 08:59 PM
fonzerelli_79's Avatar
fonzerelli_79 fonzerelli_79 is offline
 
Join Date: Nov 2001
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for that xcal, i noticed that too

ive got more than one forum i need to hide though
i used this
PHP Code:
FROM thread WHERE forumid !='16' and forumid !='25' and forumid !='27' 
im just learning sql so if theres a shorter way of doing this then please let me know - this method works though
Reply With Quote
  #18  
Old 03-02-2002, 11:59 PM
lordofgun lordofgun is offline
 
Join Date: Jan 2002
Posts: 285
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

INCREDIBLE HACK! This hack has gotten my visitors' attention!!!

before i installed this recently, we averaged anywhere from 50-75 guests on our boards at once. THAT NUMBER HAS MORE THAN TRIPLED thanks to thyis hack!!! JUST AWESOME! our registration rate has also sped up significantly!

THANKS!
Reply With Quote
  #19  
Old 03-03-2002, 01:28 AM
Mohamed's Avatar
Mohamed Mohamed is offline
 
Join Date: Oct 2001
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice work man leased: :greedy:
Reply With Quote
  #20  
Old 03-13-2002, 03:32 AM
lordofgun lordofgun is offline
 
Join Date: Jan 2002
Posts: 285
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

QUESTION: How do i get this to refresh automatically every couple of minutes?

Thanks!
Reply With Quote
  #21  
Old 03-25-2002, 08:56 AM
Abbas Abbas is offline
 
Join Date: Nov 2001
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One problem I'm facing is that I've implemented this on my home page and at times, if a user doesnt go to the forums- just the home page, even then all threads are marked as already read. Any way to not make it think that you're on the forums?

http://www.tbreak.com

Thanks
Abbas
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 12:15 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05095 seconds
  • Memory Usage 2,307KB
  • Queries Executed 25 (?)
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
  • (3)bbcode_php
  • (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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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