View Full Version : Post posts in threads, and only allows mods to read them!
Admin
01-03-2002, 10:00 PM
One of the best ideas I've had lately, if I may say so myself. :D
First of all, if you moderate new posts in your forum do NOT, do NOT install this hack!
Don't come to me crying if you do install it.
Read down to understand why.
And while I have your attention, don't bother asking for a version that works with moderation of new posts. There is a reason why I chose to use this system, and it would take a LOT (and I mean, really really a lot) of hacking to do this without that system.
Second, in case you were wondering, this hack is NOT the infamous Lockdown hack.
The only resemblance is that posts are hidden in this hack... that is all.
This hacks allows moderators and admins to post new posts in threads, and make these posts only readable by other mods and admins, meaning others users can't see them.
This is very handy when you need to ask a fellow moderator something in regard to a thread he replied to, etc.
Or, of course, if you want to talk behind the users' back. ;) (as someone else cleverly pointed out :p)
I'm afraid I can't give you a demo or a screen shot of this hack, but imagine this.
In second thought, take a look here: https://vborg.vbsupport.ru/attachment.php?s=&postid=211039
When you reply, if you are a mod, you have a new checkbox at the bottom of the screen, asking you if you'd like to hide this post.
If you check that box, the reply will be hidden from everyone except for mods and admins - they will see the post and a bolded message next to it to tell them it's hidden (so they won't quote that post in a regular post!).
That's all there is to it.
This hack basically puts hidden posts into moderation. I modified showthread.php a bit to only show un-moderated posts to mods, and this is how it works.
If you moderate new posts in your forum and install this hack, your moderators will:
a) See all un-moderated posts, basically all new posts.
b) When they go to validate these posts, the hidden posts posted by mods and admins will be on the list, and your mods might unintentionally validate these posts as well, and by that un-hiding them.
Download the attached .txt file and follow the instructions there.
There are a bit more things to edit than usual, so I suggest you edit all the files at once and then upload them together.
After you're done with the files do the template changes.
Good luck and enjoy this hack! :)
squawell
01-04-2002, 01:43 PM
haha~~~:D
i'm the first one!!:D:D
this hack mean even member reply they still can't see
am i right??
Admin
01-04-2002, 01:45 PM
Yes. I guess I should say this is NOT Lockdown!
Admin
01-04-2002, 01:51 PM
A screen shot...
squawell
01-04-2002, 01:54 PM
oh~~~:D
what's different with someone's hack(i forgot~~)??
that hack call hidden post??i don't remember~~~:D
have any screenshot?
Admin
01-04-2002, 01:56 PM
The difference between this and tubedogg's "Hidden Posts" hack, is that here only mods can view these hidden posts, and in tube's hack anyone could click the link and see the post.
Originally posted by FireFly
See people, this post is hidden... you can't see it, only mods and admins can. :D
as you can see Chen there's a bug ;)
link : https://vborg.vbsupport.ru/newreply.php?s=&action=newreply&postid=211038
squawell
01-04-2002, 02:08 PM
oh~~ i see!! :D :D
so if i want another usergroups can see
which part should i pay attention ?? ;)
Admin
01-04-2002, 02:10 PM
Originally posted by nuno
as you can see Chen there's a bug ;)
link : https://vborg.vbsupport.ru/newreply.php?s=&action=newreply&postid=211038
Well yeah, if you find out the postid you can see it... :rolleyes:
I'll fix that soon if it bothers you that much! ;) j/k
Admin
01-04-2002, 02:14 PM
Originally posted by squawell
oh~~ i see!! :D :D
so if i want another usergroups can see
which part should i pay attention ?? ;)
Pay attention to every place that it says "$bbuserinfo[usergroupid]==5 or $bbuserinfo[usergroupid]==6 or $bbuserinfo[usergroupid]==7" and add your new usergroup to it.
nuno: Should be fixed now. :)
wow pretty damn fast :eek:
tx :)
XiXora
01-04-2002, 02:41 PM
whats lock down? and whats send update on that screenie?
Originally posted by XiXora
whats lock down?
its a virus that locks down your site :D
squawell
01-04-2002, 02:48 PM
Originally posted by FireFly
Pay attention to every place that it says "$bbuserinfo[usergroupid]==5 or $bbuserinfo[usergroupid]==6 or $bbuserinfo[usergroupid]==7" and add your new usergroup to it.
nuno: Should be fixed now. :)
THANKZ FireFly~~~ :D :D :D
Lesane
01-04-2002, 04:16 PM
Great hack, i luv it. Thanks
Lesane
01-04-2002, 05:21 PM
Works great, only 1 problem: when i try to edit my hiddenpost then i receive this error:
"Invalid post specified. If you followed a valid link, please notify the webmaster"
Admin
01-04-2002, 07:01 PM
Originally posted by Lesane
Works great, only 1 problem: when i try to edit my hiddenpost then i receive this error:
"Invalid post specified. If you followed a valid link, please notify the webmaster"
Fixed. Download the attachment and do the first change to editpost.php.
Lesane
01-04-2002, 07:39 PM
Thanks. Works great now.
Austin Dea
01-04-2002, 09:11 PM
wow...my first post here...
Anyways, I have installed many hacks from here, and they all work great...except this one for some reason....
I changed all the files and junk, and i thought i did them all right. But for some reason, after i refreshed my board...i wound up with these thick lines before and after each post(see attachment). It's like the top and bottom border have all of a sudden become huge. I dont know where they came from or how they got there. I didnt edit anything else aside from what was in the directions.
If someone could direct as to where i can maybe find the problem (could be a couple places i guess), I would be very thankful.
Lucky
01-05-2002, 12:07 AM
Great hack as usual firefly!
Just one thing though please.
Can you take a look at the blinking pm thread as my pm bar blinks all the time and I have tried everything to fix it.
Austin Dee,
I think you may be having problems with where you placed:
$post[hidden]
Try putting it after $post[signature] in your postbit template.
It may help you with that space.
thx...what about hide the threads for mods too...?
Admin
01-05-2002, 06:52 AM
pipi - that's why you have a Mod's private forum.
Lucky - I'll try. :)
Austin Dea - Do what Lucky said, it could be your problem. :)
Lucky
01-05-2002, 07:01 AM
No need buddy.
I got it.
Do you have the hack installed here that allows your mods to change profiles?
If so can you take a look at the one below.
Thanx.
Originally posted by FireFly
pipi - that's why you have a Mod's private forum.
Lucky - I'll try. :)
Austin Dea - Do what Lucky said, it could be your problem. :)
i want add one more feature hide that thread on forumdisplay page, only mods can read that topic. thanks
Admin
01-05-2002, 07:26 AM
Originally posted by pipi
i want add one more feature hide that thread on forumdisplay page, only mods can read that topic. thanks
Move the thread to a mods private forum.
Lucky - what hack exactly are you talking about?
DelusionalMind
01-05-2002, 07:41 AM
NICE!!!!
this should be a nice feature to talk behind someone's back ;)
DelusionalMind
01-05-2002, 07:43 AM
would it be possible to modify this hack so this you can have the option to hide it and mods and admins can read it, and then if you're an admin make it so ONLY admin's can read it?
I think that would be a great addition to the hack :)
squawell
01-05-2002, 08:19 AM
FireFly i think is it possible have an option for thread starter
and can set the username who can see the post??
is it possible??
DelusionalMind
01-05-2002, 08:55 AM
I can't seem to find this code:
$postinfo=getpostinfo($postid);
if ($postinfo[visible]!=1 and $bbuserinfo[usergroupid]!=5 and $bbuserinfo[usergroupid]!=6 and $bbuserinfo[usergroupid]!=7) {
$idname="post";
eval("standarderror(\"".gettemplate("error_invalidid")."\");");
}
$threadid=$postinfo[threadid];
All I see that resembles that a little is this:
if (!$threadinfo[visible]) {
$idname="thread";
eval("standarderror(\"".gettemplate("error_invalidid")."\");");
}
if (!$threadinfo[open]) {
if (!ismoderator($threadinfo[forumid],"canopenclose")) {
eval("standardredirect(\"".gettemplate("redirect_threadclosed")."\",\"showthread.php?s=$session[sessionhash]&threadid=$threadid\");");
exit;
}
}
So what do I do exactly? Kinda lost. hehe. First time I have a problem with a hack. lol
The thing is, I can't even find this in the file:
$idname="post";
I'm stumped :confused: :confused: :confused:
Admin
01-05-2002, 12:57 PM
Sorry DelusionalMind, I had an error in my wording. Download the file again. :)
Originally posted by FireFly
Move the thread to a mods private forum.
Lucky - what hack exactly are you talking about?
Exactly i want set it for special users group and i have more than 30 boards with different material, i would like let it stay, just keep hide for ppl whos do not have permission to read it.
thanks again
TheComputerGuy
01-05-2002, 02:22 PM
I would like to thank Firefly, you da man :)
Lucky
01-05-2002, 05:19 PM
Originally posted by FireFly
Lucky - what hack exactly are you talking about?
I was referring to this hack: https://vborg.vbsupport.ru/showthread.php?s=&threadid=33473
I was just wandering if you had it installed here.
Admin
01-05-2002, 05:23 PM
No Lucky, I don't.
DelusionalMind
01-05-2002, 05:37 PM
Originally posted by FireFly
Sorry DelusionalMind, I had an error in my wording. Download the file again. :)
Thanks :)
You rule dude :) Many thanks
Austin Dea
01-05-2002, 06:33 PM
erm...that's not the problem...I was wondering if maybe anything around where those codes should go would affect that. Like maybe i put somehting where it shouldnt go etc. Thing is, i don't think functions.php and showthread.php have anything to do with posts....do they? :confused:
I took out the $post[hidden] in the postbit template and nothing happened...so i guess there is something wrong with showthread....but i can't figure out what...
My question was, since you guys are like mega-pros at the vB coding, what did i do? Do you know of something in that code that would make those thicklines appear?
Sadie Frost
01-12-2002, 05:32 PM
I'm going to have to uninstall this hack because I have members posts going hidden - even when a mod hasn't hidden a post in that thread.
I really liked it while I had it though :)
NeoGT
01-14-2002, 07:22 PM
I just installed this hack, and it seems to work great except for one small problem. Wherever there is a multiple page thread, the numbers (1,2,3) denoting the page numbers are now missing. The only way to access other pages is by selecting them from the topics list page. Did I screw something up?
Admin
01-15-2002, 12:13 PM
Probably a bug with the hack, I'll see if I can track it down. :)
NeoGT
01-15-2002, 12:19 PM
Oh sorry, don't bother. I reinstalled it and it worked fine. I must have accidentally deleted something earlier.
Admin
01-15-2002, 12:38 PM
Oh, alright then. :)
NeoGT
01-15-2002, 12:41 PM
Oh I do have another question though - how do I make this hack appear to people using different styles? We've got two main styles, but only users of one of them can make use of this hack.
Admin
01-15-2002, 01:09 PM
What do you mean? Sorry I don't get it. :)
NeoGT
01-15-2002, 01:14 PM
under styles in the CP, we have "default" and "no ticker". "no ticker" was created for the people who use macs because our news ticker doesn't display correctly on their machines. They have the options to change styles in their user cp. The ones who change to no ticker are unable to use the hidden message feature.
holev
01-19-2002, 03:57 PM
great idea for a hack
will come in handy
// EDIT //
for some reason it wont show the $post[hidden] even when it is hidden
:confused:
holev
01-20-2002, 06:50 AM
*bump*
Wolf42
01-28-2002, 11:36 AM
Just added to my board and worked perfectly! :D
Thanks for that!
mADmAX`
02-25-2002, 06:46 AM
Added to board few days back and just had a regular member hide a post...
What and how did he do that? I can read it and am starting to wonder if he can actually read the hiden messages?
squawell
02-27-2002, 03:55 AM
FireFly ask u one question~
if i want to add the option to when i post a new thread how
should i do??not add to the replythread~~
and another question:
can i replace the userinfo[usergroupid] to userinfo[posts] is this
can work even i replace the userinfo[fieldx] can i do that and
work well i need ur answer~ :)
69-FLy-gUy
03-25-2002, 06:49 PM
I am having the same problem as holey. what is the problem???
Admin
03-26-2002, 05:25 AM
What problem would that be?
69-FLy-gUy
03-28-2002, 07:27 AM
Firefly.. Thanks for responding. here is the problem i am having..
When i put the $post[hidden] variable in the posbit template. it doesn't show up when a post is hidden....
I am not sure why though....
Thanks .=)) i hope you are able to help me.
69-FLy-gUy
03-29-2002, 08:02 AM
*bump*
Chris M
03-29-2002, 01:06 PM
Brilliant hack...
I will recommend that we install this at our Forums!
Satan
69-FLy-gUy
04-02-2002, 06:54 AM
Firefly?
Admin
04-02-2002, 09:08 AM
Did you hack functions.php to set $post['hidden']?
69-FLy-gUy
04-02-2002, 09:45 AM
yeah... i checked it a few times. can't figure it out..
your instructions ion the text file say $post[hidden].. not $post['hidden']
here is the part of functions.php
if (($bbuserinfo[usergroupid]==5 or $bbuserinfo[usergroupid]==6 or $bbuserinfo[usergroupid]==7) and $post[visible]=1) {
$post[hidden]='<br><b><u>This post is hidden!</u></b>';
} else {
$post[hidden]='';
}
Admin
04-02-2002, 10:03 AM
No, my post says $post[visible]!=1.
69-FLy-gUy
04-02-2002, 10:11 AM
ohhh! oops. let me try.. sorry about that...
69-FLy-gUy
04-02-2002, 10:14 AM
hmm it still didn't work....
Admin
04-02-2002, 10:18 AM
Paste the code you have there now.
69-FLy-gUy
04-02-2002, 10:25 AM
sure doing that now...
if (($bbuserinfo[usergroupid]==5 or $bbuserinfo[usergroupid]==6 or $bbuserinfo[usergroupid]==7) and $post[visible]!=1) {
$post[hidden]='<br><b><u>This post is hidden!</u></b>';
} else {
$post[hidden]='';
}
I knwo the post is hidden.. but i can't get it to show it in the postbit......
Admin
04-02-2002, 10:27 AM
Replace the first line with:
if (ismoderator() and !$post['visible']) {
Maybe that'll help.
Are you sure you have $post[hidden] in the template and you're using the right style set.
69-FLy-gUy
04-02-2002, 10:29 AM
yeah. i only have 1 style.. you want me to show you the post bit also?
i am trying your edit now.. iw ill lety ou know.
still didn't work..
here is part of my postbit...
<td bgcolor="$post[backcolor]" width="175" valign="top" nowrap>
<a name="post$post[postid]"></a>
$post[firstnewinsert]
<normalfont><b>$post[username]</b></normalfont><br>
<smallfont>$post[usertitle]</smallfont><br>
$post[avatar]<p>
<smallfont>Registered: $post[joindate]<br>
Location: $post[field2]<br>
Posts: $post[posts]<br>
Threads Started: $starts<br>
Personal Views: $personal <br>
$post[hidden]
</smallfont>
</td>
Admin
04-02-2002, 10:34 AM
I really don't know then, sorry.
69-FLy-gUy
04-02-2002, 10:34 AM
that is ok. Thanks for trying FireFly...
lordofgun
06-04-2002, 04:46 PM
does this work for 2.2.5? anyone?
thanks in advance!
ladyfyre
06-10-2002, 04:13 AM
better yet...will it work with 2.2.6???
lordofgun
06-11-2002, 01:13 AM
i just love the quick responses to questions here. :D
lordofgun
06-11-2002, 01:59 AM
just tried it in 2.2.5
no go. showthread.php has changed
Admin
06-11-2002, 11:05 AM
What part can't you find?
There is a bug.
If a Mod or Admin quote a hidden text all user can see the text. Maybe in this case, the post should be automatic hidden ?
Sorry for my pour english.
e@sy
DemiNeo0101
06-15-2002, 10:16 PM
yup no-go in 2.2.6
Chris M
06-30-2002, 02:54 PM
No go...
I get a parse error if I try and add it to functions.php
Satan
Chris M
07-01-2002, 05:57 PM
So...
Can anyone help?
Satan
69-FLy-gUy
07-07-2002, 07:33 AM
Firefly?
69-FLy-gUy
07-08-2002, 02:53 AM
I got it to work!!!!!
Velocd
07-16-2002, 10:34 PM
I've been looking for a hack like this for ages, to bad I didn't see it till now.
I have a neat suggestion for a better hack. :cool: Allow moderators and admins to use a comment syntax, that would allow all text after // or between the /* */ to be invisible but only visible to moderators and admins. This would be more helpful, because if an admin/moderator wanted to edit someones post putting comments inside of it, they could! Or if an admin/moderator wanted to mock somebody's post by filling it with comments throughout, they could! ;)
How about it Firefly, pweeease :)
Admin
07-17-2002, 12:57 PM
Good idea but it would be be harder for mods to notice which text is hidden and which isn't, and they might quote it in public.
I think the current version is pretty good. :)
Boofo
07-17-2002, 01:02 PM
Chen,
Would it be possible on only the hidden messages to not have the "Quote with Reply" button or the quote box? That way, we would never have to worry about any mods accidentally quoting the message or replying to a hidden message. :)
Originally posted by FireFly
Good idea but it would be be harder for mods to notice which text is hidden and which isn't, and they might quote it in public.
I think the current version is pretty good. :)
Velocd
07-18-2002, 05:28 PM
I'm getting a database error in showthread when I tried to install this on 2.2.6.
Can someone please confirm that this works on 2.2.6, after that I'll know I am making a mistake and can figure it out.
Admin
07-18-2002, 07:15 PM
Yes this works. What is the error?
Velocd
07-18-2002, 07:45 PM
It's already uninstalled, but I must have done something wrong if it defiantly works. I'll try re-installing much more carefully, since it was last night..
Boofo
07-25-2002, 07:28 PM
Addon for Firefly's Hidden Newreply Post Hack.
(By Boofo)
NOTE: You MUST have Firefly's Hidden Newreply Post Hack installed for this to work.
Thanks goes out to Velocd for giving me this idea and showing me the code. And thanks also goes out to Nakkid since I used the javascript blinking text code from his blinking header PMs hack.
What this hack does:
It will show a blinking text of your choice for the hidden reply post. This should make the post more noticable and stand out for Moderators and Admins who don't know the hidden post is there.
Please let me know what you think of it. :)
2 X Viverridae
08-14-2002, 11:57 AM
Thanks FireFly, great hack!
@Boofo - I had changed my text to a fairly verbose statement warning that the post was hidden to all but Mods/Admin, and admonishing them from quoting or commenting on it. When I installed your addon, I found it difficult to read, unless the blink rate was set to a very long interval, and then it looked funny blinking so darn slow! :( I will be sticking with large, bold, red, underlined text for now, sans blinking. Great work though, thanks for putting out the effort!
Your original suggestion of disabling the quote button would be an additional margin of safety, and is one I would still love to see implemented. [/subtle hint]
Boofo
12-20-2002, 10:57 PM
Originally posted by 2 X Viverridae
Thanks FireFly, great hack!
@Boofo - Your original suggestion of disabling the quote button would be an additional margin of safety, and is one I would still love to see implemented. [/subtle hint]
I found a simple way (thanks to Xenon) of making this happen. First, install Logician's Dynamic Templates Hack. and then you can do it right in the template without having to edit any php files to do this. It works great! ;)
Boofo
02-23-2003, 05:27 AM
I found a bug in this hack. If you hide a post and use the Spin threads hack (or whatever else) to validate it, it will unhide the post. If you get a disgruntled Mod, they could simply validate the post and unhide it. Is there a way to make a hidden post immune to any sort of validation?
Boofo
05-02-2003, 11:51 AM
Has anyone ever figured out a way to make hidden posts not show up on the validations lists?
subu1
05-06-2003, 02:55 PM
hi,
find this code:
// redirect
if ($visible) {
with:
// redirect
if ($visible or $hiddenreply==1) {
my code is:
// redirect
if ($visible && !$returntowhere) {
what can i do :( :knockedout:
edit: ups that was not my line sorry, i find it:-)
SgtSling
01-17-2004, 06:06 PM
how would I add this to the quick reply template?
JeffyJoe
02-01-2004, 07:59 AM
Has anyone ever figured out a way to make hidden posts not show up on the validations lists?
I know this is old, but has it been fixed?
this could be a major security flaw,
if you have a forum that you want to have the posts validated by a mod
not only do posts waiting validation show on the mod cp, but also ALL the hidden posts created with this hack...
considering some forums may have hundreds of hidden replies, they would all show up with a default validate yes
the only work around i can see is to run a query making default NO to validate, it may stop accidental unhiding of posts
(without getting into this hack being re-written)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.