Page 9 of 9

Re: User Notes/Warnings in Viewtopic

Posted: Tue Apr 13, 2010 5:41 pm
by RMcGirr83
There is a php file in the contrib directory (update_note_count.php) that when uploaded into the root of your forum and browsed to will reset all users note count per the database entries..

Re: User Notes/Warnings in Viewtopic

Posted: Tue Apr 13, 2010 8:09 pm
by Phil7789
Thanks for your help, i hope i did not annoy you to much :(

Re: User Notes/Warnings in Viewtopic

Posted: Tue Apr 13, 2010 8:16 pm
by RMcGirr83
Not at all, you're relatively new on these forums so I'll give you some time before you start crawling under my skin. :)

Re: User Notes/Warnings in Viewtopic

Posted: Mon Apr 26, 2010 2:23 pm
by Phil7789
Hey,
i still have one slight problem or configuration issue with the mod, sry.

After updating the notes with the included php file the warnings are counted again. Is der any possiblity to avoid it? I tried several things to get it work but everytime i changed something within the update file the notes have not been shown any longer.

I tried to change this part of the code, i hope it was the right:

Code: Select all

$sql = 'UPDATE ' . USERS_TABLE . '
        SET user_notes = user_notes + 1
            WHERE user_id =' . $id;
Is there any possiblity to substract the warning notes? So to say substract the amount of warnings a user has (because the warnings in the notes should be the same as the warnings themselves)?

Regards,
Phil

Re: User Notes/Warnings in Viewtopic

Posted: Sat May 01, 2010 9:25 pm
by maxhel
not work in automod rc4

phpbb 3.0.7

Code: Select all

 styles/subsilver2/template/viewtopic_body.html
Find

<span class="postdetails">

Add After

   					<!-- IF postrow.POSTER_WARNINGS --><br /><b>{L_WARNINGS}:</b> {postrow.POSTER_WARNINGS}<!-- ENDIF -->
					<!-- IF postrow.U_NOTES --><br /><a href="{postrow.U_NOTES}" title="{L_VIEW_NOTES}"> {postrow.POSTER_NOTES}</a><!-- ENDIF -->

The Find specified by the MOD could not be found

Re: User Notes/Warnings in Viewtopic

Posted: Sat May 01, 2010 9:42 pm
by RMcGirr83
That find is on line 190 of a default subsilver2 viewtopic_body.html file. LInes 190 - 192

Code: Select all

				<span class="postdetails">
					<!-- IF postrow.POSTER_JOINED --><br /><b>{L_JOINED}:</b> {postrow.POSTER_JOINED}<!-- ENDIF -->
					<!-- IF postrow.POSTER_POSTS != '' --><br /><b>{L_POSTS}:</b> {postrow.POSTER_POSTS}<!-- ENDIF -->

Re: User Notes/Warnings in Viewtopic

Posted: Wed May 05, 2010 1:12 pm
by Phil7789
Phil7789 wrote:Hey,
i still have one slight problem or configuration issue with the mod, sry.

After updating the notes with the included php file the warnings are counted again. Is der any possiblity to avoid it? I tried several things to get it work but everytime i changed something within the update file the notes have not been shown any longer.

I tried to change this part of the code, i hope it was the right:

Code: Select all

$sql = 'UPDATE ' . USERS_TABLE . '
        SET user_notes = user_notes + 1
            WHERE user_id =' . $id;
Is there any possiblity to substract the warning notes? So to say substract the amount of warnings a user has (because the warnings in the notes should be the same as the warnings themselves)?

Regards,
Phil
Has anybody a solution for this problem?

Thanks in advance,
Phil

Re: User Notes/Warnings in Viewtopic

Posted: Tue Mar 12, 2013 9:30 am
by Marc
MOD Updated to version 1.0.3
See first post for Download Link