marshabar
Not New Member
Posts: 18
marshabar said 0 great things
|
Post by marshabar on Aug 30, 2011 17:07:02 GMT -8
Do you have a hack for this? It's kind of irritating to be bumped off the page just for high fiving someone.
Thank you.
Marshabar
|
|
|
Post by Wormopolis on Aug 31, 2011 21:31:40 GMT -8
Its a great idea, but that action is done server side. The best you could get is a popup asking if they want to go back to where they just were as soon as it hits the profile page or stay there. an automatic redirect would be TOS violation.
|
|
marshabar
Not New Member
Posts: 18
marshabar said 0 great things
|
Post by marshabar on Sept 1, 2011 6:41:52 GMT -8
Could you write a code like that for me, the popup?
Thanks so much for response.
This is the most beautiful ProBoard I have ever seen.
|
|
marshabar
Not New Member
Posts: 18
marshabar said 0 great things
|
Post by marshabar on Sept 1, 2011 6:47:22 GMT -8
To pm you do I address admin?
|
|
|
Post by Wormopolis on Sept 1, 2011 18:43:46 GMT -8
you can send a PM to the admin account, but I am cool doing the request in this thread. You are going to need to be patient with me since I dont have internet access right now except this crappy wireless connection I found. I should hopefull have internet next week when the cable company comes.
|
|
marshabar
Not New Member
Posts: 18
marshabar said 0 great things
|
Post by marshabar on Sept 2, 2011 5:56:26 GMT -8
I'm not in any hurry at all, good luck getting settled in. Hope it all goes smoothly. Must be hell for you to be without internet!! That little red streak (worm) through links is so cool. I tried the color smear code. Works great but it looks much better on the dark background. Here's my board. Very elementary indeed. I used you text enlarge code. Love it. www.letstalkpolitics.proboards.com/index.cgiI did pm you.
|
|
|
Post by Wormopolis on Sept 22, 2011 17:53:13 GMT -8
Im working on this today. I should have something by the weekend.
|
|
marshabar
Not New Member
Posts: 18
marshabar said 0 great things
|
Post by marshabar on Sept 24, 2011 6:10:02 GMT -8
Thanks, Wormopolis.
|
|
|
Post by Wormopolis on Oct 8, 2011 23:16:13 GMT -8
The hard part about about writing this, is that I can only test it once an hour...
|
|
|
Post by Wormopolis on Oct 9, 2011 22:38:04 GMT -8
try using karma here to see v1.0
|
|
|
Post by Wormopolis on Oct 10, 2011 17:55:13 GMT -8
well workis in FF.. IE hates it.
|
|
marshabar
Not New Member
Posts: 18
marshabar said 0 great things
|
Post by marshabar on Oct 11, 2011 9:34:46 GMT -8
Thanks for working on this, wormopolis. I think many people will appreciate it.
|
|
|
Post by Wormopolis on Oct 13, 2011 16:17:46 GMT -8
this is what I have so far. IE is stil lstruggling with something, so I need to figure that out. Firefox works great though.
<script type="text/javascript"> <!-- // boomerang karma action // v1.0 // by Wormopolis - www.wormocodes.com // do not repost - keep header intact
var exaltMessage="$USER appreciates the love you have given them. Go back to where you were?"; var smiteMessage="$USER is a bit more sad for your actions. Go back to where you were?";
if (pb_action.match(/(display|viewprofile|search2)/)) { for (td=document.getElementsByTagName('td'), tt=0; tt<td.length; tt++) { if (td[tt].width=='20%' && td[tt].className.match(/windowbg/) && td[tt].vAlign=='top' && td[tt].getElementsByTagName('b')[0] && td[tt].getElementsByTagName('b')[0].innerHTML.match(/action=viewprofile/)) { var dispName= (td[tt].getElementsByTagName('b')[0].firstChild.innerText ? td[tt].getElementsByTagName('b')[0].firstChild.innerText : td[tt].getElementsByTagName('b')[0].firstChild.textContent); var boomerangStuff=''; var postCellStuff=td[tt].nextSibling; if (pb_action!='viewprofile') { for (lnk=postCellStuff.getElementsByTagName('a'), ll=0; ll<lnk.length; ll++) { if (lnk[ll].innerHTML.match(/link to post/i) && lnk[ll].href.match(/action=gotopost&(.*)$/)) { boomerangStuff=RegExp.$1; break; } } for (lnk2=td[tt].getElementsByTagName('a'), ll=0; ll<lnk2.length; ll++) { if (lnk2[ll].href.match(/action=karma/)) { lnk2[ll].href += '&' + escape(dispName) + '&' + boomerangStuff; if (lnk2[ll].addEventListener) { lnk2[ll].addEventListener('click',function() {saveBoomerang(this.href);},true); } else { lnk2[ll].attachEvent('onclick',function() {saveBoomerang(this.href);}); } } } } } } if (document.cookie.match(/boomerang=(.*)(;|$)/)) { var recoveredStuff=RegExp.$1.split('&'); var dt=new Date(); dt.setMinutes(dt.getMinutes()-5); document.cookie='boomerang=gone; expires='+dt; var karmatype=recoveredStuff.shift(); var recDispName=unescape(recoveredStuff.shift()); recoveredStuff=recoveredStuff.join('&'); var putMessage=(karmatype=='1' ? exaltMessage : smiteMessage); putMessage=putMessage.replace('$USER',recDispName); if(confirm(putMessage)) location.href='/index.cgi?action=gotopost&'+recoveredStuff; } }
function saveBoomerang(addedStuff) { var dt=new Date(); dt.setMinutes(dt.getMinutes()+5); document.cookie='boomerang='+addedStuff.split('type=')[1]+'; expires='+dt; }
// --> </script>
|
|
|
Post by Wormopolis on Oct 14, 2011 18:09:19 GMT -8
ok.. its working in FF and IE.. but I cant figure out what chrome is mad at
|
|
|
Post by Wormopolis on Oct 23, 2011 15:41:47 GMT -8
|
|