The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
[DBTech] Staff Only Hidden Posts v1 (vB4) Details »» | |||||||||||||||||||||||||||||||||||
[DBTech] Staff Only Hidden Posts v1 (vB4)
Developer Last Online: Mar 2023
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 button to the right ----> Please remember to click the, button to the right if you installed the mod ----> What does 'Marking As Installed' do ? * It helps you to stay on top of updates - members who have installed modifications will be notified by us whenever new updates are available. * For security issues - vbulletin.org will contact all members who have installed a modification whenever a security issue is brought to their attention. * Marking a modification as installed also helps us know how many people are using our work, giving us extra incentive to provide more features and new modifications. We appreciate the support! ------------------------------------------------------------------------------------------- Priority support for this version is handled at http://www.dragonbyte-tech.com/ ------------------------------------------------------------------------------------------- Translations available @ our forum Support for translations handled by the translator in its respective threads only. ------------------------------------------------------------------------------------------- Complete Feature List
To have a different background color for hidden posts follow this. In postbit_legacy find: HTML Code:
<div class="postbody">
HTML Code:
<div class="postbody <vb:if condition="$show['moderated']">moderated</vb:if>">
HTML Code:
.postbitlegacy div.postbody.moderated { background: {vb:stylevar sohp_background}; ------------------------------------------------------------------------------------------- This mod displays a copyright notification in the footer of pages generated by this mod which includes:
Download Now
Screenshots
Show Your Support
|
Comments |
#22
|
|||
|
|||
Quote:
Code:
<li><label for="cb_hidepost"><input type="checkbox" name="hidepost" value="1" id="cb_hidepost"/>Hide Post </label><li> As i am not a coder, could either the coder of this mod or someone else please help so that it won't show to regular members. |
#23
|
||||
|
||||
Quote:
Chris |
#24
|
|||
|
|||
ozzy47 said to look in the dbtech/staffonlyhidddenposts/hooks/process_templates_complete file, so i did, and then tried to make a code from the code in there.
That's just a code that I made. I am not a coder, it did work fine, but it showed the tick box and the Hide Post to regular members, but the post was hidden after posting it to regular members. So i just need to hide the tick box and the Hide Post bit. Thanks |
#25
|
|||
|
|||
Sorry I miss read your post.
I added it in the newreply Template after; Code:
<img id="display_posticon" src="{vb:raw selectedicon.src}" alt="{vb:raw selectedicon.alt}" /> |
#26
|
||||
|
||||
Ok I see the problem, I will fix it in the next release, but in the mean time in that same file, right below:
Code:
if ($vbulletin->options['dbtech_staffonlyhiddenposts_active']) { Code:
if (can_moderate()) { Chris |
#27
|
||||
|
||||
I see you edited you post, so change your code to this:
Code:
<vb:if condition="can_moderate()"><li><label for="cb_hidepost"><input type="checkbox" name="hidepost" value="1" id="cb_hidepost"/>Hide Post </label><li></vb:if> |
#28
|
|||
|
|||
Quote:
It adds the tick box and Hide Post just under the Title A nice easy place to tick the box. Put that code after Code:
<img id="display_posticon" src="{vb:raw selectedicon.src}" alt="{vb:raw selectedicon.alt}" /> |
#29
|
||||
|
||||
Not a problem, glad to help.
Chris |
#30
|
|||
|
|||
Chris, don't forget about this part;
Quote:
Kind of a big thing as at the moment, when you post a hidden post it doesn't show up on "What's New" searching. Maybe this is as it's a Moderated post or how you made this modification. So without the "View hidden posts" bit working it's hard to know where they are. |
#31
|
||||
|
||||
I know I am looking for a solution to the issue, but with some of the staff on holiday it is a bit slow going. I hope to have a solution soon though.
Chris |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|