Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Private Profiles Details »»
Private Profiles
Version: 1.0.1, by akanevsky akanevsky is offline
Developer Last Online: Feb 2016 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 04-10-2006 Last Update: 04-11-2006 Installs: 43
DB Changes Uses Plugins Template Edits
 
No support by the author.

I no longer support my hacks. Please feel free to update them and release new versions elsewhere as long as I get the credit for the original modification.

/*================================================= =====================*\
|| Private Profiles
||
|| Author : Anton Kanevsky
|| Works on : vBulletin 3.5
|| Released : Apr 12, 2006
||
|| Time required to install: 1 minute
|| Difficulty: easy
\*================================================ ======================*/

DESCRIPTION

Features an option to restrict profile viewing to friends only.
More advanced version of the hack is available here: http://www.visionscripts.com/?page=p...&vsproductid=8

STATISTICS

File Uploads: 1
Template Changes: 1
Products to Install: 1


FEATURES
  • Per-Usergroup "Can View Private Profiles" permission.
  • Per-Usergroup "Can Have Private Profile" permission.

VERSION HISTORY

1.0.1
[+] Per-Usergroup "Can View Private Profiles" permission.
[+] Per-Usergroup "Can Have Private Profile" permission.

1.0.0
Initial Release

The installation manual is contained within the attached file.

IF YOU LIKE MY HACK, PLEASE CLICK INSTALL

Show Your Support

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

Comments
  #12  
Old 04-11-2006, 06:54 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Of course, because you haven't clicked the button that you were supposed to click.
Reply With Quote
  #13  
Old 04-11-2006, 06:57 PM
Daniel's Avatar
Daniel Daniel is offline
 
Join Date: Jul 2005
Location: USA
Posts: 707
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Psionic Vision
Of course, because you haven't clicked the button that you were supposed to click.
My apologies, I didn't know "Nice hack" meant I installed it.
Reply With Quote
  #14  
Old 04-11-2006, 07:00 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, I assumed you did. Sorry.
Reply With Quote
  #15  
Old 04-11-2006, 08:48 PM
toolblast's Avatar
toolblast toolblast is offline
 
Join Date: Mar 2004
Posts: 266
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent Psionic. Exactly what I asked for. I'll be coming to you for some custom paid hacks soon
Reply With Quote
  #16  
Old 04-12-2006, 06:05 AM
???`S?LV?R???`'s Avatar
???`S?LV?R???` ???`S?LV?R???` is offline
 
Join Date: Aug 2003
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there a way to set this so that only selected usergroups can set their profiles to private?

If not, this would be a useful feature to add into this hack.
Reply With Quote
  #17  
Old 04-12-2006, 11:02 AM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, there is no way to set this, but I'll consider adding it.
Reply With Quote
  #18  
Old 04-12-2006, 01:27 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

UPDATE: VERSION 1.0.1

Changes:

See changelog in 1st post.

Update procedure:

1. Upload contents of upload directory to your vbulletin directory.
2. Overwrite product XML.
3. In template modifyoptions, change:

HTML Code:
				<fieldset class="fieldset">
					<legend><label for="cb_privateprofile">$vbphrase[privateprofile]</label></legend>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
					<tr>
						<td>
							$vbphrase[privateprofile_desc]
						</td>
					</tr>
					<tr>
						<td><label for="cb_privateprofile"><input type="checkbox" name="privateprofile" value="1" id="cb_privateprofile"<if condition="$bbuserinfo[privateprofile]"> checked="checked"</if>/>$vbphrase[privateprofile]</label></td>
					</tr>
					</table>
				</fieldset>
To:

HTML Code:
				<if condition="$show['privateprofileoption']">
				<fieldset class="fieldset">
					<legend><label for="cb_privateprofile">$vbphrase[privateprofile]</label></legend>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
					<tr>
						<td>
							$vbphrase[privateprofile_desc]
						</td>
					</tr>
					<tr>
						<td><label for="cb_privateprofile"><input type="checkbox" name="privateprofile" value="1" id="cb_privateprofile"<if condition="$bbuserinfo[privateprofile]"> checked="checked"</if>/>$vbphrase[privateprofile]</label></td>
					</tr>
					</table>
				</fieldset>
				</if>
>> EOD
Reply With Quote
  #19  
Old 04-12-2006, 04:04 PM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can this hack be used to allow only certain usergroup to view a different usergroups profile

Example
Registered users group CAN NOT view the Premium Usergroup
but Premium Usergroup CAN view other members profiles?
Reply With Quote
  #20  
Old 04-12-2006, 04:05 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, it cannot.
Reply With Quote
  #21  
Old 04-12-2006, 04:42 PM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bada_bing
Can this hack be used to allow only certain usergroup to view a different usergroups profile

Example
Registered users group CAN NOT view the Premium Usergroup
but Premium Usergroup CAN view other members profiles?
Is this something that might be added on to this hack?
Reply With Quote
Reply

Thread Tools

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 10:09 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.05346 seconds
  • Memory Usage 2,304KB
  • 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_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
  • (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