|
Post by Wormopolis on Nov 19, 2010 19:46:42 GMT -8
replace the whole thing with this:
<script type="text/javascript"> <!-- /* Photobucket Slide Show UBBC Tag By !ErInUkI_bOx! Thanks to SubDevo for helping with the parsing! Not in any way calling Photobucket our own Do not redistribute or call your own mods by wormo - attempt 3 */
if (true) {
if(document.postForm) { document.postForm.color.parentNode.innerHTML+='<a href="javascript:add(\'[photobucket]\',\'[/photobucket]\')"><img src="http://i29.tinypic.com/2a6qtu1.png" border="0" /></a>'; }
//Replacement Portion if(pb_action.match(/(calendar|pm|pre)view|search2|display/i)){ var td = document.getElementsByTagName('td'); var matCH=/\[photobucket\](.+?)\[\/photobucket\]/gi; for(l=0;l<td.length;l++){ if (td[l].width=="80%"&&td[l].innerHTML.match(matCH)) { td[l].innerHTML = td[l].innerHTML.replace(matCH, function pbsld_replace(imp, extrct) { var slideshowU = extrct; if(slideshowU.indexOf(".pbw")!=-1){ var ns=slideshowU.replace(/\s+?/,'').replace("s","w"),nx=ns.split(".com"),start=nx[0]+".com"; slideshowU=start+"/pbwidget.swf?pbwurl="+escape(start+nx[1].split("?")[0]+nx[1].split("=")[2]); }else{ var ns=slideshowU.replace("s","feed"),nx=encodeURIComponent(ns.slice(0,ns.indexOf("?"))+"feed.rss"); slideshowU='http://static.pbsrc.com/flash/rss_slideshow.swf" flashvars="rssFeed='+nx; } return '<div style="width:480px; text-align: center;"><embed type="application/x-shockwave-flash" wmode="transparent" src="'+slideshowU+'" height="270" width="480"><a href="http://photobucket.com/slideshows" target="_blank"><img src="http://pic.photobucket.com/slideshows/btn.gif" style="float:left;border-width: 0;" ></a></div>'; }); } } }
}
//--> </script>
|
|
|
Post by rhondairv on Nov 20, 2010 8:58:53 GMT -8
Thanks for doing that for me. lol I knew better than to even try last night.
I just put it in and we're not there just yet. Still the same for me.
|
|
|
Post by Wormopolis on Nov 20, 2010 12:44:00 GMT -8
firefox pisses me off sometimes. It was displaying that code differently then IE was. you were just copying what you saw, but I was looking in IE so I was seeing something else.
I just added in a thing to keep it from running the code ON the code for fireefox as well. recopy the code again.
|
|
|
Post by rhondairv on Nov 20, 2010 23:35:00 GMT -8
WORKS!!! Thanks wormo you genius you!!!!
|
|
|
Post by Wormopolis on Nov 20, 2010 23:58:19 GMT -8
sorry that took so long. it was working clear back on page 1.. but the code trying to run on itself was messing with the both of us.
|
|
|
Post by rhondairv on Nov 21, 2010 0:42:15 GMT -8
Not a problem at all Just on a side note and i have a feeling there is no way for you to do this BUT, is there anyway to force the badges to animate? I believe this is totally on PB side but i gotta ask. It's weird because the animation PB does works but most of my badges i made are animated but in the slide show it does not animate them. Example would be below. Most if not all of those should be animated.. [photobucket]http://s153.photobucket.com/albums/s240/EmoteCrazy/PogoHookUp/ALL%20BADGES/social%20badges%20slide%20show/?action=view¤t=8d164a9c.pbw[/photobucket] On this page ... s153.photobucket.com/albums/s240/EmoteCrazy/PogoHookUp/ALL%20BADGES/social%20badges%20slide%20show/The preview of the slideshow is animated but then click on it and watch it the badges are no longer animated.
|
|
|
Post by Wormopolis on Nov 21, 2010 4:00:59 GMT -8
It looks as though photobucket converts them from gifs to jpg... you would have to consult with them to see if there way a way to leave them as gifs. javascript wouldnt be able to change that.
|
|
|
Post by rhondairv on Nov 21, 2010 4:07:19 GMT -8
ok, i knew it was a loooong shot but had to ask. lol Thanks again wormo! hugssssssssss
|
|