Ultimate Profile

Started by JovanT, March 12, 2009, 12:14:40 PM

Previous topic - Next topic

Magicjax

Thanks you very much.

I did everything you said and progress was made. But it's still not fixed.

I did what you said to the modification.english.php file and changed the name of the file and nothing happened.

But when I installed the mod you suggested progress was made. Here's a screen shot.



As you can see. The Tab for the Ultimate profile now shows up. But nothing else has changed. The empty space in the profile (See my last post) is also still blank.

Thanks for the help. Progress was made but still not working.

Anything else I should do?

Ron

Özgür

Can you give a ftp account (account should have access from your /themes/languages/) from pm ?
If you don't, please upload Modification.yourlanguage.php & UltimateProfile.yourlang.php ?

+ Plus you use the english language or english utf8?
So Long

Magicjax

I got it working now (Thanks Daydreamer) and I was able to edit my profile.

But my members can't. They reported to me that where they're suppose to see this menu:



All they are seeing is this:

Account Related Settings
Forum Profile Information
Look and Layout Preferences
Notifications and Email
Personal Message Options
Edit Buddies


Any advice?

Thanks again for all the help.

Ron

ps3ia

You need to give them permission to, so edit regular user's permissions to have it

Magicjax

Thank you. I just looked but I can't find where to set this permission. Can you elaborate on where and how?

I have the check box in the Ultimate Profile checked for Enable ultimate profile for all members already.

Thanks again.

Özgür

Quote from: Magicjax on June 13, 2009, 04:57:51 PM
Thank you. I just looked but I can't find where to set this permission. Can you elaborate on where and how?

I have the check box in the Ultimate Profile checked for Enable ultimate profile for all members already.

Thanks again.

You go to Admin > Permission > Click to user groups > and tick to ultimate profile permission > Submit
So Long

Magicjax

Thanks a lot. That works great now.

Hate to say it but I found another problem. The "add Buddy" feature doesn't seem to be working right.

I have my normal (Admin) account on my forum and another "Test" account. I signed in as Admin and sent a buddy request to my other user name. Then I signed out then back in with my test name.

I got the private message that says that "Someone wants to be your buddy. Click here to accept or deny"

So all seemed right up until this point.

But then when I click the "Approve or Deny" link. The next page had the invite automatically listed under "Unapproved" and there's no link to approve it.

So, I signed out and back in as Admin and checked my Profile. It still says, "You have not added any Buddy's yet". But I tried to invite my other account and it says, "This username is already your buddy". But it still doesn't list it on my profile.

I hope that's not too confusing. The overview is:

- No way to approve or deny a buddy invite.
- It still says I haven't added any Buddies yet when I try to add it back it said it was already my buddy. Just won't list it on my profile.

Thanks for the help so far.

Ron

romper

Great mod, but I still have problem with: Features and Options because after I modify modsettings.php it simply disapears >:(
Anyone?

tyty1234

Any updates for a version of this mod for SMF 2.0?
My Activity: Inactive
My Links: tyty1234's SMF Site | SMF Package Parser | SMF Helper | My Mods [5]
Subscribe to my SMF blog for updates
PMs for support will not be accepted, unless requested otherwise.

jmil

#389
I am receiving the Following Error on the Install - Any ideas if I should proceed regardless?

   Execute Modification     ./Sources/ModSettings.php     Test failed

Version 1.1.9
Mod Version 0.9

Custom Theme

Do I Parse the Theme after I install? I am OK with Coding!

Chas Large

Hi Daydreamer,

Have installed UP in 1.1.8/1.1.9 and it works very well. Everyone loves it and that's the problem. We have had several members setting up their own little porn areas which they make visible only to buddies.

Is there a way to globally prevent members from a) hiding their Ultimate Profile and or b) hide their Photos from everyone but Buddies. Effectively turning off these options for members so they cannot set them and if they have set them, to disable that setting.

I appreciate this may be a major change to your great mod but I think this could also be useful to others.

Cheers
Chas
My Modifications :)  My Forum

Please DO NOT PM me with support requests. Post the problem in the appropriate Support Board so everyone can benefit from the advice given.

Danpotter

i want referral place in ultimate profile...wat i have to fo????

i instaled referral mod...,but not cumng in ultimate profile..pls helpme....

Özgür

#392
@Magicjax, please send me one admin and one user account. I will try to solve. Plus i don't have this issue.

