It was beautiful; and time well spent. I salute you.PluMGMK wrote:I know I may not have the support of everyone here, but I spent all morning writing this script, and I want to point out that it doesn't replace > with the arrow image in topics that aren't "Mot à Mot !" or "Word to Word !". I will publish it if anyone wants me to. I will stop using it now though, before people get angry.
Off Topic
Forum rules
Please keep the forum rules and guidelines in mind when creating or replying to a topic.
Please keep the forum rules and guidelines in mind when creating or replying to a topic.
-
rolesfamily

- Posts: 10232
- Joined: Wed Oct 23, 2013 6:43 pm
- Tings: 74925
Re: Off Topic
Re: Off Topic
Having script which will make it easy to type like that is awesome idea.
I never hated idea itself. Just how it seemed complicated.
I would like Humch to use such script
I never hated idea itself. Just how it seemed complicated.
I would like Humch to use such script
-
rolesfamily

- Posts: 10232
- Joined: Wed Oct 23, 2013 6:43 pm
- Tings: 74925
Re: Off Topic
Can someone just invent [rainbow] [/rainbow]
-
PluMGMK

- Posts: 40514
- Joined: Fri Jul 31, 2009 9:00 pm
- Location: https://www.youtube.com/watch?v=cErgMJSgpv0
- Contact:
- Tings: 136636
Re: Off Topic
That would be a server-side thing if it were to be implemented properly…
However, I could write a script that allows people to see [rainbow] [/rainbow] as actual rainbow text if they choose to install it. Shall I?
EDIT: Right, I have… something. [rainbow]If you install the script below using GreaseMonkey, this will be rainbow for you. Otherwise, you don't have to be annoyed by it.[/rainbow] It should work on any phpBB forum…
As you might be able to see, it works inside code tags…
EDIT AGAIN: It seems to break JS features on some other sites… Best to use the modified version above that includes only RPC, if even that.
However, I could write a script that allows people to see [rainbow] [/rainbow] as actual rainbow text if they choose to install it. Shall I?
EDIT: Right, I have… something. [rainbow]If you install the script below using GreaseMonkey, this will be rainbow for you. Otherwise, you don't have to be annoyed by it.[/rainbow] It should work on any phpBB forum…
Code: Select all
// ==UserScript==
// @name Rainbow tag reader
// @namespace http://www.vigovproductions.net
// @description Changes [rainbow] [/rainbow] tags to real rainbow text!
// @include http://*raymanpc.com/forum/*
// @version 1
// @grant none
// ==/UserScript==
var GoogleJQuery = document.createElement('script');
GoogleJQuery.src = 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.js';
GoogleJQuery.type = 'text/javascript';
document.getElementsByTagName('head')[0].appendChild(GoogleJQuery);
var TekTekColour = document.createElement('script');
TekTekColour.src = 'http://tektek.org/color/color.js';
TekTekColour.type = 'text/javascript';
document.getElementsByTagName('head')[0].appendChild(TekTekColour);
var GradientSet = document.createElement('script');
GradientSet.innerHTML = 'var gradientType = "rainbow";';
GradientSet.type = 'text/javascript';
document.getElementsByTagName('head')[0].appendChild(GradientSet);
document.body.innerHTML= document.body.innerHTML + "<input type='hidden' id='gradient_repeat' value='1'/>";
setTimeout(RainbowiseAll, 1000);
function RainbowiseAll() {
var posts = document.getElementsByClassName("postbody");
for(var i=0;i<posts.length;i++) {
posts[i].innerHTML= posts[i].innerHTML.replace(/\[rainbow\][^\[]*\[\/rainbow\]/g, Rainbowise);
}
}
function Rainbowise(m) {
var rainbowisedExpression = m.substring(9, m.length - 10);
return MakeSFX( rainbowisedExpression, true );
}EDIT AGAIN: It seems to break JS features on some other sites… Best to use the modified version above that includes only RPC, if even that.
-
Shrooblord

- Posts: 15762
- Joined: Tue Sep 07, 2010 5:07 pm
- Location: The Buccaneer MK. II
- Tings: 68850
Re: Off Topic
This will definitely be used as the first pre-posts of Record Day.
-
PluMGMK

- Posts: 40514
- Joined: Fri Jul 31, 2009 9:00 pm
- Location: https://www.youtube.com/watch?v=cErgMJSgpv0
- Contact:
- Tings: 136636
Re: Off Topic
[rainbow]Or I could post my (original) rainbowiser script to allow it to be used all day...[/rainbow]
Something tells me my client-side rainbow tag script won't catch on…
Something tells me my client-side rainbow tag script won't catch on…
-
rolesfamily

- Posts: 10232
- Joined: Wed Oct 23, 2013 6:43 pm
- Tings: 74925
Re: Off Topic
Haha how come? 
-
Shrooblord

- Posts: 15762
- Joined: Tue Sep 07, 2010 5:07 pm
- Location: The Buccaneer MK. II
- Tings: 68850
Re: Off Topic
I find it hilarious just watching the rainbow tag appear and then imagining it being a rainbow as opposed to it actually being a rainbow. 
-
rolesfamily

- Posts: 10232
- Joined: Wed Oct 23, 2013 6:43 pm
- Tings: 74925
Re: Off Topic
That's true, some may find the rainbow tags misleading!Shrooblord wrote:I find it hilarious just watching the rainbow tag appear and then imagining it being a rainbow as opposed to it actually being a rainbow.
-
PluMGMK

- Posts: 40514
- Joined: Fri Jul 31, 2009 9:00 pm
- Location: https://www.youtube.com/watch?v=cErgMJSgpv0
- Contact:
- Tings: 136636
Re: Off Topic
Precisely. In retrospect, it's a pretty stupid idea…
-
Earth Gwee

- Posts: 2684
- Joined: Tue Apr 02, 2013 10:23 am
- Location: Desert of the Knaaren
- Contact:
- Tings: 214170
Re: Off Topic
Reading the super blue areas hurts my eyes. I would suggest not doing the rainbow text very much on Record Day.
Re: Off Topic
I wish I knew how to use the rainbow text. I love color!
-
technology4617

- Posts: 2340
- Joined: Thu Jan 10, 2013 6:25 am
- Location: Small children.
- Tings: 10
Re: Off Topic
Here.Bradandez wrote:I wish I knew how to use the rainbow text. I love color!
http://tektek.org/color/
-
rolesfamily

- Posts: 10232
- Joined: Wed Oct 23, 2013 6:43 pm
- Tings: 74925
Re: Off Topic
Woah is this gonna do it for me?
I love you technology.
I love you technology.
-
PluMGMK

- Posts: 40514
- Joined: Fri Jul 31, 2009 9:00 pm
- Location: https://www.youtube.com/watch?v=cErgMJSgpv0
- Contact:
- Tings: 136636
Re: Off Topic
That's what we were doing all along. 
If you want a true rainbow you have to click on the "rainbow" option.
It might be better to leave it like that though, because then there's no eye-hurting deep blue.
If you want a true rainbow you have to click on the "rainbow" option.
It might be better to leave it like that though, because then there's no eye-hurting deep blue.
-
Master

- Posts: 53542
- Joined: Sun Aug 21, 2011 10:14 am
- Location: Somewhere specific, I'd assume.
- Tings: 468310
Re: Off Topic
Speaking of how things look, I see you've donated me 345 tings so that I've got the R3 avvie to differentiate myself from Hoodcom. You have my thanks Plum, though I'm more than happy to give them back whenever needs be.
Re: Off Topic
Heh, It will take me some time to get used to your R3 rank 
-
rolesfamily

- Posts: 10232
- Joined: Wed Oct 23, 2013 6:43 pm
- Tings: 74925
Re: Off Topic
Rainbow works for shorter messages though! I knew you guys were cheating ;) haha
-
PluMGMK

- Posts: 40514
- Joined: Fri Jul 31, 2009 9:00 pm
- Location: https://www.youtube.com/watch?v=cErgMJSgpv0
- Contact:
- Tings: 136636
Re: Off Topic
We were never cheating! You obviously just didn't notice MLII's post! 
-
rolesfamily

- Posts: 10232
- Joined: Wed Oct 23, 2013 6:43 pm
- Tings: 74925
Re: Off Topic
That is quite likely...PluMGMK wrote:We were never cheating! You obviously just didn't notice MLII's post!
