Quote:
Originally Posted by Makaveli105
Installed  great work..
any chances of making it so after you click the icon it doesnt take you to the top of the page?
|
I do not believe that the anchor around the img tag in the template is needed. Try removing it.
Instructions in readme:
## FIND ##
PHP Code:
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" />
##########
## REPLACE WITH ##
PHP Code:
<if condition="$forum[statusicon] == 'new' ">
<a href="#">
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="$vbphrase[mark_this_forum_read_home]" title="$vbphrase[mark_this_forum_read_home]" onclick="ajaxMarkForumRead($forum[forumid])" id="mfarfh_$forum[forumid]" border="0" title=""/>
</a>
<else />
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" />
</if>
###################
New instructions:
## FIND ##
PHP Code:
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" />
##########
## REPLACE WITH ##
PHP Code:
<if condition="$forum[statusicon] == 'new' ">
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="$vbphrase[mark_this_forum_read_home]" title="$vbphrase[mark_this_forum_read_home]" onclick="ajaxMarkForumRead($forum[forumid])" id="mfarfh_$forum[forumid]" border="0" title=""/>
<else />
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" />
</if>
###################
Let me know if that helps!