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)

Badshah93 10-01-2011 04:29 AM

Quote:

Originally Posted by KissOfDeath (Post 2251652)
I'm actually a customer of this guy and managed to fix the product myself after he closed down and i got no support, it's pretty weak that you take peoples money but not fix the product when it's all so simple to do, i've fixed all bugs including including the thread preview and source codes, also this is still working fine on vBulletin 4.1.5 Patch Level 1, the only issue is you need to make your own buttons and create your own custom BB tags as they won't automatically insert anymore,

I've attached the buttons i made their pretty basic but feel free to use them

this is how they look in the editor (The SP is spoiler BB code)

https://vborg.vbsupport.ru/external/2011/09/1.jpg

Go to AdminCP>custom BB codes>add new BB code,

Title: SHOW TO GROUPS
BB Code Tag Name: SHOWTOGROUPS
Replacement: [SHOWTOGROUPS]{param}[/SHOWTOGROUPS]
Example: [SHOWTOGROUPS]hidden text here[/SHOWTOGROUPS]
Description: Hides text and images unspecified user groups
Use {option}:Yes
Button Image (Optional): link to your button

Save

do this 5 times for the 5 different buttons using the right tag names and descriptions for each button

why to create bbcodes..

just see this

https://vborg.vbsupport.ru/showpost....&postcount=242

3d3d3d 10-02-2011 06:28 PM

I have this installed on 4.1.6 and when I make a thread I can clearly see the hidden content in the metatags in the source code. I.e.

Make post with

The following should be hidden
[HIDE]Am I Hidden?[/HIDE]

Then post it. Using a different user with no permissions to view that without pressing thanks, I simply look at the source code, and clearly see.

<meta name="keywords" content="hidden, test, password" />
<meta name="description" content="The following should be hidden
Am I Hidden?" />

<title> Password test</title>

Any help to get this working would be hugely appreciated.

Maccrob 10-03-2011 11:58 PM

Quote:

Originally Posted by Psionic Vision (Post 2251002)
I will think about whether to release the extended edition here on vBulletin.org myself

It will be a great gift for VB community. We will be really thankful for such decision

blueperspective 10-04-2011 12:00 AM

Hi there.
I'm new to vBulletin.. I just know to build a forum.. and passed through all documentation in order to change different values in Cpanel, but I can't get this one work. I've uploaded those 2 folders under "upload" in my forum folder, then I've uploaded the product-psionic_hide.xml using the Products manager and it shows me it is installed. I also set the permissions for Administrator to Yes (Enable [HIDE-POSTS] Tag, Enable [SHOWTOGROUPS] Tag, Can Always See Hidden Content) and now when I write something between hide codes... it simply dissapears after I press Post message. Basically.. it doesn't post anything.
Anyone could help a beginner, please ?! :)

Maccrob 10-07-2011 11:04 AM

Quote:

Originally Posted by blueperspective (Post 2252934)
Anyone could help a beginner, please ?! :)

You should also modify some php files. More over, this mod doesn't work e.g. with vb 4.1.2

blueperspective 10-07-2011 01:44 PM

I have 4.1.6 right now. Saw they released 4.1.7.. will download and update. I have to find somewhere the procedure for update.. cause I'm completely new to vB.. I just switched from SMF.
Will try to modify those files, as it's written in 1st post.. at explanations.
Will come back here with some more questions if needed.
Thanks!

Tag Yazid 10-10-2011 09:40 PM

Was waiting for this to be released thanks a lot.

blueperspective 10-15-2011 04:37 PM

Hadn't time to test it lately...
Have anyone tested it on vB 4.1.X ?
Is it working ?

M.C. 11-01-2011 02:00 PM

hello!

Have question (may be was asked already?) - There is option "Show hidden always" but I want it to work ONLY with [hide] content BUT NOT wit [showtogroups] or [stu] content. I have usergroup which need to get access to [hide] but be not able to see content hidden to other usergroups or users.

Thanks!

J9382F2A102C 11-01-2011 03:58 PM

to make this plugin work in 4.1.x you need to add a custom bb code 'hide' to your vbulletin config through the admin cp

