vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Post posts in threads, and only allows mods to read them! (https://vborg.vbsupport.ru/showthread.php?t=33794)

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/attachmen...&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.

nuno 01-04-2002 02:05 PM

Quote:

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....&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

Quote:

Originally posted by nuno
as you can see Chen there's a bug ;)

link : https://vborg.vbsupport.ru/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

nuno 01-04-2002 02:11 PM

tx Chen :)

Admin 01-04-2002 02:14 PM

Quote:

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. :)

nuno 01-04-2002 02:20 PM

wow pretty damn fast :eek:
tx :)

XiXora 01-04-2002 02:41 PM

whats lock down? and whats send update on that screenie?

nuno 01-04-2002 02:45 PM

Quote:

Originally posted by XiXora
whats lock down?
its a virus that locks down your site :D

squawell 01-04-2002 02:48 PM

Quote:

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

Quote:

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.

pipi 01-05-2002 06:19 AM

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.

pipi 01-05-2002 07:12 AM

Quote:

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

Quote:

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:

PHP Code:

    $postinfo=getpostinfo($postid);
    if (
$postinfo[visible]!=and $bbuserinfo[usergroupid]!=and $bbuserinfo[usergroupid]!=and $bbuserinfo[usergroupid]!=7) {
      
$idname="post";
      eval(
"standarderror(\"".gettemplate("error_invalidid")."\");");
    }
    
$threadid=$postinfo[threadid]; 

All I see that resembles that a little is this:

PHP Code:

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:

PHP Code:

$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. :)

pipi 01-05-2002 01:25 PM

Quote:

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

Quote:

Originally posted by FireFly
Lucky - what hack exactly are you talking about?
I was referring to this hack: https://vborg.vbsupport.ru/showthrea...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

Quote:

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. :)


All times are GMT. The time now is 05:50 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.01516 seconds
  • Memory Usage 1,827KB
  • 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
  • (3)bbcode_php_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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