Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

BBCode Emulation in Greasemonkey

Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
01-12-2008 04:14
Flock is built on the Mozilla core (Firefox).
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Yiffy Yaffle
Purple SpiritWolf Mystic
Join date: 22 Oct 2004
Posts: 2,802
01-12-2008 07:02
Thanks Strife. n.n I'll try it out i guess.
_____________________
RaveWolf Strauss
Registered User
Join date: 1 Jan 2006
Posts: 53
03-03-2008 00:46
From: SuezanneC Baskerville
Here's what I did to use Strife's BBCode in Opera:

I created a folder in My Documents called "Opera User Javascript". (no quotes)

I copied Strife's script into the "Opera User Javascript" folder with the filename bbcodeintext.user.js

I did Tools > Preferences > Advanced > Content > JavaScript options, and selected the folder I created in the first step above, where I had just put the the bbcodeintext.user.js file.

I accessed Opera's config settings, which I did by pasting opera:config into the address bar and pressing enter.

I put "user javascript on https" into the search box, no quotes, which brings up the "User Javascript On HTTPS" settings.

I put a check in the checkbox.

I clicked the Save button.

Opera users, please let me know if this doesn't work and I'll see if I can fix it up to where it does.

Note: you should be able to go to the correct Opera config section by copying opera:config#UserPrefs|UserJavaScriptonHTTPS and pasting it into the address bar and pressing enter.




I tried this on opera 9.26 and it didnt work for me is there a diffrent way to do it now?
Rmike Javelin
Muskrat Pilot
Join date: 20 Mar 2005
Posts: 159
04-04-2008 11:40
From: Toneless Tomba
OMG! I can see again. Awesome Strife!


ME2 ME2 ME2 !!!!

So nice, like a pain killer! :D
_____________________
Alyx Sands
Mental Mentor Linguist
Join date: 17 Feb 2007
Posts: 2,432
04-04-2008 16:15
From: Rmike Javelin
ME2 ME2 ME2 !!!!

So nice, like a pain killer! :D

...and after a while you become so used to it that it scares the hell out of you if you end up accessing the forums on someone elses computer that doesn't use Strife's script! ;)
_____________________
~~I'm a linguist. RL sucks, but right now it's decided to be a little less nasty to me - you can still be nice to me if you want! ~~
->Potestatem obscuri lateris nescitis.<-
Rmike Javelin
Muskrat Pilot
Join date: 20 Mar 2005
Posts: 159
04-04-2008 18:59
From: Alyx Sands
...and after a while you become so used to it that it scares the hell out of you if you end up accessing the forums on someone elses computer that doesn't use Strife's script! ;)


Hmm -- I gotta remember that, although I don't often get that much freedom on someone else's computer. Oh- the stories that I could tell, but not now :rolleyes:
_____________________
Billybob Street
Registered User
Join date: 18 Aug 2004
Posts: 26
04-06-2008 13:34
.
SuezanneC Baskerville
Forums Rock!
Join date: 22 Dec 2003
Posts: 14,229
05-18-2008 06:22
From: RaveWolf Strauss
I tried this on opera 9.26 and it didnt work for me is there a diffrent way to do it now?

What folder do you have the script copied into?

What name did you give the file?


I just got this to work in the Opera 9.5 beta.

I had to restart Opera, and I got asked whether to allow user javascript on secure pages, to which I said yes. I restarted, still no success.

The error console was showing an error on the line in the script that reads: "GM_addStyle(".GMCode {border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: auto; height: auto; text-align: left; font-family:monospace; } .GMCode br {display:none;}";)"

So I added two forward slashes, //, to the beginning of that line, which turns it into a comment.

Then I went to Opera's Tools / Preferences / Advanced / Content / Javascript Options and unchecked "Open Console on Error", and now it works. I don't recall if I had to restart Opera again at that point.
_____________________
-

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

-
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
05-18-2008 17:30
I'll attach a method so you don't have to do that SuezanneC.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Amaterasu Cinquetti
Registered User
Join date: 27 Jun 2005
Posts: 70
05-18-2008 17:53
Just now saw this thread.
Wow! Thanks so much Strife..could totally kiss you for bringing back functionality to reading the forums.
Total awesomeness!!!
Clementine Handrick
Registered User
Join date: 17 Jun 2008
Posts: 2
10-10-2008 23:47
Howcome I'm only just finding out about this? I'm going to tell everyone about this script- forum links finally work!
/1 hug Strife
Sharcel Bellic
Greetings, Virtualings!
Join date: 15 Aug 2008
Posts: 127
10-10-2008 23:53
Perhaps folks who like this greasemonkey script could add a link to this thread into their forum signatures to help those who habitually ignore all the stickies to find it.
_____________________
http://friendfeed.com/chuckbaggett

"Why do you think developing companies are
developing while we stagnate? It’s because people lend small amounts of money to each other in those countries — outside the corrupt banking system. " ~Francine Hardaway http://blog.stealthmode.com/2009/12/whats-coming-next-2010-and-beyond/
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
10-13-2008 10:27
If you are using Google Chrome, you can install Greasemetal to run this and other Greasemonkey scripts:

