I am interested in this also

Tjalve wrote:

hmm think i found a bug :S

create a new thread, fill it with post until you hit page 2.
then delete 2 posts (so you can have 1 more posts on page 1 before the next post goes on page 2) post 1 more post and you will see that it goes too page 2....
http://forums.epixplx.com/viewtopic.php … 179#p39179

Your absolutely right! lie2815, and you thought you would get away with this..... Anyways, its not the worlds biggest bug, but it could use some fixing.

Great mod! Its just what I needed!

:-S is this that complicated?

I would like to add an option that is on every post that is for moderators and admins ONLY, the option should be where all the other post options are: "Report , Hide, Delete, Edit, Quote", and when used would "hide" the post from regular users, and guests. When someone who isn't an admin or mod would view the post it would say "[This post has been hidden]", but when a mod or admin would view it, it would have the post's contents, and at the end it would say "[Hidden by (mod/admin's name that hid the post]". The reason I have this strange need you may ask? Because I want my moderators to hide the post rather than delete it, this is so administrators could actually see why the post was offensive. If the post was deleted, then admins could not conclude if the moderator was telling the truth or not, and the admins couldn't see how offensive the post was. BTW im very unfamiliar with PHP :s

-------------------------------------------------------
the posts above were made before this became a HOW TO, they were from when this topic was a NEED HELP. Just a heads up^

o thank you very much!!!!!!!!! smile smile smile

Im still having a problem tho, in the article all it does you how to change the post color of admin posts. I don't see where it says how to change it for moderator. I got to thinking tho, maybe there is a way to change this coding...

<?php echo '<div class="'.($cur_post['group_id'] == PUN_ADMIN ? 'adminmsg' : 'postmsg').'">'; ?>

Is there a way to change the group_id part so that adminmsg applies to both moderators and admins? I know its probably obvious, but im completly dumb on this tongue

**elbekko figured out this wonderful solution smile

This was originally a question, and elbekko solved it. Because so many ppl were interested in how to do this, I decided to explain how to.

First of all, you need to change the color for admin posts if you haven't already. Learn this here. Now edit viewtopic.php . Around line 328, find

<?php echo '<div class="'.($cur_post['group_id'] == PUN_ADMIN ? 'adminmsg' : 'postmsg').'">'; ?>

and replace with

<?php echo '<div class="'.($cur_post['group_id'] == PUN_ADMIN ? 'adminmsg' : (($cur_post['group_id'] == PUN_MOD) ? 'adminmsg' : 'postmsg')).'">'; ?>

. This will change the color of moderator's posts to the color of admin post too.