PDA

View Full Version : New Posting Features - vFCoders - Hide Hack v4


Pages : [1] 2

Badshah93
05-01-2012, 10:00 PM
.::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.
[HIDE-THANKS] -> Content within can only be seen after the user says thank you by pressing Thanks Button. Requires: Abe1 [AJAX] Post Thank You Hack (https://vborg.vbsupport.ru/showthread.php?t=231666) / vBSeo Like System (http://vbseo.com/).
[HIDE-REPLY-THANKS] -> Content within this tag is not shown to user until he/she either reply or press "Thank You" button.
[SHOWTOGROUPS] -> Content within this tag is only shown to defined usergroups.
[STG] -> Content within this tag is only shown to defined users.
[HIDE] -> This tag can be mapped to any of the above BBCodes. (Default - [HIDE-REPLY])



Fully Compatible with Source and Wysiwyg Editor.
No Template or File Edits. (optional - one file edit if you have rss enabled)
Uses vBulletin easy Product installer/updater/uninstaller
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 (https://vborg.vbsupport.ru/showthread.php?t=231666) 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.

Installation Complete..



3. Settings


Global Settings: Admincp -> Settings -> Options -> vFCoders - Hide Hack
Usergroup Settings: Admincp -> Usergroups -> Usergroup Manager -> Edit Usergroup -> vFCoders - Hide Hack Permissions
Forum Settings: Admincp -> Forum Manager -> Edit Forum -> vFCoders - Hide Hack [Options]


4. DEMO

http://screencast-o-matic.com/watch/clhnrr5e9

5. Support

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 (https://vborg.vbsupport.ru/showthread.php?p=2325589&nojs=1#gtdonate) me also.

Badshah93
05-02-2012, 07:28 PM
v3 GOLD Released (for vB 4.1.10+=)

Changes:
1) Added STU Tag
2) Fix [SHOWTOGROUPS] Tag Bug
3) Optimize Codes
4) Hide/Unhide Box

ProFifaLeagues
05-02-2012, 08:16 PM
Nice Idea will test this as soon as i get home thanks mate

Badshah93
05-02-2012, 08:28 PM
Demo Added and Mod Updated to v 1.01.

nacaruncr
05-02-2012, 10:16 PM
It'll be a good idea add the vbseo's thanks in the hack... from someone say "Like me" this work as same way....
regards and tagged :D

Badshah93
05-03-2012, 10:05 AM
<i>Version 1.1 Added.</i>
Changes: Added vBSEO Like System Integration for THANKS Tag

Kraxell
05-03-2012, 10:56 AM
My hero of the year!

I've tagged it. I'll install it, when i update my vB.

Translations allowed?

Badshah93
05-03-2012, 11:00 AM
My hero of the year!

I've tagged it. I'll install it, when i update my vB.

Translations allowed?

it is allowed.

Gn_Snake
05-03-2012, 01:13 PM
Very Nice!!!!
I test it

Shazz
05-03-2012, 01:45 PM
Will take a look at it, great job

mitch84
05-03-2012, 01:48 PM
Hi, can you add a option for use this hack with thanks dbtech? thank you

nacaruncr
05-03-2012, 02:16 PM
Do you think it works fine with oldest versions?
Ex. 4.1.3, 4.1.4... because I have 4.1.3, and I gonna install it, if this works fine, I come back and tell you ok, and if not, could you fix it to oldest versions?

Regards and many thanks man :D

Badshah93
05-03-2012, 02:20 PM
Do you think it works fine with oldest versions?
Ex. 4.1.3, 4.1.4... because I have 4.1.3, and I gonna install it, if this works fine, I come back and tell you ok, and if not, could you fix it to oldest versions?

Regards and many thanks man :D

to make it compaitable with vBulletin 4.1.3, i have to add one plugin.
so, wait for an hour, will post 4.1.3 xml.

Alex@bulletin
05-03-2012, 02:35 PM
Hello there, nice mod, I will consider to translate it to german later.
One suggestion I'd like to make is that it would be great, if your mod additionally works with DB Tech Advanced Thanks / Likes. I don't know if this is possible, but I like to request that :)

nacaruncr
05-03-2012, 02:36 PM
ohhhh I gonna love you man XD really I gonna install it :D
thanks I'll wait for it :D

Edit:

5 STARS + MOTM

Asterix_ita
05-03-2012, 02:55 PM
On vbulletin suite, if I use the widget Recent Forum Post the bbcode don't work

https://vborg.vbsupport.ru/external/2012/05/53.png

Regards

Badshah93
05-03-2012, 03:49 PM
Version 1.2 Added

Changes - Now Mod Supports vB < 4.1.4

Nirjonadda
05-03-2012, 04:07 PM
You can add hidden content message with image?

https://vborg.vbsupport.ru/attachment.php?attachmentid=117953&d=1275549867

Badshah93
05-03-2012, 04:19 PM
On vbulletin suite, if I use the widget Recent Forum Post the bbcode don't work

https://vborg.vbsupport.ru/external/2012/05/53.png

Regards

CMS Widget (Recent Forum Posts) doesn't have any plugin hook, so manual edit is required to strip hide bbcodes from recent forum posts widget.

Open file -> packages/vbcms/widget/recentposts.php
Find:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

$post['previewtext'] = fetch_censored_text($parser->get_preview($post['pagetext'], $this->default_previewlen, $allow_html));
$post['pagetext'] = fetch_censored_text($parser->do_parse($post['pagetext'], $allow_html));

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Add Below:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

if (vB::$vbulletin->options[hide_hack_sett_main])
{
global $vfc_hide;
$post['previewtext'] = $vfc_hide->strip_hide_bbcodes($post['previewtext'], 'email');
$post['pagetext'] = $vfc_hide->strip_hide_bbcodes($post['pagetext'], 'email');
}

Badshah93
05-03-2012, 04:30 PM
You can add hidden content message with image?

https://vborg.vbsupport.ru/attachment.php?attachmentid=117953&d=1275549867

This Mod uses Template for [HIDE-REPLY], [HIDE-THANKS] AND [HIDE-REPLY-THANKS]. (if [HIDE] tag is mapped to any of these three tag, then [hide] tag also uses template.)

So to add image

StyleManager -> Edit templates

for [HIDE-REPLY] Tag open vfc_hide_hack_bbcode_reply Template

Replace:
{vb:rawphrase vfc_hidden_content_reply_ntml}

With:
IMG HTML CODE

nacaruncr
05-03-2012, 04:36 PM
ohh it's working so fine :D
thank you very much man :D your my hero :D
I gonna put this thread in my signature :D

Regards :D

Edit:
Done :D the thread is in my signature :D

Edit:
For the icos in the Quick Editor, I have to put the code from the install.txt file, right? or not?

Alex@bulletin
05-03-2012, 05:07 PM
Hello there,

my translation of your mod to German is done. But it seems you've forgotten to phrase some parts, as I'm not a coder, I can't fix that by myself :( I'd like to show you where I wasn't able to translate. (green marked on the screenshots) It would be great if you could phrase them, so I can provide my translation as fast as possible :)

Screenshot 1:

https://vborg.vbsupport.ru/attachment.php?attachmentid=138187&stc=1&d=1336068312


Screenshot 2:

https://vborg.vbsupport.ru/attachment.php?attachmentid=138188&stc=1&d=1336068312

Alex@bulletin
05-03-2012, 05:28 PM
German translation (http://www.vbulletin-germany.org/showthread.php?9558-vFCoders-Hide-Hack-goes-vFCoders-Inhalte-verstecken&p=79974#post79974) (beta) available now!!! :)

Badshah93
05-03-2012, 06:19 PM
Hello there,

my translation of your mod to German is done. But it seems you've forgotten to phrase some parts, as I'm not a coder, I can't fix that by myself :( I'd like to show you where I wasn't able to translate. (green marked on the screenshots) It would be great if you could phrase them, so I can provide my translation as fast as possible :)


new zip file i have uploaded with those two missing phrases.

Alex@bulletin
05-03-2012, 06:35 PM
new zip file i have uploaded with those two missing phrases.

thx. I will update my translation now.

EDIT:
Aww, I don't want to annoy you now but while updating my translation I noticed that still one phrase is missing :( (green marked of course :D)

Screenshot:

https://vborg.vbsupport.ru/attachment.php?attachmentid=138194&stc=1&d=1336074350

I'll wait for next release and then provide my updated translation. Please don't forget to add the missing phrase for your next version :cool:

nacaruncr
05-03-2012, 07:22 PM
Thanks man, I gonna download and try to translate to spanish :D
Regards :D

Edit:
In 4.1.3 don't show the option to select usergroups :S
There is a fix for this?

Regards :D

Badshah93
05-03-2012, 07:37 PM
Thanks man, I gonna download and try to translate to spanish :D
Regards :D

Edit:
In 4.1.3 don't show the option to select usergroups :S
There is a fix for this?

Regards :D

i will see if that can be done in vb 4.1.3 or not.

Nirjonadda
05-03-2012, 07:43 PM
Installed and Nominate !

nacaruncr
05-03-2012, 08:28 PM
i will see if that can be done in vb 4.1.3 or not.

ok man :D thank you very much :D
regards :D

nacaruncr
05-03-2012, 09:33 PM
Here is the Spanish translation (BETA) :D
thanks Alex@bulletin (https://vborg.vbsupport.ru/member.php?u=349089) for the tip

EDIT:
V2 add, the missed phrases are now in this translation :)
Regards :)

Gemma
05-04-2012, 06:35 AM
Very nice. Thank you for releasing :)

Badshah93
05-04-2012, 08:14 AM
Version 1.3 Added
Changes: Fixed PM Bug

W!cKeD
05-04-2012, 01:10 PM
Version 1.3 Added
Changes: Fixed PM Bug

