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.

Rainbow names.

View previous topic View next topic Go down

Rainbow names.

Post by Usui on December 17th 2012, 2:15 am

I want to do a rainbow name for a member, but the code isn't working. help?

Usui
Forumember

Female Posts : 100
Reputation : 3
Language : English & Spanish
Location : Worldbuscus

http://www.kawaiirainbow.forumotion.com

Back to top Go down

Re: Rainbow names.

Post by Usui on December 17th 2012, 1:20 pm

I did that code, but it didn't work.

Usui
Forumember

Female Posts : 100
Reputation : 3
Language : English & Spanish
Location : Worldbuscus

http://www.kawaiirainbow.forumotion.com

Back to top Go down

Re: Rainbow names.

Post by nextlevelgaming on December 17th 2012, 2:46 pm


nextlevelgaming
Forumember

Male Posts : 989
Reputation : 38
Language : English|CSS|HTML5|javascript|
Location : New York

http://www.easybbtutorials.forumotion.com

Back to top Go down

Re: Rainbow names.

Post by Usui on December 17th 2012, 10:17 pm

Code:
$.getScript("http://xoxco.com/projects/code/rainbow/rainbow.js",function(){
$('a[href="/u3"]').rainbow({
    colors: [
        '#FF0000',
        '#f26522',
        '#fff200',
        '#00a651',
        '#28abe2',
        '#2e3192',
        '#6868ff'
    ],
    animate: true,
    animateInterval: 100,
    pad: false,
    pauseLength: 100,
});
$('a[href="/u3"]').rainbow({
    colors: [
        '#BFBFBF',
        '#C2C2C2',
        '#C9C9C9',
        '#D6D6D6',
        '#FAFAFA',
 '#D6D6D6',
 '#C9C9C9',
 '#C2C2C2',
 '#BFBFBF'
    ],
    animate: true,
    animateInterval: 50,
    pad: true,
    pauseLength: 150,
});
});
I put in this code but it doesn't seem to work though.

Usui
Forumember

Female Posts : 100
Reputation : 3
Language : English & Spanish
Location : Worldbuscus

http://www.kawaiirainbow.forumotion.com

Back to top Go down

Re: Rainbow names.

Post by nextlevelgaming on December 17th 2012, 10:32 pm

Did you check your console for errors? And is your js management on? Also you have two of the same username. if you want give url to your site and i'll check it out real quick


One more edit::

Code:
$.getScript("http://xoxco.com/projects/code/rainbow/rainbow.js",function(){
$('a[href="/u1"] strong').rainbow({
    colors: [
        '#FF0000',
        '#f26522',
        '#fff200',
        '#00a651',
        '#28abe2',
        '#2e3192',
        '#6868ff'
    ],
    animate: true,
    animateInterval: 100,
    pad: false,
    pauseLength: 100,
});
});

We have to target on the a strong. IF not strong please let me know I'll have to fix the API itself for a quick fixing.

nextlevelgaming
Forumember

Male Posts : 989
Reputation : 38
Language : English|CSS|HTML5|javascript|
Location : New York

http://www.easybbtutorials.forumotion.com

Back to top Go down

Re: Rainbow names.

Post by Usui on December 18th 2012, 1:24 am

It still doesn't work. I used the exact code, does it only work for Administrators? I want it to work for members.

Usui
Forumember

Female Posts : 100
Reputation : 3
Language : English & Spanish
Location : Worldbuscus

http://www.kawaiirainbow.forumotion.com

Back to top Go down

Re: Rainbow names.

Post by H5F-Founder on December 18th 2012, 7:34 pm

It worked for me so I don't see what the thing is, with your's forum Usui I think it don't work for phpBB 2 or it does, it just your's forum need a tech user check it out.



Code:
$.getScript("http://xoxco.com/projects/code/rainbow/rainbow.js",function(){
$('a[href="/u1"] strong').rainbow({
colors: [
'#FF0000',
'#000000',
],
animate: true,
animateInterval: 100,
pad: false,
pauseLength: 100,
});
});

A moded color name...

Red & Black:D

H5F-Founder
Forumember

Male Posts : 32
Reputation : 1
Language : English, C++, JS, HTML, XS, Likwid, ACP
Location : Installation 05 (Halo Ring)

Back to top Go down

Re: Rainbow names.

Post by nextlevelgaming on December 19th 2012, 5:23 am

THANK YOU HSF-Founder!!!

nextlevelgaming
Forumember

Male Posts : 989
Reputation : 38
Language : English|CSS|HTML5|javascript|
Location : New York

http://www.easybbtutorials.forumotion.com

Back to top Go down

Re: Rainbow names.

Post by H5F-Founder on December 19th 2012, 4:16 pm

No problem Wink

When your request is complete, please mark it as Solved

Sorry Admins I just using color since it, that the color.

H5F-Founder
Forumember

Male Posts : 32
Reputation : 1
Language : English, C++, JS, HTML, XS, Likwid, ACP
Location : Installation 05 (Halo Ring)

Back to top Go down

Re: Rainbow names.

Post by Usui on December 19th 2012, 10:30 pm

It still doesn't seem to work for me either. I'm putting it in Javascript and I don't know what i'm doing wrong. I'm trying to make this work for a user though.

Usui
Forumember

Female Posts : 100
Reputation : 3
Language : English & Spanish
Location : Worldbuscus

http://www.kawaiirainbow.forumotion.com

Back to top Go down

Re: Rainbow names.

Post by H5F-Founder on December 20th 2012, 1:35 pm

Give me the code and I will edit it.

And test it on mine.

H5F-Founder
Forumember

Male Posts : 32
Reputation : 1
Language : English, C++, JS, HTML, XS, Likwid, ACP
Location : Installation 05 (Halo Ring)

Back to top Go down

Re: Rainbow names.

Post by SLGray on December 20th 2012, 7:53 pm

@H5F-Founder wrote:No problem Wink

When your request is complete, please mark it as Solved

Sorry Admins I just using color since it, that the color.
Please refrain from moderating members, this is a staff job.


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


SLGray
Administrator
Administrator

Male Posts : 36639
Reputation : 2441
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Re: Rainbow names.

Post by Usui on December 20th 2012, 10:14 pm

Code:
$.getScript("http://xoxco.com/projects/code/rainbow/rainbow.js",function(){
$('a[href="/u3"] strong').rainbow({
colors: [
'#FF0000',
'#000000',
],
animate: true,
animateInterval: 100,
pad: false,
pauseLength: 100,
});
});

here is the code I was putting in.

Usui
Forumember

Female Posts : 100
Reputation : 3
Language : English & Spanish
Location : Worldbuscus

http://www.kawaiirainbow.forumotion.com

Back to top Go down

Re: Rainbow names.

Post by nextlevelgaming on December 21st 2012, 3:33 am

Well there is a huge reason why your codes aren't working.

Uncaught SyntaxError: Unexpected token <

You are placing <script type= inside the javascript management and you don't need to! is kawaiirainbow the website you are talking about?

nextlevelgaming
Forumember

Male Posts : 989
Reputation : 38
Language : English|CSS|HTML5|javascript|
Location : New York

http://www.easybbtutorials.forumotion.com

Back to top Go down

Re: Rainbow names.

Post by Usui on December 21st 2012, 5:08 am

@nextlevelgaming wrote:Well there is a huge reason why your codes aren't working.

Uncaught SyntaxError: Unexpected token <

You are placing <script type= inside the javascript management and you don't need to! is kawaiirainbow the website you are talking about?

Yes, KawaiiRainbow is the website I'm talking about.

Usui
Forumember

Female Posts : 100
Reputation : 3
Language : English & Spanish
Location : Worldbuscus

http://www.kawaiirainbow.forumotion.com

Back to top Go down

Re: Rainbow names.

Post by nextlevelgaming on December 21st 2012, 7:58 am

Well TX these issueaand it may work for you

nextlevelgaming
Forumember

Male Posts : 989
Reputation : 38
Language : English|CSS|HTML5|javascript|
Location : New York

http://www.easybbtutorials.forumotion.com

Back to top Go down

Re: Rainbow names.

Post by Usui on December 21st 2012, 1:38 pm

Code:
 $.getScript("http://xoxco.com/projects/code/rainbow/rainbow.js",function(){ $('a[href="/u3"] strong').rainbow({ colors: [ '#FF0000', '#000000', ], animate: true, animateInterval: 100, pad: false, pauseLength: 100, }); });

The full code I was putting in.

Usui
Forumember

Female Posts : 100
Reputation : 3
Language : English & Spanish
Location : Worldbuscus

http://www.kawaiirainbow.forumotion.com

Back to top Go down

Re: Rainbow names.

Post by nextlevelgaming on December 21st 2012, 11:35 pm

sorry for my last post, my phone gets laggy sometimes. Fix the issues that I presented to you, they are causing console errors which in turn will cause this script not to work. And Rideem is correct, this script is not the best , why? 1. Rainbow effects are -too- eye catching and makes your users focus too much on them. 2. loading multiple users from this script will slow down in loading time for your website itself.

Look up page weights, and script weights to understand how scripts and coding can slow down a page.

nextlevelgaming
Forumember

Male Posts : 989
Reputation : 38
Language : English|CSS|HTML5|javascript|
Location : New York

http://www.easybbtutorials.forumotion.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