The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Multi-Colored Group Names?

View previous topic View next topic Go down

Multi-Colored Group Names?

Post by MadroX on 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
Forumember

Posts : 39
Reputation : 0
Language : English

Back to top Go down

Re: Multi-Colored Group Names?

Post by Rhino.Freak on 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
Helper
Helper

Male Posts : 1246
Reputation : 105
Language : English
Location : Mumbai, India

http://freetest.forumotion.net/

Back to top Go down

Re: Multi-Colored Group Names?

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

How do I get my group link?

MadroX
Forumember

Posts : 39
Reputation : 0
Language : English

Back to top Go down

Re: Multi-Colored Group Names?

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

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


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


SLGray
Administrator
Administrator

Male Posts : 36641
Reputation : 2443
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Re: Multi-Colored Group Names?

Post by MadroX on 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
Forumember

Posts : 39
Reputation : 0
Language : English

Back to top Go down

Re: Multi-Colored Group Names?

Post by MadroX on 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
Forumember

Posts : 39
Reputation : 0
Language : English

Back to top Go down

Re: Multi-Colored Group Names?

Post by Rhino.Freak on 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
Helper
Helper

Male Posts : 1246
Reputation : 105
Language : English
Location : Mumbai, India

http://freetest.forumotion.net/

Back to top Go down

Re: Multi-Colored Group Names?

Post by MadroX on 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
Forumember

Posts : 39
Reputation : 0
Language : English

Back to top Go down

Re: Multi-Colored Group Names?

Post by Rhino.Freak on 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
Helper
Helper

Male Posts : 1246
Reputation : 105
Language : English
Location : Mumbai, India

http://freetest.forumotion.net/

Back to top Go down

Re: Multi-Colored Group Names?

Post by MadroX on 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
Forumember

Posts : 39
Reputation : 0
Language : English

Back to top Go down

Re: Multi-Colored Group Names?

Post by Pizza Boi on 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
Hyperactive

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

http://redlustempire.forumtl.com/

Back to top Go down

View previous topic View next topic Back to top


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