vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Private Profiles (https://vborg.vbsupport.ru/showthread.php?t=112734)

akanevsky 04-11-2006 06:54 PM

Of course, because you haven't clicked the button that you were supposed to click. ;)

Daniel 04-11-2006 06:57 PM

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.

akanevsky 04-11-2006 07:00 PM

Well, I assumed you did. Sorry. :)

toolblast 04-11-2006 08:48 PM

Excellent Psionic. Exactly what I asked for. I'll be coming to you for some custom paid hacks soon :)

???`S?LV?R???` 04-12-2006 06:05 AM

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.

akanevsky 04-12-2006 11:02 AM

No, there is no way to set this, but I'll consider adding it.

akanevsky 04-12-2006 01:27 PM

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

bada_bing 04-12-2006 04:04 PM

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?

akanevsky 04-12-2006 04:05 PM

No, it cannot.

bada_bing 04-12-2006 04:42 PM

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?


All times are GMT. The time now is 04:56 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.01132 seconds
  • Memory Usage 1,748KB
  • 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
  • (2)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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