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)

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:


All times are GMT. The time now is 06:14 AM.

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.01103 seconds
  • Memory Usage 1,747KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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