Thanks for Release

It is compatible with vBulletin 4.1.12?

Badshah93
05-04-2012, 01:20 PM
Thanks for Release

It is compatible with vBulletin 4.1.12?

vB 4.x.x

nacaruncr
05-04-2012, 01:23 PM
The initial release was for 4.1.11 I remember....
regards ;)

Nirjonadda
05-04-2012, 05:18 PM
Can you provide an option so that thread opener & Admins can intimated whether the post used HIDE TAG on not?

L2Insomnia
05-04-2012, 07:12 PM
Looks great marked. Thanks!

Badshah93
05-04-2012, 07:20 PM
Can you provide an option so that thread opener & Admins can intimated whether the post used HIDE TAG on not?

i didn't get you completely.. do you want a small icon near threadtitle in forumdisplay (threadlist) to state whether the thread used HIDE tag or not.

Nirjonadda
05-05-2012, 07:54 AM
Not something like that. Actually admins/staffs are not bound on hide codes. They can view every post as it is not hidden.
If there was an indication in each post whether it uses hide tag or not. They can check it going to EDIT mode, but there is no way to learn whether the particular post is hidden or not for the general members.

Badshah93
05-06-2012, 08:11 AM
Not something like that. Actually admins/staffs are not bound on hide codes. They can view every post as it is not hidden.
If there was an indication in each post whether it uses hide tag or not. They can check it going to EDIT mode, but there is no way to learn whether the particular post is hidden or not for the general members.

ok, in next release (Gold) will add indication. (maybe a unhide image)
btw, in current version you can add indication for [HR], [HT], [HRT], [H] tags by editing their respective templates.

[HR] - vfc_hide_hack_bbcode_reply
[HT] - vfc_hide_hack_bbcode_thanks
[HRT] - vfc_hide_hack_bbcode_replythanks

Open anyof these templates, and

find:

{vb:raw message}

Replace with

Unhidden Content:
<div>{vb:raw message}</div>




Version 2.0 (RC) Added
Changes: Optimized Codes and fixed a minor bug.

SuperDude
05-06-2012, 08:53 AM
thanks!

nacaruncr
05-07-2012, 01:22 AM
Did you add more phrases in this version (2.0)??
To translate this new version :D
Regards :D

Badshah93
05-07-2012, 03:44 AM
Did you add more phrases in this version (2.0)??
To translate this new version :D
Regards :D

didn't added any new phrase, just changed a plugin and one php file.

nacaruncr
05-07-2012, 03:56 AM
ok :) thanks for the new version :)
regards man ;)

kauka
05-09-2012, 06:50 AM
This is an awesome mod and great job on creating it. Thank YOU!!!!!!!!!!!!!

Syxguns
05-09-2012, 07:57 AM
@Badshah93
I just installed this and for some reason the images do not show in the quick reply or the advanced reply screen. I just have 4 blank boxes. I took a look at the code and the seem to be being called from the image/buttons directory and not the images/editor, which is fine.

I tried changing the images from gif to png, but no success with that. I'm running 4.1.12 PL1, and maybe that is the reason. Are you going to update for the latest version or is there another solution to this problem?

Many thanks, I like the Mod, but I need it to work for me to use it. Temporarily I'm going to disable it.

Badshah93
05-09-2012, 08:27 AM
@Badshah93
I just installed this and for some reason the images do not show in the quick reply or the advanced reply screen. I just have 4 blank boxes. I took a look at the code and the seem to be being called from the image/buttons directory and not the images/editor, which is fine.

I tried changing the images from gif to png, but no success with that. I'm running 4.1.12 PL1, and maybe that is the reason. Are you going to update for the latest version or is there another solution to this problem?

Many thanks, I like the Mod, but I need it to work for me to use it. Temporarily I'm going to disable it.

i developed this mod in vb 4.1.12 only. are you using custom skin ?
if yes, then upload those hide images in ur skin -> buttons directory.

Syxguns
05-09-2012, 08:52 AM
Hmm... My skin is a skin that I made, it's a custom skin only in the fact that I made it with vBulletin. I tried dropping the images in the cpstyles/vBulletin_3_Silver directry but I do not have a buttons directory there. Everything should be off vB. I'm not sure why I don't see the buttons. This message will be eidited, but you can use user name: test password: test1234 as a standard user at: http:www.place4musicians.com to see for yourself. I'm going to attach a pic to show you.

Badshah93
05-09-2012, 09:23 AM
Hmm... My skin is a skin that I made, it's a custom skin only in the fact that I made it with vBulletin. I tried dropping the images in the cpstyles/vBulletin_3_Silver directry but I do not have a buttons directory there. Everything should be off vB. I'm not sure why I don't see the buttons. This message will be eidited, but you can use user name: test password: test1234 as a standard user at: http:www.place4musicians.com to see for yourself. I'm going to attach a pic to show you.

do one thing go to style manager
select your custom skin and click on all style options

then under Image Paths,

find the Button Images Folder and upload those hide images in that folder.

Dave84311
05-09-2012, 02:00 PM
How about applying these properties directly to the attachment?

I.E. ATTACHMENT-REPLY, ATTACHMENT-THANKS

It would be super useful for forum.

Syxguns
05-09-2012, 05:22 PM
do one thing go to style manager
select your custom skin and click on all style options

then under Image Paths,

find the Button Images Folder and upload those hide images in that folder.

The button images folder is pointed to the correct directory, so it should work. I don't know why but maybe there is another mod that is messing with it. I will try to disable them one at a time. I'm guessing that others are not having the same issue?

Alex@bulletin
05-09-2012, 05:37 PM
Don't forget to phrase :p:p:p

Screenshot:

https://vborg.vbsupport.ru/attachment.php?attachmentid=138330&stc=1&d=1336588585

Badshah93
05-10-2012, 03:38 AM
The button images folder is pointed to the correct directory, so it should work. I don't know why but maybe there is another mod that is messing with it. I will try to disable them one at a time. I'm guessing that others are not having the same issue?

i don't think anybody is having this issue. if you want you can pm me admin details will try to fix it.

Syxguns
05-10-2012, 07:48 AM
i don't think anybody is having this issue. if you want you can pm me admin details will, will try to fix it.

Done! Please inform me of anything that you notice. Thank you!

Syxguns
05-11-2012, 07:23 AM
For some reason no matter what I try I can't get the images to show on this mod.:confused:

I've temporarily disabled it, but it would be great if I could remove the buttons from the text editor, and still be able to use the codes. I primarily want it for mods and admin.

I'm happy for all those that have it working!!:)

mitch84
05-11-2012, 11:09 AM
hi, a date for version gold? thank you

Badshah93
05-11-2012, 11:27 AM
hi, a date for version gold? thank you

will be releasing soon.. (i am little busy with my upcoming review mod)
gold version includes STU tag. (and 1phrase + 1minor bug fix)

mitch84
05-11-2012, 02:13 PM
this two request are possible?(excuse my english) thank you
Hi, can you add a option for use this hack with thanks dbtech? thank you

You can add hidden content message with image?

https://vborg.vbsupport.ru/attachment.php?attachmentid=117953&d=1275549867

Badshah93
05-11-2012, 02:44 PM
this two request are possible?(excuse my english) thank you

2nd one i will do it in gold version.

first one is also possible but i have no intention to do it as this mod already have post thank you hack and vbseo like system integrated.

mitch84
05-11-2012, 04:27 PM
ok, thank you

Syxguns
05-12-2012, 07:13 AM
2nd one i will do it in gold version.

first one is also possible but i have no intention to do it as this mod already have post thank you hack and vbseo like system integrated.

You do not have to do it, but I as well as many other vB users know that DBTech (Dragonbyte) creates, updates and integrates so many mods that they are well known in the community of vBulletin.

For example Pro Version:

Infinite Buttons: Ability to create new buttons to press! No longer do you need to be limited by Thanks / Like / Dislike.

Auto Collapse Posts: Collapses a post so it doesnt show up by using a formulae for button clicks of your choosing.

User Postbit Config: Lets users decide what postbit stats they want to see.

Additional permissions: Un-click a button. Control how many stats show on the statistics page, set permissions per subforum.

Integrated Controls: You can now integrate the button clicking controls into the post footer, like many of you requested.

Buttons in First Post Only: This allows you to only make the first post thankable. If you forum is based around news, releases or anything similar this will allow your users to easily see the quality of the thread in question.

Button Click Anonymity: This feature will be extremely helpful to forums who like the idea of a "dislike" button, but don't like the drama it brings. Now you can set certain buttons to be anonymous - no one will see who clicked.

Post Colour Thresholds: Ever wanted an easy way for members to tell if a post is helpful or trash? Colour thresholds let you change the colour of posts depending on how many clicks of a button they receive. Members can now see at a glance whether or not a post is helpful, interesting or pointless.

And that does not even mention the integration of this system with vBActivity! DBTech is very highly used and recommended, whether it is the free version or the pro version. Abe 1 is a nice hack, but not as nice as DBTech. I removed DBTech to install Abe 1 for this Mod.:eek:

Syxguns
05-13-2012, 05:52 AM
I noticed something in firebug, when trying to figure out what the error was. If you notice I placed a blank line right before the URL string. Notice the string does not give a direct location! Well, it does, but does so twice, and I'm trying to find out in the template editor where that line of code is so I can correct it. Do you know where this line is located?


<a id="cke_61" class="cke_off cke_button_Hide" onclick="CKEDITOR.tools.callFunction(134, this); return false;" onfocus="return CKEDITOR.tools.callFunction(133, event);" onkeydown="return CKEDITOR.tools.callFunction(132, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_61_label" role="button" hidefocus="true" tabindex="-1" title="Wrap [HIDE] tags around selected text">

<span class="cke_icon" style="background-image:url(http://Place4Musicians.com/music/http://Place4Musicians.com/music/images/buttons/hide.gif?t=B8DJ5M3);background-position:0 0px;">&nbsp;</span>
<span id="cke_61_label" class="cke_label">Wrap [HIDE] tags around selected text</span>
</a>
</span>

Badshah93
05-13-2012, 07:55 AM
I noticed something in firebug, when trying to figure out what the error was. If you notice I placed a blank line right before the URL string. Notice the string does not give a direct location! Well, it does, but does so twice, and I'm trying to find out in the template editor where that line of code is so I can correct it. Do you know where this line is located?


<a id="cke_61" class="cke_off cke_button_Hide" onclick="CKEDITOR.tools.callFunction(134, this); return false;" onfocus="return CKEDITOR.tools.callFunction(133, event);" onkeydown="return CKEDITOR.tools.callFunction(132, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_61_label" role="button" hidefocus="true" tabindex="-1" title="Wrap [HIDE] tags around selected text">

<span class="cke_icon" style="background-image:url(http://Place4Musicians.com/music/http://Place4Musicians.com/music/images/buttons/hide.gif?t=B8DJ5M3);background-position:0 0px;">&nbsp;</span>
<span id="cke_61_label" class="cke_label">Wrap [HIDE] tags around selected text</span>
</a>
</span>

try this attach file, i have made the changes for you specially. (it will pull images from images/button)

unzip and upload plugin.js file in clientscript/ckeplugins/hidetags

Syxguns
05-13-2012, 08:28 AM
Almost worked perfectly! Had to use firebug to see where images were. First showed images located in:
...musicians.com/music/clientscript/ckeditor/images/buttons/hide.gif

So I dropped the buttons/images from the mod in that location. Now only one image is not showing and it gives me the same kind of URL.

Showtogroups.gif
...Musicians.com/music/http://...Musicians.com/music/images/buttons/images/buttons/showtogroups.gif

Currently this is the only button that has the loop with URL after URL. Thanks for the quick fix on the java script file. Almost there! :)

Badshah93
05-13-2012, 08:35 AM
Almost worked perfectly! Had to use firebug to see where images were. First showed images located in:
...musicians.com/music/clientscript/ckeditor/images/buttons/hide.gif

So I dropped the buttons/images from the mod in that location. Now only one image is not showing and it gives me the same kind of URL.

Showtogroups.gif
...Musicians.com/music/http://...Musicians.com/music/images/buttons/images/buttons/showtogroups.gif

Currently this is the only button that has the loop with URL after URL. Thanks for the quick fix on the java script file. Almost there! :)

ya, i missed showtogroups tag..
try ths attach file.

Syxguns
05-13-2012, 05:32 PM
I'm still receiving the double url on showtogroups button. I placed the new file in twice to double check.

Badshah93
05-13-2012, 05:58 PM
I'm still receiving the double url on showtogroups button. I placed the new file in twice to double check.

i have corrected the directory in last one.
delete old file first and then upload new one.

Hippy
05-13-2012, 07:02 PM
CMS Widget (Recent Forum Posts) doesn't have any plugin hook, so manual edit is required to strip hide bbcodes from recent forum posts widget.

Open file -> packages/vbcms/widget/recentposts.php
Find:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

$post['previewtext'] = fetch_censored_text($parser->get_preview($post['pagetext'], $this->default_previewlen, $allow_html));
$post['pagetext'] = fetch_censored_text($parser->do_parse($post['pagetext'], $allow_html));

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Add Below:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

if (vB::$vbulletin->options[hide_hack_sett_main])
{
global $vfc_hide;
$post['previewtext'] = $vfc_hide->strip_hide_bbcodes($post['previewtext'], 'email');
$post['pagetext'] = $vfc_hide->strip_hide_bbcodes($post['pagetext'], 'email');
}

thanks , this seems very promising .. anything to do with abe1's mod
thanks for the release..
and the above works with suite
but in forum only the widgets on the right also need to be edited .. different file..

thanks

Badshah93
05-13-2012, 07:44 PM
thanks , this seems very promising .. anything to do with abe1's mod
thanks for the release..
and the above works with suite
but in forum only the widgets on the right also need to be edited .. different file..

thanks

sideblock also doesnt use plugins, so manual edit is required to strip hide tags.

To Strip HIDE TAG's from sideblock


Open -> includes/block/newpost.php file

Find:
$post['message'] = $this->get_summary($post['message'], $this->config['newposts_messagemaxchars']);


Add Above:
global $vfc_hide;
$post['message'] = $vfc_hide->strip_hide_bbcodes($post['message'], 'email');

Hippy
05-13-2012, 07:47 PM
thanks Badshah

Hippy
05-13-2012, 08:17 PM
Badshah93 (https://vborg.vbsupport.ru/member.php?u=386945)


Been playing around with this ..
and I got to say for a Beta .. it's works very well..

I never looked into hide mods..
but I like it a lot

https://vborg.vbsupport.ru/images/cstyle/rating_5.gif

nominated

> insert 2 thumbs up

Syxguns
05-14-2012, 12:03 AM
i have corrected the directory in last one.
delete old file first and then upload new one.

Ah, I took a look at the code, and the last line for the showtogroups tag was wrong. I made the correction to it, and now all my images show! Many thanks! Now I can start playing with it!! I've attached the updated plugins file just in case someone else has the same problem I was having!

Hippy
05-14-2012, 01:13 AM
there are 3 templates that are not being cached when you click on Go Advanced

vfc_hide_hack_bbcode_reply

vfc_hide_hack_bbcode_replythanks

vfc_hide_hack_bbcode_thanks

Badshah93
05-14-2012, 02:54 AM
there are 3 templates that are not being cached when you click on Go Advanced


vfc_hide_hack_bbcode_reply

vfc_hide_hack_bbcode_replythanks

vfc_hide_hack_bbcode_thanks

ya, forgot to add "newreply" in this_script array.
will do it in gold release.

gold release will be released within 2 days of time.

Nirjonadda
05-14-2012, 08:28 AM
"Option based on Post Count" Permissions Based on Post Count...Post count user must have before can shown all HIDE TAG without reply/thanks, You can add This Options in gold or lite version ?

Hippy
05-14-2012, 09:56 AM
"Option based on Post Count" Permissions Based on Post Count...Post count user must have before can shown all HIDE TAG without reply/thanks, You can add This Options in gold or lite version ?

If I understand you correctly this option is there already

Hippy
05-14-2012, 10:11 AM
@ Badshah93 is it me or if this hide is used in a post other than the first one

Example.. 5 posts down and you have a thanks hide code ,and you poke thanks it brings you all the way to the top of the page .. testing this mod I found it to be annoying.. was easy to loss you spot if there was 4 or so posts under and above...

Nirjonadda
05-14-2012, 10:27 AM
If I understand you correctly this option is there already

This option for only [HIDE-POSTS] (Default number of posts user must have to see HIDE-POSTS tag content ) not for all HIDE TAG ?
Try to add This Options Permissions Based on Post Count...Post count user must have before can shown all HIDE TAG "[HIDE-REPLY] [HIDE-POSTS] [HIDE-THANKS] [HIDE-REPLY-THANKS] [SHOWTOGROUPS] [HIDE]" without reply/thanks

Hippy
05-14-2012, 11:17 AM
There are group permissions and forum permissions
should have to test .when I get home. But I think I did test this. But you could be correct

Badshah93
05-14-2012, 12:36 PM
@ Badshah93 is it me or if this hide is used in a post other than the first one

Example.. 5 posts down and you have a thanks hide code ,and you poke thanks it brings you all the way to the top of the page .. testing this mod I found it to be annoying.. was easy to loss you spot if there was 4 or so posts under and above...

i didn't got single time this problem while developing this mod. have you modified post_thank_you button code ?
and in which browser did you got this problem ?

Hippy
05-14-2012, 01:34 PM
No..just moved the hook . Well made a new one and put it where I wanted but this is a test site so you could be right now that you mentioned it I think it had a issue with the Ajax with out this mod ill check it out when I get home. Thanks.. oh ie9 and ff are the browsers I tested it with

Hippy
05-14-2012, 10:13 PM
Badshah93.. It was the groan mod even tho it was disabled ..
I was just board long ago playing with it ..
It was disabled but something was messing up the Ajax..
I un-installed it and all works as it should :up:

eagerly awaiting the gold version..

thanks for your hard work /support and the release
:up: :up:

blueperspective
05-15-2012, 04:28 AM
Wow... very nice one. I'll definitelly use the Gold version.
(Being stupid) I've bought DavidsMod Hide hack a few months ago and he's promissing updates since then, but nothing. Basically I've paid 45$ for a mod that doesn't work.
I just realized that real coders offer their work for free, here on vB forum. There are a lot of great coders that do this service just for the love of utility, progression and helping others. (BirdOPrey5 is one of them for example)
I appreciate you for that, BadShah93.
Thanks a lot for everything and keep up the good work!

chiggy
05-15-2012, 05:41 PM
wromm working very good on my vbulletin 4.1.4 with ajax post thanx hack 7.83 Bro Badsha Good Work U Have Done. Working Perfectly.
Bro Badshah Can You Make This Like **Hidden Content: Reply or Thanks to see the content** Then The Hide Images Or Something Decoretive Then This Very Simple Line Do Something Bro For This Then Your Work Realy Grow Everyone Install This Hack Bcoz Its Working Very Well Without Any Problem Or Errors. So Plz Some Thing About Look Also.
Thanx In Advanced.

Badshah93
05-15-2012, 07:11 PM
wromm working very good on my vbulletin 4.1.4 with ajax post thanx hack 7.83 Bro Badsha Good Work U Have Done. Working Perfectly.
Bro Badshah Can You Make This Like **Hidden Content: Reply or Thanks to see the content** Then The Hide Images Or Something Decoretive Then This Very Simple Line Do Something Bro For This Then Your Work Realy Grow Everyone Install This Hack Bcoz Its Working Very Well Without Any Problem Or Errors. So Plz Some Thing About Look Also.
Thanx In Advanced.

hide images added in gold version.. (attached unhidden image)
will release it tomorrow morning.

Hippy
05-15-2012, 11:40 PM
I tested a could things
I have
Can Always See Hidden Content If enabled, then user of this group will be allowed to bypass Hide Tags
I set it to no for mods and super mods
and only mods cant view, super mods can see all

and if I set the number of post you need to have to view content, set to 400
I can't view the content with even 600+ post count as a mod
or regular member.. supermod is not set to bypass anything
same settings as mod they see all I even set admins not to be able to bypass and they can see all
I cleared the cache and saved tables to see if that would help..
no go..

Hippy
05-16-2012, 12:36 AM
ok tested more
"the showgroup with post count of "
works ... But only in the first post..

If that was intended this way, shouldn't button disappear after the first post?..
if it wasn't then bug

Badshah93
05-16-2012, 03:38 AM
I tested a could things
I have
Can Always See Hidden Content If enabled, then user of this group will be allowed to bypass Hide Tags
I set it to no for mods and super mods
and only mods cant view, super mods can see all

and if I set the number of post you need to have to view content, set to 400
I can't view the content with even 600+ post count as a mod
or regular member.. supermod is not set to bypass anything
same settings as mod they see all I even set admins not to be able to bypass and they can see all
I cleared the cache and saved tables to see if that would help..
no go..

admin and super mods can see all because they have permission to edit that posts which contain hide tags.

only 3 type of users can bypass hide tags

1) thread or post owner
2) Moderator of that section (or admin or super mod)
3) usergroup set in usergroup manager

Badshah93
05-16-2012, 03:47 AM
ok tested more
"the showgroup with post count of "
works ... But only in the first post..

If that was intended this way, shouldn't button disappear after the first post?..
if it wasn't then bug

i didn't get you..

in showgroup tag, (usergroupid is entered not post count)

Hippy
05-16-2012, 10:03 AM
The popup window asks to put the amount of posts no ?when you click on the usergroup. Ill look at it when I get home thanks

Hippy
05-16-2012, 10:55 AM
Hide post and usergroup have the same popup ..is it just me . Well if I put a post count number in usergroup in the first post it will show if the user has more than was added to that tag,if not. They have less then what was added to the group tag it will not show .weird.. but if i do the same thing in The second post it hides... only noticed this because the popup said to add post count instead of usergroup ld

Badshah93
05-16-2012, 12:53 PM
Hide post and usergroup have the same popup ..is it just me . Well if I put a post count number in usergroup in the first post it will show if the user has more than was added to that tag,if not. They have less then what was added to the group tag it will not show .weird.. but if i do the same thing in The second post it hides... only noticed this because the popup said to add post count instead of usergroup ld

which vb version r u using ?

in vb > 4.1.3

when somebody click "S" button then this popup comes

https://vborg.vbsupport.ru/attachment.php?attachmentid=138170&d=1335990224

Hippy
05-16-2012, 01:27 PM
Vb4.1.12pl1 yes clicking the S pops up the popup for HP about adding post amount to enter not the one in you screen shot

Badshah93
05-16-2012, 02:05 PM
Vb4.1.12pl1 yes clicking the S pops up the popup for HP about adding post amount to enter not the one in you screen shot

in vb < 4.1.4, popup ask for entering option not post amount .

Hippy
05-16-2012, 03:10 PM
I'm on.my cell... all I can tell you is that when I get home I'll show ya... the post above I ment that it pops up but no options for user groups like your screenshot .. . Ill past back when i get home from work and I'm on my rig

Badshah93
05-16-2012, 03:57 PM
I'm on.my cell... all I can tell you is that when I get home I'll show ya... the post above I ment that it pops up but no options for user groups like your screenshot .. . Ill past back when i get home from work and I'm on my rig

you didn't get me. Popup which i shown is only possible in ckeditor (vb >= 4.1.4) as i specially made this mod vb >= 4.1.4.

Hippy
05-16-2012, 04:49 PM
Ok so this mod will only have that pop up if I run Vb4.1.4 ? What pop up should be with the latest vb?
http://vfcoders.com/ is Vb4.1.12. Do you have it running there...if so what pop up should the newest vb have... sorry for all the confusing posts ...

Badshah93
05-16-2012, 05:34 PM
Ok so this mod will only have that pop up if I run Vb4.1.4 ? What pop up should be with the latest vb?
http://vfcoders.com/ is Vb4.1.12. Do you have it running there...if so what pop up should the newest vb have... sorry for all the confusing posts ...

Select usergroup popup will be shown on vb forum which has ckeditor.
ckeditor was implemented on vbulletin >= 4.1.4 or you can say 4.1.04

rafiul
05-16-2012, 08:30 PM
Uninstalled as not working on my forum (4.11 pl 2), Button image is not showing on ckeditor, Hack is not working on any hide tag. I have give all permission to user. And check all other option but nothing helped. Is this version is issue?

Hippy
05-16-2012, 09:32 PM
dunno I added this thinking it was a fix
https://vborg.vbsupport.ru/showpost.php?p=2329143&postcount=72
and this was the issue ..
this is how it looked before..
https://vborg.vbsupport.ru/attachment.php?attachmentid=138471&stc=1&d=1337207477
and this is how it looks when I changed the plugin.js back to the orginial one
https://vborg.vbsupport.ru/attachment.php?attachmentid=138472&stc=1&d=1337207477

Badshah93
05-17-2012, 03:57 AM
dunno I added this thinking it was a fix
https://vborg.vbsupport.ru/showpost.php?p=2329143&postcount=72
and this was the issue ..
this is how it looked before..
https://vborg.vbsupport.ru/attachment.php?attachmentid=138471&stc=1&d=1337207477
and this is how it looks when I changed the plugin.js back to the orginial one
https://vborg.vbsupport.ru/attachment.php?attachmentid=138472&stc=1&d=1337207477

last time file maybe not uploaded properly, thats why you were not getting select popup.

kauka
05-17-2012, 05:12 PM
I thought this mod was going gold. Good work though.

nacaruncr
05-17-2012, 08:17 PM
I have a bug :S
When someone want to read a PM, they can't read them.... but when I disable the hack, the users can read them :S
How I can fix it man :S
Thanks and regads :)

Edit:
The only usergroups can read them are:
Adms and global mods

This is the message:
https://vborg.vbsupport.ru/attachment.php?attachmentid=138493&stc=1&d=1337290492

Edit again:

This is the hide error:

Database error in vBulletin 4.1.3:

Invalid SQL:

SELECT postid

FROM my-web_post

WHERE

userid = 3

AND threadid =

AND visible = 1 AND userid &gt; 0 LIMIT 1;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND visible = 1 AND userid &gt; 0 LIMIT 1' at line 6
Error Number : 1064
Request Date : Thursday, May 17th 2012 @ 04:36:07 PM
Error Date : Thursday, May 17th 2012 @ 04:36:07 PM
Script : http://www.my-web.com/private.php?do=showpm&amp;pmid=11800
Referrer : http://www.my-web.com/private.php
IP Address : 000.000.000.000
Username : prueba
Classname : vB_Database
MySQL Version :

Hippy
05-17-2012, 08:46 PM
I just tested this and no errors under any user group
But
If you have "quote PM" any user that uses this to quote a post to another user they can see all the hidden content in the pm
with out thanking or replying to the thread / post
any user group

nacaruncr
05-17-2012, 08:57 PM
I just tested this and no errors under any user group
But
If you have "quote PM" any user that uses this to quote a post to another user they can see all the hidden content in the pm
with out thanking or replying to the thread / post
any user group

Where is it??
or how I can do it... because in the hack it does not appear this option :S
I don't understand very well :S excuse me my english.. but I don't know how I can do that :S
Could you explain me please :$ ?

Hippy
05-17-2012, 09:25 PM
Quote pm is an other mod. not part of this One.. o did the pm test. To see if i got that error. Its s test sites so I logged in as a user and used the quote post in pm to a user that did not thank or post to a test thread and the pm was readable but since I used this to send the pm. It had the hide code in it and was readable by the user

nacaruncr
05-17-2012, 09:48 PM
I don't find this mod :S
I was searching but I didin't find it XD
Could you give me the link, please? :$:(

Hippy
05-17-2012, 09:59 PM
Pm boofo...

nacaruncr
05-18-2012, 03:14 AM
I installed the Quote Post in PM and continue happening the same problem U_U ohh... I love this hack.. but any user can read PMs .... I gonna disable it U_U uhhmmm... U_U

thanks...

Edit:
After disable... the users can read the PMs... I tried with a test user U_U
I gonna wait if the next version it works fine....

thanks and regards U_U

nacaruncr
05-18-2012, 04:06 AM
WAAAAAAOO..

I installed the lastest version and now it's working fine :D
XD the important to upgrade the hack XD
thanks :D

Badshah93
05-18-2012, 05:08 AM
I have a bug :S
When someone want to read a PM, they can't read them.... but when I disable the hack, the users can read them :S
How I can fix it man :S
Thanks and regads :)

Edit:
The only usergroups can read them are:
Adms and global mods


i fixed this bug in 2.0 version

Badshah93
05-18-2012, 05:28 AM
Quote pm is an other mod. not part of this One.. o did the pm test. To see if i got that error. Its s test sites so I logged in as a user and used the quote post in pm to a user that did not thank or post to a test thread and the pm was readable but since I used this to send the pm. It had the hide code in it and was readable by the user

To make it work with quote PM MOD, you will need to do edit one plugin of quote PM

Plugin Name: Quote Post in PM (2)

------------------------------
Find:
if ($vbulletin->options['qpipm_trim_text']){$pagetext = vbchop($pagetext, $vbulletin->options['qpipm_trim_text']);}


Add Above:
global $vfc_hide;
if ($vbulletin->options[hide_hack_sett_main]) {
$params = array('message' => $pagetext, 'forumid' => $foruminfo['forumid'], 'threadid' => $posttext[threadid], 'postid' => $postinfo[postid], 'userid' => $postinfo[userid]);

$pagetext = $vfc_hide->fetch_msg_to_hide($params);

}

nacaruncr
05-18-2012, 06:07 AM
i fixed this bug in 2.0 version

ohhh ohh... thanks man :D
It's awesomeeeeeeee :D

Regards :)

Hippy
05-18-2012, 10:00 AM
To make it work with quote PM MOD, you will need to do edit one plugin of quote PM

Plugin Name: Quote Post in PM (2)

------------------------------
Find:
if ($vbulletin->options['qpipm_trim_text']){$pagetext = vbchop($pagetext, $vbulletin->options['qpipm_trim_text']);}


Add Above:
global $vfc_hide;
if ($vbulletin->options[hide_hack_sett_main]) {
$params = array('message' => $pagetext, 'forumid' => $foruminfo['forumid'], 'threadid' => $posttext[threadid], 'postid' => $postinfo[postid], 'userid' => $postinfo[userid]);

$pagetext = $vfc_hide->fetch_msg_to_hide($params);

} thanks 2 thumbs up

Hippy
05-18-2012, 11:47 PM
Badshah93
I added your fix for the quote pm
and it seems to just remove the [hide] tag if you thanked
so who ever the quoted post is sent to now can view the content.


example

with the code above

In Reply to your post [ post=12 ]test hide[ /post ]
[ QUOTE=Hippy;12 ] test thank to view content [ /QUOTE ]

if you didn't thank then it will view as

example
and this will be seen
In Reply to your post [ post=12 ]test hide[ /post ]
[ QUOTE=Hippy;12 ]***Hidden content cannot be quoted.***[ /QUOTE ]




example with out the code you posted

In Reply to your post [post=12]test hide[ /post ]
[ QUOTE=Hippy;12 ][HIDE-THANKS]test thank to view content[/HIDE-THANKS][ /QUOTE ]






thanks

Hippy
05-19-2012, 12:23 AM
with boofo's quote post in pm version (The original one)
if you add
global $vfc_hide;
if ($vbulletin->options[hide_hack_sett_main]) {
$params = array('message' => $pagetext, 'forumid' => $foruminfo['forumid'], 'threadid' => $posttext[threadid], 'postid' => $postinfo[postid], 'userid' => $postinfo[userid]);

$pagetext = $vfc_hide->fetch_msg_to_hide($params);

}

above

// Limit the quoted post text to something sane
if ($vbulletin->options['boofo_qpm_max_text'])

if seems to work..

the post quoted to pm with the hide tag in it views like so as long as your not a member that thanked to the post and pmes it

https://vborg.vbsupport.ru/attachment.php?attachmentid=138524&stc=1&d=1337390472
in the event the person / member that "post thank" to the post, then he /she sent it to a member that has not thanked they will be able to read the content in the pm..

Hippy
05-19-2012, 12:41 AM
ok , I may of confused you because I confused myself..

ok
example

I'm a regular member and I thanked a post with the hide tag for "post thanks"
now I can view the content..

then I quote pm to a user that did not thank to view ..
in the PM he can view the content..

sorry about that, to many log in and out's to see what was going on..

is there any way for you to make it like in the thread to say ***Hidden content cannot be quoted.*** no matter if they thanked or not to the post in the pm?

Hippy
05-19-2012, 01:21 AM
-=snipped=-

nacaruncr
05-19-2012, 01:47 AM
ohh... I was searching how make to the first post can't quote for this mod (quote post pm) but with these mod, help me a lot :D
thanks man I'm gonna use them :)

Badshah93
05-19-2012, 03:12 AM
ok , I may of confused you because I confused myself..

ok
example

I'm a regular member and I thanked a post with the hide tag for "post thanks"
now I can view the content..

then I quote pm to a user that did not thank to view ..
in the PM he can view the content..

sorry about that, to many log in and out's to see what was going on..

is there any way for you to make it like in the thread to say ***Hidden content cannot be quoted.*** no matter if they thanked or not to the post in the pm?

replace old edit with this

global $vfc_hide;
$pagetext = $vfc_hide->strip_hide_bbcodes($pagetext, 'quote');

nacaruncr
05-19-2012, 04:53 AM
OFFTOPIC:
Why everytime that I enter in the thread I have to mark the hack as Installed?

Hippy
05-19-2012, 06:35 PM
replace old edit with this

global $vfc_hide;
$pagetext = $vfc_hide->strip_hide_bbcodes($pagetext, 'quote');
perfect
:up:
thanks for your efforts and support / help ..

nexxzus
05-22-2012, 05:44 AM
Thank you very much is really good.

Badshah93
05-22-2012, 05:07 PM
Version 2.2 Added (for vB 4.1.10 +)
Changes:
will update later when i release 2.2 for vB (4.1.10 -)

Note:
After installing vFcoders - Hide Hack 2.2 (for vB 4.1.10+), No Manual File edits is required to strip contents from Forum Sideblock, CMS, Activity Streams etc...

nacaruncr
05-23-2012, 12:55 AM
Thanks man.. I'll wait for the update for 4.1.10- :)
Regards ;)

Easy5s.net
05-23-2012, 01:09 AM
pls add number post and image like

https://vborg.vbsupport.ru/attachment.php?attachmentid=113238&d=1267307109

netsploiter
05-24-2012, 07:59 PM
is it working for 4.1.12 thanks in advance!

nacaruncr
05-24-2012, 08:50 PM
jajajja forgot it XD I misunderstood XD

Thanks man for the new version :) I gonna upgrade my web :D
Thanks :)

blueperspective
05-27-2012, 08:31 AM
OK, installed it. Running tests.
As far as it's the only working Hide Hack (meaning working properly and being supported), I've put your link in my signature.
Thanks for all your effort and just keep it supported.

LouiseWilson
05-27-2012, 06:22 PM
Cool might think about upgrading to VB4 now :) Tagged

faraz_hamza
05-28-2012, 06:52 PM
**Hidden Content: Reply to see the content**

how can we change the color and font size of this Text... how can we change this text to blinking. like Cursor blink?

is there any way to make prominant these words like to change color or blinking style???

faraz_hamza
05-28-2012, 07:15 PM
**Hidden Content: Reply to see the content**

how can we change the color and font size of this Text... how can we change this text to blinking. like Cursor blink?

is there any way to make prominant these words like to change color or blinking style???

Badshah93
05-29-2012, 03:31 AM
**Hidden Content: Reply to see the content**

how can we change the color and font size of this Text... how can we change this text to blinking. like Cursor blink?

is there any way to make prominant these words like to change color or blinking style???

Edit vfc_hide_hack_bbcode_reply template

Find:
{vb:rawphrase vfc_hidden_content_reply_ntml}

Replace With:
<blink>{vb:rawphrase vfc_hidden_content_reply_ntml}</blink>

blueperspective
05-29-2012, 05:37 AM
I have a question on the same field: Where can I change "** Hidden Content: You don't have sufficient privileges to see this hidden data **" ?
Thanks in advance!
Till now, the mod works wonderful!

Badshah93
05-29-2012, 05:52 AM
I have a question on the same field: Where can I change "** Hidden Content: You don't have sufficient privileges to see this hidden data **" ?
Thanks in advance!
Till now, the mod works wonderful!

edit this phrase

vfc_hidden_content_stg_ntml

faraz_hamza
05-29-2012, 06:06 PM
you just
Is it possible to display an image instead of displaying that text

**Hidden Content: Reply to see the content**

image which designed by me and showing the message to reply or press thanks?

Eosian
05-29-2012, 09:27 PM
Seems obvious, but you need a [HIDE-VOTE] option as well so that people can say things in a thread thats hidden to people who haven't already voted.

Approximately this;



/**
* Callback function for Parsing [HIDE-VOTE] Tag
*
* @param string Message text
*
* @return Message (Parsed)
*/

function p_bb_code_hv($message)
{
global $vbphrase;
$message = str_replace('\"', '"', $message);
// Checking if user can view the message
if (!$this->_registry->owner)
{
if ($this->_registry->threadid)
{
$creply = $this->_vbulletin->db->query_first("
SELECT p.pollid, p.votedate
FROM " . TABLE_PREFIX . "thread t
left join " . TABLE_PREFIX . "pollvote p on t.pollid = p.pollid
WHERE
p.userid = " . $this->_vbulletin->userinfo[userid] . "
AND t.threadid = " . $this->_registry->threadid . "
AND userid > 0 LIMIT 1 ");

if ($creply['pollid'] > 0 AND $creply['votedate'] > 0)
$this->_registry->hvote = true;
}
if ($this->_registry->dohtml)
{
if ($this->_registry->owner OR $this->_registry->hvote)
{ $usercansee = true; }
$templater = vB_Template::create('vfc_hide_hack_bbcode_vote');
$templater->register('usercansee', $usercansee);
$templater->register('postid', $this->_registry->postid);
$templater->register('message', $message);
$message = $templater->render();
return $message;
}
else
{
if ($this->_registry->owner OR $this->_registry->hvote)
{
return $message;
}
else
{
return $vbphrase[vfc_hidden_content_reply_vote];;
}
}
}
return $message;
}


Plus the associated vfc_hide_hack_bbcode_vote template.

And adding this

'HIDE-VOTE' => 'p_bb_code_hv',
to $taglist

etc.

You could go one step more complex and make a hide-vote-option that's only visible to people who selected a specific vote option, but seems unnecessarily complex for most usage.

Otherwise very good mod.

faraz_hamza
05-30-2012, 05:23 AM
i think you failed to Got my point.

i just Want to Display Image(jpg banner) instead of the text hiddent content

faraz_hamza
05-30-2012, 05:47 AM
How Can we hide Attachments???

Cuz when i do attachment then there is nothing displayed in text editor . and after submiting it displayed attached file in thread.

Badshah93
05-30-2012, 08:25 PM
you just
Is it possible to display an image instead of displaying that text

**Hidden Content: Reply to see the content**

image which designed by me and showing the message to reply or press thanks?

Edit vfc_hide_hack_bbcode_reply template

Replace
{vb:rawphrase vfc_hidden_content_reply_ntml}

With Your Img Code
<img src="yourimgurl" alt="{vb:rawphrase vfc_hidden_content_reply_ntml}">

Badshah93
05-30-2012, 08:26 PM
Will be soon adding STU user tag also in this mod. Jus created an user selection box for STU in cKEditor.

Demo:
http://www.screencast-o-matic.com/watch/clhvroGkJ

LouiseWilson
05-31-2012, 10:17 AM
Not sure if this is do able.. but incorporating it in with the face book like/share system

Example there will be a FB like button on the thread, user presses like/share unhides post
Just something to think about

None the less When I upgrade I will be using your mod

Hippy
05-31-2012, 10:28 AM
Edit vfc_hide_hack_bbcode_reply template

Find:
{vb:rawphrase vfc_hidden_content_reply_ntml}

Replace With:
<blink>{vb:rawphrase vfc_hidden_content_reply_ntml}</blink>

Has anyone treat this blink out. Does not seem to work for me... was a pretty good idea.

mitch84
05-31-2012, 10:29 AM
hi, this images are added in next release? thx
https://vborg.vbsupport.ru/showpost.php?p=2331776&postcount=126

Badshah93
05-31-2012, 10:41 AM
Has anyone treat this blink out. Does not seem to work for me... was a pretty good idea.

<blink> tag is only supported on firefox and few others.


hi, this images are added in next release? thx
https://vborg.vbsupport.ru/showpost.php?p=2331776&postcount=126

Yes..

Hippy
05-31-2012, 11:02 AM
<blink> tag is only supported on firefox and few others.




Yes..

Thanks for the super support ..

chiggy
05-31-2012, 01:49 PM
Edit vfc_hide_hack_bbcode_reply template

Replace
{vb:rawphrase vfc_hidden_content_reply_ntml}

With Your Img Code
<img src="yourimgurl" alt="{vb:rawphrase vfc_hidden_content_reply_ntml}">

Above Modification For HIDE-REPLY work perfectly.But What Is The Changes For This I Want To Use Image For This Also

**Hidden Content: Thanks to see the content**
**Hidden Content: Reply or Thanks to see the content**
I Want Images Here To How To Do It.
Thanx In Advanced

Badshah93
05-31-2012, 02:42 PM
Above Modification For HIDE-REPLY work perfectly.But What Is The Changes For This I Want To Use Image For This Also

**Hidden Content: Thanks to see the content**
**Hidden Content: Reply or Thanks to see the content**
I Want Images Here To How To Do It.
Thanx In Advanced

For HIDE-THANKS

Template: vfc_hide_hack_bbcode_thanks

Replace:
{vb:rawphrase vfc_hidden_content_thanks_ntml}

With Your IMG CODE


For HIDE-REPLY-THANKS

Template: vfc_hide_hack_bbcode_replythanks

Replace:
{vb:rawphrase vfc_hidden_content_hr_ntml}

With Your IMG CODE

LouiseWilson
06-02-2012, 05:04 AM
hello there
I've installed this on VB 4.2.0 and it seems to not hide the content, just wondering if you can take a look for me ?
I have uploaded your contents, added the xml etc
Been through the Forum permissions and usergroup permissions

I'm not a young VB owner so I usually know what i'm doing
thank you

Badshah93
06-02-2012, 05:45 AM
hello there
I've installed this on VB 4.2.0 and it seems to not hide the content, just wondering if you can take a look for me ?
I have uploaded your contents, added the xml etc
Been through the Forum permissions and usergroup permissions

I'm not a young VB owner so I usually know what i'm doing
thank you

PM me your forum url and admin id.

fevredsuk
06-02-2012, 10:44 PM
I use a similar hack to this for the SHOWTOGROUPS hide.

problem is when member are using tapatalk and forumrunner etc on smart phones they se the hidden content

is this the same???

Badshah93
06-03-2012, 02:08 AM
I use a similar hack to this for the SHOWTOGROUPS hide.

problem is when member are using tapatalk and forumrunner etc on smart phones they se the hidden content

is this the same???

well i haven't tested this mod with forumrunner, so can't really tell but i expect it to work if it doesn't then i am here to fix it.

fevredsuk
06-03-2012, 12:50 PM
ok mate i'll give it ago because currently the one i am using doesn't hide in the latest threads sidebar block or when searching a members posts

fevredsuk
06-03-2012, 07:51 PM
Hides allover the forum.

just a few issues

1. image not showing in editor Edit / sorted
2. I only want to use showtogroups - can I disable the hide tag and keep only showtogroups so that i only have 1 button in the editor
3. I have hide mapped to showtogroups but for some reason using [showtogroups] or [HIDE] on their own doesn't work even though in setting i have groups 5,6,7 set as default if members dont choose a group.

dwx
06-04-2012, 01:03 AM
I made a quick change to use the 1.72 version of jquery hosted on google's CDN. (http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js)

All seems fine after doing this, do you foresee any problems?

This is a great extension to VB. Thanks for making it!

Badshah93
06-04-2012, 03:17 AM
Hides allover the forum.

just a few issues

1. image not showing in editor Edit / sorted
2. I only want to use showtogroups - can I disable the hide tag and keep only showtogroups so that i only have 1 button in the editor
3. I have hide mapped to showtogroups but for some reason using [showtogroups] or [HIDE] on their own doesn't work even though in setting i have groups 5,6,7 set as default if members dont choose a group.

you can disable any hide tags which you don't want to use in admincp.
Issue #3 -> will check it out.

and can i know where you using (site url) this mod ?

fevredsuk
06-04-2012, 08:43 AM
you can disable any hide tags which you don't want to use in admincp.
Issue #3 -> will check it out.

and can i know where you using (site url) this mod ?

As far as I can see you cant hide the [HIDE] tag only map it to another therefore its always in the editor. As i only want to use [SHOWTOGROUPS] I dont see the point of having a HIDE button and a SHOWTOGROUPS button doing the same thing

I can give you the url here but it will be of no use to you Click here (http://useour.net) I can make you an account and send you the details in pm

Badshah93
06-04-2012, 08:59 AM
As far as I can see you cant hide the [HIDE] tag only map it to another therefore its always in the editor. As i only want to use [SHOWTOGROUPS] I dont see the point of having a HIDE button and a SHOWTOGROUPS button doing the same thing

I can give you the url here but it will be of no use to you Click here (http://useour.net) I can make you an account and send you the details in pm

well you can disable hide button also if you want.
Under usergroup Manager, uncheck HIDE TAG for every usergroup.

To Fix SHOWTOGROUPS ISSUE UPLOAD THIS NEW XML

fevredsuk
06-04-2012, 09:59 AM
No different mate, if member dont select a usergroup the message just posts has

TEXT

also denying all usergroups ability to use hide tags doesn't remove the icon from the editor and it can still be used

Badshah93
06-04-2012, 11:50 AM
No different mate, if member dont select a usergroup the message just posts has

TEXT

also denying all usergroups ability to use hide tags doesn't remove the icon from the editor and it can still be used

go in admincp -> settings -> hide hack settings
select default usergroups and save it.. (after saving it will rebuild settings)

fevredsuk
06-04-2012, 07:49 PM
still same mate just posts

i can give you admin access if you like

Badshah93
06-04-2012, 08:27 PM
still same mate just posts

i can give you admin access if you like

ok pm me..

netsploiter
06-05-2012, 09:58 AM
I had davidmods but i wanto to quit that mod and install yours but is a mess i tried and looks like didnt work so i restore all
is this mod supporting 4.2???

thanks in nadvance!

Hippy
06-05-2012, 10:07 AM
I had davidmods but i wanto to quit that mod and install yours but is a mess i tried and looks like didnt work so i restore all
is this mod supporting 4.2???

thanks in nadvance!

To answer your question .yes it is
I guess you didn't even read the last page...

LouiseWilson
06-05-2012, 11:01 AM
Conflict Issue found with
[CKEditor] MARCO1 Advanced Editor Settings

Just a report When enabled the Hide Icons in the editor do not show up in Quick Editor and Quick Reply.

fevredsuk
06-05-2012, 09:50 PM
thanks for the help mate.

Any chance in future these could work within the social groups

netsploiter
06-06-2012, 12:32 AM
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('',replace(hd.content,' ','\n'),'') 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!

Badshah93
06-06-2012, 04:08 AM
thanks for the help mate.

Any chance in future these could work within the social groups

it can work now also, just need few changes..

morrow
06-07-2012, 04:20 PM
Make sure you go into your USERGROUPS and save. This will enable the modification for the usergroups you've chosen. This mod did not work until I went in and saved. Didn't have to modify anything, just save.

Nice work! Love this mod!

morrow
06-07-2012, 08:46 PM
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?

Hippy
06-07-2012, 11:45 PM
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

nexxzus
06-09-2012, 07:07 PM
vbulletin not working in 4.2. It shows the buttons in the editor.

Badshah93
06-10-2012, 03:44 AM
v3 GOLD Released (for vB 4.1.10+=)

Changes:
1) Added STU Tag
2) Fix [SHOWTOGROUPS] Tag Bug
3) Optimize Codes
4) Hide/Unhide Box

