News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Ultimate Profile

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

Previous topic - Next topic

Kindred

As the author has not been here in 4 years, it is unlikely.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Melonking

#3241
Just a quick round up of how to install this mod on SMF 2.0.19

Firstly, after downloading the ultimate_profile-0-9-1_20.zip; open the zip file and make the changes listed here: https://www.simplemachines.org/community/index.php?topic=298641.msg4024349#msg4024349

Then open "index.php" from the zip and replace the <operation></operation> section with the following:
        <operation>
            <search position="before"><![CDATA['buddy' => ['Subs-Members.php', 'BuddyListToggle'],]]></search>
            <add><![CDATA[
        'buddies' => ['Buddies.php', 'BuddiesMain'],]]></add>
        </operation>

Then re-zip the mod and upload it to your forum - then install as normal.

Once its installed; do the fix mentioned here: https://www.simplemachines.org/community/index.php?topic=298641.msg3961061#msg3961061

Then make the edits listed here (you dont need to run the last script) - This needs to be done in the Buddies.php - found in Sources
https://www.simplemachines.org/community/index.php?topic=298641.msg3254823#msg3254823

Finally before you use this mod - if you have used the buddy system piror to installing - you'll need to reset all buddies; otherwise it creates a conflict where members cant add old buddies. To do that run the following SQL (or do it manually in an SQL editor - just set each member buddy field to empty):
UPDATE oal_members SET buddy_list = ''
Hope that helps someone  :D

Melonking

Oh I have another fix to add - this will solve the issue of people being able to post invisible comments on the profile of someone who has comments disabled!

After installing - Open Profile.php in your sources - find this section:
'comment' => array(
    'file' => 'Profile-Actions.php',

And add this line below it:
'enabled' => (@$context['member']['options']['comments_disable'] != 1),
This will disable the Add Comment tab on the profile of members who have comments disabled!

Advertisement: