![]() |
UKBL ~ Scrolling Forum News In iFrame
1 Attachment(s)
UKBL ~ Scrolling Forum News In iFrame Ever wanted a Customizable Scrolling Box where you could easily add your Forum News Or Links, but didn't want to use Javascript with line after line of code??? https://vborg.vbsupport.ru/external/2009/03/61.png LIVE DEMO: http://www.ukbusinesslive.co.uk/forum/scroller.htm and without the Iframe Border http://www.waltdisneyboards.com/forums.php Then this is for you, A Small so easy to add script, thats customizable in every way. I'm dedicating this hack to my friend "Arny" from the Walt Disney Boards, who put the idea into my head when he sent me a hidious Javascript, with about 100 lines of text that did basically the same, So thats for the idea Arny and I hope you enjoy the finished product. Using a Basic iFrame code, You can add scrolling text, links and clickable pictures and with a small file to add where ever you want to put your new iFrame it couldn't be easier to do. You can adjut the size of the box to go the full width of your boards or to fit in a small corner, it really is adjustable ;) https://vborg.vbsupport.ru/external/2009/03/62.png Ok so heres the Install.. Download the zip file and open up the scroller.txt file in notebook or similar Code:
<!-- Copy this where you want your Scroller --> Code:
<table cellpadding="2" cellspacing="0" border="0" style="border: #000000 1px solid; background-color: #3BE2F8;COLOR: #1605FC; FONT: 14px arial, sans-serif; font-weight: bold;"><tr><td align="center"> Code:
<td align="center"> Next we can change the size and height of our box, so first decide what size you want your box to be and change the values in this part of the code Code:
<iframe id="NewsWindow" src="text.htm" width="160" height="210" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" style="border: #000000 1px solid;"></iframe> Code:
style="border: #000000 1px solid; Now we come to the text.htm file which we need to upload to our forums server, so open the file and we'll see something like this.... Code:
<html><head> To add more content, just cut and paste one of the paragraphs like this Code:
<span class="title"> make a space under each news item using <br><br><br> Once you've finished adding your content and editing the differnt sections, Save the file and upload it to your forums root directory as text.htm If you want to change the content on a regular basis all you'll need to do is to edit the text.htm fil and just upload it to your server, remembering to chose over write. ;) Thats it, so easy and a great addition to any forum https://vborg.vbsupport.ru/external/2009/03/63.png The code is just bog standard HTML so feel free to edit and play around with it :D You could even use this for advertising and sponsors The choice is yours, basically its a simple iframe with a scroll feature, so enjoy :D Don't forget to click Installed :up: |
:D reserved ;)
|
Thanks my friend! :up:
Hope folks get as much out of this one as I will. :D |
looks good m8
i suppose this could be used for anythign besides text ?? |
Quote:
|
1 Attachment(s)
Quote:
Only the color has been changed you'll need to add the context, width etc.. |
interesting hack,nice one^^
|
Quote:
Code:
<iframe id="NewsWindow" src="text.htm" width="160" height="210" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" style="border: #000000 1px solid;"></iframe> Code:
width="160" and replace with Code:
width="100%" |
Quote:
|
Quote:
Thanks Buddy You can if you want do away with the box and have just the iframe In the scroller.txt find this Code:
<table cellpadding="2" cellspacing="0" border="0" style="border: #000000 1px solid; background-color: #3BE2F8;COLOR: #1605FC; FONT: 14px arial, sans-serif; font-weight: bold;"><tr><td align="center"> https://vborg.vbsupport.ru/external/2009/03/60.png |
Gerry, is there a way to make it stop or pause for every "story" or paragraph? Or, would I have to add some messy js for that? ;)
|
Quote:
Thanks again! |
Quote:
At the moment, you can lenghten the delay on which it starts scrolling but not stoping each one on a pause, it wouldn't be that hard to do, i just need to try it out a bit, just so i know it works. It pauses on mouseover, but i'll look at the auto pause for you ;) |
Quote:
I noticed that in the title line, if I use a text link in there, it changes the color slightly. I'm assuming that I can adjust that in the settings. But, I haven't done anything with it yet since I'm taking care of some other non-related issues on my site. Thanks again Gerry for helping me with this and I'm glad that some others have found it useful as well! :up: For another demo (without the "framed" area) you can use this link and the working demo is at the top of the left side column: http://www.waltdisneyboards.com/forums.php |
Hello! Nice - installed !
regards macc |
Quote:
The borderless mode is idea for adding it into a frame which suits your board, Works well there arny ;) i'll add the demo to the 1st post so members can compare them both :rolleyes: |
Quote:
|
Unable to add cookies, header already sent.
File: /home/avarona/domains/waltdisneyboards.com/public_html/includes/class_yui.php Line: 80 I see this error at http://www.waltdisneyboards.com/forums.php Better you can remove that demo and give us a working one. Another UKB kinda hack. :) Tagged, gonna install it soon. |
Forum Lover, the page is working alright for me. Can you check it again to make sure that it wasn't a 1-time deal?
|
Quote:
get same error message macc |
macc, did you just click on it now? Or, was it earlier?
I disabled something that might've been the cause of that error. Can you double check for me? Thanks! :D |
now... before one minut ...
macc edit: clicked now - same error - |
Quote:
https://vborg.vbsupport.ru/external/2009/03/59.png |
I was getting the same error when I click the link in the above posts. I went to the main page and clicked the forums link and it works fine.
I don't suppose there is a way to insert recent threads from vbadvanced into this is there? |
Quote:
If you can add them as a url or html then yes you could, But i don't do vbadvanced, so i don't really know how it works :confused: |
Looks like that error that I was getting was due to the Tabbed Forum Home v2.0 that I'm a beta tester on. Just wanted to confirm that this mod had nothing to do with it. :)
As the others have stated, by going to http://www.waltdisneyboards.com and then clicking on "forums" at the top, you'll get to the forum home with no issues. But, most folks are not reporting any issues going straight to http://www.waltdisneyboards.com/forums.php and seeing the mod in action :up: |
Quote:
Thanks for the Heads up on that Arny, I was a bit worried, as i'd tested it all day on my board without issues. Hope you get that sorted shortly ;) |
Just to confirm works well in a VBadvanced module too, Thanks for Macc for pointing this out to me :D
https://vborg.vbsupport.ru/external/2009/03/56.png |
Gerry, just an FYI.....the error that some folks were receiving on the forumhome page of my site has been gone for a bit. Just wanted to confirm that it was working in the event that someone needed the 'demo' for the version without the iFrame border :D
Thanks again for doing this nice little touch for the community! :up: |
Quote:
|
I've not tried this yet but certainly will do so. What I was wondering if it will scroll right to left ... or vice versa? Would like the news going across the page like a ticker at the top.
|
Quote:
|
this is a great addition to my board. Thank you!
|
Can I put some rss feed in the news? so the news is updated as always, i dont have to update everyday manually but changes from rss, can i do dat? thanks alot...this mod is great....or can i put some image and the function will roller over the image? like rolling banner but changes every minutes when they scrolling? And where i put the text.htm? did i know where text.htm must be put in my forum, in what folder? thanks.
regards yossie3660 |
Would be nice to have the newest posts scrolling.
Any way to implement that? |
Thanks,,Nice :D
|
Thanks so much for this! I think it enhanced my site. I placed it in the header for site news. I also used it to link to an MP3 player which saved me from having to add another button to my customized style.
Thanks so much! Public Warriors |
can i use this on a .html page i mean my forum is www.mydomain.com/forum
can i use this code on www.mydomain.com/index.html thnxxxx |
Quote:
The majority of my Hacks can be used on a HTML website you don't always need to just use them on VBulletin sites, Try it and see ;) |
Installed and working perfectly
thanks friend |
All times are GMT. The time now is 02:03 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:
|