View Full Version : New Posting Features - [hide] hack incl post thank you "addon"
itsid
12-29-2006, 10:43 PM
Would you do me a favour and try a clean install without any part of existing database?
then install post_thanks and hide and check again?
'sid
ps I'll try to build up a new plugin for testing purpose to see where it messes up with vbulletin, that'll take a while
stinger2
12-30-2006, 09:17 AM
that is already done sid........with a clean install of vbulletin your hack works perfectly good.
no problem what so ever....so it has to be some code left over from something in the past in my database,,,,,,and i dont have a clue where and how to find it...i will setup a test board some where so you and i can investigate it
thanks again
itsid
12-31-2006, 12:38 AM
stinger...
as you say that again...
Did you checked your plugin manager? and took a VERY CLOSE look ?
Maybe the "ugly" Plugin is just a plugin and no product, and maybe it's listed as a vbulletin plugin because there is no corresponding product.
And/Or did you also checked the plugin-table directly in your database?
(take a screenshot of your pluginmanager if you are unsure)
I'll go and find the sources of those plugins then ;)
'sid
PS My extra plugin is still as buggy as it is overloaded ;)
stinger2
12-31-2006, 04:25 PM
n0p..nothing else
http://www.hostmypiconline.com/images/hed.jpg
http://www.hostmypiconline.com/images/hed2.jpg
http://www.hostmypiconline.com/images/hed3.jpg
http://www.hostmypiconline.com/images/hed4.jpg
itsid
01-02-2007, 02:33 AM
Hi there,
got a small debug plugin to work now (see attachement)
infact it is less debugging but more a "show the variables" plugin :classic:
Import it as a plugin
AND
disable the fetch hide tag plugin (don't forget!)
Output of that plugin is only visible to usergroupid 6 (admins)
Now, go to your forums and thank or reply to any hidden content
(best not in firstpost and not one of your own postings)
Copy&paste output into this thread. (this thread is linked inside the plugin ;))
Right afterwards enable the fetch hide tag plugin and disable or delete the debug plugin (three additional databasequerys)
'sid
PS This plugin is ONLY if you have installed Abe1s Post_Thanks Hack, without that you'll get db-errors!!
stinger2
01-02-2007, 03:18 PM
this is the info i get sid.....dont know if any thing is wrong ...
but yesterday something did get my attention .....when i chose (disable ajax features)......when i chose...disable problematic ajax feature....the hide hack does not work anymore..........
so logicaly...it means that my board has some ajax problem.....dont know how to check it or correct it though..i am investigating now....
here is the debug info
regards
S2
hide-hack DEBUG Information only visible to adminsglobal information
This Script :showthread
Post userid :2433
Own userid :2
Forumid :102
First postid :139711
thanked first post : NOPE
This postid :139711
thanked this post : NOPE
Replied to this thread : NOPE
hide options
This Script :showthread
Active :1
AJAX :1
Not in forums :
Show admins :0
Show mods :0
Show usergroups :
Show thanked :1
Show posted :1
thank options
Only first (all) :0
Only first (seperate) :
Thank array userid:1649
Thanks array userid :1649
itsid
01-02-2007, 03:53 PM
hi stinger..
First postid :139711
thanked first post : NOPE
This postid :139711
thanked this post : NOPE
Replied to this thread : NOPE
You have to thank a post to let me get where I want to
If you do nothing, the hack wont do anything and no error occurs,
Sorry should have told you: this has to be within a "should be unhidden content" post but still is hidden
go ahead, try again :D
'sid
about the disable problematic ajax functions:
The hack does not need any ajax at all, but without you'll have to relaod the page to see what's hidden (as in early versions) on the other hand that's exactly where your error is around.
And yes; if ajax isn't fully enabled the hide-hack disables it's own ajax features as well.
stinger2
01-02-2007, 05:09 PM
sorry sid....it was taken after i removed the thank you and refreshed to see what happens...
this is it
BTW.....the reply to see the hidden content option is working fine....the hidden content becomes unhidden..and remains unhidden with refresh...or when you go somewhere else and come back.....is there any difference between the two ???
hide-hack DEBUG Information only visible to adminsglobal information
This Script :showthread
Post userid :2433
Own userid :2
Forumid :102
First postid :139711
thanked first post : YES
This postid :139711
thanked this post : YES
Replied to this thread : NOPE
hide options
This Script :showthread
Active :1
AJAX :1
Not in forums :
Show admins :0
Show mods :0
Show usergroups :
Show thanked :1
Show posted :1
thank options
Only first (all) :0
Only first (seperate) :
Thank array userid:1649
Thanks array userid :1649
itsid
01-02-2007, 10:13 PM
Yes it is.. a huge difference :D
if you thanked this hack won't do a db query if you (as you have it) can thank each post and not only the first one.
but in your case that won't do somehow.
so replace your fetch hide tag plugin by this code:
if ($this->registry->options['sid_hide_active'] == '1' AND stristr($post['message'],'[hide]')){
global $vbulletin, $vboptions, $bbuserinfo, $db, $threadid, $hide_call, $postid;
$bbuserinfo = $this->registry->userinfo;
$post = $this->post;
$hide_read = false;
$hide_img_set = 0;
$hide_replied = '';
$hide_thanked = '';
$hide_stop = 0;
if (!empty($this->registry->options['sid_hide_notforum'])){
$sid_hide_forum_stop = explode(",",$this->registry->options['sid_hide_notforum']);
if(in_array($thread['forumid'],$sid_hide_forum_stop)){
$post['message'] = preg_replace('/\\[hide\\](.*)\\[\/hide\\]/siU', '\\1', $post['message']);
$hide_stop = 1;
}
}
if($post['userid'] == $bbuserinfo['userid'] AND $hide_stop == 0){
$post['message'] = preg_replace('/\\[hide\\](.*)\\[\/hide\\]/siU', '<fieldset><legend><span class="highlight">'.$vbphrase[sid_hide_post_own].'</span></legend>\\1</fieldset>', $post['message']);
$hide_stop = 1;
}
if ($hide_stop != 1){
if ($this->registry->options['sid_hide_showadmin'] AND $bbuserinfo[usergroupid]==6){
$hide_read = true;
}elseif ($this->registry->options['sid_hide_showmod'] AND can_moderate($thread['forumid'])){
$hide_read = true;
}elseif (!empty($this->registry->options['sid_hide_showusergroup'])){
$hide_groups_see = explode(",",$this->registry->options['sid_hide_showusergroup']);
if (in_array($bbuserinfo['usergroupid'], $hide_groups_see)){
$hide_read = true;
}
}
if ($vbulletin->options['sid_hide_showthanked'] AND $hide_read==false){
$hide_img_set = $hide_img_set + 1;
if($vbulletin->options['post_thanks_forum_first_all'] == 1){
$hide_thanked = $db->query_first("SELECT userid FROM ". TABLE_PREFIX ."post_thanks WHERE postid='$threadinfo[firstpostid]' AND userid='$bbuserinfo[userid]'");
if($hide_thanked !=''){
$hide_read = true;
}
} elseif (!empty($vbulletin->options['post_thanks_forum_first'])){
$post_thanks_only_first = explode("|",$vbulletin->options['post_thanks_forum_first']);
if (in_array($threadinfo['forumid'], $post_thanks_only_first)){
$hide_thanked = $db->query_first("SELECT userid FROM ". TABLE_PREFIX ."post_thanks WHERE postid='$threadinfo[firstpostid]' AND userid='$bbuserinfo[userid]'");
if($hide_thanked !=''){
$hide_read = true;
}
}else{
$hide_thanked = $db->query_first("SELECT userid FROM ". TABLE_PREFIX ."post_thanks WHERE postid='$post[postid]' AND userid='$bbuserinfo[userid]'");
if($hide_thanked !=''){
$hide_read = true;
}
}
} else{
$hide_thanked = $db->query_first("SELECT userid FROM ". TABLE_PREFIX ."post_thanks WHERE postid='$post[postid]' AND userid='$bbuserinfo[userid]'");
if($hide_thanked !=''){
$hide_read = true;
}
}
}
if ($this->registry->options['sid_hide_showposted'] AND $hide_read==false){
$hide_img_set = $hide_img_set + 2 ;
$hide_replied = $db->query("SELECT COUNT(postid) AS count FROM ". TABLE_PREFIX . "post WHERE userid='$bbuserinfo[userid]' AND visible = 1 AND threadid='$post[threadid]'");
$myreplies = 0;
if($db->num_rows($hide_replied)){
while ($h_post = $db->fetch_array($hide_replied)){
$myreplies += $h_post['count'];
}
$myreplies = vb_number_format($myreplies);
}
if($myreplies > 0){
$hide_read['userid'] = true;
}
}
if (!$hide_call){
$hide_call =$post['postid'];
} else {
$hide_call .=",".$post['postid'];
}
if($hide_img_set == 3){
$hide_img = $vbphrase[sid_hide_img_pot];
} elseif ($hide_img_set == 2){
$hide_img = $vbphrase[sid_hide_img_post];
} elseif ($hide_img_set == 1){
$hide_img = $vbphrase[sid_hide_img_thank];
} else {
$hide_img = $vbphrase[sid_hide_img_sorry];
}
if(!$bbuserinfo[userid]){
$hide_read = false;
}
if ($hide_read == true){
$post['message'] = preg_replace('/\\[hide\\](.*)\\[\/hide\\]/siU', '<fieldset><legend><span class="highlight">'.$vbphrase[sid_hide_post_show].'</span></legend>\\1</fieldset>', $post['message']);
} else {
eval('$hide_fetch = "' . fetch_template('sid_hide_noaccess') . '";');
$post['message'] = preg_replace('/\\[hide\\](.*)\\[\/hide\\]/siU', $hide_fetch, $post['message']);
}
}
}
that'll add an own db query for thanked posts and is not using the original array.
This one will surely work.
(I hat to have unnecessary querys, but I see no other chance right now to get this to work in your forums.)
'sid
ps don't forget to delete the debug plugin! that's causing a lot of querys too :D
stinger2
01-03-2007, 12:30 AM
what a genius solution sid........looked at the change you made.......and you know what..its working like a charm now.....;)
thanks for all your help and sorry for all the troubles i made...:cool:
itsid
01-03-2007, 02:52 AM
no need to say sorry for nothing stinger.
It's on me to say sorry for trying around so long.
you know, this is not a new solution (this way it worked in v0.1.0) and it's exactly the way it still works in printthread.php.
So I could have told you much earlier ; but as I said above it runs a unnecessary db-query and I hoped I could find a way without re-adding that query again for you.
What to say....
I'll keep your issues in mind for my upcoming version maybe I find a better way, maybe I'll just add that query again (optional)
Cheers
'sid
Shankoty
01-03-2007, 10:07 AM
itsid << happy new year and really thanks for this hack
but if u do not mind i have some Questions
- is this hack only for saying: Thank you to view the content ... ???
- is this hack like vS-Hide Hack Resurrection ?? because what i need and looking for Hide_hack force my users to replay ... not to say thank you
i need hack with [HIDE-REPLY] tags defines that the content within may only be read after the person replies. and users must replay [Full replay] to say the content
- my Last question is this hack working Done on vBulletin 3.6.4 ???
----------- thanks alot but iam still new user at vBulletin so . forgive me
:)
itsid
01-03-2007, 12:31 PM
hi shankoty,
thanks alot and a happy new year to you too.
Well, yes and no!
Yes you can set this hack to force user to reply to a thread befor seeing hidden content,
no it is not like psionics hack, all options in my hack are admin-options; Users can only choose to use or not use this hack, but not whom to show hidden content.
And of course it is fully working with 3.6.4
keep in mind to edit the settings of this hack especially if you have not installes abe1s post_thanks hack you have to disable the "show on thanks" option.
'sid
Shankoty
01-03-2007, 08:48 PM
Untill now i do not know how to use this hack
i install it Done ..
but in the new Thread Postbit i cant find any hide icon
how can i hide the content ???
Shankoty
01-03-2007, 09:03 PM
oooooooooooooooohhhh
as i see now i must right fdsdfd ... when i wanna to hide any content :(
so difficult why u do not add icon to auto insert the BBCode for hide Hack :(
itsid
01-03-2007, 09:49 PM
this way you can install the hack without having to upload anything via ftp.
You can add the button in acp "custom vB Codes" if you wish to have one (one is in post #74 (https://vborg.vbsupport.ru/showpost.php?p=1115780&postcount=74))
upload that one to your images/editor directory and set in in your codes options
'sid
Shankoty
01-03-2007, 11:34 PM
so i will wait
but now how can i unstall
how to delete and Uninstall this XML file ??
--------------------------------------------------------------------------------
i import XML to Phrase-Manager from Download/Upload Language and now i want to uninstall this XML file and delete it
how can i do it ???
when i install Hide_hack .. the last step it was to import via acp Phrase-Manager but NOT as a new language!
english/hide_bbcode-images-english.xml
---------------- now i uninstall the hack but i do not know how to uninstall and remove the
english/hide_bbcode-images-english.xml
from Pharse Manager
itsid
01-04-2007, 02:00 AM
Well,
just delete the plugin from the plugin-manager.
I'm not sure about the phrases.... but if they're left in your langfile:
all phrases start with sid_hide
so you can find them easily
'sid
tankaya61
01-06-2007, 11:43 AM
i always see this screen
i don't see hide index :confused:
itsid
01-06-2007, 09:52 PM
Go to Custom vB Codes section in your admin control panel
click choose the hide tag and click on edit.
no need to alter anything, just hit "save settings"
should do, I have no idea why this eror occures the one or other time.
but it's fixed fast ;)
'sid
tankaya61
01-07-2007, 04:12 PM
Go to Custom vB Codes section in your admin control panel
click choose the hide tag and click on edit.
no need to alter anything, just hit "save settings"
should do, I have no idea why this eror occures the one or other time.
but it's fixed fast ;)
'sid
thanks itsid
i do it with you say
it working 3.6.4 already
agnist thanks
have you got hidden image in .psd format
i want to change language
itsid
01-07-2007, 05:02 PM
sorry tankaya...
as I said much earlier in this thread I will not provide any psds no more !!
But if you can provide the correct turkish phrases I'll make a new set of images for you.
But only if you mark this hack as installed (see mod options in first post ) ;)
No, really, just let me know the correct phrases and I'll attach the images asap.
'sid
tankaya61
01-07-2007, 05:49 PM
sorry
i forgotten it, now click it
thanks your helpness
i write turkish meaning
http://upload.turkishboard.org/photo/img/86b56f9a1e7230759e0d593eba356ea2/en_hide_post.gif (http://upload.turkishboard.org)
Gizli İ?erik
gizli i?eriği g?rebilmek i?in
cevap yazmalısınız
http://upload.turkishboard.org/photo/img/c937090834863be9cbf30368bb91ff24/en_hide_pot.gif (http://upload.turkishboard.org)
Gizli İ?erik
gizli i?eriği g?rebilmek i?in teşekk?r etmeli
yada cevap yazmalısınız
http://upload.turkishboard.org/photo/img/0c44952f945bdd43635d253897b141c6/en_hide_sorry.gif (http://upload.turkishboard.org)
Gizli İ?erik
bu i?erik site yetkilileri tarafından
s?resiz gizlenmiştir
http://upload.turkishboard.org/photo/img/97f12c62ec42c01710764ee9a9547b79/en_hide_thank.gif (http://upload.turkishboard.org)
Gizli İ?erik
gizli i?eriği g?rebilmek i?in
teşekk?r etmelisiniz
OndaReal
01-08-2007, 02:17 AM
Thanks for this man
itsid
01-08-2007, 11:37 AM
you're welcome OndaReal
tankaya, I've had to change the font the original doesn't support all necessary characters :(
but here you go (hopefully it's okay this way)
'sid
Terminatoronly
01-08-2007, 11:45 AM
best coder ;) u r the best coder and i nominated your hack to hack of the month :D
tankaya61
01-08-2007, 11:50 AM
thanks itsid
not important characters
i can say : i think thats gif better the orginal :)
thank you aganist
buileminh
01-08-2007, 06:20 PM
Do I need to install POST THANK YOU HACK if I want user must thanks to read hidden content??? Or this hack includes it already?
itsid
01-08-2007, 08:23 PM
if you want the users to click thanks, you must install the post_thanks hack (linked in first post) any other won't do.
And that's a: No, this hack does not have any thank-you-hack included :D
'sid
buileminh
01-11-2007, 02:45 AM
although there is not any thank-you-hack included in this hack, I still want to say "Thank You" ;)
Installed! :)
Khawar
01-12-2007, 03:49 PM
i have question
do we have to have a thank u hack to run this hack on our forums?
Shazz
01-12-2007, 04:04 PM
i have question
do we have to have a thank u hack to run this hack on our forums?
No Its in this hack
stinger2
01-12-2007, 04:50 PM
sorry shaz....but thank you should be installed IF you want to use show when thanked..........if thank you is not installed then the hidden content will show WHEN replied to the post
rgds
itsid
01-12-2007, 05:28 PM
Just as stinger2 said
NO you don't have to have the thank you hack installed.
You only need the thank you hack if you want to show up hidden content on thanks and not on reply.
But I'm pretty sure, that this question was answered a number of times now ;)
'sid
kauka
01-12-2007, 08:15 PM
awesome hack thank you very much
buileminh
01-14-2007, 07:14 AM
Sorry but after an user thanks, he must refresh the page to see the hidden content. What's wrong?
====================
I fixed it! Because my template headinclude has been changed, there is not a "<!-- / CSS Stylesheet -->" inside it.
However, you should notify everybody about this if they dont use the default style.
itsid
01-14-2007, 02:33 PM
Well...
I don't have the default style myself.. even tested some paytemplatesets too..
they all had the css comment ,
It's not that a good idea to delete any comments from the templates ;)
Well, now you know how to fix (and all the others too)
'sid
srikanthjjjj
01-15-2007, 01:26 AM
Just some questions, WIth this can you hide stuff with this mod and when the user clicks thanks the user cna see what's hidden
and also does it display how many thanks the user has recieved and how many it's given/
CAn you also check all the posts the user has been thanks in?
itsid
01-15-2007, 01:38 AM
Stuff ?? attachments?? Nope, just everything you type between [hide]-tags will be hidden, but no attachments.
That is "all" the hack does.
If you have Abe1s post thank you hack installed (see first post for the link),
then you'll be able to unhide by thanks.
And yes, that post thank you hack will display how many thanks were given and received.
And again.. yes that hack can list all thanks given by a specific user
'sid
Gbml2u
01-15-2007, 04:01 AM
How can i show hide button in "Quick Reply" + "Quick Edit"
Thanks 4 ur reply!
Gbml2u
01-15-2007, 04:26 AM
http://img46.imageshack.us/img46/1082/untitledls8.jpg
I want to del the "contains hidden content" text + "hide frame". Just keep "You my reply or click 'thank you' to see hidden content" text.
How can i do that?
itsid
01-15-2007, 01:23 PM
You can add a button (see post #74, to have the buttonimage)
by editing Custom vB Codes -> [hide]-Tag
You have NO Chance to get rid of the fieldset!
'sid
Gbml2u
01-16-2007, 09:00 AM
Thanks for ur reply but I want to add "hide button" in Quick Reply + Quick edit.
And why can't i remove the "hide frame" + "sid_hide_txt_pot" ?
ociosos
01-16-2007, 11:47 AM
Sorry but after an user thanks, he must refresh the page to see the hidden content. What's wrong?
====================
I fixed it! Because my template headinclude has been changed, there is not a "<!-- / CSS Stylesheet -->" inside it.
However, you should notify everybody about this if they dont use the default style.
Well...
I don't have the default style myself.. even tested some paytemplatesets too..
they all had the css comment ,
It's not that a good idea to delete any comments from the templates
Well, now you know how to fix (and all the others too)
'sid
how exactly fix that??? thank you for the answer!!!! i dont know how to fix it :( lol
you have to erase the css coments? on the headinclude????
itsid
01-16-2007, 12:21 PM
ociosos,
No, you mustn't delete the comments from any template :D
to fix that you have to have <!-- CSS Stylesheet --> in your headinclude (outside any if conditions) you may put it at the very end (if it's not in headinclude already.. don't put it in twice!) .. originally it looks like this (added some extra above and below):
</if>
</if>
<!-- CSS Stylesheet -->
$style[css]
<if condition="is_browser('opera') AND !is_browser('opera', '8.0.1')">
<style type="text/css">
ul, ol { padding-left:20px; }
</style>
</if>
<!-- / CSS Stylesheet -->
<script type="text/javascript">
<!--
Gbml2u,
Find a quickreply hack that supports extra buttons,
because it is hardcoded and I want it that way!
Take it this way or don't use the hack!!
'sid
ociosos
01-16-2007, 01:45 PM
ok thank you sid again this is really cool!!!!! :p
i can translate to spanish in case that you need it just PM me... in case you need the spanish translate THANK YOU AGAIN.... good job!!!!!!
Kaleem
01-17-2007, 07:43 PM
very good thank you installed
buileminh
01-19-2007, 10:04 PM
@Gbml4u: I understand what you say! If you want to display the button in QuickReply and QuickEdit, simply install these hack:
- QuickReply Addon buttons (https://vborg.vbsupport.ru/showthread.php?t=134395) (Author: TrucLinh)
- QuickEdit Addon Buttons (https://vborg.vbsupport.ru/showthread.php?t=136707) (Author: me :D)
@Itsid: This hack is excellent! It works very well in my board. By the way, is there a way to add an option for poster if he want reader to only thanks to unhide hidden part or only reply to unhide hidden part? Something like:
Only people who replied this post can see this part
and
Only people who clicked THANKS can see this part
itsid
01-20-2007, 10:51 AM
no way to do that no.
I dont like that options given to the users.
'sid
buileminh
01-20-2007, 10:58 AM
Thanks for your reply first :)
Btw, can you help me to do that because I am really need it.
Thank you so much in advance!
Rickie3
01-22-2007, 10:05 AM
there is a spelling mistake in the product XML,thought i would bring it to your attention
<phrase name="sid_hide_post_own" date="0" username="itsid" version=""><![CDATA[this part of youre post is hidden]]></phrase>
should be
<phrase name="sid_hide_post_own" date="0" username="itsid" version=""><![CDATA[this part of your post is hidden]]></phrase>
linhhon2003
01-23-2007, 05:41 AM
When I attach file hide_bbcode-images-english.xml, it fail. I use vBulletin? Version 3.6.4
Invalid File Specified
Help me, Thanks
itsid
01-23-2007, 12:56 PM
Well, upload as language not as product or plugin...
because it IS a language-file ;)
(see how-to image in archive)
Then overwrite existing (english) Language to install the phrases.
(Note: only sid_hide phrases will be overwritten, no need to panic ;))
'sid
JsnakeJ
01-24-2007, 09:16 PM
nice hack /me installs
luckid
01-27-2007, 01:40 PM
Ita:
Dopo aver letto 21 pagine questo hack non mi funziona VB 3.6.4... ho fatto tutte le modifiche elencate ma non mi funziona...
Sapreste dire il perchè???
Eng:
After to have read to 21 pages this hack it does not work to me VB 3.6.4
I have made all the listed modifications but it does not work to me
You would know to say because?
Tnx In advanced... Luckid
ScR1Pt
01-27-2007, 04:05 PM
thank u. :)
itsid
01-27-2007, 11:05 PM
luckid..
perche non ce un "preview"; deve trasmettere nel post.
As I said earlier:
There is no preview for this hack, you have to send the new post to see it working.
scr1pt,
your welcome
'sid
luckid
02-03-2007, 07:53 AM
luckid..
perche non ce un "preview"; deve trasmettere nel post.
As I said earlier:
There is no preview for this hack, you have to send the new post to see it working.
scr1pt,
your welcome
'sid
Ok this ok!!!! scusmy 4 answer :o
Tnx 4 you works ;)
Bye... Luckid
httpkiller
02-06-2007, 01:21 PM
I installed the hide hack and the thank you hack but it doesn't work when a user thanks for an thread. The text is still hidden.
itsid
02-08-2007, 10:46 AM
Sorry for letting you wait...
please check your post thank you hack installation,
if you had a previous version of Abe1's Thank you Hack for example make sure that there is nothing left of the old one.
If you can see hidden content in printthread.php after thanking a post but not in showthread that'll be the point.
Check Hack settings (maybe you just disabled 'show on thanks' by mistake)
If you don't see hidden content not even in printthread, it'll be a settings issue OR you have installed the wrong thank-you-hack.
'sid
gsmlover4u
02-10-2007, 05:44 PM
sir i upload english images folder in the forum images folder but images not appear just text appear you need to reply to see hidden contect plz any one genius guide to me
itsid
02-10-2007, 08:56 PM
please see post # 201 for a detailed guide to add images instead of text.
See the archives pic-install-en.jpg -file for a picture of where to go if you like to use the comfortable xml file included in the archive as well :D
'sid
gsmlover4u
02-11-2007, 05:04 AM
please see post # 201 for a detailed guide to add images instead of text.
See the archives pic-install-en.jpg -file for a picture of where to go if you like to use the comfortable xml file included in the archive as well :D
'sid
sir thanks now working fine.nice hack
MPDesignZ
02-12-2007, 03:42 AM
Is it possible to make this work with attachments only? I just want to hide the attachments from guests & have members post before they can see the attachment.
Thanks
MP
itsid
02-12-2007, 03:07 PM
Well, THIS doesn't hide any attachments,
I've tried some times to get the attachments hidden, but without success!
(in fact, it's very easy to HIDE the attachments, but it's hard to show them up instantly with ajax what I want if I do it)
If you want your users to reply there is a plugin for hiding attachments (no ajax) and one Abe1 made that shows attachments after thanking a post (also no ajax)
And maybe someone will ignite that grey lightbulb above my head and I can do the ajax stuff and the next version of this hack will do it too :D
'sid
MissKalunji
02-12-2007, 04:27 PM
Is it possible to make this work with attachments only? I just want to hide the attachments from guests & have members post before they can see the attachment.
Thanks
MP
or to do so you can click on the ([img]https://vborg.vbsupport.ru/images/editor/attach.gif[/o,g] icon in the toolbar its gon show something like this
"" number " " and just add the hide tag around it ...it wont show the attachement TIL someone replies thats what i do on my forum
MPDesignZ
02-13-2007, 07:16 AM
Well, THIS doesn't hide any attachments,
I've tried some times to get the attachments hidden, but without success!
(in fact, it's very easy to HIDE the attachments, but it's hard to show them up instantly with ajax what I want if I do it)
If you want your users to reply there is a plugin for hiding attachments (no ajax) and one Abe1 made that shows attachments after thanking a post (also no ajax)
And maybe someone will ignite that grey lightbulb above my head and I can do the ajax stuff and the next version of this hack will do it too :D
'sid
Would you happen to have a link to it?
or to do so you can click on the ([img]https://vborg.vbsupport.ru/images/editor/attach.gif[/o,g] icon in the toolbar its gon show something like this
"" number " " and just add the hide tag around it ...it wont show the attachement TIL someone replies thats what i do on my forum
As for the attachments I don't get an attachment thing like that mine pops up. Is there a setting I'm missing or somethin here?
MP
Skavenger
02-13-2007, 04:11 PM
I'm using this hack with my vB 3.6.4 for a time ago and sometimes the only thing i see is '{param}'
Since this morning, nobody is able to see the hidden content. For example, users who thanked yesterday, can't see what is hidden today Oo
http://img73.imageshack.us/img73/1487/dibujoaj3.png
What could be the problem?
Sorry for my english
itsid
02-13-2007, 05:00 PM
Hi skavanger,
Have you updated the post_thank_you hack recently ?
If so, maybe you skipped some instruction from the uninstallation of the old version.
DELETE FROM `setting` WHERE `grouptitle` = 'post_thanks' AND `product` = '';
DELETE FROM `settinggroup` WHERE `grouptitle` = 'post_thanks' AND `product` = '';
DELETE FROM `phrase` WHERE `varname` LIKE '%post_thanks%' AND `product` = '';
DELETE FROM `template` WHERE `title` LIKE '%post_thanks%' AND `product` = '';
That's what helped stinger2 solving his very similar problem ;)
I do not know if that's all you need to do or if you have to do a fresh install afterwards or something,
so please read all instructions Abe1 gave with his old and with his new version of his Hack and follow them strictly!
If you haven't updated any installed hack, I guess I'll have to step closer to your forum,
so let me know :D
MpDesignZ,
all MissKalunji wanted to let you know was:
Upload your attachment as usual and read its Attachmentid then do the following:
#id (you've just figured)
If you show up all attachments of your post using the attach-tag they wont show up with the box and you can hide them as any other tag.
And yes.. Abe1s Hack is
available here
the other one is linked inside that one :D
'sid
Skavenger
02-13-2007, 05:17 PM
Hi skavanger,
Have you updated the post_thank_you hack recently ?
If so, maybe you skipped some instruction from the uninstallation of the old version.
No, I havent updated any of my hacks
DELETE FROM `setting` WHERE `grouptitle` = 'post_thanks' AND `product` = '';
DELETE FROM `settinggroup` WHERE `grouptitle` = 'post_thanks' AND `product` = '';
DELETE FROM `phrase` WHERE `varname` LIKE '%post_thanks%' AND `product` = '';
DELETE FROM `template` WHERE `title` LIKE '%post_thanks%' AND `product` = '';
That's what helped stinger2 solving his very similar problem ;)
I don't know what to do with this Oo
Thank you
MissKalunji
02-13-2007, 07:30 PM
Would you happen to have a link to it?
As for the attachments I don't get an attachment thing like that mine pops up. Is there a setting I'm missing or somethin here?
MP
https://vborg.vbsupport.ru/external/2011/04/2.gif
u dont see that icon in the tool bar when ur posting?
TamCaVBoy3
02-18-2007, 11:52 AM
you know when you make a new reply , there is a some bbcode shortcuts (like [img], [php]......) i want to have the hide bbcode on it too, so users can click it...faster....
itsid
02-19-2007, 09:46 AM
Don't get your request TamCa, sorry...
could you please explain?
'sid
[EDIT]
Sorry skavenger, almost forgot to reply :(
Please go ahead and ask Abe1 for exact instructions on how to update post_thanks_hack
But if, as you told me, have not updated anything, that will be unneccessary.
Those instructions are taken from an uninstallation of a previous version of Abe1s hack as far as I can see.
So never mind ;)
please check if users can access hidden content from printpost.php,
if so I'm able to help :D
TamCaVBoy3
02-19-2007, 10:42 AM
you know, how when you click on POST REPLY...in that box, there are buttons for you to press to make a bbcode, like if you click PHP bbcode button, it will automaticially add the to your reply....so is it possible to make a button for your bbcode so users just click on them and then type whatever they want to hide instead of typing the text everytimes...
itsid
02-19-2007, 12:20 PM
sure!
you'll find that button in post #74 or something of this post already
All you have to do is upload that image to your images/editor folder
and add the resulting imagepath to the hide-tag mentioned at custom vB Codes in your acp
that's all!
'sid
Jetrome
02-20-2007, 04:55 AM
I'm using this hack with my vB 3.6.4 for a time ago and sometimes the only thing i see is '{param}'
Since this morning, nobody is able to see the hidden content. For example, users who thanked yesterday, can't see what is hidden today Oo
http://img73.imageshack.us/img73/1487/dibujoaj3.png
What could be the problem?
Sorry for my english
i'm getting the same problem.
just want to know. did you install the old hide hack for 3.5.x? because i'm wondering if that's whats causing the problem.
EDIT: nevermind. i was stupid and missed this post
Skavenger
02-20-2007, 06:14 PM
please check if users can access hidden content from printpost.php,
if so I'm able to help :D
printpost.php? Oo, I think you mean printthread.php
Users who thanked can't view what is hidden in showthread.php, but they can see what is hidden in printthread.php
:confused:
Skavenger
02-20-2007, 06:15 PM
just want to know. did you install the old hide hack for 3.5.x? because i'm wondering if that's whats causing the problem.
I really don't remember =P
itsid
02-20-2007, 09:20 PM
yupp, my fault ;) printthread.php sure!
Okay, the error comes from a strange behaviour of $thank['userid']
set by Abe1s hack,
If you never updated that hack the only workaround is to add some extra db querys.
In fact I'm pretty sure that there was an update... nevermind.
I've got the solution somewhere in my diskbackups,
as soon as it is found, I'll attach it to this post.
stay tuned
'sid
xenon58
02-20-2007, 09:44 PM
howdy sid. thank you very much for a great hack and awesome support, im sure it is appreciated. i wanted to ask you if there is a way to add a button to a quick-reply, quick-edit and new-post editors for the hide command, so one can click on it and enter info that needs to be hidden, rather then write out tags. i've looked through all the pages and saw an icon on post 74, but havent seen a command to go with it. maybe i've missed something :roll:
thnx again for all the time and help.
stinger2
02-20-2007, 10:01 PM
yupp, my fault ;) printthread.php sure!
Okay, the error comes from a strange behaviour of $thank['userid']
set by Abe1s hack,
If you never updated that hack the only workaround is to add some extra db querys.
In fact I'm pretty sure that there was an update... nevermind.
I've got the solution somewhere in my diskbackups,
as soon as it is found, I'll attach it to this post.
stay tuned
'sid
hi sid
you mean this?
i still have it in my favourite
https://vborg.vbsupport.ru/showpost.php?p=1149445&postcount=259
BTW
I changed it again since the 4 queries did fix the thankyou button disappearing.......but some members had still complaints about the ajax
ps. only two members had problem
rgds
itsid
02-20-2007, 10:02 PM
Hi xenon,
Well to add that button, all you have to do is upload the image from post #74 to your images/editor folder (location may vary depending on style)
then go to ACP -> custom vB Codes -> hide
and add the imagepath like
/images/editor/ed-hide.gif
that'll do for new-post or new-thread editors.
for quickreply you'll have to add editor-buttons to quickreply (hack should be out there for doing so)
'sid
[EDIT]
WOW stinger2 thanks alot!
I've searched my harddrives *dough* :(
That's exactly what I was searching for :D
now added that link to firstpost, for me to remember ;)
So skavanger .... try that one; it'll do for you I guess ;)
xenon58
02-21-2007, 02:13 AM
hey sid, thnx for the reply bud. your tip is greatly appreciated, i've got it to work ;)
here is a small how-to if you would like to add a button to your quick-reply and quick-edit. after some mocking around, i've got it placed where i wanted and of course, work the code ;)
templates to edit are:
1. showthread_quickreply
2. postbit_quickedit
search for the following code
<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_quote"><img src="$stylevar[imgdir_editor]/quote.gif" width="21" height="20" alt="$vbphrase[wrap_quote_tags]" />
</div></td>
and add underneath
<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_hide"><img src="$stylevar[imgdir_editor]/en-hide.gif" width="21" height="20" alt="$vbphrase[wrap_hide_tags]" />
</div></td>
make sure path to the image is a correct one.
hope this helps to those who needs it.
MPDesignZ
02-21-2007, 03:52 AM
https://vborg.vbsupport.ru/external/2011/04/2.gif
u dont see that icon in the tool bar when ur posting?
Yes I do, but I got it to work the way I wanted it to with the addition of the attachments hack that goes with the post thanks hack for version 3.5. :D Thanks for your help and thanks to the other member who posted his help.
MP
ahmednadir
02-21-2007, 04:09 AM
thanks for this great mod
I've added it to my site but I can't get it to work
I've installed it, checked the settings, added the button (gif from my pc) and everything is looking fine
I come to hide but the hide hack does'nt work
for example
if I enter hide hack not working for me
It appears the same hide hack not working for me
any idea what might be causing this problem?
thanks
itsid
02-21-2007, 11:00 AM
you're sure that you did not posted that to forumid 2 ? ;)
Oh and remember: NO PREVIEW you MUST post to see if it's working.
'sid
xenon58
02-21-2007, 02:49 PM
if I enter hide hack not working for me
It appears the same hide hack not working for me
any idea what might be causing this problem?
thanks
first make sure that you do have 'post thank you' hack, before you install this one
and when you are trying to see if its working or not, you will have to post a thread
using hide tags, then login as a different user, but not an administrator!!!, and see
if it worked for ya or not. remember, admins will be able to see everything that is in
hide tags, even not your own posts. so make sure when testing, you are using user
with regular permissions. do that, and then say if it worked or not. g'luck
Skavenger
02-21-2007, 06:26 PM
hi sid
you mean this?
i still have it in my favourite
https://vborg.vbsupport.ru/showpost.php?p=1149445&postcount=259
So skavanger .... try that one; it'll do for you I guess ;)
It's working fine now, thank you!
bollie
02-22-2007, 11:44 AM
Yes it is.. a huge difference :D
if you thanked this hack won't do a db query if you (as you have it) can thank each post and not only the first one.
but in your case that won't do somehow.
so replace your fetch hide tag plugin by this code:
if ($this->registry->options['sid_hide_active'] == '1' AND stristr($post['message'],'[hide]')){
global $vbulletin, $vboptions, $bbuserinfo, $db, $threadid, $hide_call, $postid;
$bbuserinfo = $this->registry->userinfo;
$post = $this->post;
$hide_read = false;
$hide_img_set = 0;
$hide_replied = '';
$hide_thanked = '';
$hide_stop = 0;
if (!empty($this->registry->options['sid_hide_notforum'])){
$sid_hide_forum_stop = explode(",",$this->registry->options['sid_hide_notforum']);
if(in_array($thread['forumid'],$sid_hide_forum_stop)){
$post['message'] = preg_replace('/\\[hide\\](.*)\\[\/hide\\]/siU', '\\1', $post['message']);
$hide_stop = 1;
}
}
if($post['userid'] == $bbuserinfo['userid'] AND $hide_stop == 0){
$post['message'] = preg_replace('/\\[hide\\](.*)\\[\/hide\\]/siU', '<fieldset><legend><span class="highlight">'.$vbphrase[sid_hide_post_own].'</span></legend>\\1</fieldset>', $post['message']);
$hide_stop = 1;
}
if ($hide_stop != 1){
if ($this->registry->options['sid_hide_showadmin'] AND $bbuserinfo[usergroupid]==6){
$hide_read = true;
}elseif ($this->registry->options['sid_hide_showmod'] AND can_moderate($thread['forumid'])){
$hide_read = true;
}elseif (!empty($this->registry->options['sid_hide_showusergroup'])){
$hide_groups_see = explode(",",$this->registry->options['sid_hide_showusergroup']);
if (in_array($bbuserinfo['usergroupid'], $hide_groups_see)){
$hide_read = true;
}
}
if ($vbulletin->options['sid_hide_showthanked'] AND $hide_read==false){
$hide_img_set = $hide_img_set + 1;
if($vbulletin->options['post_thanks_forum_first_all'] == 1){
$hide_thanked = $db->query_first("SELECT userid FROM ". TABLE_PREFIX ."post_thanks WHERE postid='$threadinfo[firstpostid]' AND userid='$bbuserinfo[userid]'");
if($hide_thanked !=''){
$hide_read = true;
}
} elseif (!empty($vbulletin->options['post_thanks_forum_first'])){
$post_thanks_only_first = explode("|",$vbulletin->options['post_thanks_forum_first']);
if (in_array($threadinfo['forumid'], $post_thanks_only_first)){
$hide_thanked = $db->query_first("SELECT userid FROM ". TABLE_PREFIX ."post_thanks WHERE postid='$threadinfo[firstpostid]' AND userid='$bbuserinfo[userid]'");
if($hide_thanked !=''){
$hide_read = true;
}
}else{
$hide_thanked = $db->query_first("SELECT userid FROM ". TABLE_PREFIX ."post_thanks WHERE postid='$post[postid]' AND userid='$bbuserinfo[userid]'");
if($hide_thanked !=''){
$hide_read = true;
}
}
} else{
$hide_thanked = $db->query_first("SELECT userid FROM ". TABLE_PREFIX ."post_thanks WHERE postid='$post[postid]' AND userid='$bbuserinfo[userid]'");
if($hide_thanked !=''){
$hide_read = true;
}
}
}
if ($this->registry->options['sid_hide_showposted'] AND $hide_read==false){
$hide_img_set = $hide_img_set + 2 ;
$hide_replied = $db->query("SELECT COUNT(postid) AS count FROM ". TABLE_PREFIX . "post WHERE userid='$bbuserinfo[userid]' AND visible = 1 AND threadid='$post[threadid]'");
$myreplies = 0;
if($db->num_rows($hide_replied)){
while ($h_post = $db->fetch_array($hide_replied)){
$myreplies += $h_post['count'];
}
$myreplies = vb_number_format($myreplies);
}
if($myreplies > 0){
$hide_read['userid'] = true;
}
}
if (!$hide_call){
$hide_call =$post['postid'];
} else {
$hide_call .=",".$post['postid'];
}
if($hide_img_set == 3){
$hide_img = $vbphrase[sid_hide_img_pot];
} elseif ($hide_img_set == 2){
$hide_img = $vbphrase[sid_hide_img_post];
} elseif ($hide_img_set == 1){
$hide_img = $vbphrase[sid_hide_img_thank];
} else {
$hide_img = $vbphrase[sid_hide_img_sorry];
}
if(!$bbuserinfo[userid]){
$hide_read = false;
}
if ($hide_read == true){
$post['message'] = preg_replace('/\\[hide\\](.*)\\[\/hide\\]/siU', '<fieldset><legend><span class="highlight">'.$vbphrase[sid_hide_post_show].'</span></legend>\\1</fieldset>', $post['message']);
} else {
eval('$hide_fetch = "' . fetch_template('sid_hide_noaccess') . '";');
$post['message'] = preg_replace('/\\[hide\\](.*)\\[\/hide\\]/siU', $hide_fetch, $post['message']);
}
}
}
that'll add an own db query for thanked posts and is not using the original array.
This one will surely work.
(I hat to have unnecessary querys, but I see no other chance right now to get this to work in your forums.)
'sid
ps don't forget to delete the debug plugin! that's causing a lot of querys too :D
Thx work nice ;)
hotmasala4u
02-23-2007, 04:36 PM
hi may be u guys knw how 2 not have a pop up and then put what text u wannna hide rather than just having {hide} {/hide} to come in the post
DJ Matt4684
02-24-2007, 07:04 AM
I am running vbulletin version 3.5.4 and I have both the hide hack and post thank you hack installed. If I installed this, would it work with the version of vbulletin I currently have or is it only for 3.6.2? Also, if I installed this, I probably wouldn't need the hide hack anymore?
Ahsin1
03-01-2007, 03:37 PM
i do every thing but when i post a threat i didn,t see any hide tag to hide the post help please huryyy
itsid
03-01-2007, 09:36 PM
hotmasala4u,
well I guess this depends mainly on the editor you're using.
Matt,
Well you'll have to transform the xml to avoid the installationserror you'll get installing a 3.6.x xml
But yes, the hack itself will do on 3.5.x
which ever hide hack you have; you will have to uninstall it to make this hack work correctly.
Ahsin,
you'll ALWAYS see your own hidden content, you cannot hide it from yourself.
Also you have to check settings (hack is disabled in forumid 2 for example by default)
AND: Make sure that you are not logged in as an administrator (or disable admin view in acp-settings)
If done so, the hack will surely work
'sid
And finally:
No support for "not installed" customers no more ;)
Dj megas
03-02-2007, 02:02 AM
I like your hack very mach thank you!!!
I have a question please..
I like to change the [ when you click at the bb code to say
Is the same but in greek.
Thank you
Regards.
Keep up the good work!!
Chester_Lou
03-02-2007, 06:32 AM
Before this was working fine, but then when I reinstall it, I type ASDFASDFASDF it shows "Content to be hidden" no matter what's the param in hide tags. WTF?
itsid
03-02-2007, 11:38 AM
dj megas,
you would have to change that in too many plugins to make that a good idea,
but if you have a good texteditor (like notepad++ //freware ) you do best on search and replace within the xml,
but I'm unable to support you on that, so try only if you know what you're doing :D
chester,
as I said above: mark as installed for support ;)
Hint: the answer is already in this thread.... ;)
'sid
Ahsin1
03-02-2007, 06:57 PM
i can,t hide posts when i hide a make a new threat every thing is visible there no hiden image
how i can fix that
Chester_Lou
03-02-2007, 10:14 PM
ok, I clicked install this product.
And I can't find the solution thru this thread...or did I miss it?
Anyway helps will be appreciated
itsid
03-02-2007, 10:24 PM
thanks chester ;)
Well it has to be, that error occures the one or other day, I still don't know the reason though.
To fix that just open "custom vb codes" and edit hide-tag don't alter anything just click on save and it'll be fixed!
replacementcode has to be:
{param}
'sid
Chester_Lou
03-02-2007, 10:29 PM
WOW
I found out a way to fix this, just delete the hide bb code wtf?
BTW the default of the replacement IS {param} :/
Anyway, nice mod there
itsid
03-03-2007, 09:02 AM
yepp, the vbCode is just the place where you can set the editorbutton (for those who want to have one)
otherwise it's unnecessary.
abcmississauga
03-03-2007, 10:20 PM
Ok,,,,I installed it and I see everything but the button......there is no blank img and it looks like I missed something..........I see it in the Admin cp and it selected to yes,,,,,I see all the pics as its displayed but i am missing the button...
hotmasala4u
03-04-2007, 05:39 PM
so is there any ways i cant not have a pop up come and put a link there and just have {hide}
{/hide}
come up on the tread u are making so they can put more info
anywares
03-10-2007, 08:07 AM
Very nice hide hack version. better than vS Hide Hack ressurestion imo ;)
<!-- Clicks Install -->
For all those wondering, this hack workz perfectly on vB 3.6.5
dragonlove
03-10-2007, 01:24 PM
Hi, I'm having this error :
When I delete my other BBCode , all the posts with content become :
[hide]{param}
instead of displaying the content between !
What is the solution?
itsid
03-10-2007, 03:07 PM
thanks anywares :D
dragonlove, as soon as you update anyhing, that error may occur.. I have no idea why,
but how to fix :D
Go to ACP -> custom vB Codes and edit the hide-tag
infact, donot edit anything just clicking edit and save will do :D
'sid
ps abcmississauga, hotmasala4u, if you wonder about my missing answer, then think about this:
"Who hasn't installed anything, doesn't need any help ;)"
MobileBros
03-10-2007, 09:38 PM
that still dont work it still show up that {param} stuff
itsid
03-11-2007, 07:04 AM
if you do not intend to add the editor-button (post #74) you may also simply delete the complete custom vB Codes hide-entry.
it's just there to provide a faq-bb-code entry and a simple way to add an editor-button, nothing more :D
'sid
dragonlove
03-11-2007, 07:59 AM
thanks anywares :D
dragonlove, as soon as you update anyhing, that error may occur.. I have no idea why,
but how to fix :D
Go to ACP -> custom vB Codes and edit the hide-tag
infact, donot edit anything just clicking edit and save will do :D
'sid
ps abcmississauga, hotmasala4u, if you wonder about my missing answer, then think about this:
"Who hasn't installed anything, doesn't need any help ;)"
It works!
Thank you, I'll vote 5* for it ^^
princeedward
03-12-2007, 08:05 PM
great hack and working good to 3.6.5
thanks a lot for this...
BTW. what does it means?
It will show up some hint that will let your users know what to do (thank, answer, or even nothing)
by now with some small text, soon with a set of images
now with a set of small images showing up as hint ???
ReQueM
03-15-2007, 11:40 PM
thank for this great hack
**installed**
darkman
03-18-2007, 03:40 AM
Thank you very much 'sid - nice easy install and wonderful support. :)
kingele18
03-22-2007, 02:52 AM
i've installed it
but when i rebilt the post cache
all the hidden content appears like that after reply " {param} "
i'm waiting for your help :)
darkman
03-22-2007, 03:49 AM
^he already has answered that question several times in this thread:
To fix that just open "custom vb codes" and edit hide-tag don't alter anything just click on save and it'll be fixed!
Richard1964
03-23-2007, 02:04 PM
I just installed this (It's the FIRST and only addon I have tried so far) and it is superb!
Many thanks for your time and effort in sharing this with us.
it's possible to remove hide text after X days?
For Example:
bla bla bla
11111111111
After X days it's look like this:
bla bla bla bla
111111111111
it's possible?
itsid
03-24-2007, 11:10 AM
Hi, back from vacation,
but not "up and running" already ;)
Okay, let's try though ...
princeedward, or should I say "your royal highness" ?,
that means, you can now choose if you want to have the hints ("you have to reply/thank to see hidden content") showing up as regular text or images (see last image in first post)
bbf,
to make it short : I won't ;)
Sure it's possible though, adding some more lines of code maybe adding
a sql-query to ask for the timestamp, that's generally it I guess.
But in fact, I don't want that to happen!
And that will only show up hidden content after that time, but will not prevent hidden content to be seen after posting or thanking ...
If you like drop me a PM, I'll see what I can do if you won't find a hack that fits your needs.
All others: thank you very much!
'sid
so you don't want to add this option in the next version?
i think it's help for some people.
dunglantq
03-30-2007, 08:44 PM
Thank for nice mod, i have a question
How to change <fieldset><legend> to display like bbcode
as here :
Hiden Block :
:confused: :confused:
360themes
04-01-2007, 07:24 AM
after clicking Thanks, users need to refresh the page in order to the hidden content. Is there anyway to make it auto -refresh after clicking
dunglantq
04-01-2007, 09:41 AM
after clicking Thanks, users need to refresh the page in order to the hidden content. Is there anyway to make it auto -refresh after clicking
vBulletin Options => Posts: vB Code [hide] => Ajax functionality => Yes
:up:
music legend
04-01-2007, 05:18 PM
thanks and nice hack!
INSTALLED
wolfe
04-01-2007, 08:51 PM
hi m8 is it possible to add a box under the messagebox and what ever content is put into it it is automaticly parsed with hide tags. thx in advance
itsid
04-01-2007, 10:09 PM
bbf,
I'm afraid.. No
dunglantq,
Sorry the fieldset was hardcoded, because I need it that way,
I know that hardcoded html isn't the way to go, but intentionally the hack was just for me,
so you have to take it this way ;)
Oh, and thanks for the answer :D
360themes,
yes, as dunglantq said, activate the ajax feature first, if you still have any troubles let me know.
music legend,
your welcome !
wolfe,
that doesn't make any sense I guess...
If you build another message-box where to put hidden content? at the top of the post? at the end? right in the middle? And how should I enter hidden content with quickreply?
why not just use the tags where ever you want, I see no need for such a message box :(
'sid
dunglantq
04-01-2007, 10:50 PM
itsid, thank for reply and cool mod :D
who have another idea ???
wolfe
04-02-2007, 09:53 AM
wolfe,
that doesn't make any sense I guess...
If you build another message-box where to put hidden content? at the top of the post? at the end? right in the middle? And how should I enter hidden content with quickreply?
why not just use the tags where ever you want, I see no need for such a message box :(
m8 its a message box for newthreads only such as riddles where they can add the answer and when people reply with theres the hidden answer shows you understand now would it be an easy modification ?
richTV
04-09-2007, 01:04 AM
i ran some maintenance on my board [v3.6.4] and it caused all of the hide links to be this [see pic below] :
what i did was Prune and move some members to an inactive usergroup and then ran these maintenance from the Admin Panel:
Admin Panel / Maintenance / Update Counters
1. Update User Titles and Ranks
2. Rebuild Thread Information
3. Rebuild Forum Information
4. Rebuild Post Cache
I also ran Admin Panel / Maintenance / RepairOptimize Tables
checked all boxes and clicked Continue and selected Repeat Process twice more just to verify
i then ran the Diagnostic test which is in Admin Panel / Maintenance
so i'm not sure which one of those tasks might have caused the Hide hack to not function properly.
I'm able to fix it by clicking on member's thread Edit button and then click Save and it is then working properly.
do i have to do this for all of my member's posts or would reinstalling fix it?
richTV
04-09-2007, 01:44 AM
nevermind....
getting tired of fixing everyone's post, i then went into the Admin Panel / Custom BB Codes / BB Code Manager
and clicked on Save for the Hide hack thus causing my board to "update" it and it is working fine now. :rolleyes:
Terminatoronly
04-09-2007, 05:50 AM
Hi Itsid,
i have removed this mod from my forum but there is a problem :( the hide button is still shown in the text editor please help i want to remove it
itsid
04-09-2007, 10:36 PM
No problem..
go to "custom vB Codes" and remove the hide-tag insert
And because you're in the acp already, make sure all plugins are removed properly ;)
(should.. but tag should be removed, too... so better check than sorry ;))
'sid
PS yes richTV, that you could read some pages ago ;)
Terminatoronly
04-10-2007, 05:46 PM
i did that already but still same its a nice mod btw i will stay marking it as installed since i will use it again maybe ;)
koolasia
04-10-2007, 09:50 PM
theres 1 prob in this mod once some 1 replies it doesnt show the undidden part sometimes it stays in the cahce of the browser and user has to refresh it many times
itsid
04-11-2007, 02:59 PM
I can't change your users browsersettings... sorry ;)
(tell them to set to "update every pageload")
'sid
koolasia
04-11-2007, 08:07 PM
I can't change your users browsersettings... sorry ;)
(tell them to set to "update every pageload")
'sid
but the same mod in ipb had no such prob neways thanks
itsid
04-12-2007, 11:34 AM
you've activated the ajax-ability didn't you?
'sid
koolasia
04-12-2007, 12:39 PM
you've activated the ajax-ability didn't you?
'sid
now i activated ajex workin fine till now hope wont affect server load
thanks for the mod :)
itsid
04-12-2007, 11:27 PM
this scripts ajax wont harm your server
the javascript runs browserbased and only needs users resources.. the updatecall will produce less serverload than a page refresh
No need to worry on this side ;)
'sid
vspro
04-13-2007, 02:47 PM
Hi itsid,
Now I like you to write a version to make [hide] hack incl post thank you "addon"
mod has the following feature: A member must have an X THANKS to be able download an attachment file. In the ACP, admin can set the X Thanks of each box so that the member go to that box must have to download file in there. Can you integrate the Thanks Mod (https://vborg.vbsupport.ru/showthread.php?t=123527&highlight=vS-Hide+Hack+Resurrection)[click here (https://vborg.vbsupport.ru/showthread.php?t=123527&highlight=vS-Hide+Hack+Resurrection)] of Psionic Vision or [AJAX]Post Thanks Your Hack (https://vborg.vbsupport.ru/showthread.php?t=122944) of Abe1 and create the feature for the next version"? Hope you understand and help me.
It's because I want the member of my site to contribute more, they have to obtain an X thanks to download a file. This will reduce spamming too. Thank you again and hope you have time to give me a help
itsid
04-13-2007, 11:38 PM
I'm sorry vspro,
I don't get your request....
A user must have received a specific amount of thanks to download attachments, okay easy...
Acp settings (sure...) but what boxes you're talking about?
where do they have to go? what do they have to do?
And what does that have to do with my hide-hack ?
I don't get it!!
One NO you'll receive infront: I do not integrate psionics thanks mod (he has a hide hack with his thanks mod that's enough).
I code for myself and my needs only.
(that's why I don't do any custom works... you cannot afford paying me either :D)
I chose Abe1's thanks hack long ago and there is no reason to change :D
cheers
'sid
PS Abe did some small addons for his thank-you hack already maybe you'll find something that'll match your needs
david05
04-30-2007, 10:50 AM
I used the functions: Click ThanK button and Refresh page to see the hidden contents, but this one doesn't work. Only the functions of Repling and Refeshing could see hidden contents. I'm using vb 3.6.5.
Would you please help me with the function Thank + refresh could see the hidden contents. Mine didn't work.
itsid
04-30-2007, 11:34 AM
considering you have the thank-you hack installed, I'd like to know if you could see hidden content within printthread.php after clicking thanks.
oh one thing: is ajax disabled or why do you have to reload?
'sid
david05
04-30-2007, 11:50 PM
Ajax is disabled. Accoding to this, "If you encounter high Serverloads please deactivate this; users will have to reload after reply or thanks to see what's hidden then!" , so I disable it. I have a feeling that if ajax is enabled, I browser slowly through my site. Is this the reason?
The hack works find in both reply or thanks if I enable the ajax. But according to the quote above, I could disable ajax, and if members reply or thank and then reload page, they still could see the hidden content. On the other hand, when ajax is diabled, mine only can work with Reply. Member can't see hiden content when they click thank and reload page.
itsid
05-01-2007, 06:33 AM
sorry, now i'm confused...
ajax is disabled, okay
If users click on thanks they cannot see what's hidden (but they can WITH ajax)
That is your problem?
If so, what about printthread.php?
'sid
vitrag24
05-01-2007, 08:16 PM
2 bugs:
--if u have clicked thx then in nxt visit to se hidden content u have to remove thx and click on it again
--some users for saudi are complaing that they arent gettin hidden content even after clicking on thx
david05
05-01-2007, 08:58 PM
sorry, now i'm confused...
ajax is disabled, okay
If users click on thanks they cannot see what's hidden (but they can WITH ajax)
That is your problem?
If so, what about printthread.php?
'sid
Yes, that's my problem.
What do you mean about printthread.php? how do i check it and give that infomation to you ... Would you explain more clearly?
itsid
05-01-2007, 09:24 PM
david,
after you clicked thanks , click on top of the page "thread options" (in this thread mod options for example) and on "show printable version"
you'll be redirected to printthread.php.
If you can see hidden content there let me know,
if not... too :D
Mostly this error occurs because of an old leftover from a previous version of abe1's thankyou hack.
Maybe the "PS" mentioned in first post may help then.
'sid
PS vitrag, it's annoying to read this full thread, I know.. but read the first post closely and please... click install, or forget about support ;)
lebmobile
05-02-2007, 12:17 AM
Dear Mr,
1- Does hiding the posts from Archive will affect google crawler ?????
2- Does it work with AJAX ? i mean if someone posted using ajax...does the link show up or he must refresh the page ?
david05
05-02-2007, 01:52 AM
david,
after you clicked thanks , click on top of the page "thread options" (in this thread mod options for example) and on "show printable version"
you'll be redirected to printthread.php.
If you can see hidden content there let me know,
if not... too :D
Mostly this error occurs because of an old leftover from a previous version of abe1's thankyou hack.
Maybe the "PS" mentioned in first post may help then.
'sid
PS vitrag, it's annoying to read this full thread, I know.. but read the first post closely and please... click install, or forget about support ;)
Yes, after I click on the "printthread" , I can see the hidden content.
So is it the only way i can see the hidden content? Do you have another way to see the hidden content, or someway that fix this problem?
itsid
05-02-2007, 07:39 AM
lebmobile,
Yes it does affect crawlers, hidden content cannot be seen by any crawler.
(except you allow guests to see hidden content, what will result in any not logged in user seeing hidden content, too)
And yes as mentioned in first post, it has an ajax-ability , so no refresh is necessary (if enabled)
david, then please, change the code to the one linked here (https://vborg.vbsupport.ru/showthread.php?p=1149445#post1149445)
and it'll run smoothly.
It adds another sql query, but it's failure safe
'sid
david05
05-02-2007, 06:29 PM
It works smoothly now. ... Another concern: what do you mean that "it's failure safe"?
Is it not safe to use the that code? or .....
itsid
05-02-2007, 10:51 PM
no, that's not what I wanted to say ;)
The added query makes sure that the post was thanked or replied, so that it cannot fail to show up hidden content :D
'sid
david05
05-03-2007, 12:18 AM
^^ Thank you very much for supporting.
You're very nice.:)
cuphongle
05-03-2007, 08:09 PM
how do we add a Hide Button in our Editor?
Hi, nice hack. (installed...)
But I have some problems.
When I have thanked, then the hidden content will be shown. But after reload the Hidden Content will be hidden again.
Only with a reply does work.
Please help!!
Sorry 4 English but I am german xDD
germinus
05-05-2007, 06:05 PM
I have added an image to editor box so people dont have to keep typing the tag, but they get a script prompt box comu up asking which function they would like to use it with, how can this be stoped?, and while i think about it I have been using another "hide hack" that uses bb code [hrply] is there any way to update the posts already made with said code so that it shows this hide hack or do I have to edit each post?
vitrag24
05-05-2007, 06:13 PM
itsid marked installed
:p
now check my query plz
sp3x same prb with me too..
itsid
05-06-2007, 06:46 AM
vitrag,
david had exactly the same problem, do as I told him and it'll be fine for you too I'd guess :D
So read this post (https://vborg.vbsupport.ru/showthread.php?p=1149445#post1149445) ;)
sp?x, dasselbe gilt f?r Dich ;)
nimm obigen Link und ersetz das eine Plugin, dann ist das Problem weg.
cuphongle, germinus,
click Mark as installed (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=130887)
to gain support
'sid
vitrag24
05-06-2007, 08:53 AM
sid have u read my prb ?
only few users have prb
one user from saudi arabia was complaining that he isnt gettin hidden content even after refreshing page..
and that post u told me to read for which prb solution is there?
m confused
germinus
05-06-2007, 08:57 AM
Done, so how can i get rid of this script prompt pop up box?
itsid
05-06-2007, 03:19 PM
thanks...
Go to ACP-> Custom vB Codes -> [hide] and mark "use {option}" as NO!
that's all ;)
vitrag24,
--if u have clicked thx then in nxt visit to se hidden content u have to remove thx and click on it again
this one, but I guess it'll fix the other one too :D
if not, let me know.
'sid
germinus
05-06-2007, 07:26 PM
its already marked as no so thats not the problem, I have even tried selecting yes and has no effect.
itsid
05-07-2007, 01:52 AM
Wow, now I'm confused...
I do not know no other prompt....
maybe it's wysiwyg-made, if you use that supid editor;
check by swapping to the std-editor temporarily (that A/A button - upper right)
within the wysiwyg you'll have to first type, mark, then hide to get rid of the prompt
Best way: fully disable wysiwyg ! (that thing sucks anyway ;))
'sid
germinus
05-07-2007, 06:24 AM
nope still does it
itsid
05-07-2007, 04:33 PM
could you get me a screenshot of that prompt please...
I can not replicate that behaviour, not even with wysiwyg :(
'sid
buileminh
05-07-2007, 04:50 PM
Can you split it or add an option for members if they want to choose the way to unhide the hidden content when posting: reply or thank or both, NOT from general setting in AdminCP?
itsid
05-07-2007, 11:03 PM
NO!
I don't like that thought, that's the reason why I didn't just took psionics version but coded my own.
I don't like users having too much options to choose.
keep in mind, that giving the option to "show on reply" may cause a lot of spam-posts like "thanks alot" or "what's inside?" or similar stupid stuff just to see what's been hidden.
Sorry buileminh, but I really do not like that kind of idea
'sid
sweetguy2004
05-08-2007, 02:59 PM
can any 1 tell me how to hide attachments
tiredoff
05-09-2007, 03:40 AM
thank you
itsid
05-09-2007, 06:37 PM
sweetguy2004,
yes someone can, but why you wanna know if you didn't installed the hack ? ;)
tiredoff, you're welcome :D
'sid
beduino
05-10-2007, 04:50 PM
Hello Sid,
I'm using 'thanks' of Abe1 a lot of time. I used [not anymore...] a add-on to stop view attachments without press thanks button. But this add-on works with problem.
I uninstall it and install you lovely hack.
But... the principal [to me, of course ;)] is block the download of attachments.
I read the thread [maybe i was a little blind :)] and see.
MpDesignZ,
all MissKalunji wanted to let you know was:
Upload your attachment as usual and read its Attachmentid then do the following:
PHP Code:
#id (you've just figured)
If you show up all attachments of your post using the attach-tag they wont show up with the box and you can hide them as any other tag.
Ok. But how - In Name of God ! - I can find the value of #id to each attachment?
Probably is a stupid question , but... I don't know.
In the other way: It's possible, by default [or change something in bbcode] hide ALL POST and the attachments?
Tks for your time and precious good work
All the best
Beduino
itsid
05-10-2007, 09:19 PM
beduino,
just use that little paperclip button to implement the attachement to your post (you'll have to implement all attachements to remove the attachement box ;) )
then hide them using the hide-tags.
Hiding away the complete post is not recommended ;)
Your user want to know what they're going to thank for first for sure :D
but that's up to you.
Yes, I need to find a more elegant way for attachements, but I haven't enough time :(
so that'll have to wait
'sid
beduino
05-11-2007, 11:49 AM
Hi sid,
first of all - thank you for your time, and work - and replies!
Finally i see [what embarrassment .... little 'blind'] the paperclip in toolbar. :)
and read a lot of posts :D
# 74 - the gif [the most popular :D]
# 201 - images
# 255 - plugin/debug
# 295 - problems with opera browser
etc
Tks a lot
Joao Barroca
aka beduino
sweetguy2004
05-14-2007, 07:13 AM
sweetguy2004,
yes someone can, but why you wanna know if you didn't installed the hack ? ;)
tiredoff, you're welcome :D
'sid
silly question sids, well may b i gone mad if m not using it & asking about it, its there on my forum! god knows y u won't able to see it, I just want to know how to hide all attachments in the threads can you help me how to do it. thanks alot :up:
neutek
05-15-2007, 01:01 PM
thanks -- attached some hide pics
itsid
05-15-2007, 04:17 PM
sweetguy,
that was never meant as a question , that's a hint reading the first post especially this part:
PPS Sorry, Support only for those who clicked "install"
;)
neutek,
thanks a lot. the white one is my favourite ;)
'sid
Lahoria
05-16-2007, 09:14 PM
Hi just installed the hide hack ... but it doesn´t seem to be working :
they are no bottums at the top of the wysiwyg interface !!
and
when I write manully :
yes yes yes yes
is shows up like that ....... no hide !!!
Any help `?
itsid
05-17-2007, 10:36 AM
Hi Lahoria,
No there are no buttons by default, but you can easily add one to the editor,
there's one in post #74 or use one of the buttons neutek just posted.
Upload one to your forums server, and go to ACP->Custom vB Codes-> hide
there you'll find where to enter the imagepath.
Oh, and NOPE, within WYSIWYG the text will not be hidden, you will never find your own text hidden, so it doesn't make any sense to hide text in wysiwyg.
(wysiwyg doesn't make any sense at all!! that's by far the most annoying thing ever,
it produces as ugly code as imaginable... other story)
To see what it does you have to send the post to your forum (not even preview does the job)
'sid
Mrdby
05-17-2007, 11:39 AM
3.6.6?
Mrdby
05-17-2007, 09:31 PM
can someone help?
rjmjr69
05-22-2007, 01:18 AM
Ok I cant get the img's to apply what folder do they go in? The directions are very small and should be rewritten. Everything I submit shows even if I log out. I set it so Admins can't see and still get a text box wrapped with no images. And it appears as if EVERYONE can see the hidden stuff? I have the latest thank you hack which is working fine
SecTa
05-22-2007, 01:24 AM
Work nice on 3.6.7 PL1 with Thanks Hack 6.2
itsid
05-22-2007, 11:01 AM
rjmjr69,
as described in the picture, the images have to uploaded to your images-folder,
check if you can call them by yoururl.com/images/en_hide_pot.gif or if your forum is in a subdirectory yoururl.com/formorwhatever/images/en_hide_pot.gif
If you see the images there check if you uploaded the xml corectly
the xml has to be installed for every language that the pictures should appear in.
go to acp-> phrasemanagement -> upload phrases -> import xml langfile -> choose "hide_bbcode-images-english.xml" from your local harddrive -> choose overwrite existing language "english" or what ever language you want to add the pictures to -> check ignore version -> click import
that's it
repeat for other languages if necessary.
Check your hacksettings again, delete all entries that disable the hack in certain forums, disable view in all cases and disable view for all usergroups.
Now, noone should be able to see what's hidden not even the admin.
If that's working, make your appropriate settings and save.
secta,
thanks for that information :D
'sid
rjmjr69
05-22-2007, 05:43 PM
rjmjr69,
as described in the picture, the images have to uploaded to your images-folder,
check if you can call them by yoururl.com/images/en_hide_pot.gif or if your forum is in a subdirectory yoururl.com/formorwhatever/images/en_hide_pot.gif
If you see the images there check if you uploaded the xml corectly
the xml has to be installed for every language that the pictures should appear in.
go to acp-> phrasemanagement -> upload phrases -> import xml langfile -> choose "hide_bbcode-images-english.xml" from your local harddrive -> choose overwrite existing language "english" or what ever language you want to add the pictures to -> check ignore version -> click import
that's it
repeat for other languages if necessary.
Check your hacksettings again, delete all entries that disable the hack in certain forums, disable view in all cases and disable view for all usergroups.
Now, noone should be able to see what's hidden not even the admin.
If that's working, make your appropriate settings and save.
secta,
thanks for that information :D
'sid
thank you sir I did not choose overwrite all works fine thanks
oriantes
05-22-2007, 07:33 PM
tanks
sweetguy2004
05-24-2007, 01:00 AM
i clicked now can u tell me how to hide attachments
itsid
05-25-2007, 09:31 AM
?? Hi sweetguy,
I just told beduino on May 10th.. I thought you know now.
include the attachments to your post using the paperclip-symbol in your editor, then hide them away as you hide ordinary text.
'sid
lolo?
05-25-2007, 10:57 AM
could you make compatible this mode with vBadvanced ??
maxicep
05-25-2007, 02:40 PM
thank you itsit :)
can you share with buttons psd's us ?
maxicep
05-25-2007, 02:51 PM
i clicked now can u tell me how to hide attachments
yes ,how can i hide attachments ?
kauka
05-25-2007, 11:47 PM
just a question does this work with newest vb release 3.6.7?
everydayforums
05-28-2007, 02:33 PM
Yes seems to work fine only problem Im having is getting images to show, hidden text shows fine but no images..
FatalBreeze
05-28-2007, 07:44 PM
Great Hack! Thanks!
But i wanted to ask you just one thing: I want to make hidden posts that were posted a month ago will not be hidden. I know how to write the code itself, but what i don't know is where i should put it? what plugin should i change? Thanks!
itsid
05-30-2007, 10:32 AM
starting from the end...
Fatal Breeze,
you have to edit the fetch_hide_tag plugin you'll recognize the rules that kick the hide-tag from certain forums (or globally) put it right after those.
Oh and the printthread plugin too.
(keep in mind that hacks are NOT opensource in the "i do what i want with it"- sense of term)
So at least I want to see what you've done ;)
Ufgy,
you have to install the images and the image-xml file properly.
follow the instructions you'll find in post #432 (page 29)
kauka,
I think so, I didn't tested, but I've heard it does.
maxicep,
No, due to bad experiences I will not share any psd anymore.
see post #421 for a small how-to hide attachments (page 29)
lolo?,
I don't use vbadvanced, so I don't know what you want me to do.
'sid
murrtex
06-03-2007, 11:21 AM
:( it doesnt work on Post Thank You Hack 6.2 and vb 3.6.7PL1
it makes invisible,it hide but peply or to push to thank button dosnt work
it says only "{param}"
how can we fix it?
itsid
06-04-2007, 09:39 AM
Hi,
click "mark hack as installed" in firstpost or read this thread yourself :D
'sid
Lost Heaven
06-04-2007, 12:09 PM
thank sid,i like your mod ;)
Lost Heaven
06-04-2007, 07:21 PM
A small bug.When my member thank a poster to see the hidden content,and he can see.But after that,when he come back this thread,he can't see hidden content anymore,he must reply again to see this.So can you fix this,sid?
itsid
06-05-2007, 05:56 AM
Hi Lost Heaven,
yes, a known issue
Please see first post for the code change (linked there)
'sid
TR?PST?R
06-06-2007, 02:57 AM
instead of thank you could u make it use reputation instead?
Like the reputation system that vbulletin already has.
Lost Heaven
06-06-2007, 06:37 AM
Hi Lost Heaven,
yes, a known issue
Please see first post for the code change (linked there)
Thank sid very much ;)
itsid
06-06-2007, 08:05 AM
Hi Trapstar, I'm sorry nope.
'sid
Lost Heaven
06-07-2007, 04:16 AM
Hi sid,i have a problem.So member quote my post and they can see hidden content without thank.So can you fix this?
itsid
06-07-2007, 05:49 AM
???
hidden content cannot be quoted by default!
If you see a quote with hidden content, then it has to be C&P.
'sid
tanand79
06-07-2007, 08:06 AM
can i hide my attachments also ?
I want to hide the attachments made in the post....
itsid
06-08-2007, 06:16 AM
tanand, please see post #421 on page 29
'sid
ytclear
06-09-2007, 06:12 PM
How many queries does this add? And does it only add it on pages with [hide] on it?
Also i assume its compatible with 3.6.7 pl1 ?
Thanks i am very interested in installing this but dont want to lose speed or cause problems.
itsid
06-10-2007, 01:32 PM
If there is no hidden content in any post of a specific page it won't add any query.
If there is hidden content that is thanked for before it wont need any additional query either to show it up (it uses a variable provided by the post_thank_you_hack)
Only if that fails (see first post, flw) it needs to be changed to make an own query for those cases.
There is one query to check if viewer has answered already (if that option is enabled) that is called if hidden content is still invisible (not thanked p.e.)
So best case : No hidden content or all hidden content is thanked for (original plugin) = NO additional query
Worst case : Hidden content, not thanked (changed plugin for errorcorrection), both options activated, [not] answered = Two Querys per post (only those that contain the hide-tag)
Normal behaviour = One query per post (containing hidden content only ama)
Yes, I was told it works smoothly with 367, not tested myself :(
You shouldn't encounter any speed-problems not even with ajax-ability enabled,
If you do, you can try to disable ajax-ability first.
Uninstalling the hack won't leave a trace, because it's fully pluginbased (images excluded)
'sid
ytclear
06-12-2007, 04:48 PM
If there is no hidden content in any post of a specific page it won't add any query.
If there is hidden content that is thanked for before it wont need any additional query either to show it up (it uses a variable provided by the post_thank_you_hack)
Only if that fails (see first post, flw) it needs to be changed to make an own query for those cases.
There is one query to check if viewer has answered already (if that option is enabled) that is called if hidden content is still invisible (not thanked p.e.)
So best case : No hidden content or all hidden content is thanked for (original plugin) = NO additional query
Worst case : Hidden content, not thanked (changed plugin for errorcorrection), both options activated, [not] answered = Two Querys per post (only those that contain the hide-tag)
Normal behaviour = One query per post (containing hidden content only ama)
Yes, I was told it works smoothly with 367, not tested myself :(
You shouldn't encounter any speed-problems not even with ajax-ability enabled,
If you do, you can try to disable ajax-ability first.
Uninstalling the hack won't leave a trace, because it's fully pluginbased (images excluded)
'sid
Awesome thanks for your detailed reply, it was very helpful.
I will be installing this mod this week for sure and will let you know how smoothly it works with 3.6.7 and on a large board scale (over 5.8 mil posts and 80,000 members).
Thanks again.
stinger2
06-12-2007, 07:33 PM
hi itsid
is our hack still working with the LAST version of post thank you...i mean version 6.0 and above....6.2
i am thinking of upgrading to 3.6.7 and my most popular hack is this one.....so my question ....should i upgrade post thank you to the last version...or just leave it as it is....i mean the old version which works perfectly with your hack???
thanks in advance sid
Calibre_k
06-12-2007, 08:46 PM
import via acp Phrase-Manager but NOT as a new language!
english/hide_bbcode-images-english.xml how do i do that? does it work with 3.6.7?
tuanvic
06-13-2007, 11:32 AM
when i use hide hack this come out with this message although i typed more than ten character "The message you have entered is too short. Please lengthen your message to at least 10 characters." I using VBB 3.6.6 and post thanks 6.2 please help thanks
itsid
06-13-2007, 10:26 PM
tuanvic,
yes type a minimum of ten char. OUTSIDE the hide-tag to describe what you've hidden away, then there will be no such message ;)
(I hate it myself when I do not know what I should thank for... think about that)
calibre_k,
all was answered before... and as long as you don't mark as installed I wont search the answers for you.
stinger,
yes it should do with post_thanks 6 and up,
although I can't do any testings nor improvements due to a time problem (too much work to do) but abe1 didn't changed what my hack is looking for afaics :D
And yes, 3.6.7 and my hack works fine, I was told numerous times.
'sid
stinger2
06-14-2007, 02:10 PM
many thanks....will be upgrading next week end.....( also lack of time..)..
thanks again for your time
lil7rocket
06-21-2007, 09:22 AM
is there a way to unhide everything on closing a thread?
itsid
06-21-2007, 09:56 PM
Nope, not so far
'sid
murrtex
06-22-2007, 05:21 PM
Hi,
click "mark hack as installed" in firstpost or read this thread yourself :D
'sid
yes clicked now ,support please sid ;)
itsid
06-24-2007, 02:19 PM
To fix the {param} issue,
just got to ACP -> Custom vB Codes search for the hide- entry, click edit and in the next window save (no need to edit anything)
(If you don't need no editor button for the hide-tag, you can prevent that from happening again by just deleting the complete hide-entry)
'sid
Kaycee123
06-28-2007, 05:34 PM
I'm just trying to load this with product manager, but this is the error message I'm getting
Database error in vBulletin 3.6.7:
Invalid SQL:
INSERT INTO vb_bbcode(bbcodeid, bbcodetag, bbcodereplacement, bbcodeexample, bbcodeexplanation, twoparams, title, buttonimage) VALUES (NULL, 'hide', '{param}', 'some text', 'With this tag you can hide some text and force members to answer or click the thank you button to see what you\'ve posted.', 0, 'hide', '');;
MySQL Error : Duplicate entry 'hide-0' for key 2
Error Number : 1062
Date : Thursday, June 28th 2007 @ 07:32:46 PM
What am I doing wrong?? I've clicked installed now!
itsid
06-30-2007, 08:59 AM
If you have(1) or had(2) another hide hack installed
(1) uninstall the other one
(2) Got to VB->Custom vB Codes and delete the hide entry
Then try again
'sid
Kaycee123
06-30-2007, 05:47 PM
Thank you so much for this hack - it works great now!! I really appreciate your help - I've been trying for the past 10 days to get the purchased Hide Hack Resurrection version installed with NO luck, yours installed in just a few minutes now that I removed the other hide hack.
Thanks again!!!
vitrag24
07-03-2007, 01:39 PM
mine vb version: 3.6.4
currently i have these 2 hack for thanks addon..
sids hide hack 0.3.5
Post Thank You Hack 5.3
Problem:
users cant see hidden content in their next visit if they have clicked thanks previously..they need to remove thanks and click on thanks again..and thats y i have to enable remove thanks option and some users are removing thaks after gettin hidden content unnecessary...that's bad.can you fix thaT bug?
THX IN ADVANCE.
kambiz
07-03-2007, 02:08 PM
fist of all thanks a lot.
I install it and got confused because it seems not working. I mean it does not hide anything from anyone. only works in qoutes.
vb version :3.6.5
sids hide hack 0.3.5
Post Thank You Hack 6.0
itsid
07-04-2007, 11:35 AM
vitrag24,
see here (https://vborg.vbsupport.ru/showthread.php?p=1149445#post1149445) for the codechange that'll fix that
kambiz,
check the hack settings.
by default an admin can see everything even mods can, disable this option for testing,
enable to make sure your mods can moderate even what's hidden (if you want)
'sid
vitrag24
07-04-2007, 01:52 PM
replaced code.it seems to be fixed now.
you rock sids
:D
and lastly u wrote ps don't forget to delete the debug plugin! that's causing a lot of querys too ..
mean?what should i do?
BTW it seems now soon i'll be able to fix that bug.thx a lot.waiting for your reply now.
kambiz
07-04-2007, 05:14 PM
vitrag24,
see here (https://vborg.vbsupport.ru/showthread.php?p=1149445#post1149445) for the codechange that'll fix that
kambiz,
check the hack settings.
by default an admin can see everything even mods can, disable this option for testing,
enable to make sure your mods can moderate even what's hidden (if you want)
'sid
I did them all. when i disable admins & mods it says "nothing can help you to see hidden content" but after enabling anybody (including users )can see everything.
itsid
07-04-2007, 09:29 PM
Well,
that can't be the way it was meant :D
Okay, let's try again hand in hand ;)
Disable Admin and Mods, disable view for every named other usergroup (clear field)
Enable "show on thanks" and / or "show on reply"
Then go and make a NEW hidden posting (logged in with admin-account, creating a clean new thread)
Now Log out an log in with a normal useraccount (you might have.. in fact you should... ;))
then try to read that new post (don't answer and don't click on thanks)
should be hidden now.
If so, do the same the other way aroung (logged in as ordinary user, create a fresh thread hide some text in your posting)
log out and in as admin, try to read (don't answer, don't reply!)
AND??
'sid
PS if you marked "show on reply" all hidden contents in a specific thread where someone posted are visible even if they came behind.
If you have the thanksoption set to "only in first post" that's enough to see all hidden content in a specific thread (if first post is thanked)
If you have a thanksbutton in EVERY post, you need to thank every single post to show up hidden content.
(if your not enabled to see hidden content without doing anything e.g. as an admin or mod)
delete
vitrag24
07-05-2007, 10:37 AM
replaced code.it seems to be fixed now.
you rock sids
:D
and lastly u wrote ps don't forget to delete the debug plugin! that's causing a lot of querys too ..mean?what should i do?
BTW it seems now soon i'll be able to fix that bug.thx a lot.waiting for your reply now.
i highlighted instruction written by you.
can u tell me what is that?
itsid
07-05-2007, 03:23 PM
NOTHING!
You do not have that debug-plugin, none of you!
(it was custom-made for stinger, and the ps was meant for him ;))
'sid
vitrag24
07-05-2007, 05:38 PM
Thanks a lot.
now no problem with your hide hack.
nominating your hack.
cheers!!
bhanuprasad1981
07-07-2007, 05:18 AM
hai i saw some enhanced quick reply (hide)option in one forum,when we click hide word it automatically enters hidden text bbcode, please help me to enable them.
screen shots added:-
https://vborg.vbsupport.ru/external/2007/07/42.jpg
itsid
07-07-2007, 08:49 AM
Well,
I don't do any quick-reply enhancements ;)
You will surely find some here in this forum.
Mostly they will add ALL editor-butons, or the ones you choose to add.
And if you have activated the hide-button for the editor,
you'll find it in Quickreply after installing one of those hacks.
'sid
lil7rocket
07-07-2007, 09:46 AM
can you come up with a way for me to implent showing all hides on closing the thread? I kinda have a conditional in mind but not sure where it should be...
if thread=closed show hidden content
not sure of the exact code for that or which template to put it in... showthread i think.... but what are the variable names. Need it for a hidden voting system we have going on in one of the many sites i admin at. we want to be able to search old battles even when they are closed even when we havent replied so people will see the quality and such.
itsid
07-07-2007, 10:09 AM
Hm,
you can do that without changing any code of the hack,
by adding a sub-forum for closed threads (can be read only, so noone can start a new thread in it) then you can disable the hack for that forum and you're done.
But I've heard that question earlier in this thread afair,
I'm somewhat bend to my job and do not have enough sparetime to
code new featurs or hacks.
I'm sorry I cannot help you out other than that at this moment.
'sid
Soup^Dragon
07-10-2007, 06:29 PM
hello sid,
will this work for 3.6.7? on trying to install i get an error say the file was created using a different version (3.6.2) should i just choose to ignore the language version?
after reading the whole thread i have installed and got it to work - thanks again!!
itsid
07-11-2007, 07:17 AM
yepp,
just ignore language version.
and choose OVERWRITE existing language!
There's just the phrases in it (used for images or text, depending on the file you choose)
you will not overwrite any existing phrase.
'sid
Matt_270581
07-12-2007, 04:52 PM
Great. You just saved me $35. :D
* Matt_270581 installs
qqqqw
07-16-2007, 05:01 AM
well i have installed Sid's hide hack at my site but its not working
after clicking on Hide image button near insert php button,
it always shows popup like in "insert link" button shows.
what to do now ? [hide] bb code is working but button not working.
aakhan136
07-16-2007, 01:23 PM
Thanks
itsid
07-17-2007, 07:34 AM
qqqqw, as mentioned in firstpost:
Sorry, Support only for those who clicked "install" (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=130887)
'sid
qqqqw
07-18-2007, 03:38 AM
Ok ok
now i did :D
so will you help me now ? please
LILMORA4
07-24-2007, 04:23 AM
When I hide the content I get this: {param} after a reply you still cant see. Any help is appreciated...
ammoskumar
07-26-2007, 04:31 AM
SId any idea y its not working for me??? i have installed everything fine but i got error Database error in vBulletin 3.6.7:
Invalid SQL:
SELECT userid FROM post where threadid = AND userid = 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 userid = 1' at line 1
Error Number : 1064
Date : Wednesday, July 25th 2007 @ 11:29:52 PM
Script : http://mydomain.com/admincp/bbcode.php?do=modify
Referrer : http://mydomain.com/admincp/bbcode.php?do=modify
IP Address : 67.***.249.***
Username : ******
Classname : vB_Database
grazianno
08-11-2007, 11:06 PM
if you want use the [hide-reply] bbcode instead of [hide] bbcode try the attached file
chatpalace24
08-12-2007, 07:12 AM
Well done Sid. It works great for me.
Fast and good . :-)
aranthorn
08-12-2007, 08:44 PM
When I hide the content I get this: {param} after a reply you still cant see. Any help is appreciated...
Check in your custom bbcode settings, the "use {option}" should be set to "yes"
mrghostno1
08-15-2007, 05:45 PM
Thnks a lot!
i have bug
there is a small bug if have more one tag hide in the post the hide start on firts tagg and close after the last tagg
corbis
08-21-2007, 01:04 AM
I dont see anywhere to hide code in a post now that the mod is installed... Im using 3.6.5 is that why?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.