The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vS-Hide Hack Resurrection Details »» | |||||||||||||||||||||||||||||||||||||||||||||
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 (Limited Edition) || || Author : Anton Kanevsky || Works on : vBulletin 4.0.x || Released : Mar 12, 2010 || || 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 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: 5 Products to Install: 1 FEATURES General
Integrated "Thank You" System ? (Expanded Edition Only)
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 (aka @kan), 2006 - 2010 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.html" file for version history. The installation manual is contained within the attached file. IF YOU LIKE MY HACK, PLEASE CLICK INSTALL Download Now
Screenshots
Show Your Support
|
3 благодарности(ей) от: | ||
Fraxter, Michael.A, pandusetiawan |
Comments |
#192
|
|||
|
|||
Quote:
I've altered everything I can think of in the search_results_postbit and search_resultlist templates, with no luck. As long as it strips bbcode and formatting there's no [hide] tags to find and replace. Maybe someone with more knowledge can figure out a fix. |
#193
|
||||
|
||||
Quote:
Who are you, NovoCiv? You're so active in this thread. I don't use vS-Hide anymore, so I don't care about it. I believe that you are really interested in fixing this Mod, so you want to find the way yourself? I can give you an idea. You're right, as long as strip bbcode, there's no HIDE tag to replace. So you can re-call it in original, replace the HIDE tag, and rebuild it to display in post. Even, you can use "if - else" fuction to let who has permission to see the content right that moment. And the Hook Location is "search_results_postbit". "search_resultlist" only builds the structure. |
#194
|
|||
|
|||
I'm not entirely sure what you're suggesting but I was going to have the [hide] tags add a *hidden* Message here *hidden* inside, so I could preg_replace anything within the *hidden*s. The slight addition in clutter wouldn't be a very big deal to my mod staff if it means patching the vulnerability. The main section we use it for (mod applications) I just disabled searching.
I'd rather have a working tag right away than figure out a fix myself, as I still have quite the backlog of features to develop. If you tell me how you've fixed it I would be very grateful. And to your question of "Who are you?", I used to be a mod at a ~50,000 member flash games website. When I got sick of trying to convince the administration to do things that make it more enjoyable for the members I quit and got my own vBulletin license, then made a website for most of the active members to go where we do everything we can to make it enjoyable. My only coding experience is an intro to Java university course, and I do most of the coding and development myself, so it's a lot of work. I basically look through source code, other mods, and php tutorials to figure out ways to make it do what I want to do. |
#195
|
|||
|
|||
Quote:
Could you suggest any other correct working solution? |
#196
|
||||
|
||||
I use Sid's Hide Hack and convert it to compatible with vB 4 myself. Because I just need Hide-Thanks only.
@ NovoCiv: it's funny if you're going to disable searching system. Bad idea. To fix the small problem, you have a bigger one. I'm already give you an idea, I thought you're interested... So, add a new plugin Product: *Your Product* Hook Location: search_result_postbit Title: Hide when Search (Show Post) PHP Code: Code:
global $vbphrase, $db; $post_text = $db->query_first("SELECT pagetext FROM " . TABLE_PREFIX . "post WHERE postid = $post[postid] ORDER BY dateline ASC"); $post_hide['pagetext'] = preg_replace('/\\[hide\\](.*)\\[\/hide\\]/siU', 'Your Message Goes Here', $post_text[pagetext]); $post['pagetext'] = nl2br(vbchop($post_hide['pagetext'], 200)); |
#197
|
|||
|
|||
Thank you! As far as I know my Hide hack is completely patched now
|
#198
|
||||
|
||||
I think you should creat a new topic, includes all patches collection for everyone are using this Mod.
|
#199
|
|||
|
|||
But then I would be the one that's not offering support. (I can't support when I hardly understand vbulletin myself).
|
#200
|
|||
|
|||
Quote:
But, we need no [HIDE-THANKS]... we (only) need a correct workin' solution for the [HIDE-REPLY] function. Quote:
Quote:
|
#201
|
|||
|
|||
They would get more help searching this topic, honestly.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|