Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Staff can Post hidden Posts Details »»
Staff can Post hidden Posts
Version: 1.1, by Xenon Xenon is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 05-07-2004 Last Update: 05-19-2004 Installs: 45
 
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 05-18-2004, 09:45 PM
ap0c's Avatar
ap0c ap0c is offline
 
Join Date: Mar 2003
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this hack rocks!!!! thanks Xenon
Reply With Quote
  #53  
Old 05-19-2004, 02:02 AM
ap0c's Avatar
ap0c ap0c is offline
 
Join Date: Mar 2003
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo
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?
in the showthread.php.
I came up with 5 of these that needed changing correct? After I reply I get redirected back to the forum, not the thread. Is that how it's supposed to be?
Reply With Quote
  #54  
Old 05-19-2004, 02:12 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, that is how it works here, also.
Reply With Quote
  #55  
Old 05-19-2004, 02:42 AM
ap0c's Avatar
ap0c ap0c is offline
 
Join Date: Mar 2003
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cool, just making sure I didnt screw up
Reply With Quote
  #56  
Old 05-19-2004, 02:14 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it uses the moderation system, and that brings one to the forum instead the thread.
no idea why they did that, but well, it's that way

i've updated the instructions a bit (thx to my Pal logician for help me finding them).
Everyone who has installed this hack and it works, does not need to do anything, there were just a view simple bugs, for some php versions, and also missing TABLE_PREFIXES (damn things ^^)
Reply With Quote
  #57  
Old 05-19-2004, 03:21 PM
Jolten Jolten is offline
 
Join Date: Mar 2004
Posts: 749
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm getting an odd message when editing the editpost template...

----------

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()

--------

Where did I go wrong?
I assume it's becuase that function hasn't been added to the phpinclude_start. But where is the phpinclude_start?

Installing the advanced version.

Thanks
Reply With Quote
  #58  
Old 05-19-2004, 03:27 PM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Jolten, are you sure you edited adminfunctions_template.php?
Reply With Quote
  #59  
Old 05-19-2004, 03:32 PM
Jolten Jolten is offline
 
Join Date: Mar 2004
Posts: 749
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Uhmm.. the instructions don't refer to adminfunction_template at all. They refer to editpost.php, search.php. Then under "template changes" it refers to editpost and phpinclude_start, that's it.
Reply With Quote
  #60  
Old 05-19-2004, 03:36 PM
Jolten Jolten is offline
 
Join Date: Mar 2004
Posts: 749
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think I know where I went wrong. Istarted with the advanced install and it appears that you also need the regular install. I'll go back install from the regular first then work upwards.

My fault. Thanks.
Reply With Quote
  #61  
Old 05-19-2004, 03:39 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, the first lines in the advanced install script should be clear i think

Quote:
You must have the hidden post hack already installed on your board.
These instructions are just additional ones, if you want to have some cool special features (like
seeing how much new hidden posts are there, and such)!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:55 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04998 seconds
  • Memory Usage 2,309KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete