|
SuezanneC Baskerville
Forums Rock!
Join date: 22 Dec 2003
Posts: 14,229
|
02-06-2009 18:35
Internet Explorer users might want to try installing IE7Pro, available at http://www.ie7pro.com, and then installing the script found at http://www.iescripts.org/view-scripts-554p1.htm . The script is called "Second Life Forum BBCode Parser ". written by a Second Life user who goes by the name ProtectorOne in the IE7Pro forums. The source code for the script is viewable at http://www.iescripts.org/view-scripts-554p1.htm . ProtectorOne wrote it in response to my thread in the IE7Pro forums asking for help for Internet Explorer users plagued by our crippled forums. The thread is at http://forum.ie7pro.com/viewtopic.php?id=2490 . I'd be interested in seeing if people find this script useful.
_____________________
-
So long to these forums, the vBulletin forums that used to be at forums.secondlife.com. I will miss them.
I can be found on the web by searching for "SuezanneC Baskerville", or go to
http://www.google.com/profiles/suezanne
-
http://lindenlab.tribe.net/ created on 11/19/03.
Members: Ben, Catherine, Colin, Cory, Dan, Doug, Jim, Philip, Phoenix, Richard, Robin, and Ryan
-
|
|
SuezanneC Baskerville
Forums Rock!
Join date: 22 Dec 2003
Posts: 14,229
|
02-08-2009 08:33
I've received a comment that this doesn't work, but I have it installed in Internet Explorer, and it is working on my system. Here's a sample link that should display in Internet Explorer as a link ought to display if you have the IE7Pro add-on installed and have the "Second Life Forum BBCode Parser " script installed and enabled. http://wiki.secondlife.com/wiki/Release_Notes/Second_Life_Release_Candidate/1.22If you are using Internet Explorer and you don't have IE7Pro and the script installed and enabled, then you should see the url tags enclosed in square brackets.
_____________________
-
So long to these forums, the vBulletin forums that used to be at forums.secondlife.com. I will miss them.
I can be found on the web by searching for "SuezanneC Baskerville", or go to
http://www.google.com/profiles/suezanne
-
http://lindenlab.tribe.net/ created on 11/19/03.
Members: Ben, Catherine, Colin, Cory, Dan, Doug, Jim, Philip, Phoenix, Richard, Robin, and Ryan
-
|
|
Ron Khondji
Entirely unlike.
Join date: 6 Jan 2007
Posts: 224
|
Works fine for me.
02-08-2009 13:45
It actually works better than GM4IE. Thank you for the links. Now i'm hoping someone will create a script to make the , etc. tags work like they're supposed to.
|
|
SuezanneC Baskerville
Forums Rock!
Join date: 22 Dec 2003
Posts: 14,229
|
02-08-2009 13:56
I'm glad you got some benefit from it.
I actually posted my request for help with these crippled forums in the IE7Pro forums about a year ago, and it took this long for me to get and see a response there.
I haven't even looked at the code. Strife's Greasemonkey script was a bit daunting to me when I looked at it with the goal of trying to get it to run under GM4IE. My failure at that task is what lead me to post a "I still want help with the SL forums" reply to my old post at the IE7Pro forums.
I'm sure there is someone here with the javascript skills needed to extend the script, it's just a matter of finding someone that finds it an amusing and worthwhile project to take on.
I suppose one might be able to use Strife's script as a guide to help modify the IE7Pro script to deal with more tags.
_____________________
-
So long to these forums, the vBulletin forums that used to be at forums.secondlife.com. I will miss them.
I can be found on the web by searching for "SuezanneC Baskerville", or go to
http://www.google.com/profiles/suezanne
-
http://lindenlab.tribe.net/ created on 11/19/03.
Members: Ben, Catherine, Colin, Cory, Dan, Doug, Jim, Philip, Phoenix, Richard, Robin, and Ryan
-
|
|
SuezanneC Baskerville
Forums Rock!
Join date: 22 Dec 2003
Posts: 14,229
|
02-09-2009 05:59
In the event any folks that like fiddling with Javascript want to try, hears a link to a tutorial on IEScripts: http://iescripts.org/help/index.htmlThere might be some additional tags that can be added fairly easily. I guess code and php would be the main ones that people here want, but I'm thinking that maybe you have to actually format the code in your javascript. Here's the text of the script at present.
From: someone // ==UserScript== // @name Second Life Forum BBCode Parser // @namespace http://iescripts.org // @author Protector Cone // @include http://forums.secondlife.com/* // @description Parse BBCode on the Second Life fora. // @date 6-2-2009 // @version 1.0 // ==/UserScript== (function(){ var div, content, mat, reg; var divs = document.getElementsByTagName('div'); for (var i=0, j=divs.length; i<j; ++i){ div = divs ; if (div && div.id && div.id.slice(0,13) == 'post_message_'){ content = div.innerHTML; if (content){ // URL content = content.replace(/\[url\](.+?)\[\/url\]/gi,'<a href=$1>$1</a>'); content = content.replace(/\(.+?)\[\/url\]/gim,'<a href=$1>$2</a>'); // img content = content.replace(/\[img\](.+?)\[\/img\]/gi,'<img src=$1>'); // b content = content.replace(/\[b\](.+?)\[\/b\]/gi,'<b>$1</b>'); // i content = content.replace(/\[i\](.+?)\[\/i\]/gi,'<i>$1</i>'); // u content = content.replace(/\[u\](.+?)\[\/u\]/gi,'<u>$1</u>'); div.innerHTML = content; } } } })();
_____________________
-
So long to these forums, the vBulletin forums that used to be at forums.secondlife.com. I will miss them.
I can be found on the web by searching for "SuezanneC Baskerville", or go to
http://www.google.com/profiles/suezanne
-
http://lindenlab.tribe.net/ created on 11/19/03.
Members: Ben, Catherine, Colin, Cory, Dan, Doug, Jim, Philip, Phoenix, Richard, Robin, and Ryan
-
|