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

I have tried a multitude of different ways and the only way I can get the posts to show correctly so far is to leave them in the moderation queue. Which is what I don't want, otherwise they show up in the acp as Posts to Moderate.

I am trying different options constantly, I have not started development on any other mods yet while I try and get this sorted. This has not been forgotten, I try various options every day, and will let you know here when I have come up with a viable solution.

Chris
Reply With Quote
  #43  
Old 02-04-2012, 01:37 AM
DragonByte Tech's Avatar
DragonByte Tech DragonByte Tech is offline
 
Join Date: Feb 2010
Location: Scotland
Posts: 8,814
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well after many days of testing different configurations, I finally managed to get it to show the hidden posts correctly, when you click on the link in the header.

In addition when you do click on the link you will be able to see all the hidden posts, not just the un-read ones.

Chris
Reply With Quote
  #44  
Old 02-04-2012, 01:45 AM
DragonByte Tech's Avatar
DragonByte Tech DragonByte Tech is offline
 
Join Date: Feb 2010
Location: Scotland
Posts: 8,814
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry it took so long, but it was a rather interesting thing to track down, basically I re wrote the entire thing.

On a side note, it will not show hidden posts that were made before this fix, as they were removed from the table in the database.

Chris
Reply With Quote
  #45  
Old 02-04-2012, 02:46 AM
New Joe's Avatar
New Joe New Joe is offline
 
Join Date: May 2009
Posts: 1,128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, i will give it a go.
Reply With Quote
  #46  
Old 02-04-2012, 03:18 AM
DragonByte Tech's Avatar
DragonByte Tech DragonByte Tech is offline
 
Join Date: Feb 2010
Location: Scotland
Posts: 8,814
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, and let me know if their is any other issues.

Chris
Reply With Quote
  #47  
Old 02-18-2012, 02:20 AM
DragonByte Tech's Avatar
DragonByte Tech DragonByte Tech is offline
 
Join Date: Feb 2010
Location: Scotland
Posts: 8,814
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fixed: A issue with false positives showing up when you clicked the link in the header if there were true "moderated posts".
Fixed: A issue with extra queries on the hidden posts page.
Changed: It will now get any previous posts hidden before that are not showing on the view hidden posts page.
Changed: The hidden posts table to be wider.
Added: A display options table so you have more options to display the posts on the hidden posts page.
Added: A stylevar so you can have different color backgrounds for moderated / hidden posts for each style.

NOTE: If you have alot of posts in moderation, it will take some time for the product to import, due to the fact it has to check each record and see if it should be a hidden post or a true moderated post. I would suggest making sure you have no posts/threads awaiting moderation in the acp before upgrading.

To use the stylevar to change the background follow these steps.

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.

For those of you who had done the background color before, simply change what you put in the addditional.css with what is posted here.

For Translation Purposes:

Added: The phrase, dbtech_staffonlyhiddenposts_sohp_posts
Added: The phrase, dbtech_staffonlyhiddenposts_thread
Added: The phrase, dbtech_staffonlyhiddenposts_hidden_by
Added: The phrase, dbtech_staffonlyhiddenposts_forum
Added: The phrase, dbtech_staffonlyhiddenposts_replies
Added: The phrase, dbtech_staffonlyhiddenposts_views
Added: The phrase, dbtech_staffonlyhiddenposts_moderation_tools
Added: The phrase, dbtech_staffonlyhiddenposts_showing_messages_x_to_ y_of_z
Added: The phrase, dbtech_staffonlyhiddenposts_icon_legend
Added: The phrase, dbtech_staffonlyhiddenposts_new_posts
Added: The phrase, dbtech_staffonlyhiddenposts_no_new_posts
Added: The phrase, dbtech_staffonlyhiddenposts_no_hidden_posts
Added: The phrase, dbtech_staffonlyhiddenposts_try_controls_below_for _older_posts
Added: The phrase, dbtech_staffonlyhiddenposts_display_options
Added: The phrase, dbtech_staffonlyhiddenposts_show_results_deleted_w ithin
Added: The phrase, dbtech_staffonlyhiddenposts_show_results_hidden_wi thin
Added: The phrase, dbtech_staffonlyhiddenposts_last_day
Added: The phrase, dbtech_staffonlyhiddenposts_last_2_days
Added: The phrase, dbtech_staffonlyhiddenposts_last_week
Added: The phrase, dbtech_staffonlyhiddenposts_last_10_days
Added: The phrase, dbtech_staffonlyhiddenposts_last_2_weeks
Added: The phrase, dbtech_staffonlyhiddenposts_last_month
Added: The phrase, dbtech_staffonlyhiddenposts_last_45_days
Added: The phrase, dbtech_staffonlyhiddenposts_last_2_months
Added: The phrase, dbtech_staffonlyhiddenposts_last_75_days
Added: The phrase, dbtech_staffonlyhiddenposts_last_100_days
Added: The phrase, dbtech_staffonlyhiddenposts_last_year
Added: The phrase, dbtech_staffonlyhiddenposts_beginning
Added: The phrase, dbtech_staffonlyhiddenposts_select_daysprune_descr iption
Added: The phrase, dbtech_staffonlyhiddenposts_sort_results_by
Added: The phrase, dbtech_staffonlyhiddenposts_title
Added: The phrase, dbtech_staffonlyhiddenposts_hidden_by
Added: The phrase, dbtech_staffonlyhiddenposts_date
Added: The phrase, dbtech_staffonlyhiddenposts_sort_results_descripti on
Added: The phrase, dbtech_staffonlyhiddenposts_all_forums
Added: The phrase, dbtech_staffonlyhiddenposts_select_forum_descripti on
Added: The phrase, dbtech_staffonlyhiddenposts_order_results
Added: The phrase, dbtech_staffonlyhiddenposts_in_ascending_order
Added: The phrase, dbtech_staffonlyhiddenposts_in_descending_order
Added: The phrase, dbtech_staffonlyhiddenposts_order_results_descript ion
Added: The phrase, dbtech_staffonlyhiddenposts_show_results
Added: The phrase, dbtech_staffonlyhiddenposts_inline_mod
Added: The phrase, dbtech_staffonlyhiddenposts_select_all
Added: The phrase, dbtech_staffonlyhiddenposts_deselect_all
Added: The phrase, dbtech_staffonlyhiddenposts_invert_selection
Added: The phrase, dbtech_staffonlyhiddenposts_select_posts_with_atta chments
Added: The phrase, dbtech_staffonlyhiddenposts_moderation_tools
Added: The phrase, dbtech_staffonlyhiddenposts_merge_posts
Added: The phrase, dbtech_staffonlyhiddenposts_move_posts
Added: The phrase, dbtech_staffonlyhiddenposts_delete_posts
Added: The phrase, dbtech_staffonlyhiddenposts_undelete_posts
Added: The phrase, dbtech_staffonlyhiddenposts_approve_posts
Added: The phrase, dbtech_staffonlyhiddenposts_view_selected_posts
Added: The phrase, dbtech_staffonlyhiddenposts_clear_post_list
Added: The phrase, dbtech_staffonlyhiddenposts_proceed
Added: The phrase, dbtech_staffonlyhiddenposts_full
Added: The phrase, dbtech_staffonlyhiddenposts_viewing
Added: The phrase, dbtech_staffonlyhiddenposts_display_timeframe
Added: The phrase, dbtech_staffonlyhiddenposts_display_by
Added: The phrase, dbtech_staffonlyhiddenposts_display_forum
Added: The phrase, dbtech_staffonlyhiddenposts_display_ascdesc
Added: The phrase, stylevar_sohp_background_description
Added: The phrase, stylevar_sohp_background_name

Chris
Attached Images
File Type: jpg sohpnew1.jpg (71.7 KB, 0 views)
Reply With Quote
  #48  
Old 02-20-2012, 07:31 PM
nerowolfe nerowolfe is offline
 
Join Date: Feb 2011
Location: France/Italy
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi and tanks for this mod.

I have only one little question: I wanted to know if it was possible to extend the function including the moderators, not just the moderators of a forum.

Thank's a lot
Reply With Quote
  #49  
Old 02-21-2012, 01:17 AM
DragonByte Tech's Avatar
DragonByte Tech DragonByte Tech is offline
 
Join Date: Feb 2010
Location: Scotland
Posts: 8,814
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not at this time, like I stated it uses the same permissions as the moderation feature in vbulletin.

Chris
Reply With Quote
  #50  
Old 02-24-2012, 11:48 PM
leejohn02 leejohn02 is offline
 
Join Date: Apr 2011
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

getting this error bitfield_dbtech_vbnavtabs.xml not found in directory /home/pureglit/public_html/includes/xml/
Reply With Quote
  #51  
Old 02-25-2012, 12:23 AM
DragonByte Tech's Avatar
DragonByte Tech DragonByte Tech is offline
 
Join Date: Feb 2010
Location: Scotland
Posts: 8,814
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorted, re download the files.

Chris
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 09:45 AM.


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.04985 seconds
  • Memory Usage 2,361KB
  • 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
  • (6)bbcode_html
  • (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
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)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