vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Staff can Post hidden Posts (https://vborg.vbsupport.ru/showthread.php?t=64860)

yakusasc 01-25-2005 09:17 PM

And is there a simple way to modify yours ? On forumdisplay.php, people allowed to see hidden posts would see them in the last answer area.

Xenon 01-25-2005 09:19 PM

would need a bit more hacking, and as it would be a security issue for others (or at least annoying if everyone sees there is a msg, but no idea what)
i won't code it into ;)

yakusasc 01-25-2005 09:23 PM

Ok ;) ! thanks for your help ! If one day you create such a hack, don't forget your french friend :) !

Oblivion Knight 01-26-2005 09:57 AM

I've been looking for this for ages! I was certain that I wasn't daydreaming.. :p

I'll install this one when I have a spare 10/15 minutes.

Xenon 01-26-2005 03:37 PM

it's a hack i don't want to be missing here on this site ;)

kall 02-04-2005 06:29 AM

Quote:

Originally Posted by Xenon
nope, hidden posts don't update the thread/forum infos, so that really no user can know a hidden post was made :)

Which part of the hack controls this?

I'm trying to apply the same concept to the 'Completely Private Threads' hack.

:)

Xenon 02-05-2005 10:51 AM

actually that part is done by the plain vb.

if the visible flag is set to 0, it assumes that a thread/post is under moderation and therefore doesn'T update the infos

Imperial Fritz 03-27-2005 06:21 AM

Hope this doesn't sound too stupid - who exactly count as "staff"? I have mods, supermods and a group which again has supermod rights but can see some deeper forums. Are all people with some kind of modding rights counted by this hack?

Xenon 03-28-2005 02:59 PM

there is a function created with this hack:

PHP Code:

function can_see_hidden($usergroupid 0)
{
    global 
$bbuserinfo;

    if (
$usergroupid == 0)
    {
        
$usergroupid $bbuserinfo['usergroupid'];
    }
    return 
in_array($usergroupid, array(567));  // replace the usergroupids you want


the default setting as you can see takes all users which are primary users in mod/supermod/admin group

you can of course change that yourself to include/exclude whoever you want.

Allan 05-07-2005 09:37 PM

Hey Xenon :)

work with 3.0.7 ?


All times are GMT. The time now is 09:09 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.01189 seconds
  • Memory Usage 1,735KB
  • 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
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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