Go Back   vBulletin Setup > vBulletinSetup Information > Troubleshooting vBulletin Problems

Reply 
 
LinkBack Thread Tools Display Modes
Old 04-27-2009, 05:29 AM   #1
vBulletin Owner
 
pts123's Avatar
 
Join Date: Oct 2007
Location: Kansas City
Posts: 9
pts123 will become famous soon enough
Controlling my slide show . . .

This one will probably be a tough one, but I need help and I'm hoping it can be done at all? I'm just about ready to go live with my latest and I have added a rotating type slide show hosted at Photobucket. This site will be for Ham Radio operators and they will be submitting their QSL cards that I scan and copy up to the slide show. Here's what I want to do.

The text added to the header template is this:

<div style="width:100%; text-align: center;"><embed type="application/x-shockwave-flash" wmode="transparent" src="http://w607.photobucket.com/pbwidget.swf?pbwurl=http://w607.photobucket.com/albums/.pbw" height="90" width="100%"></div>

I just put it at the top in the template and there it is. But, I realize that having that running all the time is a bit annoying, so I need a way to turn it off. Normally I just remove it from the template and it's gone. How can I add a button to the top of my home page that says "QSL Slideshow on/off". If I had that, users could control it themselves. How can I control that little bit of text in the template? Would I add a template and have that text in a seperate template or rem it out, or what? It would need to be controlled by each user effecting only what they see.

If anyone has an idea or can tell me where I could get some help with this one, please let me know and Thanks

Check it out: Simple Redirect Script

JD in KC

Last edited by pts123; 04-27-2009 at 05:37 AM.
pts123 is offline   Reply With Quote

Advertisement [Remove Advertisement]

Old 04-27-2009, 06:24 AM   #2
Supporters
vBulletin Owner
vBSetup Mods
 
Cerberus's Avatar
 
Join Date: Mar 2008
Posts: 1,631
Cerberus is a glorious beacon of lightCerberus is a glorious beacon of lightCerberus is a glorious beacon of lightCerberus is a glorious beacon of light
Re: Controlling my slide show . . .

You should be able to do that fine with jquery.

Basic Show and Hide Learning jQuery - Tips, Techniques, Tutorials

That should help you out
__________________
Cerberus / vBulletinSetup Staff
Check the Newsletter & Marketplace for the latest deals.
Looking for a place to Support vBulletinSetup?
Submit your Forum and other Quality Websites.


Cerberus is offline   Reply With Quote
Old 04-27-2009, 05:14 PM   #3
vBulletin Owner
 
ArnyVee's Avatar
 
Join Date: Apr 2008
Location: South Florida
Posts: 2,883
Blog Entries: 1
ArnyVee is just really niceArnyVee is just really niceArnyVee is just really nice
Send a message via AIM to ArnyVee Send a message via Yahoo to ArnyVee Send a message via Skype™ to ArnyVee
Re: Controlling my slide show . . .

This is kinda what I wanted to do. But, have it loop instead of just ending.

Is there an option for that JD?
ArnyVee is offline   Reply With Quote
Old 04-28-2009, 12:34 PM   #4
vBulletin Owner
 
pts123's Avatar
 
Join Date: Oct 2007
Location: Kansas City
Posts: 9
pts123 will become famous soon enough
Commenting something out . . .

How can I rem out text in a template. I am trying to create a button that can change the contents of my header template. If I can rem a section out, like in a .bat file, rem or * or # or :: to have that portion be ignored, (commented out). I have tried, but it seems like whatever I've tried does not work? Help

JD in KC

Last edited by pts123; 04-28-2009 at 12:36 PM.
pts123 is offline   Reply With Quote
Old 04-28-2009, 03:07 PM   #5
Supporters
vBulletin Owner
vBSetup Mods
 
Cerberus's Avatar
 
Join Date: Mar 2008
Posts: 1,631
Cerberus is a glorious beacon of lightCerberus is a glorious beacon of lightCerberus is a glorious beacon of lightCerberus is a glorious beacon of light
Re: Commenting something out . . .

Quote:
Originally Posted by pts123 View Post
How can I rem out text in a template. I am trying to create a button that can change the contents of my header template. If I can rem a section out, like in a .bat file, rem or * or # or :: to have that portion be ignored, (commented out). I have tried, but it seems like whatever I've tried does not work? Help

JD in KC
If you want to be able to click something and make something change on the page you will need to use some type of javascript, but like I said above jquery can do all those things and right nicely. Thats what I would suggest as for the correct code, what exactly are you doing? Maybe I can help?
__________________
Cerberus / vBulletinSetup Staff
Check the Newsletter & Marketplace for the latest deals.
Looking for a place to Support vBulletinSetup?
Submit your Forum and other Quality Websites.


Cerberus is offline   Reply With Quote
Old 04-29-2009, 05:10 AM   #6
vBulletin Owner
 
pts123's Avatar
 
Join Date: Oct 2007
Location: Kansas City
Posts: 9
pts123 will become famous soon enough
Re: Controlling my slide show . . .

Thanks for helping me look into this. If you go to the site now, you will see the slideshow is gone. That's what happens when I remove the code from the header template and refresh the page. If I add the code it starts again. If I could just figure out a way to automate that process in a button on the home page. I guess I would want to default it on when a person goes to my site and they can stop it during that session if they want.

A seperate template or comment that code out or what, that is the problem. I went to the jQuery website and posted the question, but it was very confusing to see how to post there. I even joined the Yahoo group and posted it. I did get a reply from Charlie Tomlinson:


There is a simple solution if all you want to do is hide the slideshow, that only requires a couple of lines of javascript code


Charlie Tomlinson wrote:
jQuery is javscript but it is not an off the shelf solution to your problem. Flash plugin uses javascript but your best place to look is in the API for photobucket

Liken your search to buying a Kenwood radio then going to Best Buy to figure out the electronics inside it. Makes more sense to go to the manual at the source.


I did check out the Photobucket API, but I don't really want my users interacting with them. I just want the slide show off or on. Let me know if you think of any way to do it, Thanks again

JD in KC
pts123 is offline   Reply With Quote
Reply 
vBulletin Setup > vBulletinSetup Information > Troubleshooting vBulletin Problems

Tags
controlling, show, slide

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slide Shows Sasquatch Troubleshooting vBulletin Problems 8 09-12-2009 08:56 AM
Little Tikes Climb & Slide Castle Auctions Webmaster Auctions 0 07-22-2009 05:42 AM
Show off you logo here! Caddyman Photoshop Tutorials 46 06-26-2009 08:36 PM
Controlling Spam(ers) in vBulletin oddmusic Troubleshooting vBulletin Problems 10 11-10-2006 09:20 AM


All times are GMT -8. The time now is 12:45 AM.