![]() |
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 |
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 |
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\" Let me know if you need more detailed help... Jeff |
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 |
just to let you know, ... there is a flash version of the newsfader which might make this work better with users using netsuck
|
Quote:
|
great idea and looks nice but i dont need it :)
|
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! |
: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? |
thanks jcroft - im at the computers at uni but ill sort it when i get home
once again, top hack mate!! |
Nice Hack, Thanks :up:
|
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 :) |
Same here, anyone know the answer!
Quote:
|
ok temporary fix
find this code in marquee.php PHP Code:
FROM thread to PHP Code:
|
got the tarket = blank working
cheers jcroft |
thanks for that xcal, i noticed that too
ive got more than one forum i need to hide though i used this PHP Code:
|
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! |
nice work man :pleased: :greedy:
|
QUESTION: How do i get this to refresh automatically every couple of minutes?
Thanks! |
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 |
great work m8, will likely use this for our site.
|
Great work!! Installed and looking good at www.3dhq.net
|
do I just use $marquee to get it to display???
I don;t think so because that does not work.... HOW DO i GET THIS TO WORK????? - jeff |
great hack ;) but it works only in IE, right?
|
many thanks to the fonz for heling me get this thing running using iframes, however my problem now is that the content of my clicks shows up in the iframe itself. how do I get it to show up in the parent window. I've tried using target="_parent", but to no avail.
- jeff |
|
I cannot get the background of my iframe to change from white.. any clue what i'm doing wrong? Thats not the background of the marquee.. i mean the actual iframe that the marquee is embedded in... here's what I mean... http://www.sportsnimports.com/forums...is/index2.html
Also, what would I add to marquee in order for the links to conform to the stylesheet for the rest of the page? |
Quote:
Any other ideas? Thanks for any help. |
I've got this thing running great. I open it up in a little javascript window and using javascript allow people to click on link that change the display of the parent (forum) window that started it.
It's cool. I wish I could demonstrate it, but I added code that only allows forum member to view it, not visitors. - jeff |
Fantastic hack, I've taken it and messed about with it a little to suit my own needs, let me know what you think: http://savepoint.co.uk/webmaster.php
|
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 |
Quote:
|
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 |
Anyone got this working on 2.3.0 ?? I'd also be ineterested to use this hack !
Thank you |
Quote:
I tried it out, but unfortunately it made my homepage look far too cluttered, no matter how much I customised the layout. |
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 |
Are there any PHP/VB gurus around that can maybe help me with the bug? I can't get it to work properly... :(
|
Quote:
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:
|
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:
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... |
Ok problem fixed using iframe - I guess it doesn't work another way.
|
All times are GMT. The time now is 04:48 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|