رنگین کمانی کردن گروه های کاربری + عکس با Rainbow (Multicolour)Username for Usergroup
آخرین زمان حضور: Mar 2017
- Rainbow effect (Multicolour) for Usernames
This simple hack enables to display usernames for any usergroup in random multicolour (rainbow) effect.
Having searched for the same effect for my board unsuccessfully where most of the modifications were for BBCodes, I came up with my own and though of sharing.
Time Required: 2 minutes
1. FTP rainbow.js to clientscript directory on your server in ASCII mode
2. Open headinclude template and add the following code at any reasonable place:
3. Open footer template and add the following code at the bottom:
4. Open the Usergroup Manager throug ACP and edit the desired user group.
5. Put start tag as:
6. Change the end tag to be:
You're Done! Enjoy!!
v1.0 - 10 February 2009
- Rainbow text effect for usernames
I may think of creating a plugin for this if I get time and people ask for it. But for now it is pretty simple and I would prefer having a hack rather than going for a plugin which would increase the load on your board's performance.
A Note: If you are using vbshout.. the effect will not show in the AJAX area. However, it will still display the usernames in the AJAX area and the rainbow effect will be available in shoutbox archive.
Added & hidden bonus is that you can use this hack anywhere where you can use HTML code.. in almost any area you can think of