Привожу описание как в орегинале. Модификация занятная очень, каждый пользователь может выбрать свой личный курсор на форуме.
Lets your members have a list of different cursor images they can choose from in their usercp>>options..
Needs: 2 new profile fields and to upload the cursor images,also a small edit to the header template.
Instructions for profile fields.
Go to AdminCP => Profile Fields => Add new Profile field => Single-Selection Radio Buttons
Title > Custom Cursor
Description > Turn on the custom cursor?(May not work with firefox)
Options:
No
Yes
Set Default: Yes
Editable By User: Yes
Display Page: Edit Options:other
Write down your field# . i.e field1
..................................................
Instructions for 2nd profile field:
Go to AdminCP => Profile Fields => Add new Profile field => Single-Selection Menu
Title > Choose a cursor
Description > Which cursor would you like?
Options:
sharpblue
sword
hearts
yellow
green
red
Set Default: Yes,but no first blank option
Editable By User: Yes
Display Page: Edit Options:other
Write down your field# . i.e field2
.................................................. .........
Upload /cursors folder to your /images folder...
.................................................. ............
Then edit header template:
Go to AdminCP => Styles and Templates => Template Manager => Choose style to edit, and choose edit templates in drop down menu
In Template header add the following code at very top.
Code:
<if condition=" $bbuserinfo[field#]== Yes">
<style>
<!--
BODY{
CURSOR: url(http://www.forum.com/images/cursors/$bbuserinfo[field#].cur);
}
-->
</style>
</if>
Change forum.com to your own forum url.
Take the first profile field number and replace the first # in the code with it.
Do the same with the second field..
Should look like:
Code:
<if condition=" $bbuserinfo[field1]== Yes">
<style>
<!--
BODY{
CURSOR: url(http://www.myforumurl.com/images/cursors/$bbuserinfo[field2].cur);
}
-->
</style>
</if>
.................................................. .....................
To add more cursors upload them into the cursor folder, and add them to the list in the second profile field you set up.The name must be the same as the image name..Ie sparkly.cur would be sparkly in the list.
Cursors always have the file name .cur as far as i know..
Works in IE 6 and above and some versions of firefox .Others not tested.