Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
vS-Hide Hack Resurrection Details »»
vS-Hide Hack Resurrection
Version: 3.7.5, by akanevsky akanevsky is offline
Developer Last Online: Feb 2016 Show Printable Version Email this Page

Version: 3.5.x Rating:
Released: 10-01-2005 Last Update: 10-06-2009 Installs: 500
DB Changes Uses Plugins Auto-Templates
Code Changes Additional Files Translations  
No support by the author.

I no longer support my hacks. Please feel free to update them and release new versions elsewhere as long as I get the credit for the original modification.

/*===================================*\
|| vS-Hide Hack Resurrection
||
|| Author : Anton Kanevsky
|| Works on : vBulletin 3.5.x - 3.8.x
|| Released : Oct 07, 2009
||
|| Time required to install: ~2 minutes
|| Difficulty: easy
\*===================================*/

DESCRIPTION

Have you ever wanted your users to be able to define who exactly can view the information in any particular post? vS-Hide Hack Resurrection, a vBulletin 3.5.x - 3.8.x expansion, features a set of handy tags that together give your users an opportunity to do just that:

[HIDE-POSTS]: defines the minimum number of posts required to read the content within.
[SHOWTOGROUPS]: defines the usergroups that may read the content within.
[HIDE-THANKS]*: defines that the content within may only be read after the person says thank you by pressing a special button. (Expanded Edition Only)
[HIDE-REPLY]*: defines that the content within may only be read after the person replies. (Expanded Edition Only)
[STU]: defines the users that may read the content within. (Expanded Edition Only)

*(1): The HIDE-THANKS tag comes with a full-featured Post Thank You System. See features for further details.
*(2): The HIDE-REPLY tag can be reversed to HIDE with just one easy switch of an admincp option.

STATISTICS

File Uploads: 1
File Changes: 10
Products to Install: 1


FEATURES

General

  • Stylish, HTML-formatted output.
  • Compatible With Regular and WYWIWYG editors.
  • Compatible with all vBulletin Versions from 3.5.x through 3.8.x.
  • Unregistered, Unverified and Banned users are prevented from seeing any hidden content.
  • Post owners can always see hidden content in their own posts.
  • Users can always see hidden content in posts that they can edit.
  • It is impossible to quote hidden text even if it is revealed - it is stripped from the quotation.
  • Ability to specify usergroups that can always see hidden content.
  • Zero template edits.
  • Works fast on large boards.
  • Ability to enable / disable any of the tags:
    • on global basis - vBulletin Options
    • on per-forum basis - Forum Options (Expanded Edition Only)
    • on per-usergroup basis - Usergroup Options (Expanded Edition Only)

  • AJAX Features for HIDE-REPLY, HIDE-THANKS, and HIDE-REPLY-THANKS, with full non-ajax functionality for older browsers. (Expanded Edition Only)
  • Online vB Code Documentation.
  • Case-Insensitive Tags.
  • vB Code Shortcut (HIDE) that can be linked to any of the tags featured by this engine.
  • There is no way to go around the tags. They are parsed correctly everywhere, including:
    • Showthread / Showpost.
    • Search Area
    • Forum Display (First Post Preview)
    • New Reply (Thread Review)
    • Post Preview
    • Archive
    • Print Version
    • E-mail Subscriptions
    • RSS Feeds


Integrated "Thank You" System ? (Expanded Edition Only)

  • Works fast on large boards.
  • Automatic prevention of users from saying Thank You more than once for the same post.
  • Automatic prevention of users from saying Thank You to themselves.
  • Ability to define which usergroups can post thanks.
  • Ability to define which usergroups can remove own thanks.
  • Ability to define which usergroups can remove others' thanks.
  • Ability to define in which forums to enable the system (can also be enabled/disabled globally).
  • Ability to define in which forums to bump thanked threads (can also be enabled/disabled globally).
  • Ability to define whether to allow thanks on first post only.
  • Ability to define whether to allow thanks in closed threads.
  • "Remove All" button displayed to those who can remove both own and others' thanks.
  • List of users who clicked "Thank You" below each post, with an option to limit the maximum amount of such users displayed.
  • List of latest Thank You's received is displayed in each member's usercp.
  • Administrator can specify a certain amount of reputation to be given to users who upon the receipt of a 'Thank You'.
  • AJAX posting and removal of Thank You's, with a stylish progress indicator.
  • AJAX posting and removal of Thank You's degrades gracefully to non-javascript functionality when AJAX is disabled.