still need to figure out how to make the toolbar buttons appear, because that seems to have been broken while development of this mod stopped, and development of vbulletin continued aswell. but it definitely seems to work :)

Also note that we didn't have to hack 0 files for it to work on vB 4.1.7, just import the .xml, add the files from your upload folder, add a custom hide tag (or if you want everything, add all the tags) as a custom BB tag and off you go.

W!cKeD 11-02-2011 11:20 PM

When you qoute a Post with Hide its not hidden...any solutions?

annalise 11-02-2011 11:36 PM

Quote:

Originally Posted by J9382F2A102C (Post 2263483)
to make this plugin work in 4.1.x you need to add a custom bb code 'hide' to your vbulletin config through the admin cp

still need to figure out how to make the toolbar buttons appear, because that seems to have been broken while development of this mod stopped, and development of vbulletin continued aswell. but it definitely seems to work :)

Also note that we didn't have to hack 0 files for it to work on vB 4.1.7, just import the .xml, add the files from your upload folder, add a custom hide tag (or if you want everything, add all the tags) as a custom BB tag and off you go.

im using 4.1.7 working fine after i did this, this fixes adding the hide button on the toolbar post editor

Code:

https://vborg.vbsupport.ru/showpost.php?p=2229187&postcount=242

bigrover 11-04-2011 04:13 PM

Quote:

Originally Posted by W!cKeD (Post 2263928)
When you qoute a Post with Hide its not hidden...any solutions?

Yes, but the solution requires editing the mod. I think I posted my solution earlier in the thread. I will go back and review my adjustments to this mod that provide a truly hidden message capability. As distributed the mod is working as designed, which seems to be geared more towards quiz/testing with hints and such embedded. Nothing wrong with that at all, it just didn't fit my application.

More info: I went back and looked through my code to find where I addressed this. I also ran a few tests to confirm my memory. In my case I only have SHOWTOGROUPS enabled, and I have the HIDE tag mapped to SHOWTOGROUPS. The HIDE tag has no paramaters, which when mapped to SHOWTOGROUPS causes the strip_bbcode function to fail in replacing the text. to fix this I added a line of code containing the same regex found in the HIDE-POSTS tag. A note of explanation - the SHOWTOGROUPS tag will default to the groups configuration in the control panel unless specific parameters are entered.

In includes/vS_HHR_Engine.php find:
PHP Code:

$message preg_replace("/\[(" $this->tags['SHOWTOGROUPS'] . ")=(&quot;|\"|'|)([0-9,]+)\\2\](.*)\[\/\\1\]/siU"$replacement$message); 

Add above that line:
PHP Code:

$message preg_replace("/\[(" $this->tags['SHOWTOGROUPS'] . ")\](.*)\[\/\\1\]/siU"$replacement$message); 

This will allow the system to recognize and properly process the SHOWTOGROUPS tag without any additional parameters. If you are using another tag and the hidden text isn't being stripped, then you need to look in the strip_bbcode function to see what is expected to happen.

On the other hand, before you go to a lot of work chasing all this down, make sure you are testing the quoted reply from a usergroup that doesn't have permissions to see the hidden text in the first place! :D I'm only saying this because I've made that error myself...

bigrover 11-04-2011 04:16 PM

BTW, I do have this running on my test site with vB version 4.1.7 SP1 with my modifications. It appeared to work as intended without my mods. This was a clean install on vB 4.1.7, not an upgrade.

parks72 11-27-2011 09:12 PM

many thanks for this..................

JamuPegelLinux 12-05-2011 03:52 PM

how with 4.1.8 ?

doopz 12-14-2011 09:51 AM

Quote:

Originally Posted by bigrover (Post 2264437)
Yes, but the solution requires editing the mod. I think I posted my solution earlier in the thread. I will go back and review my adjustments to this mod that provide a truly hidden message capability. As distributed the mod is working as designed, which seems to be geared more towards quiz/testing with hints and such embedded. Nothing wrong with that at all, it just didn't fit my application.

More info: I went back and looked through my code to find where I addressed this. I also ran a few tests to confirm my memory. In my case I only have SHOWTOGROUPS enabled, and I have the HIDE tag mapped to SHOWTOGROUPS. The HIDE tag has no paramaters, which when mapped to SHOWTOGROUPS causes the strip_bbcode function to fail in replacing the text. to fix this I added a line of code containing the same regex found in the HIDE-POSTS tag. A note of explanation - the SHOWTOGROUPS tag will default to the groups configuration in the control panel unless specific parameters are entered.

In includes/vS_HHR_Engine.php find:
PHP Code:

$message preg_replace("/\[(" $this->tags['SHOWTOGROUPS'] . ")=(&quot;|\"|'|)([0-9,]+)\\2\](.*)\[\/\\1\]/siU"$replacement$message); 

Add above that line:
PHP Code:

$message preg_replace("/\[(" $this->tags['SHOWTOGROUPS'] . ")\](.*)\[\/\\1\]/siU"$replacement$message); 

This will allow the system to recognize and properly process the SHOWTOGROUPS tag without any additional parameters. If you are using another tag and the hidden text isn't being stripped, then you need to look in the strip_bbcode function to see what is expected to happen.

On the other hand, before you go to a lot of work chasing all this down, make sure you are testing the quoted reply from a usergroup that doesn't have permissions to see the hidden text in the first place! :D I'm only saying this because I've made that error myself...

Ok.. this fix doesn't seem to work.
The [hide] function itself dissapears.. any suggestions ?

Ichigo88 12-21-2011 06:35 PM

where is hide thanks? in this version 4.0.5 the hide reply dont work

Selene 01-24-2012 04:04 PM

works on 4.1.10? and is visionscript coder gone? can we still purchase the premium version.

Kraxell 01-24-2012 05:25 PM

Dont buy the prem-version! No support, no updates anymore.

j1gsaw 02-08-2012 07:39 AM

please how to make it work on vbulletin 4.1.10

Fabilous 02-18-2012 09:39 PM

it works!
but with the quick-reply (quote) bug :(

tareqbd 02-29-2012 03:37 PM

hi,
I already have a post thanks hack. Is there any possibility to make my old thanks hack be integrated with it. please let me know.
Thanks.

Chris Sotier 03-18-2012 08:21 AM

Any way to obtain the uncompressed java for 4.1.11?

whitey10tc 03-23-2012 03:58 AM

Does anyone have this working on 4.1.11, if so how?

BrightStar 03-26-2012 02:07 PM

Quote:

Originally Posted by whitey10tc (Post 2312375)
Does anyone have this working on 4.1.11, if so how?

Would like to know about this.

Thanks

Easy5s.net 05-22-2012 04:49 AM

not work for ckeditor, pls update :(

nacaruncr 05-22-2012 12:36 PM

check this thread:
https://vborg.vbsupport.ru/showthread.php?t=282328

or my signature ;)

Manoel J?nior 06-09-2012 04:47 PM

Quote:

Originally Posted by nacaruncr (Post 2331547)
check this thread:
https://vborg.vbsupport.ru/showthread.php?t=282328

or my signature ;)

Great!!!

tareqbd 07-18-2012 04:11 PM

It seems content doesn't hide in rss and not even meta description for vb4.2.0. any update please?

nacaruncr 07-18-2012 05:23 PM

check my signature ;)
regards ;)

need2fart 07-29-2012 01:56 PM

Quote:

Originally Posted by nacaruncr (Post 2349311)
check my signature ;)
regards ;)

Nice man. Do you think you could make one for VB 3.8.x ?

nacaruncr 07-30-2012 04:12 AM

it does not my hack man.. check in thread the coder ok ;)

deen1982 06-29-2013 04:34 PM

Is it compatible with vB 4.2.1?
If not, any other possibilities?

Milance 01-03-2014 02:28 PM

I have a problem when click to thank button does not appear immediately epitome until Refresh page ! Help

eazygreek 05-23-2014 04:47 PM

This does not work on vb 4.2.2?

Terrablade 06-24-2014 09:07 AM

no it doesnt work on 4.2


All times are GMT. The time now is 11:21 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.01629 seconds
  • Memory Usage 1,829KB
  • 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
  • (1)bbcode_code_printable
  • (4)bbcode_php_printable
  • (9)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
  • (37)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