vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   New Posting Features - vS-Hide Hack Resurrection (https://vborg.vbsupport.ru/showthread.php?t=237057)

akanevsky 02-26-2010 10:00 PM

vS-Hide Hack Resurrection
 
1 Attachment(s)
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

  • Stylish, HTML-formatted output.
  • Compatible With Regular and WYWIWYG editors.
  • Compatible with vBulletin 4.0.x (and there is also an old version for vBulletin 3.5.x - 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 (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

akanevsky 02-27-2010 07:53 PM

First Post Reserved.

Switch3130 02-27-2010 08:14 PM

Was waiting for this to be released thanks a lot.

pablete 02-27-2010 08:23 PM

Thankkkksssssssssss.

AzzidReign 02-28-2010 07:37 AM

Efffin' awesome!!!! Thank you!

iCafe 02-28-2010 08:40 AM

error
Code:

function set_thankscache() on a non-object in
in vb4.0 site when i open /content.php?r=xxxxx

akanevsky 02-28-2010 11:47 AM

Quote:

Originally Posted by iCafe (Post 1993521)
error
Code:

function set_thankscache() on a non-object in
in vb4.0 site when i open /content.php?r=xxxxx

For support with expanded edition please go to my site. The limited edition does not have any set_thankscache() commands in it so the error does not apply here. Also please provide a full error messasge. Thanks.

Hornstar 02-28-2010 07:09 PM

Nice to see you bring this forward to VB4. Will you be bringing back some of your other VB3 mods that you released only on vb.org to?

akanevsky 02-28-2010 08:45 PM

Quote:

Originally Posted by hornstar1337 (Post 1993939)
Will you be bringing back some of your other VB3 mods that you released only on vb.org to?

I don't know the answer to your question. I haven't been thinking about it because I personally don't like vBulletin 4 and I will keep vBulletin 3.8.x on all of my sites. Most likely the answer is - I will not port my hacks anytime soon. Although that might change. Anyhow, I don't really know. Sorry. :)

RedHacker 02-28-2010 08:46 PM

Please can insert screenshots for vBulletin 4....?

akanevsky 02-28-2010 10:20 PM

Quote:

Originally Posted by RedHacker (Post 1994004)
Please can insert screenshots for vBulletin 4....?

The screenshots are mostly identical to those on vBulletin 3.

balkanboy 02-28-2010 10:26 PM

love the features of expanded but not ready to pay for it as of yet just seems like the post thank you hack but working with your hide mod...

KissOfDeath 02-28-2010 10:54 PM

This mod is worth every penny, i used to be a mod on a forum that had it before they upgraded to vb4 then it wasn;t compatible anymore their member active members dropped from 83% to 21%

if you have adds in the first post of your thread i've found that you get a lot more clicks, for some reason if links are hidden they start clicking on adds.......

balkanboy 03-01-2010 02:42 AM

dont understand why its not working on my site [HIDE] codes.............

akanevsky 03-01-2010 11:33 AM

Quote:

Originally Posted by balkanboy (Post 1994199)
dont understand why its not working on my site [HIDE] codes.............

Turn on usergroup permissions?

RedHacker 03-01-2010 08:45 PM

How show Thanks after Blog Post in postbit template...?

balkanboy 03-01-2010 08:48 PM

Quote:

Originally Posted by Psionic Vision (Post 1994417)
Turn on usergroup permissions?

Yes sorry it is because i selected default hide code to act as hide reply but that is not available in the free version

haidm 03-02-2010 03:20 AM

1 Attachment(s)
I have turned on the User Group but still can't use this mod. Don't understand why.

War.Frog 03-02-2010 03:33 AM

Does this hack work in conjunction with Abe1's [AJAX] Post Thank You Hack?

RedHacker 03-02-2010 06:07 AM

And another question...

How to show icon hide in editor only but work with Hide-Reply-Thanks....?

Passel 03-02-2010 10:58 AM

hi,
unhidden Content show only "$message"

akanevsky 03-02-2010 11:52 AM

Quote:

Originally Posted by Passel (Post 1995147)
hi,
unhidden Content show only "$message"

Please upgrade to 4.0.1 of expanded edition (since that's what you have installed right now?).

balkanboy 03-02-2010 07:48 PM

umm for sum reason instead of spaces it shows as <b> and <br> how can we allow html ... example:

Code:

<br /> <a href="http://depositfiles.com/files/example" target="_blank">http://depositfiles.com/files/example</a><br /> <a href="http://hotfile.com/dl/30810281/bb697b2/example.mp3.html" target="_blank">http://hotfile.com/dl/30810281/example.html</a><br /> <a href="http://sharingmatrix.com/file/2022101/example.mp3" target="_blank">http://sharingmatrix.com/file/example.mp3</a>
That is when his pasting links for it to be hidden....

akanevsky 03-02-2010 08:16 PM

Quote:

Originally Posted by balkanboy (Post 1995481)
umm for sum reason instead of spaces it shows as <b> and <br> how can we allow html ... example:

Code:

<br /> <a href="http://depositfiles.com/files/example" target="_blank">http://depositfiles.com/files/example</a><br /> <a href="http://hotfile.com/dl/30810281/bb697b2/example.mp3.html" target="_blank">http://hotfile.com/dl/30810281/example.html</a><br /> <a href="http://sharingmatrix.com/file/2022101/example.mp3" target="_blank">http://sharingmatrix.com/file/example.mp3</a>
That is when his pasting links for it to be hidden....

Install version 4.0.1.

balkanboy 03-02-2010 08:30 PM

thanks 4.0.1 fixes the bugs :)

Thr33 03-03-2010 08:10 PM

great mod btw, used to use the older ones aswell. problems with this one though :(

On the install

I cant find the 2 strings of code in ./clientscript/vbulletin_quick_reply.js
...but it still installed ok.

BUT then when i thought skies were clear the CMS page shown an error:

Code:

Fatal error: vB_Database::Registry object is not an object in [path]/includes/vS_HHR_Engine.php on line 79
Ive looked in the [B]vS_HHR_Engine.php on line 79[/B} and (if i got the right line) it shows:

PHP Code:

            trigger_error("vB_Database::Registry object is not an object"E_USER_ERROR); 

Please help :(

akanevsky 03-03-2010 08:26 PM

Quote:

Originally Posted by TopFloorDjs (Post 1996382)
great mod btw, used to use the older ones aswell. problems with this one though :(

On the install

I cant find the 2 strings of code in ./clientscript/vbulletin_quick_reply.js
...but it still installed ok.

BUT then when i thought skies were clear the CMS page shown an error:

Code:

Fatal error: vB_Database::Registry object is not an object in [path]/includes/vS_HHR_Engine.php on line 79
Ive looked in the [B]vS_HHR_Engine.php on line 79[/B} and (if i got the right line) it shows:

PHP Code:

            trigger_error("vB_Database::Registry object is not an object"E_USER_ERROR); 

Please help :(


The problem is being discussed here (and there is also a solution):
http://www.visionscripts.com/forum/s...ead.php?t=1966

As for the file edit, you gotta download vbulletin with uncompressed javascript from www.vbulletin.com first, otherwise the javascripts are not editable.

haidm 03-04-2010 12:32 AM

Still can't use [HIDE] code althougt set the Group permission, please tell me why (install v 4.0.1).

kalisekj 03-04-2010 01:31 AM

Hey Thanks for this Mod, But for real if you expect people to pay for the advanced version like I have done for $25 , then I have to do a lot of manual file edits, you guys need to provide a decompressed version of that .js script for your paying customers.

Here Is a Copy of the decompressed vbulletin_quick_reply.js with the edits already made. VB 4.02 SP1 Suite, although pretty sure its the same file for all 4.0 versions. Enjoy!

Attachment 113525

I would also like a more clear explanation of the settings in the admincp. Some are not entirely clear what their purpose is, so I will have to play around and find out what they mean and what they do unless you provide actual documentation as to the various features and functions.

Thr33 03-04-2010 02:09 AM

on ur site "TopFloorDjs, you do not have permission to access this page." so cant see the solution either. yes id hoped for somewhere to find the decompressed js file.

kalisekj 03-04-2010 02:54 AM

I added a copy of the decompressed .js file, on page 2 in my first post, with the edits already made, so backup your old file and upload the file I gave, for vb 4.02 sp1 Suite, although pretty sure its the same file for all 4.0 versions.

akanevsky 03-04-2010 12:13 PM

Quote:

Originally Posted by kalisekj (Post 1996547)
Hey Thanks for this Mod, But for real if you expect people to pay for the advanced version like I have done for $25 , then I have to do a lot of manual file edits, you guys need to provide a decompressed version of that .js script for your paying customers.

Here Is a Copy of the decompressed vbulletin_quick_reply.js with the edits already made. VB 4.02 SP1 Suite, although pretty sure its the same file for all 4.0 versions. Enjoy!

Attachment 113525

I would also like a more clear explanation of the settings in the admincp. Some are not entirely clear what their purpose is, so I will have to play around and find out what they mean and what they do unless you provide actual documentation as to the various features and functions.

You're not allowed to post entire vBulletin files on these forums. You can download uncompressed javascript directly from www.vbulletin.com members' area. Thanks.

kalisekj 03-04-2010 01:18 PM

First I would Like to say this hack works good and does what I needed it to do as well as what I may need it to do in the future. Thank You!

In Regards to the file provided:
This is 1 js file of the vbulletin system not the complete system. If a Persons license is expired they would not be able to get any file. ;) Not to mention it is not easy to figure out how to get that decompressed file downloaded. Psionic this site is about hacking and hacks for the vbulletin system, half of the modifs on this site provide new or hacked vb files for the modifs to work. That's why the vb.com site wont support people and they send everyone here to get what they want or need their vbulletin to do. When you guys release a hack and especially when you charge for it you should provide everything needed to get your hack working or in some way do the editing for us. It took me over an hr to make all the edits you guys did not do automatically and to find this decompressed copy of that .js file to edit it. In most people minds this is truly not a ideal mod or hack to install due to that fact alone. I would suggest making the installation of this wonderful hack a lot more easier especially for those who have paid you $25.

akanevsky 03-04-2010 03:30 PM

If you don't have access to downloads at www.vbulletin.com then you don't have a license and you can't install this hack anyway, so one file wouldn't help.

kalisekj 03-04-2010 03:48 PM

LOL Psionic, I will say you do great hacks for the VBulletin Product and your hacks are very much appreciated but I feel you are wrong in this aspect, on vbulletin.com licenses expire and when they do no downloads are allowed, here you can put a license code in and get registered. Once your license expires you are still registered here and can still get mods for a lot of the versions of vbulletin. This site is not sponsored nor run by vbulletin.com its a HACKING site for their product. Many people who come here are admins for sites they truly do not own nor have a license for, many of these hacks end up all over the net which is what you want so your site can make money off your hard work. This site would not exist if it did not change vbulletin core files and offer these changes and files to users so they can make their site work the way they need it to. Vbulletin software would not be so popular if it was not for this site and others like it offering hacks for the software. This modification changes vbulletin core software and makes it not supported by vbulletin.com as do any modifications people add to vbulletin. This one file I attached will save anyone trying to install your modification the hassle of having to log onto vb.com and locate the decompressed files and download it and decompress it to get that one file to edit it. Trust me many people here will be appreciating the fact that I attached the file and saved them the hassle and headache of doing all of that.
The bottom line is you should not say I am a hacker programmer for vbulletin software but I will only make modifications for people who have an active license and make it to where they cannot install your modification unless they have a valid license and can actually get onto vbulletin.com and download a specialized non compressed file. (Are You an VBulletin Company Man? Will VBulletin Support Your Modification?) Its Like saying I am a Saint and a Sinner, no one can be both.
You should be thanking me for making the installation of your modification easier for the users not condemning me. ;)

akanevsky 03-04-2010 06:27 PM

Sorry, but I cannot distribute vBulletin files. It's not allowed by the terms of vBulletin license. If you need the most up-to-date files, you will have to download them from vbulletin.com directly.

Paul M 03-04-2010 07:28 PM

Attachment removed. You are not permitted to re-distribute vbulletin files.

RedHacker 03-04-2010 07:55 PM

Hide Tag not same with previous versions....

haidm 03-05-2010 01:54 AM

Where can I change the forum permission with limted edition?

akanevsky 03-06-2010 12:49 PM

Released version 4.0.4 which fixes a lot of the bugs compared to 4.0.0.

Quote:

Originally Posted by haidm (Post 1997445)
Where can I change the forum permission with limted edition?

You can't - it's not featured.


All times are GMT. The time now is 06:30 AM.

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.01614 seconds
  • Memory Usage 1,855KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (2)bbcode_php_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete