inherit
136262
0
Jun 24, 2013 21:59:18 GMT -8
nowdocking
1,088
January 2009
nowdocking
|
Post by nowdocking on Jun 29, 2010 19:43:13 GMT -8
Thank you Trublu and thanks to Chris.
for the record, it's still not working for me -- I'll make a thread
|
|
inherit
97216
0
Nov 15, 2024 16:10:17 GMT -8
Bennett 🚀
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett 🚀 on Jul 1, 2010 17:56:06 GMT -8
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,017
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Jul 1, 2010 23:39:19 GMT -8
- Code: Facebook Icon in Mini Profile / Twitter Icon In Mini Profile
I'm quite familiar with the conflict between those two codes actually. Somebody modified iAlex's facebook code so it worked for twitter. The problem was the marker in the personal text used to save the info was left unchanged ([F4:blah]) so when both codes are running they are fighting over the same marker and the first to run wins since it gets to extract the data then delete the marker before the second code even sees it. The Social Networks in MiniProfile code by Triad in the database was created in part to address that problem.
- Code: Member Doesn't Count As Staff
Ahhh I see, as admin you should be listed but you are being downgraded to a regular member as well. Seems you have torchwood in the url and also a user named torchwood so everybody is getting downgraded since the regex always matches. Try adding the red to the following line: var list = /&user=(torchwood|lloyd|joey)/i
- Code: Stop Guests Posting Images
Topic:prevent guest img-postng stopped working
- Code: UBBC in Personal Text
.You'll need to add the question mark (red) to the line that handles the color UBBC tag to make the regular expression less greedy. As it is now it looks for the last "[/ color]" instead of the first it encounters. <script type="text/javascript"> <!-- /* UBBC in Personal Text - Ross - Open Source */
if(location.href.match(/action=(display|gotopost|(pm)?(calendar)?view|(user)?recent|search2)/)) { var td = document.getElementsByTagName('td'); for(i=0; i<td.length; i++) { if(td.item(i).width == '20%' && td.item(i).vAlign == 'top') { td.item(i).innerHTML = td.item(i).innerHTML.replace(/\[(br|hr)\]/gi, '<$1 />'); td.item(i).innerHTML = td.item(i).innerHTML.replace(/\[(b|i|u|s(up|sub)?|pre|tt)\](.*?)\[\/(\w+)\]/gi, '<$1>$3</$1>'); td.item(i).innerHTML = td.item(i).innerHTML.replace(/\[color=(.+?)\](.*?)\[\/color\]/gi, '<font color="$1">$2</font>'); td.item(i).innerHTML = td.item(i).innerHTML.replace(/\[(right|left|center)\](.+?)\[\/(right|left|center)\]/gi, '<p align="$1">$2</p>'); td.item(i).innerHTML = td.item(i).innerHTML.replace(/\[(url|ftp)=((ht|f)tps?:\/\/\w+)\](.+?)\[\/(url|ftp)\]/gi, '<a href="$2">$4</a>'); td.item(i).innerHTML = td.item(i).innerHTML.replace(/\[email\](.+?)\[\/email\]/gi, '<a href="mailto:$1">$1</a>'); td.item(i).innerHTML = td.item(i).innerHTML.replace(/\[img\](https?:\/\/.+?\.(gif|jpe?g|png))\[\/img\]/gi, '<img src="$1" />'); td.item(i).innerHTML = td.item(i).innerHTML.replace(/\[move\](.+?)\[\/move\]/gi, '<marquee>$1</marquee>'); } } }
//--> </script>.
Google now has me flagged as a bot since I used it to search my past posts instead of Proboards flaky search and clicked way too many links so can't list anymore for now...
|
|
inherit
16846
0
Nov 19, 2012 15:20:20 GMT -8
Chris
3,036
December 2003
cddude
|
Post by Chris on Jul 2, 2010 5:28:37 GMT -8
Tru: Would you consider it too much work to compile a list of updated codes in the database? This would greatly help users find when a code was updated instead of having to manually check everything. It'd also help coders know if someone randomly edited their code for them and didn't inform them.
|
|
inherit
The Final Cylon
31521
0
Mar 3, 2015 14:39:33 GMT -8
Trublu
Maybe the duck is in the hat.
12,323
October 2004
trublusvufan
|
Post by Trublu on Jul 2, 2010 5:31:34 GMT -8
Tru: Would you consider it too much work to compile a list of updated codes in the database? This would greatly help users find when a code was updated instead of having to manually check everything. It'd also help coders know if someone randomly edited their code for them and didn't inform them. I'll do so in the first post. As I'm updating, if I haven't already contacted the coder to get permission for any copyrighted codes, I'll try and get a hold of them so that they know their code has been edited. I'm also trying to keep a record of why/where the code was edited in the code thread itself.
|
|
inherit
16846
0
Nov 19, 2012 15:20:20 GMT -8
Chris
3,036
December 2003
cddude
|
Post by Chris on Jul 3, 2010 12:11:08 GMT -8
Tru: Would you consider it too much work to compile a list of updated codes in the database? This would greatly help users find when a code was updated instead of having to manually check everything. It'd also help coders know if someone randomly edited their code for them and didn't inform them. I'll do so in the first post. As I'm updating, if I haven't already contacted the coder to get permission for any copyrighted codes, I'll try and get a hold of them so that they know their code has been edited. I'm also trying to keep a record of why/where the code was edited in the code thread itself. The coders who aren't around are my concern. Besides waiting for permission, that also means they won't update the codes at other places the codes are located. That's the real issue to me.
|
|
inherit
The Final Cylon
31521
0
Mar 3, 2015 14:39:33 GMT -8
Trublu
Maybe the duck is in the hat.
12,323
October 2004
trublusvufan
|
Post by Trublu on Jul 3, 2010 15:01:26 GMT -8
I'll do so in the first post. As I'm updating, if I haven't already contacted the coder to get permission for any copyrighted codes, I'll try and get a hold of them so that they know their code has been edited. I'm also trying to keep a record of why/where the code was edited in the code thread itself. The coders who aren't around are my concern. Besides waiting for permission, that also means they won't update the codes at other places the codes are located. That's the real issue to me. I understand entirely, though you understand there's only so much we can do from this end. The alternative is to hope the coders that we currently have re-write every code that stops working.
|
|
inherit
151103
0
Mar 12, 2011 9:05:54 GMT -8
mommyandmore
6
January 2010
mommyandmore
|
Post by mommyandmore on Jul 10, 2010 9:49:18 GMT -8
|
|
inherit
The Final Cylon
31521
0
Mar 3, 2015 14:39:33 GMT -8
Trublu
Maybe the duck is in the hat.
12,323
October 2004
trublusvufan
|
Post by Trublu on Jul 10, 2010 10:52:10 GMT -8
These codes are definitely working, so could you link to your code support thread where it was determined that they need updating?
|
|
inherit
134992
0
May 26, 2012 2:38:57 GMT -8
SubDevo
Creator of LSD...
3,861
December 2008
subdevo
|
Post by SubDevo on Jul 10, 2010 18:11:54 GMT -8
|
|
inherit
100824
0
May 13, 2012 5:37:49 GMT -8
Michael
14,585
March 2007
wrighty
|
Post by Michael on Jul 13, 2010 4:22:15 GMT -8
Orr try a document.getElementsByTagName('style') or: document.body.background = .... document.body.backgroundImage = ....
|
|
inherit
100824
0
May 13, 2012 5:37:49 GMT -8
Michael
14,585
March 2007
wrighty
|
Post by Michael on Jul 13, 2010 4:30:39 GMT -8
|
|
inherit
134992
0
May 26, 2012 2:38:57 GMT -8
SubDevo
Creator of LSD...
3,861
December 2008
subdevo
|
Post by SubDevo on Jul 22, 2010 15:41:50 GMT -8
This code: Reorder Menu. If not staff, code defaults to using "iMemberMenu" array even if a guest. (uses old cookie check) Details HERE. Regards, SubDevo
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Jul 22, 2010 23:54:12 GMT -8
code updated.
|
|
inherit
134992
0
May 26, 2012 2:38:57 GMT -8
SubDevo
Creator of LSD...
3,861
December 2008
subdevo
|
Post by SubDevo on Jul 23, 2010 1:08:40 GMT -8
Thanks for getting to that wormo. But... Missed a couple parentheses. var nOrder = (admin)? iStaffMenu : ( (pb_username!="Guest" ) ? iMemberMenu : iGuestMenu);
|
|