Floris
17th June 2005, 12:27 AM
[3.5] 'Add Usernote' Button, replacing text-link
This small template modification shows how you can replace the default text link on the usernotes page with a new 'add usernote' button matching your style.
Instructions:
* Upload the add_usernote.gif file to your forum/images/buttons/* directory
* Open the template 'usernote'
* Find both instances of:$vbphrase[post_new_user_note]
* Replace them with this code:<img border="0" src="$stylevar[imgdir_button]/add_usernote.gif" alt="$vbphrase[post_new_user_note]" />
* Save the template
Example button: http://creations.nl/add_usernote.gif
Screenshot: http://creations.nl/screenshot_usernote.gif
Enjoy.
This small template modification shows how you can replace the default text link on the usernotes page with a new 'add usernote' button matching your style.
Instructions:
* Upload the add_usernote.gif file to your forum/images/buttons/* directory
* Open the template 'usernote'
* Find both instances of:$vbphrase[post_new_user_note]
* Replace them with this code:<img border="0" src="$stylevar[imgdir_button]/add_usernote.gif" alt="$vbphrase[post_new_user_note]" />
* Save the template
Example button: http://creations.nl/add_usernote.gif
Screenshot: http://creations.nl/screenshot_usernote.gif
Enjoy.