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

Reply
 
Thread Tools
Profile Privacy Details »»
Profile Privacy
Version: 1.0.1, by Krofh Krofh is offline
Developer Last Online: Jun 2013 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.6.4 Rating:
Released: 10-09-2006 Last Update: 10-19-2006 Installs: 162
DB Changes Uses Plugins Template Edits
 
No support by the author.

Profile Privacy

Description: This plugin will add a "Profile Privacy" option for users, allowing them to select one of three options. "Public" enables anyone at all to view their profile, "Private" limits their profile to only being viewed by forum members, and "Friends Only" limits their profile to people on their friends list. Note: Admins and Super Moderators can still view anyone's profile with this hack.

Installation:
  • Import the product XML file
  • Perform the following template edit in template modifyprofile:
Find:
Code:
			<if condition="$show['customtitleoption']">
Add above:
Code:
<!-- profile privacy options -->
			<fieldset class="fieldset">
				<legend>$vbphrase[profile_privacy]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
				<tr>
					<td>$vbphrase[profile_privacy_message]</td>
				</tr>
				<tr>
					<td>$profile_privacy_radio</td>
				</tr>
				</table>
			</fieldset>
<!-- profile privacy options -->
Contains:
  • 4 Plugins
  • 1 New Template
  • 1 Template Edit
  • 6 Phrases

If you like this hack, please click install and, if willing, donate.

Show Your Support

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

Comments
  #12  
Old 10-11-2006, 04:32 AM
Krofh's Avatar
Krofh Krofh is offline
 
Join Date: Aug 2005
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ahh, silly me... found the problem. Go to your Plugin Manager, then under the Profile Privacy plugin change the plugins in "profile_editoptions_start" and "profile_updateoptions" to "profile_editprofile_start" and "profile_updateprofile," respectively. Uploading a new XML here as well.
Reply With Quote
  #13  
Old 10-11-2006, 05:53 AM
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Posts: 4,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reminds of myspace
It would go well with it
Reply With Quote
  #14  
Old 10-11-2006, 07:46 AM
Kuimera Kuimera is offline
 
Join Date: Aug 2005
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tks for the update.
Reply With Quote
  #15  
Old 10-12-2006, 12:03 AM
NeitherSparky's Avatar
NeitherSparky NeitherSparky is offline
 
Join Date: Aug 2006
Location: Sacramento, CA
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed. I recently had some users complain about seeing google spiders visiting their profiles in the Who's Online, so this will make them happy.
Reply With Quote
  #16  
Old 10-17-2006, 05:17 AM
cheesegrits's Avatar
cheesegrits cheesegrits is offline
 
Join Date: May 2006
Posts: 500
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd like to request an ACP option to set the default mode. At the moment it defaults to Public, my site needs it to default to Private.

I've edited my copy to change the default, but it would be nice to have this as an ACP option.

-- hugh
Reply With Quote
  #17  
Old 10-18-2006, 07:08 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice one. This will really come in handy.

Thanks.
Reply With Quote
  #18  
Old 10-19-2006, 10:50 AM
Greek Wizard Greek Wizard is offline
 
Join Date: Jun 2006
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone tell me how I can fix this (after installing this)

Page generated in 0.08295 seconds with 10 queries (1 queries for uncached templates) [Server Loads: 0.08 0.16 : 0.17]
Uncached templates: profile_privacy_radiobit (3)

Only shows up on the edit profile page.
Reply With Quote
  #19  
Old 10-20-2006, 05:08 PM
Krofh's Avatar
Krofh Krofh is offline
 
Join Date: Aug 2005
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Argh, are you telling me I forgot to cache the templates?

If you want to fix that, go to your Plugin Manager and edit the "Profile Privacy - Radio Buttons" plugin... add this line to the very top of the code:

Code:
cache_templates(array("profile_privacy_radiobit"), $style['templatelist']);
Or just reinstall the plugin, I'm reuploading a fixed version now.
Reply With Quote
  #20  
Old 10-20-2006, 05:36 PM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed this last night. Works like a gem, a real nice addition. Thanks for your work.
Reply With Quote
  #21  
Old 10-21-2006, 05:51 AM
Greek Wizard Greek Wizard is offline
 
Join Date: Jun 2006
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Krofh
Argh, are you telling me I forgot to cache the templates? Silly Jesse *smacks self*

If you want to fix that, go to your Plugin Manager and edit the "Profile Privacy - Radio Buttons" plugin... add this line to the very top of the code:

Code:
cache_templates(array("profile_privacy_radiobit"), $style['templatelist']);
Or just reinstall the plugin, I'm reuploading a fixed version now.
Perfect bud.

Appriciate the quick reply and fix.
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 12:49 PM.


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.07674 seconds
  • Memory Usage 2,310KB
  • 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
  • (4)bbcode_code
  • (1)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
  • (3)pagenav_pagelink
  • (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