Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

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
  #72  
Old 04-06-2012, 06:08 PM
DragonByte Tech's Avatar
DragonByte Tech DragonByte Tech is offline
 
Join Date: Feb 2010
Location: Scotland
Posts: 8,814
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok I will look into these as soon as I can, I am a little bit tied up at the moment, but I should be able to look into it this weekend.

Chris
Reply With Quote
Благодарность от:
Alan_SP
  #73  
Old 04-06-2012, 06:49 PM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just found out that it doesn't work with doublepost prevention mod from Paul. I know you use it too on your site.

This is just to inform you, probably you wouldn't be able to fix this...
Reply With Quote
  #74  
Old 04-06-2012, 07:28 PM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And I just discovered from where dot is when I checked navbar template. It's my fault, it's in the phrase welcome_x_link_y, I just didn't noticed it before. Sorry, my mistake completely.

Also, one thing I noticed, if we disable notification of new hidden posts in header, the link isn't available anywhere. Could you provide alternative link and also, if you maybe create notification that will be used with vBNotifications?

EDIT: Now I'm using this location for hidden posts:



It's in Croatian, but I think it's obvious enough where it is. To achieve this you need to edit file: \dbtech\staffonlyhiddenposts\hooks\parse_templates .php

Find this code:

PHP Code:
$vbphrase['welcome_x_link_y'] .= "<a href="sohp.php?do=viewposts&type=moderated">" $phrase_link "</a>"
You just need to use different phrase where the link will be added. I used phrase new_posts_nav so code should look like this:

PHP Code:
$vbphrase['new_posts_nav'] .= "<a href="sohp.php?do=viewposts&type=moderated">" $phrase_link "</a>"
Effect is shown on picture. Of course, you could choose some other phrase you like to have this added. And I think you could add it to more than one phrase, if I'm not mistaken.
Reply With Quote
  #75  
Old 04-06-2012, 09:35 PM
DragonByte Tech's Avatar
DragonByte Tech DragonByte Tech is offline
 
Join Date: Feb 2010
Location: Scotland
Posts: 8,814
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah it does conflict with Paul's mod, and I suspect it would do the same thing with regular moderated posts, as this mod uses vBulletins Moderation feature to hide the posts.

Glad to hear the dot is sorted out, one less thing for me to look for.

I will also look into alternative ways to display the notification link, as far as working with vBNotifications I think that has to be done from within that mod.

Chris
Reply With Quote
  #76  
Old 04-06-2012, 09:42 PM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, now only thing if you could do is that moderators see only hidden posts they could actually see.

And of course, some things I asked on DBTech forum...
Reply With Quote
  #77  
Old 04-09-2012, 03:00 AM
DragonByte Tech's Avatar
DragonByte Tech DragonByte Tech is offline
 
Join Date: Feb 2010
Location: Scotland
Posts: 8,814
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alan SP I have not forgot about you, I am just tied up with my new mod, I will get to it as soon as I can.

Chris
Reply With Quote
  #78  
Old 04-09-2012, 11:49 AM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No problem, I understand. If and when you can, I'm sure you'll do everything you can. :up:
Reply With Quote
  #79  
Old 05-20-2012, 07:53 AM
Tripolis Tripolis is offline
 
Join Date: Feb 2009
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I want to uninstall it:

Quote:
uninstall.php not found in directory
Missing a file.
Reply With Quote
  #80  
Old 05-20-2012, 11:40 AM
DragonByte Tech's Avatar
DragonByte Tech DragonByte Tech is offline
 
Join Date: Feb 2010
Location: Scotland
Posts: 8,814
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tripolis View Post
I want to uninstall it:



Missing a file.
Sorted, please re download the product, upload the new files, and then you should be able to uninstall it.

Chris
Reply With Quote
  #81  
Old 05-20-2012, 05:44 PM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I see that this version has a lot changes in files (different file sizes). I usually download from DBTech site, as it has latest fixes. What's new in this version here and latest version od DBTech? I downloaded files 16.4.2012.
Reply With Quote
Reply


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:59 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.14799 seconds
  • Memory Usage 2,358KB
  • 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
  • (2)bbcode_php
  • (2)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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • 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
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete