Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
UKBL ~ Newsticker IFrame in Navbar Details »
UKBL ~ Newsticker IFrame in Navbar
Mod Version: 1.00, by UKBusinessLive (Designer) UKBusinessLive is offline
Developer Last Online: Feb 2012 I like it Show Printable Version Email this Page

vB Version: 3.8.1 Rating: (5 votes - 4.80 average) Installs: 12
Released: 14 Mar 2009 Last Update: Never Downloads: 55
Not Supported Template Edits Re-usable Code Translations  

UKBL ~ Newsticker IFrame in Navbar


Working Demo: http://www.ukbusinesslive.co.uk/forum With Border

Working Demo: http://www.waltdisneyboards.com/forums.php Without Border


As a request for a friend, i made this simple to add news ticker using a simple html script from Dynamic Drive and added it to the navbar, left of the login box, Now your members will be able to see up to date news everytime they login



So Easy to Install

First Download the zip file and open the ticker.txt file in a text editor like notepad

To legally use the code from Dynamic Drive please retain their credits within the code


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Find


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and replace it with yoursite and keep the file exfile.htm at root level (We'll need to edit that file later )

Find


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and change this for the size you want, I've kept mine small 200 x 80 pixels but you can edit this for whatever size you want to make the Iframe

Find this


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and change it to yes if you want the iframe to scroll as opossed to just changing. if no then the content will change ever XX seconds which is adjustable

Now we save that file and we need to copy and paste the entire contents of that file to our Navbar, so...

AdminCP > Styles & Templates> Style Manager> Your Chosen Style> All style options> Edit templates> Navigation / Breadcrumb Templates> navbar

Find the following


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and directly below it add your code


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Ok Guys thats the first bit done,
Grab yourselves a beer, Here comes part two

In Notpad again open the "exfile.htm" file, as we need to edit and add our content

When you open the file in Notepad we see this, remember to keep the Dynamic drive url and copyright in place


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Find this


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and change it for whatever delay you want, remember its in milliseconds so 3 seconds = 3000

next Find this


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This changes the color of the iframe background, Use a hex color generator to chose a color which suits your site, I use this http://www.2createawebsite.com/build/hex-colors.html

Find this


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

these are the text blocks, Just edit them to suit your content

You'll see how easy it is, The first part is the url of your link, Then the text after it, once you've done a couple you'll get the knack

if you want to add more, make sure you......


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Thats it, so now we need to save the file, and upload the file (exfile.htm) to our forums root directory.

Thats it, Now click onto your homepage and suprise your members with your New feature

Please click Install if you use and i'll support you 100%

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	Iframe in navbar.png
Views:	139
Size:	37.7 KB
ID:	96447  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Forum Home Enhancements UKBL ~ Scrolling Forum News In iFrame UKBusinessLive vBulletin 3.8 Template Modifications 42 31 May 2012 11:16
Forum Home Enhancements UKBL ~ Advertising iFrame on Forum Home UKBusinessLive vBulletin 3.7 Template Modifications 6 22 Jan 2011 19:08
UKBL ~ Advertising iFrame on Forum Home UKBusinessLive vBulletin 3.5 Template Modifications 2 20 May 2009 10:39
Forum Home Enhancements UKBL ~ Advertising iFrame on Forum Home UKBusinessLive vBulletin 3.8 Template Modifications 7 05 May 2009 22:18
Forum Home Enhancements UKBL ~ Advertising iFrame on Forum Home UKBusinessLive vBulletin 3.6 Template Modifications 1 10 Feb 2009 00:06

Comments
  #2  
Old 14 Mar 2009, 17:16
UKBusinessLive UKBusinessLive is offline
 
Join Date: Sep 2008
Real name: Gerry
reserved
Reply With Quote
  #3  
Old 14 Mar 2009, 17:36
ArnyVee's Avatar
ArnyVee ArnyVee is offline
 
Join Date: Mar 2008
Thanks Gerry!

Another useful option for those folks looking to do little touches on their sites! Thanks for participating so much and contributing to the community my friend!

I'll be installing it shortly!
Reply With Quote
  #4  
Old 14 Mar 2009, 18:00
UKBusinessLive UKBusinessLive is offline
 
Join Date: Sep 2008
Real name: Gerry
Originally Posted by ArnyVee View Post
Thanks Gerry!

Another useful option for those folks looking to do little touches on their sites! Thanks for participating so much and contributing to the community my friend!

I'll be installing it shortly!
OK Buddy Glad to help, perhaps a link for a demo, kind sir
Reply With Quote
  #5  
Old 14 Mar 2009, 18:05
erel34's Avatar
erel34 erel34 is offline
 
Join Date: Dec 2007
Thanks
__________________
Reply With Quote
  #6  
Old 14 Mar 2009, 19:13
hoopsta hoopsta is offline
 
Join Date: Jan 2003
is there a demo site with this working?
__________________
Reply With Quote
  #7  
Old 14 Mar 2009, 19:16
UKBusinessLive UKBusinessLive is offline
 
Join Date: Sep 2008
Real name: Gerry
Originally Posted by hoopsta View Post
is there a demo site with this working?
will be shortly Bear with me
Reply With Quote
  #8  
Old 14 Mar 2009, 19:28
ArnyVee's Avatar
ArnyVee ArnyVee is offline
 
Join Date: Mar 2008
I've got it started (still testing), but you can use my site for the demo http://www.waltdisneyboards.com/forums.php

Gerry, I'd like to ask a question. I noticed that the text wasn't aligned towards the top. Where do I put the valign="top" piece?

Also, what do I do to change the color (or eliminate, rather) the borders on the iFrame?
Reply With Quote
  #9  
Old 14 Mar 2009, 19:31
hoopsta hoopsta is offline
 
Join Date: Jan 2003
Originally Posted by ArnyVee View Post
I've got it started (still testing), but you can use my site for the demo http://www.waltdisneyboards.com/forums.php

Gerry, I'd like to ask a question. I noticed that the text wasn't aligned towards the top. Where do I put the valign="top" piece?

Also, what do I do to change the color (or eliminate, rather) the borders on the iFrame?
thanks. You have a lot of cool hacks on your wite. But I don't see that one working yet. I'll check back.
__________________
Reply With Quote
  #10  
Old 14 Mar 2009, 19:33
UKBusinessLive UKBusinessLive is offline
 
Join Date: Sep 2008
Real name: Gerry
Originally Posted by hoopsta View Post
thanks. You have a lot of cool hacks on your wite. But I don't see that one working yet. I'll check back.
I'll add the demo to the first post when its installed
Reply With Quote
  #11  
Old 14 Mar 2009, 19:33
hoopsta hoopsta is offline
 
Join Date: Jan 2003
Originally Posted by ArnyVee View Post
I've got it started (still testing), but you can use my site for the demo http://www.waltdisneyboards.com/forums.php

Gerry, I'd like to ask a question. I noticed that the text wasn't aligned towards the top. Where do I put the valign="top" piece?

Also, what do I do to change the color (or eliminate, rather) the borders on the iFrame?
would you mind telling me which hack you use for the Top 5 Stats ?
__________________
Reply With Quote
  #12  
Old 14 Mar 2009, 19:43
UKBusinessLive UKBusinessLive is offline
 
Join Date: Sep 2008
Real name: Gerry
Originally Posted by ArnyVee View Post
I've got it started (still testing), but you can use my site for the demo http://www.waltdisneyboards.com/forums.php

Gerry, I'd like to ask a question. I noticed that the text wasn't aligned towards the top. Where do I put the valign="top" piece?

Also, what do I do to change the color (or eliminate, rather) the borders on the iFrame?

Hi Arny,

Not sure what you mean about the align= top?? It works OK on my Test Site?? Post me a link when you get it up?

To make the Border disappear in the ticker.txt file find


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and change to


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Just going to get my demo done on my site bear with me for a sec....
Reply With Quote
  #13  
Old 14 Mar 2009, 19:46
Jon Tolzien Jon Tolzien is offline
 
Join Date: Nov 2008
Alright i loaded it and everything but a couple of small problems.
1. Can this scroll right to left, like a stock ticker..... Does this automatically scroll?
2. Can this be centered in the navbar
3. I cannot get it to scroll at all, i probably screwed something up

I love this idea, i have been looking for one that is quality for a long time.

Thanks for the help


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #14  
Old 14 Mar 2009, 19:48
ArnyVee's Avatar
ArnyVee ArnyVee is offline
 
Join Date: Mar 2008
Gerry, it's working now.

I forgot that you had the "show 'member'" in there. So, I removed that (and noticed where to put the "0" for the frameborder too ) and it should be good.

Now, just working on aligning the text to the top to make it look nicer.
Reply With Quote
  #15  
Old 14 Mar 2009, 19:53
ArnyVee's Avatar
ArnyVee ArnyVee is offline
 
Join Date: Mar 2008
Originally Posted by hoopsta View Post
would you mind telling me which hack you use for the Top 5 Stats ?
No problem sir!

I use the Cyb-Advanced Forum Stats. If you're using vB 3.8, go here http://www.vbulletin.org/forum/showthread.php?t=201274 ... if you're using vB 3.7, go here http://www.vbulletin.org/forum/showthread.php?t=177778

Thanks for comments, by the way!

The demo on my site is working other than the text being down a bit (almost as if there are some line breaks in there somewhere), so I'm adjusting that now.

I have it blending into (no iFrame border or differentiating background color) my site. So, Gerry could use this one as another option in his demos.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 18:18.

Layout Options | Width: Wide Color: