Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
[DBTech] Staff Only Hidden Posts v1 (vB4) Details »»
[DBTech] Staff Only Hidden Posts v1 (vB4)
Version: 1.1.2, by DragonByte Tech DragonByte Tech is offline
Developer Last Online: Mar 2023 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.x.x Rating:
Released: 01-06-2012 Last Update: 08-16-2017 Installs: 53
Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.

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
  • General Settings
    • Toggle plugin on or off
    • Option to show notification in header
    • Option to display version number in footer
    • DBTech Affiliate ID support

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

In postbit_legacy find:
HTML Code:
<div class="postbody">
Change to:
HTML Code:
<div class="postbody <vb:if condition="$show['moderated']">moderated</vb:if>">
Then add some CSS to additional.css like:
HTML Code:
.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.

Download Now

File Type: zip [DBTech] Staff Only Hidden Posts v1.1.2.zip (24.3 KB, 16 views)

Screenshots

File Type: jpg staffposts3.jpg (61.8 KB, 0 views)
File Type: jpg staffposts1.jpg (53.2 KB, 0 views)
File Type: jpg staffposts2.jpg (46.0 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 01-07-2012, 02:49 PM
CharlieDelta CharlieDelta is offline
 
Join Date: Apr 2010
Posts: 616
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What a great idea Ozzy! This will come in handy.
Thank you for this!
Reply With Quote
  #13  
Old 01-07-2012, 03:28 PM
DragonByte Tech's Avatar
DragonByte Tech DragonByte Tech is offline
 
Join Date: Feb 2010
Location: Scotland
Posts: 8,814
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad to be of service.
Reply With Quote
  #14  
Old 01-07-2012, 04:05 PM
CharlieDelta CharlieDelta is offline
 
Join Date: Apr 2010
Posts: 616
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ozzy, one question.
I have some registered members listed as moderators of one specific forum. Will they be able to see all hidden posts, if at all, or just ones in the forum they moderate?
Reply With Quote
  #15  
Old 01-07-2012, 11:01 PM
DragonByte Tech's Avatar
DragonByte Tech DragonByte Tech is offline
 
Join Date: Feb 2010
Location: Scotland
Posts: 8,814
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If they are in the Moderator group, they will only be able to see the posts in the forums they moderate. If they are Super Moderators, they will be able to see all hidden posts

Chris
Reply With Quote
  #16  
Old 01-08-2012, 02:12 AM
CharlieDelta CharlieDelta is offline
 
Join Date: Apr 2010
Posts: 616
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you.
Reply With Quote
  #17  
Old 01-10-2012, 07:38 AM
dacho's Avatar
dacho dacho is offline
 
Join Date: Dec 2004
Location: Tell-Aviv
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

looking good
thanks mate
Reply With Quote
  #18  
Old 01-10-2012, 08:22 AM
Fready Fready is offline
 
Join Date: Nov 2010
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, I didn't see the other uploaded pictures, looks great.
Giving it a go now
Reply With Quote
  #19  
Old 01-10-2012, 08:29 AM
Fready Fready is offline
 
Join Date: Nov 2010
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Worked apart from when clicking on the phrase "Veiw 2 hidden posts" next to my user name, it just took me to a blank white page.

The url looked like:
http://www.myurl.net/search.php?do=findhiddenposts

I'm using vB4.1.9

Also when using the Go Advanced I'd like to move the part which you tick to hide the post.
What code is used for this part, it also has a tick box to the left of the text :
(the tick box) Hide This Post?
Reply With Quote
  #20  
Old 01-10-2012, 11:27 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Their is a known issue with the click to view posts that I am trying to sort out.

Their is no easy way for you to move the Hide This Post in either editor. But if you wish to try you can look at the file dbtech/staffonlyhidddenposts/hooks/process_templates_complete and the code that is used to insert it is on line 22

Chris
Reply With Quote
  #21  
Old 01-10-2012, 04:21 PM
Alex@bulletin Alex@bulletin is offline
 
Join Date: Aug 2009
Location: Germany
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Fready View Post
Worked apart from when clicking on the phrase "Veiw 2 hidden posts" next to my user name, it just took me to a blank white page.

The url looked like:
http://www.myurl.net/search.php?do=findhiddenposts

I'm using vB4.1.9

Also when using the Go Advanced I'd like to move the part which you tick to hide the post.
What code is used for this part, it also has a tick box to the left of the text :
(the tick box) Hide This Post?
I got the same issue. the search for hidden posts gets me a blank white page.
But apart from that a very good mod
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:13 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.13021 seconds
  • Memory Usage 2,338KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete