Version: 4.0, by Badshah93
Developer Last Online: Nov 2023
Category: New Posting Features -
Version: 4.1.x
Rating:
Released: 05-01-2012
Last Update: 07-05-2012
Installs: 245
DB Changes Uses Plugins Auto-Templates
Code Changes Additional Files Translations
No support by the author.
.::vFCoders - Hide Hack::.
This MOD gives users in selected forums the ability to hide their content by using any of the 7 BBCode. ([HIDE], [HIDE-REPLY], [HIDE-THANKS], [HIDE-REPLY-THANKS], [HIDE-POSTS], [SHOWTOGROUPS], [STG])
1. Features
Seven different BBCode to Hide Contents.
[HIDE-REPLY] -> Content within this tag is not shown to user until he/she replies in that thread.
[HIDE-POSTS] -> Content within this tag can only be seen by people's who have more posts than defined number of posts.
Uses AJAX technology so your users don't have to refresh to see hidden content.
Content within Tags are completely hidden, there is no way to bypass hide tags. Contents are hidden everywhere including
Showthread
Threadbit
Archive
Search
Subscribed Threads in USERCP
Email
Print Page
RSS
Meta Description
Quote
Usergroup permissions for each tag, including option to select usergroups which can always see Hidden Content.
Global and Per-Forum Basis vBulletin settings for each tag.
Option to turn on Hide Button's in quick reply and quick edit Editor.
Uses Phrases
Dialog Box for selecting Usergroup's when user clicks [SHOWTOGROUPS] Tag.
2. Installation
Download and unzip vFCoders_hide_hack.zip file from this thread.
Upload all the files inside "UPLOAD" folder into your vBulletin installation directory. (where forum.php file is located)
Import product-vfc_hide_hack.xml file through Product Manager in admincp.
Note: [HIDE-THANKS] and [HIDE-REPLY-THANKS] Tag will not work if you don't have Abe1 [AJAX] Post Thank You Hack or vBSEO Like System installed in your forum.
Optional - If you have RSS enabled in your forum, then open install.txt file and do the edit's which is mention in that file.
Support will be provided to those who have my copyright link in their sites.
Mod History:
v1.0 : 3 May 2012 : First Release.
v1.01 : 3 May 2012 : Fixed Thanks Bug.
v1.1 : 3 May 2012 : Added vBSEO Like System Integration Function
v1.2 : 4 May 2012 : Now compatible with vB < 4.1.4 also.
v1.3 : 4 May 2012 : Fixed PM Bug.
v2.0 (RC) : 4 May 2012 : Optimized Codes and fixed a minor bug.
v2.1 (RC) : 13 May 2012 : Fixed a minor bug.
v2.2 (RC) : 23 May 2012 : Changed Ajax Request Method, Added 1 new Plugin and also removed few.
v3.0 (GOLD) : 10 June 2012 : Added STU tag, Optimize Codes, Fix [SHOWTOGROUPS] Tag Bug, Added Hide/Unhide Box
v3.1 : 13 June 2012 : Fix Hide tag mapped issue. v4.0 : 7 July 2012 : Now mod uses YUI for ajax requests and fixed some minor bugs.
-> Click On Mark As Installed If You Have Installed This Mod. -> You Can Nominate it also for Mod Of The Month. -> If u like my work, you can Donate me also.
Just found something I'd like to see. Currently it only lets you hide stuff in the first post of the thread. Can we expand this to do anywhere in the thread?
Jersey
I'm not sure why but from what I been testing it will do it on any thread or post ..
weird
Finally I found a solution for Davidmods Worst Hide hack ever!
First here is the query to recover all your hidden posts
UPDATE post ns join thread hh on ns.postid=hh.firstpostid set ns.pagetext = (SELECT concat('[hide]',replace(hd.content,' ','\n'),'[/hide]') FROM dmods_hide_content hd where ns.threadid = hd.identifier limit 1);
With this query you are copying the hidden content to the correct table "posts", after that you must uninstall davidmods VBHide, then upload vFCoders folder and install it! you are ready
hope this help!
hi, if I use this query, it works fine but all my previews disappear! anyone know why? who tried?
thank you
I think you've written a GREAT addon! On our forum we use it primarily for the STG (SHOWTOGROUP) feature, so senior members can see restricted content and the junior level members have incentive to advance to the senior levels.
There are a few ideas that I had to make the addon a bit more functional and configurable:
Toolbar/BBcode ideas:
Shorten SHOWTOGROUPS to be STG, but leave the SHOWTOGROUPS tag as well so that old posts will continue to work.
Add an additional tag of SHOWTOUSERS for STU, just for completeness.
Add two check boxes to the SHOWTOGROUPS and STU tag's dialogs that will allow the poster's friends to see the content, or the posters ignored users to be blocked, both of these "checked" functions should override the groups that the users belong to. And I suppose admin setting to enable these check boxes or not.
Add a third check box to leave off the green box and outline. And and admin setting to enable this check box or not.
Core functionality ideas:
Add an option to NOT map the HIDE tag to anything. i.e. jsut don't have the button or do anything with the code. We only have SHOWTOGROUP active, so we effectively have 2 buttons that do the same thing, although if we change the mapping in the future, a lot of posts will expose content that wasn't intended to be seen. The remappable HIDE tag is a liability.
Allow the Green Box and outline to be optionally enabled or disabled. And possibly have the HTML code for the green box in a field in the control panel so the admin can edit the look and feel of the box. Possibly introduce some standard variables like {allowed_groups}, {allowed_friends} and {ignored_users} that can be used in the "green box" code to show WHO can see the content to all viewing users.
Add an option to ALWAYS block users that are on the poster's ignore list. (As a global setting)
Add an option to always ALLOW users that are in the poster's friends list. (As a global setting)
Allow the admin to select which usergroups show up in the dropdown box for the SHOWTOGROUPS tag.
Nice to haves (but not critical):
Allow users for the STU tag to be chosen by name instead of user number (similar to how you pick users for PMs)
Add a pick from friends button on the STU dialog that will bring up a list of the poster's friends and check boxes to quickly select them.
Allow the admin to choose the usergroups AND the order to be displayed for SHOWTOGROUP tag dialog. Also allow the admin to chose if selecting a group just effects that group or that group and ALL the groups higher on the list. (e.g. we have senior user groups defined as escalating ranks: bronze, silver, gold, platinum. Right now the poster has to select ALL 4 ranks to show content that requires a "bronze" rating. It would be nice if the poster could select "bronze and above" instead of individually picking the usergroups.)
Lastly, you need to come up with some way for us to pay you for this mod! You're doing great work, I'm sure that at least some of us would like to give you something for your efforts!
Oh, and PLEASE ANSWER the PM that I sent you about that other matter!
You're really done great work here, your efforts are definitely appreciated!