View Full Version : only view thread if replied
Dream
06-22-2005, 10:00 PM
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
06-23-2005, 03:21 AM
Does that make sense?
OK, it is possible to reply to a thread without being on showthread first, but honestly - who would do that?
Dream
06-23-2005, 03:27 AM
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
06-23-2005, 03:30 AM
That's crazy ^.^
Replying to smth. you don't know anything about.
Anyway, this does not cover the archive.
Dream
06-23-2005, 03:31 AM
neither subscriptions :P hence the beta
calorie
06-23-2005, 03:31 AM
Maybe a trivia thread, where the title is the question, and you see the answer after you post a guess?
Dream
06-23-2005, 03:33 AM
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
06-23-2005, 09:22 AM
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
06-23-2005, 11:02 AM
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
tinjon
06-23-2005, 05:49 PM
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.
Dream
06-23-2005, 06:07 PM
no hooks for "bbcode" anywhere. how would I go about intercepting a bbcode and changing its behavior?
WhiteOx2
06-27-2005, 12:50 AM
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
MentaL
06-28-2005, 12:49 PM
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
Dream
06-28-2005, 04:06 PM
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....
Dream
06-28-2005, 04:37 PM
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...
Dream
06-28-2005, 05:17 PM
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.
MentaL
06-28-2005, 05:54 PM
got a use for it, cheers bud.
MentaL
06-28-2005, 10:30 PM
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.
Dream
06-28-2005, 10:39 PM
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?
Dream
07-04-2005, 02:11 AM
it is now
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.
Dream
07-06-2005, 03:17 PM
attachment/url bbcodes? only show [url] and attachs to registered users? i think you can do that with attachs already but im not sure
JGNYC
08-07-2005, 06:02 PM
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?
tinjon
08-07-2005, 06:31 PM
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
10-24-2005, 04:37 AM
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
10-31-2005, 09:56 PM
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.
Shazz
06-24-2006, 09:46 PM
It won't even work in the When you try and upload it
________
Ford D3 platform specifications (http://www.ford-wiki.com/wiki/Ford_D3_platform)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.