Note: After upgrading it to v3, reconfigure the vFcoders - Hide Hack settings. (including usergroup settings also)

mitch84
06-10-2012, 04:57 AM
thank you for this update!

nacaruncr
06-10-2012, 05:37 AM
Does it work with 4.1.10-??
Thanks a lot man :D
Regards :)

Badshah93
06-10-2012, 05:43 AM
Does it work with 4.1.10-??
Thanks a lot man :D
Regards :)

not completely.. i will release Hide Hack v3 for 4.1.10 - in next 24 hrs.

nacaruncr
06-10-2012, 05:50 AM
ok man :) I'll wait it to help you to translate to spanish again :)
don't forget you add the phrases to translate them ok ;)
regards :)

mitch84
06-10-2012, 05:56 AM
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('',replace(hd.content,' ','\n'),'') 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! :mad:anyone know why? who tried?
thank you

dwx
06-10-2012, 10:34 AM
Hi Badshah,

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!

nexxzus
06-10-2012, 10:37 AM
v3 GOLD Released (for vB 4.1.10+=)

Changes:
1) Added STU Tag
2) Fix [SHOWTOGROUPS] Tag Bug
3) Optimize Codes
4) Hide/Unhide Box

Note: After upgrading it to v3, reconfigure the vFcoders - Hide Hack settings. (including usergroup settings also)

Still not working in vbulletin 4.2. not buttons appear in the editor

Badshah93
06-10-2012, 10:51 AM
Still not working in vbulletin 4.2. not buttons appear in the editor

upload contents of image folder in your custom skin folder.

if that doesn't fix the issue, then pm me admin id and url of your forum.

nexxzus
06-10-2012, 05:08 PM
upload contents of image folder in your custom skin folder.

if that doesn't fix the issue, then pm me admin id and url of your forum.


It apparently works perfectly incompatible with the product: [CKEditor] MARCO1 Advanced Quick Reply And Edit

tarzan22
06-10-2012, 05:30 PM
Good job.

You can put in an automatic way to not need the buttons?

regards

dwx
06-10-2012, 09:39 PM
Good job.

You can put in an automatic way to not need the buttons?

regards

you can always just type the BBcodes into the editor by hand.

nexxzus
06-11-2012, 08:30 AM
Any way to fix this problem:
https://vborg.vbsupport.ru/external/2012/06/16.png

Badshah93
06-11-2012, 09:47 AM
Any way to fix this problem:
https://vborg.vbsupport.ru/external/2012/06/16.png

is hide tag disabled in your forum ?

nexxzus
06-11-2012, 10:42 AM
is hide tag disabled in your forum ?

This enabled all right and is a bug you have.

T.P.
06-11-2012, 11:27 AM
Works with vBulletin 4.2.0 Patch Level 1 ?

Easy5s.net
06-11-2012, 11:48 AM
Works with vBulletin 4.2.0 Patch Level 1 ?

is work :)

Badshah93
06-11-2012, 02:16 PM
This enabled all right and is a bug you have.

there is no bug, can i see the picture of vFcoders - Hide Hack setting page.

mitch84
06-11-2012, 05:26 PM
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('',replace(hd.content,' ','\n'),'') 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! :mad:anyone know why? who tried?
thank you

hi, a little help if you can, thank you;)

letipro
06-11-2012, 05:33 PM
how to admin can see hidden content which smod and mod not see? (mod and smod thank and answer to see)

nrms?
06-11-2012, 08:11 PM
There is something here that is not well, at least in my case.

I installed everything as instructed, the mod works and really of much use, but the problem is that the buttons do not work in CKEditor, not displayed correctly ... eg [HIDE] is the answer for this url background-image: url("http://www.***/http://www.***/Pro/buttons/hide.gif?t=B8DJ5M3") and click on it, we get the window opaque white, but nothing appears ...

How to solve this ...?

I use vbulletin 4.1.12

Manoel J?nior
06-12-2012, 01:49 AM
How to display Hidden Content in center? And how to change color the box?

nacaruncr
06-12-2012, 03:39 AM
not completely.. i will release Hide Hack v3 for 4.1.10 - in next 24 hrs.

any news?

Badshah93
06-12-2012, 06:25 AM
any news?

will do it today, had a exam yesterday.

Badshah93
06-12-2012, 06:30 AM
How to display Hidden Content in center? And how to change color the box?

Edit template: vfc_hide_hack_css

To align text to center

Find:
.hiddencontent, .unhiddencontent {

Add below:
text-align: center;

Alex@bulletin
06-12-2012, 03:32 PM
Hello there,

I'd like to provide a new translation for your mod, but as it seems you made an error:
I updated the mod from 2.0 to 3.0.
As I view the ACP settings the option for "Showgroups-Tag" is there twice.

Screenshot:

https://vborg.vbsupport.ru/attachment.php?attachmentid=139096&stc=1&d=1339515613

The green one has been translated for 2.0 yet, the red one is the dublication I got now. I'm quite sure you'd like to write STU instead of SHOWTOGROUPS?! Ok for me this is no problem, I can concern that for my translation, but maybe it will confuse the users of the original phrases.

-----------------
Aaaaaaaaaand last but not least, you forget to phrase this one:

https://vborg.vbsupport.ru/attachment.php?attachmentid=139097&stc=1&d=1339518047

Kay, I'm done with my translation up to now, I'll PM you a link to the german vbulletin.org where I will upload my translation, if you'd like to reupload to your thread or writing the link in your mod description.

Finally I'd like to make a suggestion: In my opinion It would be better to change STU to "SHOWTOUSERS" (I did so in my translation yet :p)

Azucar
06-12-2012, 10:59 PM
Excellent work, Badshah93. Thanks alot. :)

I only have an issue, only [HIDE-REPLY] shows its button in the editor, I'm trying to enable HIDE only (which is mapping to HIDE-REPLY) but I get the following:

https://vborg.vbsupport.ru/external/2012/06/32.jpg

Only if I enable HIDE-REPLY I get a button:

https://vborg.vbsupport.ru/external/2012/06/33.jpg

Is this a bug or I may have my settings wrong?

Badshah93
06-13-2012, 05:02 AM
Excellent work, Badshah93. Thanks alot. :)

I only have an issue, only [HIDE-REPLY] shows its button in the editor, I'm trying to enable HIDE only (which is mapping to HIDE-REPLY) but I get the following:

https://vborg.vbsupport.ru/external/2012/06/32.jpg

Only if I enable HIDE-REPLY I get a button:

https://vborg.vbsupport.ru/external/2012/06/33.jpg

Is this a bug or I may have my settings wrong?

i have fixed that issue in v 3.1. Download latest zip file from first post.

W!cKeD
06-13-2012, 11:09 AM
Big Thank you Badshah93 for your great work.

Ive a Problem with the [Code]-tag when he is to long, i have no scollbutton, do you have any solution for it, i think it is not a problem with your hidehack, i think its a vbulletin (css) problem.

Thanks in advance

Regards

Badshah93
06-13-2012, 12:19 PM
Big Thank you Badshah93 for your great work.

Ive a Problem with the [Code]-tag when he is to long, i have no scollbutton, do you have any solution for it, i think it is not a problem with your hidehack, i think its a vbulletin (css) problem.

Thanks in advance

Regards

hmm..
here is one code which you can try.

edit "bbcode_code" template

Replace all with this
<div class="bbcode_container">
<div class="bbcode_description">{vb:rawphrase code}:</div>
<pre class="bbcode_code" style="height:auto;<vb:if condition="$vboptions['codemaxlines']">max-height:{vb:raw vboptions.codemaxlines}px;"<vb:else />"</vb:if>>{vb:raw code}</pre>
</div>

tarzan22
06-13-2012, 06:07 PM
Could be the default for all new post ?

Thanks and best regards

Azucar
06-14-2012, 12:14 AM
i have fixed that issue in v 3.1. Download latest zip file from first post.

Thanks! ;)

Alex@bulletin
06-14-2012, 11:29 AM
Feel free to use my new translation for 3.0 and newer:

http://www.vbulletin-germany.org/showthread.php?9558-vFCoders-Hide-Hack-goes-vFCoders-Inhalte-verstecken

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

Meine neue ?bersetzung f?r Deutsch-Sie findet Ihr hier:

http://www.vbulletin-germany.org/showthread.php?9558-vFCoders-Hide-Hack-goes-vFCoders-Inhalte-verstecken

nrms?
06-14-2012, 01:50 PM
There is something here that is not well, at least in my case.

I installed everything as instructed, the mod works and really of much use, but the problem is that the buttons do not work in CKEditor, not displayed correctly ... eg [HIDE] is the answer for this url background-image: url("http://www.***/http://www.***/Pro/buttons/hide.gif?t=B8DJ5M3") and click on it, we get the window opaque white, but nothing appears ...

How to solve this ...?

I use vbulletin 4.1.12
Updated for 3.1, the problem remains ...

Please @Badshah93 help here ...

Badshah93
06-15-2012, 07:12 AM
Updated for 3.1, the problem remains ...

Please @Badshah93 help here ...

extract zip and upload its content in forum root.

nrms?
06-15-2012, 10:45 AM
Thanks, now the icons appear correctly and apparently everything works fine, except the popup window that should open in the tag [HIDE] I have set SHOWTOGROUPS is just a white opaque background as usual, but it not shows the window where should be chosen groups of users allowed to view the contents ...

