The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Multi-Colored Group Names?

4 posters

Go down

Multi-Colored Group Names? Empty Multi-Colored Group Names?

Post by MadroX May 13th 2014, 6:28 am

Hi I was wondering if there is anyway of getting Multiple colors into the group names of my forums
MadroX
MadroX
Forumember

Posts : 39
Reputation : 0
Language : English

Back to top Go down

Multi-Colored Group Names? Empty Re: Multi-Colored Group Names?

Post by Rhino.Freak May 13th 2014, 6:46 am

try this
Code:
$(function(){
$('a[href="/g1-administrators"]').not(function(){return $("img",this)[0]}).html('<font color=red>ADMIN</font><font color=blue>inistrator</font>');
});
(put it in Javascripts management and tick for all pages)
change "g1-administrators" to your own group link
and <font color>,.....stuff to your own liking with colors and names.
Rhino.Freak
Rhino.Freak
Helper
Helper

Male Posts : 1248
Reputation : 104
Language : English
Location : Mumbai, India

http://freetest.forumotion.net/

Back to top Go down

Multi-Colored Group Names? Empty Re: Multi-Colored Group Names?

Post by MadroX May 13th 2014, 7:06 am

How do I get my group link?
MadroX
MadroX
Forumember

Posts : 39
Reputation : 0
Language : English

Back to top Go down

Multi-Colored Group Names? Empty Re: Multi-Colored Group Names?

Post by SLGray May 13th 2014, 7:15 am

By pressing the link to the group page and getting the information from the browser tab.


Multi-Colored Group Names? Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51464
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Multi-Colored Group Names? Empty Re: Multi-Colored Group Names?

Post by MadroX May 13th 2014, 7:22 am

Ok, Can I use a hex code instead of just red and blue? And if so what would be the code
MadroX
MadroX
Forumember

Posts : 39
Reputation : 0
Language : English

Back to top Go down

Multi-Colored Group Names? Empty Re: Multi-Colored Group Names?

Post by MadroX May 13th 2014, 7:26 am

And also I was wondering if I could put multiple colors into my username. I have the same username on my forums but instead I would like to replace it with this

-=:RF`SµrgE

but I would like the color scheme to be 

#993345-=#667788:RF`#993345S#667788µrgE
MadroX
MadroX
Forumember

Posts : 39
Reputation : 0
Language : English

Back to top Go down

Multi-Colored Group Names? Empty Re: Multi-Colored Group Names?

Post by Rhino.Freak May 13th 2014, 7:58 am

Yes you can use hex, and you can also make usernames multi colored by same script I posted above..
just copy and paste it, and replace the group link by your profile link (/u1 for example)..

please report back if it works Smile
Rhino.Freak
Rhino.Freak
Helper
Helper

Male Posts : 1248
Reputation : 104
Language : English
Location : Mumbai, India

http://freetest.forumotion.net/

Back to top Go down

Multi-Colored Group Names? Empty Re: Multi-Colored Group Names?

Post by MadroX May 13th 2014, 8:29 am

ok well I am using this code to add multiple colors to my username and it will not work. It is a different name then what my username is though, so that may be the problem


$(function(){
$('a[href="/u1"]').not(function(){return $("img",this)[0]}).html('<strong><font color="#993345">-=</font><font color="#667788">:RF`</font><font color="#993345">S</font><font color="#667788">µrgE</font></strong>');
});

My forums is: riseoftron.com
MadroX
MadroX
Forumember

Posts : 39
Reputation : 0
Language : English

Back to top Go down

Multi-Colored Group Names? Empty Re: Multi-Colored Group Names?

Post by Rhino.Freak May 13th 2014, 8:43 am

It is possible because your username contains lots of symbols, try a simple username and see if it works.. multiple group names worked or that didnt as well?
Rhino.Freak
Rhino.Freak
Helper
Helper

Male Posts : 1248
Reputation : 104
Language : English
Location : Mumbai, India

http://freetest.forumotion.net/

Back to top Go down

Multi-Colored Group Names? Empty Re: Multi-Colored Group Names?

Post by MadroX May 13th 2014, 8:53 am

Ok I got it to work. For some reason it will not work when I click on "In all pages" I must select each page individually in the settings
MadroX
MadroX
Forumember

Posts : 39
Reputation : 0
Language : English

Back to top Go down

Multi-Colored Group Names? Empty Re: Multi-Colored Group Names?

Post by Pizza Boi May 13th 2014, 11:08 am

Hi Very Happy

For the multiple usernames, try this (If you're using phpBB2, this should work):

Code:
/--- Pizza Boi's tutoriel pour codes-ciel ---/
/--- Ce code peut être autorisé à être reproduit avec le consentement de Pizza Boi ---/
/--- Si ce code a déjà été faite, il s'agit d'une version différente ---/
/--- Copyright @ Pizza Boi 2014 ---/
$.getScript("http://xoxco.com/projects/code/rainbow/rainbow.js",function() {
  var selectMoi= ["u#"];
  for(var i =0;i<selectMoi.length;i++)  {
  $('a[href="/'+selectMoi[i]+'"]').addClass('arcenciel');
  }
      $('.arcenciel').find('*').andSelf().contents().filter(function(){
      return this.nodeType===3;
      }).parent().text(function() {
      $(this).arcenciel({
        colors: [
        '#Color',
        '#Color',
        '#Color',
        '#Color',
        '#Color',
        '#Color',
        '#Color'
        ],
});
});
});

Apply it in ---

AP < Modules < Javascript Management < Create a New Javascript < Title: User Color < Tick: In all Pages

Make sure to change u# to the username you have.

Note: This code only works for phpBB2 and will be buggy for others if it is applied.

Regards,
Pizza Boi
Pizza Boi
Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum