Not Solved Forum Warning System for MyBB 1.2
#11
Not Solved
yep that works
Reply
#12
Not Solved
There appears to be a problem in the plugin. The warning level isn't showing in postbit.  Looking at the code it appears to have moved in the template from postbit to postbit_author_user...Can you take a look and correct this please?

Found the fix for those that need it.

Found the simple fix.

{$post['fws_w_level']}
That code needs to be after this in postbit template:

{$post['user_details']}

So lines 551 of /inc/plugins/fws.php need to be altered to reflect this new change from

	find_replace_templatesets("postbit", '#{\$post\[\'replink\'\]}#', '{$post[\'replink\']}<br />{$post[\'fws_w_level\']}', 0);

To this:

find_replace_templatesets("postbit", '#{\$post\[\'user_details\'\]}#', '{$post[\'user_details\']}{$post[\'fws_w_level\']}', 0);
Reply
#13
Not Solved
I'll look at this tomorrow evening. I'm not at my own pc right now and I have to study chemistry.
Reply
#14
Not Solved
Is there anyway to show warn logs to super moderators without letting them accessing the admin cp? Trying to solve this situation where double warn occurs.
Reply
#15
Not Solved
At the moment there isn't, but as soon as there is a ModCP, it will be added.
I also uploaded a new version today with a similar fix to the one labrocca wrote.
If you did a manual patch with labrocca's earlier post, he forgot one thing:
change line 779 to:
$post['fws_w_level'] = '<span class="smalltext">'.$lang->fws_w_level.' <strong>'.fws_warning_colour($postuser['fws_warnings'].'%').'</strong><br /></span>'; 
Only the <br /> near the end needs to be added.

download
Reply
#16
Not Solved
Hi,

I have a question, make make it: [Image: asdie9.png] (http://img519.imageshack.us/img519/3029/asdie9.png) - level of warings under avatar?

...Sorry for my bad english

Charlie
Reply
#17
Not Solved
Edit the template postbit and remove {$post['fws_w_level']}
Edit the template for the user details and place it there under $post['avatar']
Sorry if the help is inaccurate, but I'm not working on my own pc atm...
Reply
#18
Not Solved
Any chance to disable the warning bar for mods/smods/admins?
Reply
#19
Not Solved
Dembow Wrote:Any chance to disable the warning bar for mods/smods/admins?
Can you tell me exactly which bar you mean?
Reply
#20
Not Solved
Getting a download error at the mods site.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)