PDA

View Full Version : [DBTech] Staff Only Hidden Posts (vB4)



admin
07-04-2012, 11:16 AM
DragonByte Technologies are proud to present Staff Only Hidden Posts v1: Staff Only Hidden Posts allows Administrators, Super Moderators, Forum Moderators, and any additional usergroups that has moderation privileges, to post/view hidden posts.


Why Staff Only Hidden Posts?

It is a neat tool for staff to post in a thread but not allow everyone to see what they posted. These posts are only viewable by the aforementioned usergroups. This Mod uses the vBulletin moderation feature to achieve this. The post however will not show up in the Moderation Queue in the Admincp or Modcp. It is fully phrased so you can edit it to your languages.

-------------------------------------------------------------------------------------------

If you like this mod please hit the http://www.dragonbyte-tech.com/images/MOTM.png button to the right ---->

We appreciate the support!

-------------------------------------------------------------------------------------------

Priority support for this version is handled at the Developers Website.

-------------------------------------------------------------------------------------------

Translations available @ our forum (http://%22http//www.dragonbyte-tech.com/forums/91-Translations)
Support for translations handled by the translator in its respective threads only.

-------------------------------------------------------------------------------------------

Complete Feature List


General Settings

Toggle plugin on or off
Option to show notification in header
Option to display version number in footer
Option to remove the Hivelocity from footer



Admin Settings:
http://s17.postimage.org/h8cor7lqj/staffposts3.jpg (http://postimage.org/image/h8cor7lqj/)

Header Notice:
http://s14.postimage.org/s59f28yj1/staffposts1.jpg (http://postimage.org/image/s59f28yj1/)

Post with below edits:
http://s14.postimage.org/9qyvy9m8d/staffposts2.jpg (http://postimage.org/image/9qyvy9m8d/)

To have a different background color for hidden posts follow this.

In postbit_legacy find:

<div class="postbody">

Change to:

<div class="postbody <vb:if condition="$show['moderated']">moderated</vb:if>">

Then add some CSS to additional.css like:


.postbitlegacy div.postbody.moderated { background: {vb:stylevar sohp_background};

Then to set the background color go to stylevars, under DragonByteTechMods look for sohp_background and you can set the color there.
-------------------------------------------------------------------------------------------
This mod displays a copyright notification in the footer of pages generated by this mod which includes:

1 Link to DragonByte Technologies homepage.
1 Link to Product Description page of this modification.
1 Link to Hivelocity Hosting. Removable with a vB option