News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Ultimate Profile

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

Previous topic - Next topic

Paracelsus

Quote from: JeepneyDriver on April 02, 2009, 09:12:20 PM
Quote from: Paracelsus on April 02, 2009, 04:50:44 PM
I would like to activate / enable the Ultimate Profile just for some membergroups instead of the master setting "to all users". Is this possible trhough the admin panel or manually by changing the code?

Btw, great MOD. ;)

Enable it for all is required for it to work but you set the permissions for the membergroups in the usual fashion.

Nope, but I found it anyway.

The master setting overrides permissions, meaning that if you enable to all it will be enabled to all members as "default" profile (the old one disappears).

However, by not enabling to all but rather using the "edit own ultimate profile" permission in permissions, only those membergroups affected by that specific permission will have the ability to see the link to change to ultimate in their old profile... and thus to activate it as default and customize it. So, actually, the edit ultimate profile permission puts together 2 permissions: to edit ultimate profile and to enable it as default profile.

Well, that's how it works in my forum. ;D

Paracelsus

Unfortunately, it appears that the Ultimate Profile is always activated once installed but not enabled as default profile (that's what the "master setting does... it enables as default for everybody).

The problem is that, since there is no permission to "activate / deactivate" ultimate profile according to membergroup, once it is enable as default profile it does no longer go back to old profile as default when a user changes to another membergroup that doesn't have the permission to edit ultimate profile.


I'll try to explain with an example:

Group A: Edit own ultimate profile - Allowed
Group B: Edit own ultimate profile - Not allowed

If a user is in Group B it can't see the link in the old profile to change to ultimate profile as default (and to edit this and so on). If it goes to Group A, it can, and imagine that it is activated then and customized. If then this user goes back to Group B then the ultimate profile continues visible as default (but the link to edit its options disappears), i.e., it doesn't roll back automatically to old profile as default.

Bec

#182
Hi Everyone,

I have just installed the custom profile field mod to add some additional text fields - I have manually added the code to the ultimateprofile.template.php but i would like to display them in a block like everything else is displayed but not sure how to insert the code into the table format (have attached a [piccie so you can see how it currently looks). This is the code :-

global $sourcedir;
require_once($sourcedir . '/CustomProfile.php');
DisplayFieldsProfile();


it is currently showing in the contact us section, can someone please help me to get this section to display properly in its own table.

---

also as far as customizing the background, how would I go about incorporating something like this code?

<style>body {background-image: url('http://www.addglitter.com/graphics/bg07.gif');} </style><div id=Glitter style='left:1; top: 1; position: fixed'><a href='http://www.addglitter.com'><img src='http://www.addglitter.com/ad.gif'; alt='Glitter Graphics' border='0'></a></div>

Thanks :)

JeepneyDriver

Quote from: Paracelsus on April 03, 2009, 07:16:09 AM
Unfortunately, it appears that the Ultimate Profile is always activated once installed but not enabled as default profile (that's what the "master setting does... it enables as default for everybody).

The problem is that, since there is no permission to "activate / deactivate" ultimate profile according to membergroup, once it is enable as default profile it does no longer go back to old profile as default when a user changes to another membergroup that doesn't have the permission to edit ultimate profile.


I'll try to explain with an example:

Group A: Edit own ultimate profile - Allowed
Group B: Edit own ultimate profile - Not allowed

If a user is in Group B it can't see the link in the old profile to change to ultimate profile as default (and to edit this and so on). If it goes to Group A, it can, and imagine that it is activated then and customized. If then this user goes back to Group B then the ultimate profile continues visible as default (but the link to edit its options disappears), i.e., it doesn't roll back automatically to old profile as default.

I still don't see what you are trying to say...

On my board

Enable ultimate profile for all members is checked (enabled)

In permissions...

Guests are severly restricted to reading only certain posts. No profile is possible. In the persmission setting for them there is no 'Edit ultimate profile' box.

Regular members (In my forums, read that to mean Newbies. In Permissions, 'Edit ultimate profile' is set to 'Disallow' and in their Profile under Modify Profile they have no line to 'Ultimate Profile'.  Note, however, the LOOK of the profile has changed when they view it. They CAN NOT use the new features. However, if I as Admin go into their profile then the option to enable their Ultimate Profile is presented to ME and I can enable it on a member by member basis.

For other membergroups that I have enabled it in their Permission settings THEY have the option to use Ultimate Profile features or not. What may be fooling you is the fact that when the ultimate profile is enabled for all members ONLY the appearance has changed, NOT the functionality. You control who can use the extra features and the within the membergroups you allow, the individual members can enable or not, their own personal ultimate profile.

I spent the better part of an afternoon going through all of this when I first installed it logging in with test IDs belonging to the various groups on my board.  Don't be fooled by looking at a members profile as ADMIN.  Look at the profiles as a member of the particular group.

Properly set up, ONLY the look has changed for everybody, and only those membergroups you give persmission to, can actually use the features.

Hope that makes sense. :)

EDIT.

I just re-read your first reply and I think that in different ways, we are saying the same thing. :)

Paracelsus

However, if you don't use the master permission "Enable to all users" what happens is this:

  • If you DON'T have the "edit ultimate profile" permission activated, you see your old look profile and you don't have a link to config your ultimate profile
  • If you HAVE the "edit ultimate profile" permission activated, you see your old profile and you have a link to config your ultimate profile. If you follow that link, you have an option to "activate ultimate profile" and if you select / de-select that option you can actually change the look of your profile between the old one and the new one.

    Now, imagine that you activate this option and you get the new look on your profile. Ok, now imagine that you change membergroup and you lose the permission to "edit ultimate profile". Well, what happens is that you don't lose just that ability, you lose the link to config ultimate profile and therefore you can no longer choose the option "activate / deactivate ultimate profile", which means that you can no longer change between the old and the new look. So, if you were on the old look you stay on the old and if you were on the new look you stay on the new one.

    This sounds to me like a different option (the ability to change between the old and the new look) and I would like to have it as a autonomous permission. The new vs old look should change automatically according to membergroups permission, understand what I mean?

JeepneyDriver

@ Paracelsus

Okay, I know what you mean now. I think my elevator just got to the top floor. ;) Too bad the setup instructions weren't a bit clearer.

