Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
"Mark al topics as read" button not working
Avatar
Carlos
Spain
Member
Free Members
sp_UserOfflineSmall Offline
Aug 15, 2013 - 2:21 pm

 

 

I put the code on this part of the Sp-Head.php

 

# Start the 'p-' section
# ----------------------------------------------------------------------
sp_SectionStart('tagClass=spPlainSection spRight', 'pageTopStatus');
sp_GoToBottom('tagClass=spGoToBottom spRight&iconClass=spIcon', '', __sp('Go to Bottom'));
sp_UnreadPostsInfo('tagClass=spRight spUnreadPostsInfo&spanClass=spLeft&iconClass=spLeft spIcon', __sp('%COUNT% topics with<br />unread posts'), __sp('Most recent topics with unread posts'), __sp('Mark all topics as read'));
if (function_exists('sp_RankInfo')) sp_RankInfo('tagClass=spButton spRight', '', __sp('Display Forum Ranks Information'));
sp_SectionEnd('', 'pageTopStatus');

sp_InsertBreak();

 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 15, 2013 - 2:34 pm

Well this bit doesn't make any sense:

sp_UnreadPostsInfo('tagClass=spRight spUnreadPostsInfo&spanClass=spLeft&iconClass=spLeft spIcon', __sp('%COUNT% topics with<br />unread posts'), __sp('Most recent topics with unread posts'), __sp('Mark all topics as read'));

That bit nestled inside  there should not be there for a start

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 15, 2013 - 2:36 pm

please post what you added? and where? did you put html in a php section?

Avatar
Carlos
Spain
Member
Free Members
sp_UserOfflineSmall Offline
Aug 15, 2013 - 2:56 pm

Mr Papa said
please post what you added? and where? did you put html in a php section?

yep... i put html in a php section... i thinked that it could work.... sorry i dont have any idea of coding

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 15, 2013 - 2:59 pm

There was no html additions to the code fragment you sent me above?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Carlos
Spain
Member
Free Members
sp_UserOfflineSmall Offline
Aug 15, 2013 - 3:01 pm

i putted the html inside... somechin like <a ref .... etc etc > you know... a image with a link 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 15, 2013 - 3:16 pm

That wasn't in the code you pasted but you did not use the code button I think. Paste it again. Very carefully highlight JUST the code - no more.
Click on the code button and select php.

 

Apologies - my fault The button does not say 'code' is says 'Syntax Highlighter'.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 15, 2013 - 7:35 pm

and the button has text that looks like ${..}

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17363
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625