PDA

View Full Version : only view thread if replied


Dream
23 Jun 2005, 05:17
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, 05: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?

Dream
23 Jun 2005, 05:27
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, 05:30
That's crazy ^.^
Replying to smth. you don't know anything about.
Anyway, this does not cover the archive.

Dream
23 Jun 2005, 05:31
neither subscriptions :P hence the beta

calorie
23 Jun 2005, 05:31
Maybe a trivia thread, where the title is the question, and you see the answer after you post a guess?

Dream
23 Jun 2005, 05:33
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, 11: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, 13: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

tinjon
23 Jun 2005, 19:49
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
23 Jun 2005, 20:07
no hooks for "bbcode" anywhere. how would I go about intercepting a bbcode and changing its behavior?

WhiteOx2
27 Jun 2005, 02: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

MentaL
28 Jun 2005, 14:49
How does it work? All topics or single selected topics?

flup
28 Jun 2005, 15:38
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!

flup
28 Jun 2005, 15:47
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 :)

flup
28 Jun 2005, 17:50
And where can u edit the $protect_forums

nvm seen it :D

Dream
28 Jun 2005, 18:06
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.

flup
28 Jun 2005, 18:30
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
28 Jun 2005, 18:37
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.

flup
28 Jun 2005, 19:06
Why don't u finish it, it's a great hack if you make these features...

Dream
28 Jun 2005, 19:17
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
28 Jun 2005, 19:54
got a use for it, cheers bud.

MentaL
29 Jun 2005, 00:30
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
29 Jun 2005, 00:39
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.

flup
29 Jun 2005, 09:49
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.

flup
29 Jun 2005, 14:00
You should start first with making the post available for admins/smods and mods.

flup
03 Jul 2005, 11:49
You should start first with making the post available for admins/smods and mods.

Is that also done?

Dream
04 Jul 2005, 04:11
it is now

flup
04 Jul 2005, 09:26
Now it's worth installing, thx m8

flup
06 Jul 2005, 10:57
Another request IF possible for you:
Only hide the attachment/url in a post (a new hack..) for registered users/guests.

Dream
06 Jul 2005, 17:17
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
07 Aug 2005, 20:02
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
07 Aug 2005, 20:31
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, 06: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, 23: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.

Shazz
24 Jun 2006, 23:46
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)