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
  #32  
Old 12-03-2002, 09:26 AM
jjj0923's Avatar
jjj0923 jjj0923 is offline
 
Join Date: Mar 2002
Location: Maryland
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did some tricky things with it in the javascript like changing the contents of the window that instantiated it when someone clicks on a link inside the scrolling window....

- jeff
Reply With Quote
  #33  
Old 12-03-2002, 09:33 AM
Ninth Dimension's Avatar
Ninth Dimension Ninth Dimension is offline
 
Join Date: Oct 2001
Location: London, England.
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by jjj0923
I did some tricky things with it in the javascript like changing the contents of the window that instantiated it when someone clicks on a link inside the scrolling window....

- jeff
that sounds cool, i'm happy with what I've got so far, I've even got someone using it already http://www.fuchsiashockz.co.uk/index2.shtml
Reply With Quote
  #34  
Old 08-05-2003, 08:09 AM
Anat Anat is offline
 
Join Date: Jun 2002
Location: Israel
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I really want this hack I even found out about it elsewhere and emailed jcroft but haven't heard back yet.

Anyway, I have tried installing it but am having some problems little no-php me can't deal with...

I had to change the line that calls global.php because my forums files are stored under a forums sub-dir. So I had it changed to -

require ('http://www.thecatsite.com/forums/global.php');

Now I can see the marquee but what scrolls there is an error message that says -

Fatal error: Call to a member function on a non-object in /home/www/thecatsite/marquee.php on line 72

Anyone has a solution???

I'm using 2.2.9 btw
Reply With Quote
  #35  
Old 08-05-2003, 11:05 AM
PurpleCow PurpleCow is offline
 
Join Date: Mar 2003
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone got this working on 2.3.0 ?? I'd also be ineterested to use this hack !

Thank you
Reply With Quote
  #36  
Old 08-05-2003, 01:56 PM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 01:05 PM PurpleCow said this in Post #34
Anyone got this working on 2.3.0 ?? I'd also be ineterested to use this hack !

Thank you
It works fine as it is with 2.3.0
I tried it out, but unfortunately it made my homepage look far too cluttered, no matter how much I customised the layout.
Reply With Quote
  #37  
Old 08-06-2003, 04:38 AM
PurpleCow PurpleCow is offline
 
Join Date: Mar 2003
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, isn't it possible to use this hack to syndicate threads on third party sites.

If, yes, how to do it?

Also, what code should i use to include the marquee on my html page ??

Thank you
Reply With Quote
  #38  
Old 08-06-2003, 06:45 AM
Anat Anat is offline
 
Join Date: Jun 2002
Location: Israel
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are there any PHP/VB gurus around that can maybe help me with the bug? I can't get it to work properly...
Reply With Quote
  #39  
Old 08-06-2003, 10:45 AM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 06:38 AM PurpleCow said this in Post #36
Okay, isn't it possible to use this hack to syndicate threads on third party sites.

If, yes, how to do it?

Also, what code should i use to include the marquee on my html page ??

Thank you
If you're calling this on a html page, your extension MUST be .shtm or .shtml.

Assuming you've uploaded marquee.php to the forums root, you'd use something similar to this code where you wanted to place it in your html page:
<!--#include file="forums/marquee.php"-->




Quote:
Today at 08:45 AM Anat said this in Post #37
Are there any PHP/VB gurus around that can maybe help me with the bug? I can't get it to work properly...
A simple solution would be to upload marquee.php to the same directory as your forums root (where the required global.php is also located), and then to call the script from there..
Reply With Quote
  #40  
Old 08-07-2003, 03:52 PM
Anat Anat is offline
 
Join Date: Jun 2002
Location: Israel
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Knight, but it's still not working. I uploaded the script to the forums directory and it's working fine there. Then I used the following code in my page (it's a PHP page anyway) -

PHP Code:
<?php include ("forums/marquee.php");?>
So this is what it comes out like - www.thecatsite.com/index.php

Still the same error message. It does make some sense I think - I know very little PHP but from what I see the include simply copies and pastes the text found in that other file...
Reply With Quote
  #41  
Old 08-09-2003, 05:39 PM
Anat Anat is offline
 
Join Date: Jun 2002
Location: Israel
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok problem fixed using iframe - I guess it doesn't work another way.
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 02:52 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.05401 seconds
  • Memory Usage 2,310KB
  • Queries Executed 27 (?)
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_php
  • (4)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_postinfo_query
  • fetch_postinfo
  • 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