http://greasemetal.31tools.com/
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
From: someone
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
2k Suisei
Registered User
Join date: 9 Nov 2006
Posts: 2,150
10-16-2008 02:30
:)
Bekka Hax
Registered User
Join date: 1 Oct 2007
Posts: 90
11-21-2008 06:05
Alas, my work means I have to run FF without plugins bar Firebug. Why do these forums not just do a standard preg_replace when serving the page like all other php driven forums do?

I do not understand the logic of not supporting any forum native forum codes if most of the posts, even many FAQ posts, are absolutely littered with codes from a work-around that not everyone can install.
Key MacMoragh
grrr....
Join date: 16 Sep 2008
Posts: 659
11-21-2008 07:57
As far as I can see, this forum does NOT support BBcode.

The only square-bracketed tags that can be used are the ones you see if you click on . There's a link to it at the bottom of the page, as "vbCode" and "IMG" code.

There are only three valid tags: [img], , and
Bekka Hax
Registered User
Join date: 1 Oct 2007
Posts: 90
11-21-2008 08:15
I've enabled the [ img ] tag in my user profile settings, but the url, font size and colour tags that are part of even some FAQ posts (making them unreadable) cannot be enabled. If these things are to be used, especially in stickied posts, then they should be supported.
_____________________
Adz Childs
Artificial Boy
Join date: 6 Apr 2006
Posts: 865
11-21-2008 09:00
nah. just pretend like everything is okay.
_____________________
http://slnamewatch.com — Second Life Last Name Tracking — Email Alerts — Famous People Lookup — http://adz.secondlifekid.com/ — Artificial Boy — Personal Blog
From: Tofu Linden
Hmm, there's nothing really helpful there, but thanks for pasting.
SuezanneC Baskerville
Forums Rock!
Join date: 22 Dec 2003
Posts: 14,229
BBcode In Text for Internet Explorer
02-05-2009 18:18
--- Edit: I may have jumped the gun with this post :( ---


I just got Strike's excellent script working in Internet Explorer using
Greasemonkey for Internet Explorer, aka GM4IE.

I've had GM4IE installed for a good while now for the sole purpose of getting Strife's script to work for IE users but since I don't use IE7 unless I have to, I never bothered to try very hard at getting it to work, and I misinterpreted part of the instructions every time I tried so it failed and I stopped trying.

Tonight I tried again and managed to read the instructions correctly and completely and it seems to be working.

To do this, you:

First install GM4IE, which is at http://www.gm4ie.com, then enable it.

Once that's installed, you edit the file "C:\Program Files\GM4IE\extension.list" in a text editor like notepad or SciTE or some such.

Add the following to the file extension.list:
From: someone

[Add bbcodeintext]
Name=bbcodeintext
Domains=forums.secondlife.com
ScriptFileName=bbcodeintext.js
version=1


Since you are probably seeing confusing bbcode or you wouldn't be reading this, here it is again plain:

[Add bbcodeintext]
Name=bbcodeintext
Domains=forums.secondlife.com
ScriptFileName=bbcodeintext.js
version=1

Copy the source code of bbcodeintext from http://userscripts.org/scripts/review/9651

Create a new blank text file and paste that source code into it and save it with the name bbcodeintext.js at C:\Program Files\GM4IE\scripts.

I think that's about it.

Done properly, BBcode in Text should show in the GM4IE list of installed scripts.


I need a test thread with a bunch of bbcode in it, anyone know of a good one?
_____________________
-

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-06-2009 16:56
From: Key MacMoragh
this forum does NOT support BBcode.

Hence this thread of work-arounds.
_____________________
-

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
IE7Pro script to help with our BBcode problem
02-06-2009 17:05
Internet Explorer users might want to try installing the 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

-
Protector Cone
The 'C' is silent
Join date: 12 Jun 2006
Posts: 2
02-07-2009 06:07
From: SuezanneC Baskerville
I'd be interested in seeing if people find this script useful.


Me too. :P
Nalates Urriah
D'ni Refugee
Join date: 11 Mar 2008
Posts: 113
02-18-2009 16:41
In Chrome I do not seem to be able to download the JS file.

I keep getting blocked by Comcast. Firefox will install it. But won't download a copy. I get a bbcodeintext.user.js.htm file apparently created by Comcast saying site temporarily down... :(
_____________________
Nalates Urriah
D'ni Refugee - Guild of Cartographers
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
03-25-2009 22:52
i got a new computer with vista, i installed the latest version of firefox, greasemonkey, and this script, it doesn't seem to be working, any pointers? it still works fine on my xp computer, so i dunno
_____________________
Dark Heart Emporium

http://www.xstreetsl.com/modules.php?name=Marketplace&MerchantID=133020

want more layers for tattoos, specifically for the head? vote here
http://jira.secondlife.com/browse/VWR-1449?

llDetectedCollision* Functions similar to touch
http://jira.secondlife.com/browse/SVC-3369
SuezanneC Baskerville
Forums Rock!
Join date: 22 Dec 2003
Posts: 14,229
03-25-2009 23:12
From: Nalates Urriah
In Chrome I do not seem to be able to download the JS file.

I keep getting blocked by Comcast. Firefox will install it. But won't download a copy. I get a bbcodeintext.user.js.htm file apparently created by Comcast saying site temporarily down... :(

I just went to userscripts.org using Chrome and right clicked the install button and selected Save Link As and it worked fine.
_____________________
-

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

-
1 2 3 4