INTRODUCTION

Why "Resurrection"?

The reason is simple: This hack has been written many times by various people, and nobody ever got their version working correctly.
This product presents a professional version written from scratch, and there are no backdoors through which hidden information can be illegally retrieved. Unlike other systems, this one works correctly with the vBulletin Post Cache.

Usage Syntax:

[HIDE]information[/HIDE]
Shortcut code, can be mapped to any of the below ones. By default, it is mapped to HIDE-POSTS.

[HIDE-POSTS=X]information[/HIDE-POSTS]
Information is not shown to people who have less than X posts. Has an alternative syntax: , where X is automatically set to the value defined in vBulletin options.

[HIDE-REPLY]information[/HIDE-REPLY] (Expanded Edition Only)
Information is not shown to people unless they reply.

[HIDE-THANKS]information[/HIDE-THANKS] (Expanded Edition Only)
Information is now shown to people unless they press "Thank You" button.

[HIDE-REPLY-THANKS]information[/HIDE-REPLY-THANKS] (Expanded Edition Only)
Information is not shown to people unless they either reply or press "Thank You" button.

[SHOWTOGROUPS=x]information[/SHOWTOGROUPS]
Information is not shown to people unless they are a member of the X usergroups, where X is a comma-separated list of usergroupids.

[STU=x]information[/STU]
Information is not shown to people unless they are a listed in X, where X is a comma-separated list of userids.

:: Copyrights ::
The Engine & Toolbar Images - Copyright ? Anton Kanevsky, 2006 - 2009
Locked and Unlocked Images - Copyright ? vBStyles.com, 2004 - 2006, huge thanks to Miko for providing the PSD files!

VERSION HISTORY

Please see the attached change log file for version history.

The installation manual is contained within the attached file.

IF YOU LIKE MY HACK, PLEASE CLICK INSTALL

Show Your Support

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

Comments
  #732  
Old 06-27-2007, 12:11 AM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In that case, you've done something wrong. It could be as seemingly insignificant as inserting code "above" instead of "underneath", or vice versa.
Reply With Quote
  #733  
Old 06-27-2007, 03:13 PM
Kaycee123 Kaycee123 is offline
 
Join Date: Jun 2007
Location: Alberta, Canada
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll uninstall it all and try starting over again.
Reply With Quote
  #734  
Old 08-08-2007, 01:02 PM
applyimage applyimage is offline
 
Join Date: Aug 2007
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
vS-Hide Hack Resurrection: Incomplete Installation!

One or more of the required files are missing.

Please read over readme.html and ensure every file from the upload directory is uploaded to vBulletin forum root.

Afterwards, click here to refresh the page.
Ok so I messed up the hide hack install, I imported the 'product-psionic_hide.xml' before editing the files, now I cant do a thing, is there a way to cancel the installation?

The reason I cant finish the hack is because I don't think I can make template changes without the admin cp, if so let me know how and I'll try finish the mod.

All help appreciated!!
Reply With Quote
  #735  
Old 08-10-2007, 11:34 AM
rageedo rageedo is offline
 
Join Date: Aug 2007
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this will be awesome for a riddles forum - i'll try installing.
thanks
Reply With Quote
  #736  
Old 09-23-2007, 04:16 PM
lil-dragon lil-dragon is offline
 
Join Date: Sep 2007
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how much is the expanded version, where can I buy it?
Reply With Quote
  #737  
Old 10-27-2007, 09:04 PM
1uxkz's Avatar
1uxkz 1uxkz is offline
 
Join Date: Jul 2007
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

when I try to physically remove threads I get the following DB error I was wondering if you could help me

Database error in vBulletin 3.6.8:

Invalid SQL:
DELETE FROM thanks WHERE postid IN (5320,0);

MySQL Error : Table '*****.thanks' doesn't exist
Reply With Quote
  #738  
Old 03-06-2008, 06:17 AM
sub_ubi sub_ubi is offline
 
Join Date: Dec 2004
Posts: 177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone know of anything like this for 3.7, or if it even works on 3.7?
Reply With Quote
  #739  
Old 03-15-2008, 11:08 AM
ellyssian ellyssian is offline
 
Join Date: Feb 2008
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
vS-Hide Hack Resurrection: Incomplete Installation!

One or more of the required files are missing.
Please read over readme.html and ensure every file from the upload directory is uploaded to vBulletin forum root.

Afterwards, click here to refresh the page.
please help the blonde guy...!!!!!what was wrong i dont know...?please i need help
Reply With Quote
  #740  
Old 03-15-2008, 11:27 AM
ellyssian ellyssian is offline
 
Join Date: Feb 2008
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how can i unistall...this..?
Reply With Quote
  #741  
Old 05-29-2009, 01:44 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

:up: Release: vS-Hide Hack Resurrection 3.7.5 :up:

Changes Since 3.7.4:
  • [F] Fixed a minor bug with template caching.

Upgrade Process:

1. Overwrite the product.
2. Done.

--------------------------------------------------------------------------------------------

:up: Release: vS-Hide Hack Resurrection 3.7.4 :up:

Changes Since 3.7.3:
  • [+] Made nicer and more informative tooltips for toolbar buttons.
  • [+]* The "rebuild thank you table" function is now paginated, and you can use it to process any amount of data.
  • [+]* Implemented SHOWTOUSERS (STU) tag.
  • [+]* Added option to disable date display in thanks bit.
  • [+]* Added option to bump thanked threads (globally and on a per-forum basis).
  • [+]* Added a forum-specific option to enable or disable the integrated thank you system.

Upgrade Process:

1. Upload all of the new files.
2. Revert the following templates:
  • hidetag_toolbar_buttons
  • thanks_bit *

3. Overwrite the product.
4. Undo the file edit you have done for ./clientscript/vbulletin_textedit.js for the previous versions, and apply the new one. *
5. Enjoy the new release.

* Expanded Edition Only.

--------------------------------------------------------------------------------------------

:up: Release: vS-Hide Hack Resurrection 3.7.3 :up:

Changes Since 3.7.2:
  • [+]* The "rebuild thank you cache" function is now paginated, and you can use it to process any amount of data.
  • [+] Added template caching for a template that was not cached.

* Expanded Edition Only.

Upgrade Process:

1. Upload all of the new files.
2. Overwrite the product.

--------------------------------------------------------------------------------------------

:up: Release: vS-Hide Hack Resurrection 3.7.2 :up:

Changes Since 3.7.1:
  • [+]* The hack has been optimized to work fast on large boards.
  • [+] The toolbar buttons are now displayed on postbit_quickedit and showthread_quickreply.
  • [+]* Two less file edits (which need to be removed if you have upgraded from an older version - see forum announcement).
  • [F] Corrected a cosmetic bug in advanced editor's toolbar.
  • [F] Fixed bbcode templates so that they can now be edited.

* Expanded Edition Only.

Upgrade Process:

1. Upload all of the new files.
2. Overwrite the product.
3. In ./includes/functions_databuild.php, find and delete (relevant to expanded edition only):

Code:
$vbulletin->db->query_write("DELETE FROM " . TABLE_PREFIX . "thanks WHERE postid IN ($postids" . "0)");
		
$hhr_res = $vbulletin->db->query_write("SELECT DISTINCT userid FROM " . TABLE_PREFIX . "post WHERE postid IN ($postids" . "0)");
while ($hhr_item = $vbulletin->db->fetch_array($hhr_res))
{
	$GLOBALS['hhr']->rebuild_cache('count', $hhr_item['userid']);
}
Also in the same file, find and delete:

Code:
$vbulletin->db->query_write("DELETE FROM " . TABLE_PREFIX . "thanks WHERE postid = $postid");

$GLOBALS['hhr']->rebuild_cache('count', $postinfo['userid']);
4. Revert the following templates, if you've done any changes:
  • hidetag_toolbar_buttons
  • bbcode_hposts
  • bbcode_hrply *
  • bbcode_hrplytnx *
  • bbcode_htnx *
  • bbcode_showtogroups

5. You should see a new administrative notice about rebuilding the thanks table. Please follow the instructions on that notice.

6. Enjoy the faster performance of your forums!

* Expanded Edition Only.
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 05:49 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.04977 seconds
  • Memory Usage 2,320KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete