View Full Version : only view thread if replied
Not sure I understood this modification request. Not planning on develop it further, feel free to modify and re-release.
Description
Users will only see the thread if they replied, when using showthread.php
Installation
- Upload XML
- Edit $protect_forums array and put the forum numbers you want to protect there
- Activate plug-in
Info
Adds 1 query to showthread.php
(0.2) made it look nicer
(0.3) added $showfor_superadmins, $showfor_admins, $showfor_supermods, $showfor_mods, settable for "true" or "false"
this hack has been discontinued, and no longer will be updated. send me a pm if you want to take it from here.
Andreas
23 Jun 2005, 04:21
Does that make sense?
OK, it is possible to reply to a thread without being on showthread first, but honestly - who would do that?
beats me - thats what I understand the request was. I wont be using it, but was curious to see if it could be done.
you can still see the reply button in showthread
Andreas
23 Jun 2005, 04:30
That's crazy ^.^
Replying to smth. you don't know anything about.
Anyway, this does not cover the archive.
neither subscriptions :P hence the beta
calorie
23 Jun 2005, 04:31
Maybe a trivia thread, where the title is the question, and you see the answer after you post a guess?
and we have a use for it ^_^
youd have to make it a little prettier tho, its very ugly right now.
edit:
If a plugin requires any code modification, do NOT post it here.
and I posted it in the wrong place, sorry about that.
StarBuG
23 Jun 2005, 10:22
and I posted it in the wrong place, sorry about that.
With file modification they ment for the original vB files not your hack xml ;)
This hack does sound like something FXP Boards would use even though they normaly just want to hide a certain part of text and not the whole thread.
StarBuG
Chris M
23 Jun 2005, 12:02
I believe the author has explained what this does a little wrong ;)
Upon viewing the code (but not actually using it) I believe it replaces every postbit message with the content "You must reply to this thread before you can view it"...
It is almost an imitation of the Lockdown hack - The user can still view the thread, but the post content is hidden until they reply ;)
Satan
is there anything for 350b2? i dont' wanna hide any thread. what i want is that, in a particular thread, i could use "hidden message" so that ppl must reply to see what's inside the tags.
thanks.
no hooks for "bbcode" anywhere. how would I go about intercepting a bbcode and changing its behavior?
WhiteOx2
27 Jun 2005, 01:50
The user can still view the thread, but the post content is hidden until they reply ;)
SatanSo basicly the only post in the whole thread that would make any sense is the first one. :D
How does it work? All topics or single selected topics?
Does that make sense?
OK, it is possible to reply to a thread without being on showthread first, but honestly - who would do that?
What about letting your users reply before you want them to see a download link in case the forums are inactive? :-) n1!
I believe the author has explained what this does a little wrong ;)
Upon viewing the code (but not actually using it) I believe it replaces every postbit message with the content "You must reply to this thread before you can view it"...
It is almost an imitation of the Lockdown hack - The user can still view the thread, but the post content is hidden until they reply ;)
Satan
The HIDE hack is only for freakin' FTPs :)
And where can u edit the $protect_forums
nvm seen it :D
How does it work? All topics or single selected topics?
all topics from a selected forum are hidden. the only thing you can see is the topic title until you reply.
Works fine, just what I needed, Can U only try to fix the way it looks?
You know, showing the post but ONLY replacing the postcontent....
Works fine, just what I needed, Can U only try to fix the way it looks?
You know, showing the post but ONLY replacing the postcontent....
gonna look into it. remember this wont hide the topic from the archive, or keep users from subscribing the topic.
Why don't u finish it, it's a great hack if you make these features...
Why don't u finish it, it's a great hack if you make these features...
right now they would need code modifications, there are no hooks for archive. and im not in the mood to edit files and make instructions. be my guest to do whatever you like with this and re-release it if you want.
got a use for it, cheers bud.
ok its come to my attension the whole thing doesnt fit so maybe edit it for the actual post content only says "reply to view" as the grey box doesnt look right and make it auto refresh the page once replied since ajax still stops it from viewed unless u manually refresh.
ok its come to my attension the whole thing doesnt fit so maybe edit it for the actual post content only says "reply to view" as the grey box doesnt look right and make it auto refresh the page once replied since ajax still stops it from viewed unless u manually refresh.
will look into those. can you remove forums from the archive in the admincp? like in forum permissions or something.
That wouldn't be good than the posts aren't showed at all in the archive.
You should just get the same query for the forumposts in the archive I think.
You should start first with making the post available for admins/smods and mods.
You should start first with making the post available for admins/smods and mods.
Is that also done?
Now it's worth installing, thx m8
Another request IF possible for you:
Only hide the attachment/url in a post (a new hack..) for registered users/guests.
attachment/url bbcodes? only show [url] and attachs to registered users? i think you can do that with attachs already but im not sure
What about letting your users reply before you want them to see a download link in case the forums are inactive? :-) n1!
That's exactly what I need.
Is that possible?
Hi guys, is it working with RC-2? I'm getting some errors.
Does anyone have a forum where this hack is used?
I mean this seems little puzzling to me. If I understood it right, so you'll only see thread titles and not the full thread unless you reply. Yes? Okay but there's no "reply" button in the forums. There's only "new thread" button and the "reply" button is in the topics. Lets assume there is a reply button on the thread listing page, and someone clicks on it. Now in which topic it would be replied to considering there are multiple topics in the forum section?
It would be great if anyone can tell me where they're using this hack.
Thanks.
Makaveli105
24 Oct 2005, 05:37
i like this hack. one question though, could you make it so it doesn't hide the whole post? just a specific part marked by tags? OR could you make it so the author can enter information not to be hidden, in a different box or something?...hard to explain, tell me if you understand or not
Makaveli105
31 Oct 2005, 22:56
oh, and in Mozilla, when u quick reply, it doesnt refresh the page, instead it freezes u on a white page, so u have to retype the address.
It won't even work in the When you try and upload it
vBulletin® v3.6.12, Copyright ©2000-2010, Jelsoft Enterprises Ltd.