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 05-07-2004 10:00 PM

Staff can Post hidden Posts
 
If you have installed that Hack by Chen, you will already know what this Hack does.
If not i'll shortly explain: If you install this hack, your staff will be able to post hidden posts, which are just visible by other staffmembers. This can be usefull, if you are not sure, what to do with a thread, and want feedback by the other mods.

I have to say, that this is not an easy hack, so do not install it, if you are not familar with vB hacking, as i won't give much support.
I have put the basic instructions into the Installfile, which does everything needed.
The instructions in the advanced install file, are for those who have already installed this hack, and want to get some more features (like number of new hidden posts in the navbar and such things).

Have fun, we always have ;)

insanctus 05-07-2004 11:29 PM

Does the post show any different? ~ Will look at the txt in few.

Xenon 05-07-2004 11:31 PM

Well, i have added the instructions to show up different, but its up to you, how different it will be ;)

Boofo 05-07-2004 11:52 PM

Great! I've been waiting for this.

When they try to quote a hidden post, it will work like it does here and not quote it right? And can you tell me (in PM maybe) how to add it to the Quick Reply box, too?

Thanks for this, sir. ;)

insanctus 05-08-2004 12:18 AM

I will use this I just have to think on how I want to make posts look.... and add to quick reply.

/me clicks install

Boofo 05-08-2004 04:06 AM

Quote:

Originally Posted by insanctus
I will use this I just have to think on how I want to make posts look.... and add to quick reply.

[high]* insanctus clicks install[/high]

Id you get it added to the quick reply and can figure out how to NOT have the quick reply quote a hidden post, please let me know? ;)

infamous41md 05-08-2004 04:47 AM

cool stuff, took me a min, but cool.

Zachery 05-08-2004 04:49 AM

Quote:

Originally Posted by Boofo
Id you get it added to the quick reply and can figure out how to NOT have the quick reply quote a hidden post, please let me know? ;)

You should be able to use the same condition raped around the quote & quick reply buttons ;)

Code:

<if condition="$post[visible] == 0 and $thread[threadid] > 0"> </if>

Boofo 05-08-2004 05:37 AM

Quote:

Originally Posted by Zachery
You should be able to use the same condition raped around the quote & quick reply buttons ;)

Code:

<if condition="$post[visible] == 0 and $thread[threadid] > 0"> </if>

I want to be able to use the quick reply with a hidden post, just not have it quote the hidden post. ;)

Zachery 05-08-2004 05:51 AM

Quote:

Originally Posted by Boofo
I want to be able to use the quick reply with a hidden post, just not have it quote the hidden post. ;)

ooo thats abit tricky then O.o''

assassingod 05-08-2004 06:19 AM

Thanks Stefan. I can use this on my forum:)

@Boofo;
Try adding
Code:

<if condition="can_see_hidden()"><br /><label for="cb_hidepost"><input type="checkbox" name="hidepost" value="1" id="cb_hidepost" />Hide Post?.</label></if>
In the Quick Reply template. Not tested though.

Boofo 05-08-2004 06:35 AM

Quote:

Originally Posted by assassingod
Thanks Stefan. I can use this on my forum:)

@Boofo;
Try adding
Code:

<if condition="can_see_hidden()"><br /><label for="cb_hidepost"><input type="checkbox" name="hidepost" value="1" id="cb_hidepost" />Hide Post?.</label></if>
In the Quick Reply template. Not tested though.

That might work for the checkbox but how do I keep it from quoting a hidden post when you click the quick reply button?

Logician 05-08-2004 06:52 AM

For people who are not familiar with this hack, I can say that this hack is VERY useful. Especially if you have a large staff. This is definetely one of my favorites hack and IMO a must to have.

assassingod 05-08-2004 06:57 AM

It's even better with the Search Feature *coughstefandoitcough*

Boofo 05-08-2004 07:35 AM

Quote:

Originally Posted by Logician
For people who are not familiar with this hack, I can say that this hack is VERY useful. Especially if you have a large staff. This is definetely one of my favorites hack and IMO a must to have.

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

insanctus 05-08-2004 07:38 AM

I tested it , admins like how did you do that, lmao......

I have to admit be very useful.

Tony G 05-08-2004 09:05 AM

Have to agree with you there. It's perfect for any large-scale forum. Even small-scale ones could benefit. :)

Xenon 05-08-2004 10:12 AM

:)

I'm glad you all like it.

I may release an more complex addon sometime in the nearer future, sharing more features of this hack, which we have on vb.org, but this would bloat the basic version too much :)

Boofo 05-08-2004 10:25 AM

Quote:

Originally Posted by Xenon
:)

I'm glad you all like it.

I may release an more complex addon sometime in the nearer future, sharing more features of this hack, which we have on vb.org, but this would bloat the basic version too much :)

Bring it on! I'd like to see that version. :)

msimplay 05-08-2004 10:41 AM

Quote:

Originally Posted by Boofo
Bring it on! I'd like to see that version. :)

me too the basic idea is good but needs a few more features like quick the ability to do it via quick reply

rather than bloat i would say complete :p

Xenon 05-08-2004 10:50 AM

*gg*

that was the first version which we had on vb.org during a long time, and it fit the needs.

if i would add every single bit to that file, it would be 4 times as big ;)
the ability to do it via qr was already mentioned by Steve.
as said, it's a hack for the more experienced admins, so everyone can add features he thinks he needs :)

assassingod 05-08-2004 11:05 AM

Yeah my QR trick worked fine.

Boofo 05-08-2004 11:09 AM

Quote:

Originally Posted by assassingod
Yeah my QR trick worked fine.

Yes, Steve, your quick reply code worked fine. Thank you, sir. ;)

The only thing I think I am missing it the editpost part of it. Unless I missed something somewhere else.

Boofo 05-08-2004 12:01 PM

I need to ask a quesion about the instructions for this hack. When we look for:

PHP Code:

visible 

and replace it with:

PHP Code:

" . fetch_visible_sql() . " 

that should only be done on the post table queries and NOT the thread table queries, right?

And also, I could only find 1 instance of:

PHP Code:

post.visible 

in the showthread.php. That's all there is for that one, too, right?

Xenon 05-08-2004 02:52 PM

yes, it's there just once.

and the replacement should just be done in the queries, nowhere else.

i said it's not the easiest hack, that's why i didn't want to release it at first :p

Boofo 05-08-2004 02:56 PM

Quote:

Originally Posted by Xenon
yes, it's there just once.

and the replacement should just be done in the queries, nowhere else.

i said it's not the easiest hack, that's why i didn't want to release it at first :p

But not the thread queries, just the post ones, right?

Xenon 05-08-2004 03:56 PM

it's no hurt to do the thread queries as well.

but it's not really needed :)

neocorteqz 05-08-2004 04:09 PM

Quote:

Originally Posted by Boofo
Bring it on! I'd like to see that version. :)

As would i. :)

SnowBot 05-09-2004 04:18 AM

just gonna install this in an hour or so, the full version would be great but i understand why you dont want to rls it. Maybe just to some ppl who can install this without trouble.

I used this on a vb2 board i was admin at along time ago and it was very much needed.

Xenon 05-09-2004 10:20 AM

well, as i see there are a lot people who want the full version.
ok, i'll release it, when i got the time to write the additional instructions, but it would be a installfile for pro's then ;)

Boofo 05-09-2004 10:24 AM

Great! I'm looking forward to this one. If you need any help with the install file, let me know. ;)

insanctus 05-09-2004 10:33 AM

Quote:

Originally Posted by Xenon
well, as i see there are a lot people who want the full version.
ok, i'll release it, when i got the time to write the additional instructions, but it would be a installfile for pro's then ;)

Pro's ? That leave me out

[high]* insanctus goes away crying........................
[/high]


[high]* insanctus runs back right fast and snags the code lol[/high]

sabret00the 05-09-2004 10:49 AM

just outta curiosity why would you not just use the mods lounge?

insanctus 05-09-2004 10:55 AM

Quote:

Originally Posted by sabret00the
just outta curiosity why would you not just use the mods lounge?

This way can talk about people behind their backs in the same room ?

[high]* insanctus laughs[/high]

Boofo 05-09-2004 11:12 AM

Quote:

Originally Posted by sabret00the
just outta curiosity why would you not just use the mods lounge?

Because a lot of of times you want to let a mod know something about a certain post in a thread or a thread itself and it is easier to do it this way instead of having to re-direct them to the thread or post. ;)

gmarik 05-11-2004 11:03 AM

how much time to install this?

neocorteqz 05-11-2004 11:21 AM

Quote:

Originally Posted by gmarik
how much time to install this?

By looking at the file ~ 5 minutes.

For me, maybe 10 Minutes. :D

Xenon 05-18-2004 05:02 PM

ok, i uploaded the advanced version now as well.

Normally it should work, and i think i have not forgotten anything, but if yes, just tell me (those who know about the vb.org version ^^)

insanctus 05-18-2004 05:09 PM

Quote:

Originally Posted by Xenon
ok, i uploaded the advanced version now as well.

Normally it should work, and i think i have not forgotten anything, but if yes, just tell me (those who know about the vb.org version ^^)

I will install this in a few, :) Watch my board go boom lol

[high]* insanctus runs off to tinker.[/high]

insanctus 05-18-2004 05:13 PM

With
Code:

find:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if (!$postinfo['visible'] OR $postinfo['isdeleted'])
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

below add:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if ((!$postinfo['visible'] AND !can_see_hidden()) OR $postinfo['isdeleted'])
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Do you mean

Code:

find:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if (!$postinfo['visible'] OR $postinfo['isdeleted'])
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Replace with:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if ((!$postinfo['visible'] AND !can_see_hidden()) OR $postinfo['isdeleted'])
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

?

Seems would replace not add below.


All times are GMT. The time now is 04:52 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.02566 seconds
  • Memory Usage 1,828KB
  • 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
  • (6)bbcode_code_printable
  • (3)bbcode_php_printable
  • (16)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