What can cause this ...? I have only HIDE and HIDE-REPLY assets ...

Badshah93
06-15-2012, 11:28 AM
Thanks, now the icons appear correctly and apparently everything works fine, except the popup window that should open in the tag [HIDE] I have set SHOWTOGROUPS is just a white opaque background as usual, but it not shows the window where should be chosen groups of users allowed to view the contents ...

What can cause this ...? I have only HIDE and HIDE-REPLY assets ...

that was a bug.. (hide tag mapped to showtogroups doesn't not work if showtogroups is disable)
i have attached new xml, upload this.

nrms?
06-15-2012, 01:27 PM
Now it ...works, thank you ...
If you need something in the area of web design or graphic design ... contact me. I will have special attention for you ...

Take this opportunity to ask ... if you upgrade vbulletin to the latest version 4.1.12, I have a problem with these settings for this plugin ...?

nacaruncr
06-15-2012, 06:33 PM
Now it ...works, thank you ...
If you need something in the area of web design or graphic design ... contact me. I will have special attention for you ...

Take this opportunity to ask ... if you upgrade vbulletin to the latest version 4.1.12, I have a problem with these settings for this plugin ...?

Yes.. I wanna question this too... because I'm having problems with the search system and in vb.com told me that I have to upgrade at the lastest version too... and I want to continue use this awesome and powerfull hack :)

thanks man..

p.s. excuse me my english XD

Badshah93
06-15-2012, 06:43 PM
Yes.. I wanna question this too... because I'm having problems with the search system and in vb.com told me that I have to upgrade at the lastest version too... and I want to continue use this awesome and powerfull hack :)

thanks man..

p.s. excuse me my english XD

this mod (v3) right now works with all vB version above 4.1.10+.
i have tested it in every version.

nacaruncr
06-15-2012, 08:16 PM
ohhh that's amazing :3
Thanks man :)
Regards ;)

dwx
06-16-2012, 08:16 AM
Hi Badshah,

I posted this about a week ago, and you didn't say yeah or nay about ANY of it. I'm not trying to pester you into doing anything, but it really would be great to understand what you're planning on adding (and not adding) in future releases.

-dwx

Hi Badshah,

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!

Azucar
06-16-2012, 01:08 PM
The HIDE tag mapping to anything you want is a VERY useful feature for most people, it'd be a mistake to get rid of it IMO.

dwx
06-16-2012, 09:11 PM
The HIDE tag mapping to anything you want is a VERY useful feature for most people, it'd be a mistake to get rid of it IMO.

I didn't ask to get rid of it. I just asked for an option to turn it off. We all have different styles, I don't like having two buttons on the edit toolbar that do the same thing.

-dwx

Badshah93
06-17-2012, 09:01 AM
I didn't ask to get rid of it. I just asked for an option to turn it off. We all have different styles, I don't like having two buttons on the edit toolbar that do the same thing.

-dwx

you can turn it off now also, by disabling it (hide tag) for each usergroup.

dwx
06-17-2012, 11:48 AM
you can turn it off now also, by disabling it (hide tag) for each usergroup.

Yes, that worked. Thanks!

-dwx

nacaruncr
06-18-2012, 05:40 AM
extract zip and upload its content in forum root.

https://vborg.vbsupport.ru/attachment.php?attachmentid=139190&stc=1&d=1340001621
I upgraded to 4.1.12.. and the icons don't appear :S
I used this fix.. but the icons continue without appear :S
What can I do??

Badshah93
06-18-2012, 06:20 AM
https://vborg.vbsupport.ru/attachment.php?attachmentid=139190&stc=1&d=1340001621
I upgraded to 4.1.12.. and the icons don't appear :S
I used this fix.. but the icons continue without appear :S
What can I do??

if you are using custom skin, then make sure you upload hide images under custom skin buttons folder.

nacaruncr
06-18-2012, 06:43 AM
No.... not appear :S
I have my style in this folder:
www.myweb.com/images/styles/MYSTYLE/style

and the buttons are in this
www.myweb.com/images/styles/MYSTYLE/style/buttons

And continue to be lost .... :S

Easy5s.net
06-18-2012, 06:45 AM
No.... not appear :S
I have my style in this folder:
www.myweb.com/images/styles/MYSTYLE/style

and the buttons are in this
www.myweb.com/images/styles/MYSTYLE/style/buttons

And continue to be lost .... :S


try clear cache

nacaruncr
06-18-2012, 06:51 AM
not... I cleaned and continue :S
What can I do??

Badshah93
06-18-2012, 07:15 AM
not... I cleaned and continue :S
What can I do??

i posted fix for one user who had similiar problem

https://vborg.vbsupport.ru/showpost.php?p=2339712&postcount=207

if that doesn't fix it, then you pm me admin id and pass.

LouiseWilson
06-19-2012, 12:06 PM
hello Badshah93,

Having an issue with the quick reply if a user reply's, it does not unhide the content, only if they refresh the page it become unhidden.

I have tested it with all my other mods disabled, could you advise please

Badshah93
06-19-2012, 12:14 PM
hello Badshah93,

Having an issue with the quick reply if a user reply's, it does not unhide the content, only if they refresh the page it become unhidden.

I have tested it with all my other mods disabled, could you advise please

did you played with quick reply button ?

or

are you having any other jquery file in showthread page ?

LouiseWilson
06-19-2012, 03:25 PM
hi
I have not edited the quick reply button

I have also reverted the show thread template to its original, still no joy atm any other ideas ?

nacaruncr
06-20-2012, 02:49 AM
Ohhh I found the problem :O
It does not work with this mod [CKEditor] MARCO1 Advanced Quick Reply And Edit (https://vborg.vbsupport.ru/showthread.php?t=264219) I've disabled it and work fine.... is there a way to fix it??
Thanks and regards :D

nacaruncr
06-20-2012, 04:08 AM
It's only in the quick reply and the quick edit doesn't appear the hide icons :S
Is there a way to add them??

M.C.
06-20-2012, 05:42 PM
4.2 and no icons in editor either Full one or quick

Badshah93
06-20-2012, 07:07 PM
4.2 and no icons in editor either Full one or quick

1. Check settings for each usergroup in usergroup manager
2. Hide hack Main settings in admincp -> settings

Easy5s.net
06-21-2012, 07:46 AM
@Badshah93:
pls add info bbcode to misc.php?do=bbcode
:)

Jerit2012
06-28-2012, 11:02 AM
is it work for vBulletin 4.1.5? , Kindly advise

Manoel J?nior
06-29-2012, 03:35 AM
Yes!

reeshe
06-29-2012, 09:50 AM
Thanks for the hack..any chance of integration with dragonbytes thanks/like hack? I was using davids and purchased the pro version. He seems to be no longer supporting it.

Hippy
06-30-2012, 10:55 AM
Badshah93
there is 2 templates not being cached
vfc_hide_hack_bbcode_hp_stg_stu
vfc_hide_hack_css

I added them to vFCoders - Hide Hack [Cache Templates]
and all seems good
please correct me if this is not correct

thanks

tarzan22
06-30-2012, 11:03 AM
Any way to hide by default? Without the user needing to press?

regards

Hippy
06-30-2012, 11:11 AM
Badshah93
Just noticed this
different buttons in IE than in FF
screen shot below
FF is missing the H button but has the stu button
IE is missing the stu button
point me in the right direction

Badshah93
06-30-2012, 01:24 PM
Badshah93
Just noticed this
different buttons in IE than in FF
screen shot below
FF is missing the H button but has the stu button
IE is missing the stu button
point me in the right direction

upload xml which i attached here.
https://vborg.vbsupport.ru/showpost.php?p=2339764&postcount=209

Hippy
06-30-2012, 01:57 PM
upload xml which i attached here.
https://vborg.vbsupport.ru/showpost.php?p=2339764&postcount=209

thanks badshah93
worked
the H button is used how ? now
I see in the options
Select a tag which will be mapped to [HIDE] code.

so the [hide] is no longer used by it's self

gilgvb
06-30-2012, 06:31 PM
hey
great mod but when using tapatalk, all hidden tags are translated as spoilers, and anyone can see them

Badshah93
06-30-2012, 07:06 PM
thanks badshah93
worked
the H button is used how ? now
I see in the options
Select a tag which will be mapped to [HIDE] code.

so the [hide] is no longer used by it's self

from starting, [hide] tag was mapped to other tag.

netsploiter
07-04-2012, 08:53 AM
Hello, why guests can see hidden content in archive index?

Thnx

Badshah93
07-04-2012, 09:18 AM
Hello, why guests can see hidden content in archive index?

Thnx

check the permission which you set for unregistered users.

netsploiter
07-04-2012, 07:16 PM
where to check permission i thinks all is configured ok!

Jerit2012
07-05-2012, 03:00 PM
Badshah, I have upgraded to vBulletin 4.1.12 Patch Level 2.

I noticed one thing that need refresh after pressing thanks button to count the total thanks.

And also need refresh to view the link after pressing thanks.

Kindly assist me to fix this issue

Badshah93
07-05-2012, 03:11 PM
Badshah, I have upgraded to vBulletin 4.1.12 Patch Level 2.

I noticed one thing that need refresh after pressing thanks button to count the total thanks.

And also need refresh to view the link after pressing thanks.


Kindly assist me to fix this issue

it looks like hide hack javascript is not working.. can i have your forum url (pm me with any demo id)

netsploiter
07-06-2012, 03:40 AM
where to check permission i thinks all is configured ok!

mitch84
07-06-2012, 04:12 AM
where to check permission i thinks all is configured ok!in usergroups

BExDeath
07-07-2012, 12:06 AM
can you integrate vBulletin's reputation system in to [HIDE-THANKS]?