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)

Xenon 09-20-2004 01:40 PM

hmm, ok Mac could be the real reason ^^

Yeah, that would be better on another thread or even more on vb.com ;)

theArchitect 09-20-2004 02:09 PM

Quote:

Originally Posted by Xenon
hmm, ok Mac could be the real reason ^^

Hey, all the best people work on Mac's.

Quote:

Originally Posted by Xenon
Yeah, that would be better on another thread or even more on vb.com ;)

What :speechless:, so my thread idea isn't good enough for vB.org. I get the hint. I will take my thread and go where I am more appreciated. *takes ball and goes home to sulk*.

On a serious note: check out for the thread on Browser X Files at vB.com.

http://www.vbulletin.com/forum/showthread.php?t=116208

alqafelah 09-21-2004 09:34 AM

Quote:

Originally Posted by Xenon
@algafelah: blank pages are most of the time, installing problems while doing the template changes.
try to revert you templates and then reinstalling the hack.
also just install the plain version at first.

And yes, it works on 3.0.3, as we have isntalled it on vb.org ;)

:up:

yes Xenon, my install is wrong :o .. i'm reinstall and it's work fine now :D

thanks

Xenon 09-21-2004 10:42 AM

I'm glad to hear so :)

arab_flash 09-26-2004 10:15 AM

thnks Xenon for this hack I want to ask how can i hidd thread as well

thank you for helping me

Xenon 09-26-2004 09:46 PM

well theoretically the way would be quite similar, using the moderate threads feature like the moderate posts feature.

But actually i don't think it's worth to write such a hack, because private forums are easier for private threads ;)

theArchitect 10-03-2004 11:12 PM

Quote:

Originally Posted by Xenon
well theoretically the way would be quite similar, using the moderate threads feature like the moderate posts feature.

But actually i don't think it's worth to write such a hack, because private forums are easier for private threads ;)

One more point. Is it possible to search for and display all hidden posts?

A mod just asked me as she was concerned that the facelift I have just given our forum would make these posts visible and wanted to be able to search for them to check. I said it shouldn't but thought that one might want to revisit hidden posts from time to time.

Xenon 10-05-2004 04:24 PM

if you have the advanced pack installed, there is already the link for searching hidden posts. just remove the getnew part of the link and you'll get every hidden post :)

theArchitect 10-05-2004 11:31 PM

Quote:

Originally Posted by Xenon
if you have the advanced pack installed, there is already the link for searching hidden posts. just remove the getnew part of the link and you'll get every hidden post :)

Thankyou. Devilishly simple.

Xenon 10-06-2004 12:09 PM

You're welcome :)

Yeah devilish is always the simplest and best way ^^

Neutral Singh 11-17-2004 11:23 AM

Oh Thank You !!! Thank You !!!

Martyjp 01-04-2005 08:58 PM

Tried installing this on 3.0.4 but cant make the template changes, get

Quote:

The following template conditional expression contains function calls:

<if condition="can_see_hidden()">

Function Name Usage in Expression
can_see_hidden can_see_hidden()

With a few exceptions, function calls are not permitted in template conditional expressions. Please go back and re-write this expression.

The following functions are allowed in template conditional expressions:
in_array() is_array() is_numeric() isset() empty() defined() array() can_moderate() can_moderate_calendar() exec_switch_bg() is_browser() is_member_of()
When trying to save templates

Jolten 01-04-2005 09:02 PM

Make certain you install the Hidden Posts BEFORE the advanced Hidden Posts.

Martyjp 01-04-2005 09:04 PM

My mistake, ftp bombed out while uploading so adminfunctions_template.php hadnt been uploaded :o

Quick reply though ;)

theArchitect 01-10-2005 11:06 PM

Quote:

Originally Posted by Boofo
It's indespensable on any board, I think. If I can get the quick reply problem fixed and get it to work in the editpost like it does here, it will be perfect. ;)

Just a quick Q.

I am having some core problems with my board and I need to strip it back to the basics so that the team at vBulletin can work out what is wrong.

However, some of my staff have written a few comments that a less than politically correct and would not be happy if their "hidden" posts sudden became publicly available. If I uninstall this hack will the post become visible? Or will they simply be unavailable to everyone including staff?

Xenon 01-13-2005 02:08 PM

if you uninstall the hack, posts will stay hidden for anyone.

but as this hack also has a few bugfixes to the normal moderated post feature, people who know what they do, could be able to see some posts

yakusasc 01-25-2005 08:53 PM

Do we see hidden posts in the last reply area on the forumdisplay.php page ? Thanks !

Xenon 01-25-2005 09:05 PM

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

yakusasc 01-25-2005 09:11 PM

Ok thanks for your quick answer; I've asked that because we wanted to use it to tell other moderators that the thread was already read. By watching forumdisplay.php, a thread with no hidden post by a moderator would mean : thread not checked. By any luck, would you know a hack that would enable us to do such a thing ? We have a large board and we'd like to optimize the way moderators are working.

Xenon 01-25-2005 09:14 PM

ah,
nope sorry no idea of such a hack right now

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 ?

Imperial Fritz 05-07-2005 10:30 PM

I think so. Seems to be working for me.

Xenon 05-09-2005 07:39 AM

Yep works on 307, as we are using it on vb.org :)

Jolten 05-09-2005 08:01 AM

I do have a slight bug with 3.0.7 and post counts in threads. If a thread is set to, say, 10 posts per page and in those 10 posts there is 1 hidden post and there are a total of 11 replies to the thread. The second page of the thread will not be visible to anyone with permission to see the hidden posts until there are 12 posts in the thread.

Basically, staff pagination for threads is dependent on the hidden posts. It's not a dire issue but can be very disconcerting for staff that isn't aware of it.

Marco van Herwaarden 05-09-2005 08:05 AM

lol don't give away our secrets stefan. :D

Xenon 05-09-2005 03:08 PM

Jep, that's a little bug, because of the cached total post value

it would be possible to fix it, but that would mean one extra query per showthread, that's why i just left it ;)

Jolten 05-09-2005 03:12 PM

ahh okay. Thanks for explaining. Glad you were aware of it. Like I said.. it's not critical and I'd rather live with the bug than an extra query per page. :) Thanks Stefan.

Chris M 05-12-2005 10:42 AM

Got it working on a fresh install of 3.0.7 incase anyone was wondering if it will work :p

Satan

Toky0 06-09-2005 05:30 PM

I had trouble editing the showthread.php I got this error.. Any idea what's wrong?

Code:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /www/d/darkmasta/htdocs/forum/showthread.php on line 1456

Xenon 06-09-2005 06:46 PM

may have made a mistake while copying somethin into the queries .

theArchitect 07-15-2005 07:21 AM

I know you are very busy, and this is probably not the place for this type of post. But is there any chance of this being ported to 3.5.0? Or will that happen once it has gone Gold?


All times are GMT. The time now is 06:41 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.01498 seconds
  • Memory Usage 1,819KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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