With global off and permissions controlling who can use UP set, those who have permission can then actually control the 'look' of their profile.

That is what I prefered and may have had for a moment or two and then lost when I was configuring it.

Thanks for pointing out the differences. :)

tyty1234

Quote from: Bec on April 03, 2009, 09:43:23 AM
Hi Everyone,

I have just installed the custom profile field mod to add some additional text fields - I have manually added the code to the ultimateprofile.template.php but i would like to display them in a block like everything else is displayed but not sure how to insert the code into the table format (have attached a [piccie so you can see how it currently looks). This is the code :-

global $sourcedir;
require_once($sourcedir . '/CustomProfile.php');
DisplayFieldsProfile();


it is currently showing in the contact us section, can someone please help me to get this section to display properly in its own table.

---

also as far as customizing the background, how would I go about incorporating something like this code?

<style>body {background-image: url('http://www.addglitter.com/graphics/bg07.gif');} </style><div id=Glitter style='left:1; top: 1; position: fixed'><a href='http://www.addglitter.com'><img src='http://www.addglitter.com/ad.gif'; alt='Glitter Graphics' border='0'></a></div>

Thanks :)

Here is what you can add to the UltimateProfile.template.php file.



        // Custom Profile Fields
       echo  '<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="contact">
                                <tr>
                                        <td class="titlebg" height="26" align="center">
                                                Custom Profile Fields
                                        </td>
                                 </tr>
                                 <tr>
                                         <td class="windowbg">
                                                 <table border="0" cellspacing="0" cellpadding="2" width="100%">';
                 <tr>
                        <td align="left">
                           Custom Profile Field Name
                        </td>
                        <td align="left">
                           Custom Profile Field Data
                        </td>
                 </tr>
                       </table>
               </td>
          </tr>
   </table>';

I haven't used Custom Profile Fields before, so you'll have to replace the "Custom Profile Field" stuff with what the actual data is.
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.

Bec

tyty1234, thanks again :)

Will give it a go. Appreciate the help!!

tyty1234

No problem. If you run into any errors, just let me know :)
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.

Bec

Thanks :)

I do have one question... where do i find the code that I need to put into the "Custom Profile Fields" rows. I have looked in my customprofile.php file and I couldn't exactly understand what was what in there, I have attached the file could you please point me in the right direction as to what part I need to use?

Thank you  ;D

tyty1234

Quote from: Bec on April 04, 2009, 12:08:45 PM
Thanks :)

I do have one question... where do i find the code that I need to put into the "Custom Profile Fields" rows. I have looked in my customprofile.php file and I couldn't exactly understand what was what in there, I have attached the file could you please point me in the right direction as to what part I need to use?

Thank you  ;D
To be honest, I really don't know. :(
You might have to ask in the Mod Support thread for the Custom Profile Fields. :)
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.

Mr_Lon

Quote from: aED on April 02, 2009, 06:52:59 AM
Any updates for 2.0 RC1?

How is Ultimate Profile comming for RC1?

I keep reading all the posts and can't wait to install it on my site using RC1.

Lon

Bec

Quote from: tyty1234 on April 04, 2009, 01:38:23 PM
Quote from: Bec on April 04, 2009, 12:08:45 PM
Thanks :)

I do have one question... where do i find the code that I need to put into the "Custom Profile Fields" rows. I have looked in my customprofile.php file and I couldn't exactly understand what was what in there, I have attached the file could you please point me in the right direction as to what part I need to use?

Thank you  ;D
To be honest, I really don't know. :(
You might have to ask in the Mod Support thread for the Custom Profile Fields. :)

Thanks matey, appreciate all the help you have given me! :)

tyty1234

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.

JovanT

For all of you who want to add Custom Fields mod to Ultimate Profile: http://jovant.guruserve.com/test-forum/index.php?topic=19.msg63#msg63

Bec

awesome! thanks for posting that!!

Mattwagna

Problem:

I installed it, edited my profile, then I decided I didn't like it because it had the whole "Contact me :)" instead of just "Contact Me" on it, so I uninstalled & deleted. Now on just MY profile I get the following error:
Quote"Unable to load the 'UltimateProfile' template. "
Help please:
Also the Ultimate Profile tab is still available with all the check boxes and boxes for options, but there's no writing.

tyty1234

Did you get an error during the uninstall?
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.

silber112

Quote from: Mattwagna on April 05, 2009, 10:37:09 PM
Problem:

I installed it, edited my profile, then I decided I didn't like it because it had the whole "Contact me :)" instead of just "Contact Me" on it, so I uninstalled & deleted. Now on just MY profile I get the following error:
Quote"Unable to load the 'UltimateProfile' template. "
Help please:
Also the Ultimate Profile tab is still available with all the check boxes and boxes for options, but there's no writing.

I had a similar error because i was using a other theme dilber mc that had his own profile.template.php I delited it and the profile worked perfectly

Mattwagna

Could you be a bit more specific please?

Advertisement: