MyBB Community Forums

Full Version: How would I allow scripts in usernames?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Well, my developer was adding cycle usernames, he done all the things with the template etc. He went to add the script in the usergroup and he got this error [Image: 12adcdc76313bfdb0b4fdba906facbb9?1342372303]

Incase you can't see, this http://gyazo.com/12adcdc76313bfdb0b4fdba...1342372303

Well, is there a way to allow scripts?

Code:
<span style="font-weight: bold; color:#27A727;"><i><SCRIPT language="JavaScript">var rainbowcount=(rainbowcount+1); document.write("<span id='rain"+rainbowcount+"'>"); </SCRIPT>{username}</i></span>

If need be, I can show you the codes and tell you where he put them.

Thanks.
You could add it directly in the _usergroup table in phpmyadmin or whatever database manager you use.

Change namestyle of the group you want to the script above.
(2012-07-15, 07:37 PM)vernier Wrote: [ -> ]You could add it directly in the _usergroup table in phpmyadmin or whatever database manager you use.

Change namestyle of the group you want to the script above.
I have tried that, I get that error stated above. Confused
If you do it via phpmyadmin like this:

[Image: jxkxFGgahm8CV.jpg]

It should be fine. I've just added it to the guest usergroup.