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
Hide Posts To Unregistered Users - Posting Option Details »»
Hide Posts To Unregistered Users - Posting Option
Version: 1.00, by Jafo232 Jafo232 is offline
Developer Last Online: Oct 2022 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 05-31-2006 Last Update: 06-01-2006 Installs: 24
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

-----------------
- Brought To You By:
-
- MediaFlavor.com
-
- Custom VB Mods, Extensions, and Plugins

-----------------

This hack allows your users to specify if they want their thread only viewable to registered users. You can set this priviledge on a usergroup basis.

The only limitation is the same as the "Tachy Goes Conventry" issue where the post title will be shown as the last post in the forum home, but will not be displayed in forum view. If a user happens to click on the link on the forum front page (as latest post (forumhome)) it will give them a no permissions message instructing them to login or register. This is a limitation of VB, nothing much I can do about it. When the VB team fixes the TGC feature, then I can probably do the same with this extension.

Installation:

Upload xml file to includes/xml folder.

Install product file.

Edit two templates.

CLICK INSTALL!

This modification is FREE of charge, but if you wish to reward me for my work, and encourage future modifications by me, please donate below:

Show Your Support

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

Comments
  #2  
Old 06-01-2006, 07:44 PM
melefire's Avatar
melefire melefire is offline
 
Join Date: Dec 2005
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

looks nice, good job
Reply With Quote
  #3  
Old 06-02-2006, 05:26 AM
Atakan KOC's Avatar
Atakan KOC Atakan KOC is offline
 
Join Date: Feb 2006
Location: Istanbul
Posts: 710
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice. Thanks
Reply With Quote
  #4  
Old 06-02-2006, 09:35 AM
projectego's Avatar
projectego projectego is offline
 
Join Date: Feb 2006
Location: UK
Posts: 724
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good idea, thanks very much!
Reply With Quote
  #5  
Old 06-02-2006, 10:36 AM
dacho's Avatar
dacho dacho is offline
 
Join Date: Dec 2004
Location: Tell-Aviv
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can't find in the Template :
Quote:
newthread :
<if condition="$permissions[phide_permissions]">
<div><input type="checkbox" name="hide_post" value="1" id="cb_signature" tabindex="1" />$vbphrase[phide_hide_post]</label></div>
</if>
what can i to ?
Reply With Quote
  #6  
Old 06-02-2006, 11:54 AM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dacho
I can't find in the Template :


what can i to ?
Sorry, that is an error in the readme file, search for:

Code:
	<if condition="$bbuserinfo['signature'] != ''"><div><label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="1" $checked[signature] />$vbphrase[show_your_signature]</label></div></if>
Reply With Quote
  #7  
Old 06-02-2006, 04:09 PM
utw-Mephisto utw-Mephisto is offline
 
Join Date: Jan 2005
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice one .. gonna test now
Reply With Quote
  #8  
Old 06-02-2006, 04:25 PM
utw-Mephisto utw-Mephisto is offline
 
Join Date: Jan 2005
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Problem when uninstalling / overwriting :

Code:
Database error in vBulletin 3.5.4:

Invalid SQL:

		INSERT INTO product
			(productid, title, description, version, active)
		VALUES
			('Hide Post To Unregistered Users',
			'Hide Post To Unregistered Users',
			'Users have option to hide posts to non-registered users',
			'1.0',
			1);

MySQL Error  : Duplicate entry 'Hide Post To Unregistered' for key 1
Error Number : 1062
Date         : Friday, June 2nd 2006 @ 07:24:37 PM
Script       : http://xxx
Referrer     : http://xxx/plugin.php?do=productadd
IP Address   : xxxxx
Username     : utw-Mephisto
Classname    : vb_database
Since I tested it to remove .. which worked, but now I cannot reinstall anymore .. so it does not drop the tables when uninstalling ..
Reply With Quote
  #9  
Old 06-02-2006, 06:03 PM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It should not drop any tables, it only drops columns from tables. Works for me when I uninstall, but you should not overwrite, just uninstall, the install.
Reply With Quote
  #10  
Old 06-02-2006, 06:04 PM
utw-Mephisto utw-Mephisto is offline
 
Join Date: Jan 2005
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I uninstalled and when trying to re-install - same error
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 11:08 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.04575 seconds
  • Memory Usage 2,298KB
  • Queries Executed 23 (?)
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_code
  • (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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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