Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

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

Version: 3.5.4 Rating:
Released: 04-10-2006 Last Update: 04-21-2006 Installs: 72
Uses Plugins Template Edits
 
No support by the author.

Alright, this Modification is a port of my 3.0.0 Version here.

Short description:

This mod allows you and your moderators, to post hidden posts, which will be visible just to your staff, but not to the users, which will allow you to have comfortable conversations about an issue directly within a thread, withoput users noticing.

There is no more to say. The modification is installed here since a long time and no problems appeared, but i still consider it as a beta version, right now, until usertest have approved it as well

Enjoy

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
Zachery

Comments
  #52  
Old 04-21-2006, 10:17 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had a really freaky thing just happen. I added the following code in the newreply template right after $threadmanagement (near the bottom)

HTML Code:
    <if condition="is_member_of($bbuserinfo, 5,6,7)">
     <fieldset class="fieldset" style="margin:$stylevar[formspacer]px 0px 0px 0px">
      <legend>Moderating Options&nbsp;</legend>
      <div style="padding:$stylevar[formspacer]px">
       <label for="cb_hidepost" style="float:$stylevar[left]"><input type="checkbox" name="hidepost" value="1" id="cb_hidepost" />Hide Post?</label>
      </div>
     </fieldset>
    </if>
It seemed to want to make every post hidden after a hidden post no matter if the hide post box was checked or not. I removed the code and it still did the same thing. I tried deleting the hidden posts with the inline moderation and still every post was hidden (even after deleting the code from the template). I had to delete the test thread and make a new one and now it seems to be working right. What would cause something like that to happen even without the code in the template?
Reply With Quote
  #53  
Old 04-22-2006, 12:37 AM
theArchitect's Avatar
theArchitect theArchitect is offline
 
Join Date: Sep 2004
Location: Sydney
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For those who are seeking the postbit tweak which gives "This post is hidden" text here it is.

HTML Code:
<if condition="$show['moderated']">
       <div>
           <span class="highlight">
               <strong>This post is hidden - really not visible to normal users!!!</strong>
           </span>
       </div>
       </if>
The colour of the text is controlled by the Highlight Font css attribute in your style manager.

I have put it just above:

HTML Code:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
Same spot for either postbit or postbit_legacy.

If you don't know which template your forum is using, the answer is simple. If your member info is on the left (like here on vB.org) then you are running postbit_legacy. If your user data is above your posts then you are running the postbit template.

Hope this helps.
Reply With Quote
  #54  
Old 04-22-2006, 12:53 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by theArchitect
For those who are seeking the postbit tweak which gives "This post is hidden" text here it is.

HTML Code:
<if condition="$show['moderated']">
<div>
<span class="highlight">
<strong>This post is hidden - really not visible to normal users!!!</strong>
</span>
</div>
</if>
The colour of the text is controlled by the Highlight Font css attribute in your style manager.

I have put it just above:

HTML Code:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
Same spot for either postbit or postbit_legacy.

If you don't know which template your forum is using, the answer is simple. If your member info is on the left (like here on vB.org) then you are running postbit_legacy. If your user data is above your posts then you are running the postbit template.

Hope this helps.
How about a pic so they can see what it looks like where you have it?
Reply With Quote
  #55  
Old 04-22-2006, 12:59 AM
theArchitect's Avatar
theArchitect theArchitect is offline
 
Join Date: Sep 2004
Location: Sydney
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo
How about a pic so they can see what it looks like where you have it?
Sorry, I knew I forgot something.
Reply With Quote
  #56  
Old 04-22-2006, 07:56 AM
COBRAws's Avatar
COBRAws COBRAws is offline
 
Join Date: Oct 2002
Location: Buenos Aires
Posts: 864
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any way of not showing up as a not-moderated post? It freaks me out when I go to the admincp or my portal page and see the number of unmoderated posts.

Btw, this hack is great
Reply With Quote
  #57  
Old 04-22-2006, 11:30 AM
lordi lordi is offline
 
Join Date: Dec 2005
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for this effective hack..it's really amazin'

My question is:::: Does it work with the AJAX ??????????? bcoz when the user replies on the post using the Ajax reply option...It may not work coz the page is not going to be refreshed......!!!

Can u tell us if it does work with it??????????
'
Reply With Quote
  #58  
Old 04-22-2006, 12:07 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Cobra: i am working on this, as it annoys me myself

@lordi: there is no problem with ajax, the mod takes affect on the new posting function itself, not the newreply.php
Reply With Quote
  #59  
Old 04-22-2006, 12:59 PM
lordi lordi is offline
 
Join Date: Dec 2005
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i mean when i post a hiddent one..and the user replies with the direct reply =ajax...the page then will not be refreshed though the subject to be shown...

I tried it yesterday in the Can't see attachments Hack....and i got this result

What do u say about this one?
----------------
Reply With Quote
  #60  
Old 04-22-2006, 01:57 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm, that did never appear here on vb.org, and as the hiddenposts are using the moderation posts system, that error would occur on normal boards with moderation enabled as well, so i gues, it's another mod on your board which makes problems...

@all: i have uploaded a new version, only thing changed is the moderation que plugin is now changed and active, and should work

I hate ajax with not showing error messages....
Reply With Quote
  #61  
Old 04-22-2006, 09:49 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Stefan would it not be better to store the post in another state?

0 is active 1 is moderated why not use 2? active but hidden or something? Unless I'm not understanding how this works.
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 02:30 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.06698 seconds
  • Memory Usage 2,325KB
  • 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
  • (5)bbcode_html
  • (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
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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