|
Post by Wormopolis on Nov 17, 2010 22:54:44 GMT -8
you recopied the code from above just now right?
|
|
|
Post by rhondairv on Nov 18, 2010 4:40:43 GMT -8
yep
|
|
|
Post by Wormopolis on Nov 18, 2010 15:35:24 GMT -8
then I need a URL to look at. what I posted above is what I have running in this thread.
|
|
|
Post by rhondairv on Nov 18, 2010 16:26:05 GMT -8
|
|
|
Post by Wormopolis on Nov 18, 2010 20:31:45 GMT -8
I mean the URL of the thread you are trying this in.
|
|
|
Post by rhondairv on Nov 18, 2010 22:26:20 GMT -8
|
|
|
Post by Wormopolis on Nov 18, 2010 23:32:11 GMT -8
its not you... I know what is happening.
its trying to convert the CODE into a slideshow. I have to make a change in order to post the code itself.
|
|
|
Post by Wormopolis on Nov 18, 2010 23:55:07 GMT -8
ok.. recopy again. its not being affected now.
|
|
|
Post by rhondairv on Nov 19, 2010 0:33:52 GMT -8
Still not working and no icon either. Weird it works here though.
|
|
|
Post by Wormopolis on Nov 19, 2010 5:55:45 GMT -8
still the same version as before, recopy from the last code I posted. unless Im looking at the wrong site, but the source of the URL you gave shows the version before my edit.
also.. Im not sure if its affecting it yet, but automerge might need to go AFTER this code.. but dontmove it yet.
|
|
|
Post by rhondairv on Nov 19, 2010 6:10:32 GMT -8
k, recheck. sorry i had put the new code on my main site.
|
|
|
Post by Wormopolis on Nov 19, 2010 14:11:05 GMT -8
this is what I see in your footer:
if(document.postForm) { document.postForm.color.parentNode.innerHTML+='<a href="javascript:add(\'<div style="width: 480px; text-align: center;"><embed type="application/x-shockwave-flash" wmode="transparent" src="http://static.pbsrc.com/flash/rss_slideshow.swf" flashvars="rssFeed=%5C'%2C%5Cfeed.rss" width="480" height="270"><a href="http://photobucket.com/slideshows" target="_blank"><img src="http://pic.photobucket.com/slideshows/btn.gif" style="float: left; border-width: 0pt;"></a></div>\')"><img src="http://i29.tinypic.com/2a6qtu1.png" border="0" /></a>'; }
this is what I SHOULD be seeing:
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>'; }
|
|
|
Post by rhondairv on Nov 19, 2010 15:48:47 GMT -8
I changed it but no icon and still not working. Here is what i have...
<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 */
if (true) {
if(document.postForm) { document.postForm.color.parentNode.innerHTML+='<a href="javascript:add(\'<div style="width: 480px; text-align: center;"><embed type="application/x-shockwave-flash" wmode="transparent" src="http://static.pbsrc.com/flash/rss_slideshow.swf" flashvars="rssFeed=%5C'%2C%5Cfeed.rss" width="480" height="270"><a href="http://photobucket.com/slideshows" target="_blank"><img src="http://pic.photobucket.com/slideshows/btn.gif" style="float: left; border-width: 0pt;"></a></div>\')"><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>
correct, right?
|
|
|
Post by Wormopolis on Nov 19, 2010 17:50:23 GMT -8
nah... you see that first part? the document.postForm part? see how in the one you just posted it has the embed stuff in it? it shouldnt have that. look at the post right before yours where the document.postForm seems shorter.
|
|
|
Post by rhondairv on Nov 19, 2010 18:12:29 GMT -8
I am going to have to figure this out tomorrow. I am losing brain cells at a rapid rate at the moment. I've had 2 hours sleep in a day and a half. I am off to bed and tomorrow i will see if i can make sense of this. If i tried to do something else to the code right now it would end up not resembling what it should. I can't understand what you are saying so i know it's time to go to bed. lol Goodnight, see ya tomorrow.
|
|