Quote from: jmil on June 16, 2009, 01:44:00 PM
I am receiving the Following Error on the Install - Any ideas if I should proceed regardless?

   Execute Modification     ./Sources/ModSettings.php     Test failed

Version 1.1.9
Mod Version 0.9

Custom Theme

Do I Parse the Theme after I install? I am OK with Coding!

Yep.

Quote from: Chas_Large on June 16, 2009, 04:19:48 PM
Hi Daydreamer,

Have installed UP in 1.1.8/1.1.9 and it works very well. Everyone loves it and that's the problem. We have had several members setting up their own little porn areas which they make visible only to buddies.

Is there a way to globally prevent members from a) hiding their Ultimate Profile and or b) hide their Photos from everyone but Buddies. Effectively turning off these options for members so they cannot set them and if they have set them, to disable that setting.

I appreciate this may be a major change to your great mod but I think this could also be useful to others.

Cheers
Chas

"Show my pictures only to buddies and admins" options in "Customized profile" section in profile.

Quote from: romper on June 14, 2009, 06:36:03 PM
Great mod, but I still have problem with: Features and Options because after I modify modsettings.php it simply disapears >:(
Anyone?
Can you upload your ModSettings.php ?


Quote from: Danpotter on June 16, 2009, 10:55:14 PM
i want referral place in ultimate profile...wat i have to fo????

i instaled referral mod...,but not cumng in ultimate profile..pls helpme....

http://www.simplemachines.org/community/index.php?topic=183574.msg1673492#msg1673492
So Long

Chas Large

Quote from: [Daydreamer] on June 17, 2009, 12:36:53 AM

Quote from: Chas_Large on June 16, 2009, 04:19:48 PM
Hi Daydreamer,

Have installed UP in 1.1.8/1.1.9 and it works very well. Everyone loves it and that's the problem. We have had several members setting up their own little porn areas which they make visible only to buddies.

Is there a way to globally prevent members from a) hiding their Ultimate Profile and or b) hide their Photos from everyone but Buddies. Effectively turning off these options for members so they cannot set them and if they have set them, to disable that setting.

I appreciate this may be a major change to your great mod but I think this could also be useful to others.

Cheers
Chas

"Show my pictures only to buddies and admins" options in "Customized profile" section in profile.

http://www.simplemachines.org/community/index.php?topic=183574.msg1673492#msg1673492

I think you missed my point Daydreamer. I want to change these settings from the Admin Panel



OR
Remove the options from the USER'S Customised profile so they CANNOT set the Profile and / or Photos as private.
Hope that explains better :)
Chas
My Modifications :)  My Forum

Please DO NOT PM me with support requests. Post the problem in the appropriate Support Board so everyone can benefit from the advice given.

Özgür

I understand now , forgive i don't understand (:
I'm not sure but you can try this.

(please make backup before..)

Find and Remove in Profile.Template.php

<tr>
<td width="40%" valign="top">
<b>', $txt['profile_customize_private'], '</b>
</td>
<td>
<input type="hidden" name="default_options[customized_private]" value="0" /><input type="checkbox" name="default_options[customized_private]"', (@$context['member']['options']['customized_private'] == 1) ? ' checked="checked"' : '', ' value="1" class="check" />
</td>
</tr>

                      if ($modSettings['profile_enable_pictures'] == 1)
echo '
<tr>
<td width="40%" valign="top">
<b>', $txt['profile_pictures_budd_only'], '</b>
</td>
<td>
<input type="hidden" name="default_options[pictures_budd_only]" value="0" /><input type="checkbox" name="default_options[pictures_budd_only]"', (@$context['member']['options']['pictures_budd_only'] == 1) ? ' checked="checked"' : '', ' value="1" class="check" />
</td>
</tr>';

                     
If you want also remove buddy only comment feature, find and remove
<tr>
<td width="40%" valign="top">
<b>', $txt['profile_comments_budd_only'], '</b>
</td>
<td>
<input type="hidden" name="default_options[comments_budd_only]" value="0" /><input type="checkbox" name="default_options[comments_budd_only]"', (@$context['member']['options']['comments_budd_only'] == 1) ? ' checked="checked"' : '', ' value="1" class="check" />
</td>
</tr>

UltimateProfile.template.php find

if ($modSettings['profile_enable_pictures'] == 1 && $context['can_view_pics'])

Replace
if ($modSettings['profile_enable_pictures'] == 1)


In Sources/ProfilePictures.php
Find

if ((@$context['member']['options']['pictures_budd_only'] == 1 || @$context['member']['options']['customized_private'] == 1) && @$modSettings['enable_buddylist'] == 1) {

if (is_buddy($memID, $context['user']['id']) || allowedTo('edit_ultimate_profile_any') || $context['user']['is_owner'])
$context['can_view_pics'] = true;
else
$context['can_view_pics'] = false;
}
else

Replace


if (is_buddy($memID, $context['user']['id']) || allowedTo('edit_ultimate_profile_any') || $context['user']['is_owner'])
$context['can_view_pics'] = true;
else
$context['can_view_pics'] = false;
else




if ($modSettings['profile_enable_pictures'] != 1 || !$context['can_view_pics'])

Replace
if ($modSettings['profile_enable_pictures'] != 1)

In Sources/Profile.php Find
// Which template should we use?
if (@$context['member']['options']['customized_private'] == 1 && @$modSettings['enable_buddylist'] == 1) {
if ($context['member']['is_reverse_buddy'] || allowedTo ('profile_extra_any') || $context['user']['is_owner'])
$view_customized = true;
else
$view_customized = false;
} else {
$view_customized = true;
}

   
Replace
// Which template should we use?

if ($context['member']['is_reverse_buddy'] || allowedTo ('profile_extra_any') || $context['user']['is_owner'])
$view_customized = true;
else
$view_customized = false;


Find
if (@$context['member']['options']['pictures_budd_only'] == 1 && @$modSettings['enable_buddylist'] == 1) {
if ($context['member']['is_reverse_buddy'] || allowedTo('profile_extra_any') || $context['user']['is_owner'])
$context['can_view_pics'] = true;
else
$context['can_view_pics'] = false;
} else
$context['can_view_pics'] = true;

Replace

if ($context['member']['is_reverse_buddy'] || allowedTo('profile_extra_any') || $context['user']['is_owner'])
$context['can_view_pics'] = true;
else
$context['can_view_pics'] = false;


            
So Long

romper

Advice needed...so I finaly managed manualy to change modsettings.php...I installed mod first even with failed on modsettings, and than I rewrite modsettings.php...everything works, no more problems, no problems in error log as well...just to see I tried to uninstall package and I still have failed test on modsettings.php, so should I live everything as i it is? If I ever uninstall package obviusly I'll have to do it manually.

Chas Large

Quote from: [Daydreamer] on June 17, 2009, 03:22:47 AM
I understand now , forgive i don't understand (:
I'm not sure but you can try this.

(please make backup before..)


Hi Daydreamer, thanks for the mods. Two questions, do I have to apply all the changes or just the first two under Profile.Template as your code shows. I found doing so just made all the profile boxes very small because the formatting had changed. However If I just change

<input type="hidden" name="default_options[pictures_budd_only]" value="0"

to

<input type="hidden" name="default_options[pictures_budd_only]" value="1"

this prevents the box from being checked in the first place. However, if the user has already checked it he cannot now uncheck it so it remains fixed at the checked state in the database.

So my second question is do you have a database QUERY I can run to reset the options for all members back to UNCHECKED status so everyone can see the pictures.

Chas
My Modifications :)  My Forum

Please DO NOT PM me with support requests. Post the problem in the appropriate Support Board so everyone can benefit from the advice given.

Özgür

Quote from: romper on June 17, 2009, 11:39:53 AM
Advice needed...so I finaly managed manualy to change modsettings.php...I installed mod first even with failed on modsettings, and than I rewrite modsettings.php...everything works, no more problems, no problems in error log as well...just to see I tried to uninstall package and I still have failed test on modsettings.php, so should I live everything as i it is? If I ever uninstall package obviusly I'll have to do it manually.
If you want to uninstall this package ; uninstall in admin section before. After manual uninstall (find-replace) in this file.

@Chas, Thanks but this is not my mod =) Mod developer is Jovant.
Settings not in the database. I this setting need theme options reset.
Admin > Themes and Layout > Member Options > Configure guest and new user options for this theme

But if you make this, all customizes and ultimate profiles resetted. I don't know "are we have a other way"
So Long

n-joy

Quote from: tyty1234 on June 15, 2009, 01:55:13 AM
Any updates for a version of this mod for SMF 2.0?
Yeah...any news?

311LA

Quote from: n-joy
Yeah...any news?
/quote]

Advertisement: