vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Profile Enhancements - Profile Privacy (https://vborg.vbsupport.ru/showthread.php?t=128709)

Krofh 10-09-2006 10:00 PM

Profile Privacy
 
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.

Virtuosofriend 10-10-2006 05:58 AM

that's a nice idea. Good job mate ;)

sensimilla 10-10-2006 08:36 AM

Nice hack! :) Should be allowed to set this up per usergroups too! :)

iLLoGIc 10-10-2006 12:12 PM

sick idea... installed!!

Snake 10-10-2006 04:53 PM

Lovely. Thanks! :D

basilrath 10-10-2006 10:27 PM

na too much power to user

eNforce 10-10-2006 11:44 PM

I don't get the options, uploaded the product twice as well as done the template edit twice, still no go.

InTeNsE-HuMoR 10-11-2006 12:03 AM

I'm having the same problem as person above ^

Barakat 10-11-2006 02:25 AM

<a href="https://vborg.vbsupport.ru/showthread.php?t=121125" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=121125</a>

emm the 3.5.4 is working better .... and there's something missing in this hack option so i installed the other one

Kuimera 10-11-2006 02:37 AM

Quote:

Originally Posted by eNforce
I don't get the options, uploaded the product twice as well as done the template edit twice, still no go.

Same thing...

Krofh 10-11-2006 04:32 AM

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.

Shazz 10-11-2006 05:53 AM

Reminds of myspace :)
It would go well with it

Kuimera 10-11-2006 07:46 AM

tks for the update.

NeitherSparky 10-12-2006 12:03 AM

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

cheesegrits 10-17-2006 05:17 AM

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

Hornstar 10-18-2006 07:08 AM

Nice one. This will really come in handy.

Thanks.

Greek Wizard 10-19-2006 10:50 AM

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.

Krofh 10-20-2006 05:08 PM

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.

FleaBag 10-20-2006 05:36 PM

I installed this last night. Works like a gem, a real nice addition. Thanks for your work.

Greek Wizard 10-21-2006 05:51 AM

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.

big dan 10-21-2006 12:16 PM

Nice hack, installed. :)

webgeek247 10-27-2006 08:59 PM

^ Agreed! :)

ABeautifulBrown 10-28-2006 02:44 PM

awesome :)

daystorm 11-07-2006 02:51 AM

How can I change this to include usergroups? An example is to not allow single males to view profile...

Krofh 11-07-2006 04:12 AM

You can entirely rewrite it :) not to be flippant or anything, but that would pretty much require rewriting the entire hack and, at that point, it would lose its point. Then each user would be selecting each usergroup, and then each usergroup would need permissions to see if users can ban that specific usergroup from viewing it... the more I think about it, the more my head hurts :( it's complicated, dang. Something like that sounds like something you'd want custom-written for your site, not something that'd be widely used.

DPSR 12-26-2006 11:55 AM

Is this possible to make it like user has to choose this option during registration process?

Anyways thanks for a great gack :D

*installed

MrPHD 12-26-2006 04:14 PM

Installed and Running 100%. Good Work

adonfun 12-27-2006 10:26 AM

Looks like a hack that my members will like.

Is this 3.6.4 compatible?

daystorm 12-28-2006 12:17 AM

Help...

I uninstalled the hack and yet people still can not access profiles that were previously set as private. They keep getting this message..

This profile has been set as private. Since you are not on eroticgoddess's buddy list, you may not access it.

Please Help...

Krofh 01-05-2007 07:29 PM

What do you mean by "uninstalled the hack"? If you removed the product through the Product Manager, it would not be still occurring.

cfspinner 01-06-2007 11:33 AM

Nice...installed and works great!

Mudvayne 01-18-2007 01:02 PM

The main problem with this mod is if a user set option as only his buddy can see his/her profile then even admin can't access to his/her profile.. So I would like to request you to add an option to ACP thus we can define few usergroup who can still have access to profile whatever the user choose.

mescalin 03-28-2007 02:19 PM

Really great product. Thank you for sharing, Krofh..

Im not a coder but i wonder if i can use that great product to restrict access to other custom vbpages. for example i have a gallery and we access to these galleries like xxx.com/gallery.php?do=hall&u=1 can it check if they are buddies also?

thanks for the support ;)

Andyucs 03-28-2007 05:01 PM

Would be nice if you could default it to

Private (registered members can view)

MsRachel 04-22-2007 08:54 PM

question, i dont see settings in my acp, can you make this for certain usergroups?

Majest 05-05-2007 06:33 AM

Installed

LEAD_WEIGHT 05-06-2007 11:54 AM

This would be great if you made it for admin/mod to hide Banned members profile.

yesfans 05-06-2007 12:45 PM

Good plug in. INSTALLED!

princeedward 08-19-2007 08:03 AM

thanks for this...great mod... ;)

y2krazy 08-26-2007 08:15 AM

Installed and working on 3.6.8!


All times are GMT. The time now is 04:54 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.01357 seconds
  • Memory Usage 1,792KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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