vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Show Thread Enhancements - Hidden replies 1.23 : First post is visible/replies are hidden (https://vborg.vbsupport.ru/showthread.php?t=124395)

cclaerhout 08-18-2006 10:00 PM

Hidden replies 1.23 : First post is visible/replies are hidden
 
*********************************************
Hidden Replies
-Version 1.24-
*********************************************
Par C?dric Claerhout


-Description-
This module allows to hide replies in a thread according to the the forum and the usergroup. Example : i'm a visitor, i can read the first message but not the following answers. Product installation - very simple settings.


-Features-
  • Choose the trusted usergroups
  • Choose forums under control
  • Edit the Stop Message
  • Hide replies in showthread and printthread
-Installation-
  1. Copy the zip directory to your server so that the two pictures included can be access with this link : /yourforums/images/misc
  2. Import the xml product file
  3. Setup the module : vBulletin options -> Hidden replies
-Important-
Don't forget to setup vB forums and users permissions.
-Update-
>05/09/2007 : version 1.24 released ; just add a "all forums under control" option to make ForosAbiertos happy (in fact he promised me much much money or a webcam with his girlfriend... i don't know what to choose yet :D)
>24/08/2006 : version 1.23 released ;
bug with multi page thread is now really fixed
>24/08/2006 : version 1.22 released ; better confidentiality : vb archives are now protected ; problem with multi page thread is corrected
>23/08/2006 : version 1.21 released ; code has been updated and fixed : now it's working (hum... it sounds familiar, sorry)
>22/08/2006 : version 1.2 released ; code has been rewritten : now it's working
>20/08/2006 : version 1.1 released ; better confidentiality of replies (quick reply box, reply buttons, subscribed thread and search links are automaticly desactivated.
>19/08/2006 : version 1.00 released


-NB-
  • This module can't be redistributed elsewere than here without my agreement. Pictures includes are royality free icons ; there are not mine.
  • Because i'm not a coder, if someone can improve the code, it will be a pleasure.
  • Because the staff of another french forum than vbulletin-fr has criticized my work and try to copy it, i do not allow them to use this module.

Get Shorty 08-19-2006 03:02 PM

This looks great! Any known bugs?

cclaerhout 08-19-2006 03:23 PM

Quote:

Originally Posted by Get Shorty
This looks great! Any known bugs?

Well it's your job to tell me if you find a bug :D

cclaerhout 08-20-2006 12:05 AM

20/08/2006 : version 1.1 released ; better confidentiality of replies : quick reply box, reply buttons, subscribed thread and search links are automaticly desactivated.

Ajavas 08-20-2006 10:08 AM

Installed, but nothing is changed when i log out and try to read the specifide forum.

cclaerhout 08-20-2006 04:45 PM

Quote:

Originally Posted by Ajavas
Installed, but nothing is changed when i log out and try to read the specifide forum.

If you include your usergroup in the truted area, that's normal. Check your options please.

spuny 08-21-2006 03:35 PM

Quote:

Originally Posted by Ajavas
Installed, but nothing is changed when i log out and try to read the specifide forum.

to my it happens to me the same. The group invited not this in the list.

Ajavas 08-21-2006 04:16 PM

Quote:

Originally Posted by cclaerhout
If you include your usergroup in the truted area, that's normal. Check your options please.

Hi cclaerhout, i excluded the usergroup "unregisterd / not logged in" and then i logged out from my forum and empty the cache and than i tried to read the selected forum, but i could read every post in that forums topic and not only the first.

cclaerhout 08-21-2006 05:48 PM

Quote:

Originally Posted by Ajavas
Hi cclaerhout, i excluded the usergroup "unregisterd / not logged in" and then i logged out from my forum and empty the cache and than i tried to read the selected forum, but i could read every post in that forums topic and not only the first.

I reproduce the problem on another vB 3.5 board. Can you tell me which version of vB you're using to install that hack ? I will continue to try to solve the problem tomorrow.

spuny 08-22-2006 09:17 AM

my version are vb 3.6

cclaerhout 08-22-2006 12:24 PM

I really have to test this hack on a clean vB 3.6 because i don't understand what it's happening. Anyway i find another way to make it work. I still have to test it.

Ajavas 08-22-2006 02:43 PM

Quote:

Originally Posted by cclaerhout
I reproduce the problem on another vB 3.5 board. Can you tell me which version of vB you're using to install that hack ? I will continue to try to solve the problem tomorrow.

Mine is vB 3.6.0

cclaerhout 08-22-2006 05:44 PM

Well i've tested the code with a clean 3.6 version... and you're right it doesn't work :D My vB version must be magic lol. Well, in a few second, there will be a new version, but this time, it will work ;)

cclaerhout 08-22-2006 05:46 PM

22/08/2006 : version 1.2 released ; code has been rewritten : now it's working ;)

Please tell me if it's ok now.

Ajavas 08-22-2006 06:47 PM

Quote:

Originally Posted by cclaerhout
22/08/2006 : version 1.2 released ; code has been rewritten : now it's working ;)

Please tell me if it's ok now.

Sorry, still have the same problem over here.... Upgraded to your latest version. Tommorow i will try a clean setup.

Greetz.

soletrader 08-22-2006 07:52 PM

Running 3.6 here.. hack doesnt work. it makes all users unable to read replies regardless of their permission.

spuny 08-22-2006 08:04 PM

hello cclaerhout, hack doesnt work appropriately, it indifferently applies the restriction to all the groups

cclaerhout 08-22-2006 11:05 PM

>23/08/2006 : version 1.21 released ; code has been updated and fixed : now it's working (hum... it sounds familiar, sorry)
I've made all tests and they are all positive :) Thanks for your help !

Ascor 08-23-2006 12:20 AM

just installed, work good for me, thank you :)

cclaerhout 08-23-2006 06:25 AM

Quote:

Originally Posted by Ascor
just installed, work good for me, thank you :)

Yes ! That's good to hear that ;)

spuny 08-23-2006 12:49 PM

Now it works perfect. Thanks.

Installed

Ajavas 08-23-2006 02:50 PM

Quote:

Originally Posted by cclaerhout
>23/08/2006 : version 1.21 released ; code has been updated and fixed : now it's working (hum... it sounds familiar, sorry)
I've made all tests and they are all positive :) Thanks for your help !

:laugh: "Grats" , it's working fine now.....Thanks ;)

cclaerhout 08-24-2006 07:23 AM

Just a quick message to warn you that i forgot to protect the display of replies in vb archive system :D I still have to work on it.

Edit
Other bug found : when a thread has several pages and you click on the last message icon of showthread, it will bring to the X page... and the first message won't display. I have to correct this.

cclaerhout 08-24-2006 11:26 AM

>24/08/2006 : version 1.22 released ; better confidentiality : vb archives are now protected ; problem with multi page thread is corrected

spuny 08-24-2006 01:11 PM

ok, perfect, but the user can view the first post in all pages

cclaerhout 08-24-2006 01:27 PM

Quote:

Originally Posted by spuny
ok, perfect, but the user can view the first post in all pages

I'm going to check

cclaerhout 08-24-2006 02:06 PM

>24/08/2006 : version 1.23 released ; bug with multi page thread is now really fixed :D

spuny 08-24-2006 08:03 PM

ok, the new version now it works perfect, good work

Thanks.

PSDPlayer 08-28-2006 02:23 PM

What will this do to spiders crawling on the site?

Get Shorty 09-03-2006 03:54 AM

Quote:

Originally Posted by PSDPlayer
What will this do to spiders crawling on the site?

That's a concern of mine too. I'd love to be able to specify the forum(s) that this hack affected. I'd like to use it on the general forums, but not my content forums.

edit: I see that feature is already there! Installing...

PuddingMonkey 09-05-2006 02:21 PM

This also makes it so that users are unable to reply to the threads. I'd like to have it so that they can reply but not see any of the replies (or maybe just their own) if that's a possibility.

But anyways, great add-on, keep up the great work :up:

cclaerhout 09-06-2006 05:56 PM

Quote:

Originally Posted by PuddingMonkey
This also makes it so that users are unable to reply to the threads. I'd like to have it so that they can reply but not see any of the replies (or maybe just their own) if that's a possibility.

But anyways, great add-on, keep up the great work :up:


Well it's possible to do it very easily because i've just hidden quickreply box and reply buttons. But i don't think it's a good thing... Imagine a spammer that answers many times to a thread ; not a nice thought isn't it ?

Anyway, if you still want to do it, edit the product file and delete theses variables :

Code:

        $show['quickreply'] = false;
        $show['largereplybutton'] = false;


Gaia 09-15-2006 01:14 PM

Thanks, installed perfect on a vB 3.6.1 forum.

/me clicks install

iran.gs 09-20-2006 10:24 AM

installed , this is very usefull to us, where most areas where there is no need for reply. new members reply all over the section like i have repeated saying plz use thanks botton rather reply and say thanks.... so this solved our problem thanks so much

weindians 10-09-2006 10:35 AM

Is there any hack for hidden messages to see only after reply to the post. Like...[hide][/hide] Please, tell me how to install it in the forum too. I am a novice in scripting.

kafi 11-28-2006 02:29 PM

Hello,

this is perfect hack, but I run 3.5.4. Will this work for me or is there also 3.5. version?

Thank you .-)

^SuiCyde^ 12-03-2006 11:51 PM

this would be fantastic except i'd like to use it for a secure voting system and i figure it can't be that hard to change..... i would like...."a reverse hide hack basically" where only the first post in the thread shows until after the thread has been replied to.....then you can post battles in the first post and no one can see the resulting votes in the posts below until they have replied..... much like yours, but based on posts within the thread, not based on usergroups....any help?

^SuiCyde^ 12-04-2006 10:45 PM

or is there anyway to make it so even the trusted usergroups can't see it until after they reply......i guess that's what i'm trying to do.....

adonfun 07-16-2007 12:36 AM

This is a wonderful hack, I was looking for this one.

Is it compatible with 3.6.7?

ForosAbiertos 08-27-2007 04:23 PM

I have a forum with a lot of subforum, more tan 80...

"Choose for which forums you want to control the display of replies"

There is some option to select everything, without it having to do one to one?


All times are GMT. The time now is 03:18 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01280 seconds
  • Memory Usage 1,819KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete