Warning: The author of this contribution does not provide support for it anymore.

Avatar of poster on Index and Viewforum

the small icon of unread topics always on - Avatar of poster on Index and Viewforum

the small icon of unread topics always on

by haipo » Tue Jun 07, 2011 5:51 pm

hi,
I successfully installed this nice MOD.
For sure the forum looks better now !
But the installation caused a strange bug:
the small icon of unreadpost in a topic:
Image
is now always on. I mean no matter if the user read or not the topic the orange icon is there.
I can read a topic and then go back to viewforum.php and all the icons are there :(
can someone help?
haipo
Registered User
Posts: 121
Joined: Tue Jul 28, 2009 5:30 am

Re: the small icon of unread topics always on

by haipo » Tue Jun 07, 2011 5:56 pm

x
haipo
Registered User
Posts: 121
Joined: Tue Jul 28, 2009 5:30 am

Re: the small icon of unread topics always on

by lefty74 » Tue Jun 07, 2011 6:33 pm

haipo, there is a bug that still needs to be corrected at some stage....

open
styles/prosilver/template/viewforum_body.html

find

Code: Select all

            <dt<!-- IF topicrow.TOPIC_ICON_IMG and S_TOPIC_ICONS --> style="background-image: url({T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}); background-repeat: no-repeat;"<!-- ENDIF --> title="{topicrow.TOPIC_FOLDER_IMG_ALT}">


In-line Find

Code: Select all

<!-- IF topicrow.TOPIC_AUTHOR_AVATAR --><span style="float: left; padding-top: 3px; margin-right: {topicrow.TOPIC_AUTHOR_AVATAR_MARGIN}px;">{topicrow.TOPIC_AUTHOR_AVATAR}</span><!-- ENDIF-->



In-line Replace

Code: Select all

<!-- IF topicrow.TOPIC_AUTHOR_AVATAR --><span style="float: left; padding-top: 3px; margin-right: {topicrow.TOPIC_AUTHOR_AVATAR_MARGIN}px;">{topicrow.TOPIC_AUTHOR_AVATAR}</span><!-- ENDIF -->
lefty74
zoocrew.eu - help us save our wildlife
My MODS | Due to lack of time I unfortunately am unable to work on my mods anymore, anyone who has ideas to improve them and would like to take any of them over, please PM me.
User avatar
lefty74
Registered User
Posts: 3649
Joined: Wed Sep 14, 2005 8:26 pm
Location: NL

Re: the small icon of unread topics always on

by haipo » Tue Jun 07, 2011 7:01 pm

I don't understand:
the In-line Find and In-line Replace you wrote are exactly the same :?
haipo
Registered User
Posts: 121
Joined: Tue Jul 28, 2009 5:30 am

Re: the small icon of unread topics always on

by lefty74 » Tue Jun 07, 2011 7:04 pm

it isn't, look at the ENDIF -->

it is ENDIF--> but should be ENDIF -->, there is a space missing
lefty74
zoocrew.eu - help us save our wildlife
My MODS | Due to lack of time I unfortunately am unable to work on my mods anymore, anyone who has ideas to improve them and would like to take any of them over, please PM me.
User avatar
lefty74
Registered User
Posts: 3649
Joined: Wed Sep 14, 2005 8:26 pm
Location: NL

Re: the small icon of unread topics always on

by haipo » Tue Jun 07, 2011 7:53 pm

great !
thanks !!!
It solved the problem.
But what is the source of this bug?
why wasn't it fix in the documentation of the MOD?
haipo
Registered User
Posts: 121
Joined: Tue Jul 28, 2009 5:30 am

Re: the small icon of unread topics always on

by nhseacoast » Tue Dec 17, 2013 8:10 pm

I'm having the same exact problem with Subsilver2. Is there a fix for that? I searched for the ENDIF--> but it didn't exist. Another problem perhaps??
http://nhgunforum.com phpBB v3.2.1
http://wtprise.org phpBB v3.3.2
User avatar
nhseacoast
Registered User
Posts: 625
Joined: Sun Sep 22, 2002 10:31 pm
Location: NH, USA

Re: the small icon of unread topics always on

by ABDev » Tue Dec 17, 2013 8:15 pm

I have fixed that syntax issue in the latest version of the MOD.
Could you make me a screenshot please ? I'll be able to understand your problem.
ABDev
Registered User
Posts: 909
Joined: Sun Aug 21, 2005 9:29 pm
Location: France
Name: Adrien Bonnel

Re: the small icon of unread topics always on

by nhseacoast » Tue Dec 17, 2013 8:25 pm

ABDev wrote:I have fixed that syntax issue in the latest version of the MOD.
Could you make me a screenshot please ? I'll be able to understand your problem.


I'm trying to attach the screenshot but it's not allowing me. I tried PMing it to you as well. You can see it at my site http://usapoliticsforum.com
http://nhgunforum.com phpBB v3.2.1
http://wtprise.org phpBB v3.3.2
User avatar
nhseacoast
Registered User
Posts: 625
Joined: Sun Sep 22, 2002 10:31 pm
Location: NH, USA

Re: the small icon of unread topics always on

by nhseacoast » Tue Dec 17, 2013 9:16 pm

Can't PM my screen shot.
apiverror.jpg
APIV screenshot
http://nhgunforum.com phpBB v3.2.1
http://wtprise.org phpBB v3.3.2
User avatar
nhseacoast
Registered User
Posts: 625
Joined: Sun Sep 22, 2002 10:31 pm
Location: NH, USA

Re: the small icon of unread topics always on

by nhseacoast » Tue Dec 17, 2013 9:41 pm

I'm sorry, my problem is just the opposite. The Last post: IMG is missing as in my above screenshot.
http://nhgunforum.com phpBB v3.2.1
http://wtprise.org phpBB v3.3.2
User avatar
nhseacoast
Registered User
Posts: 625
Joined: Sun Sep 22, 2002 10:31 pm
Location: NH, USA