Advertisement:

Author Topic: [BETA] Ultimate profile mod  (Read 633645 times)

Offline JovanT

  • Jr. Member
  • **
  • Posts: 264
  • Gender: Male
    • Jovan Turanjanin
[BETA] Ultimate profile mod
« on: July 19, 2007, 05:26:00 PM »
Ultimate profile mod 0.8.5

Features:
 - About me, interests & media box
 - Organizable buddy list
 - Approval of buddies
 - Profile pictures
 - Profile comments
 - Picture comments
 - Customizable look & feel

This modification is inspired by SMdot™’s MySpace profile idea. It doesn't require any other modification. Currently, it changes seven files:
 - Sources/Profile.php
 - Themes/default/Profile.template.php
 - Sources/ModSettings.php
 - Sources/ManagePermissions.php
 - Sources/Subs-Members.php
 - Themes/default/Modifications.english.php
 - index.php

Users can choose whether they want to have this customized profile or just plain, ordinary one. They can enter About me & My Interests texts which can be formatted using BB code. Also, they can input HTML & CSS code in special text area and customize look of their profile (They can add background picture, change font, size and color of text as well as other elements). This modification allows them to upload their own pictures which are then showed in their profile and can be organized in albums. Other users can post comments on someones profile or pictures.

Administrators can choose whether they want to enable pictures and customization of profiles. Also, they can turn on ultimate profiles for all forum users.

Users can disable comments for their profiles or restrict new comments only to their buddies. Pictures can be shown to all users or only to buddies.

Notice: this modification is still BETA. I've tested it on fresh SMF 1.1.5 installation and it works without errors so I'm using it on my live site. If you find any errors or bugs, please post it here.

Demo: http://jovant.guruserve.com/test-forum/index.php?action=profile;u=1
Download: http://jovant.guruserve.com/projekti/smf/ultimate_profile/ultimate_profile_0-8-5.zip


Support forum: http://jovant.guruserve.com/test-forum/
FAQ: http://jovant.guruserve.com/test-forum/index.php?topic=13.0 (please read before posting your question!)


Changelog:

version 0.8.5
 - new features:
    - picture albums
    - support for unlimited number of pictures
    - permission for editing ultimate profile
    - comment reply option
    - better Unicode support
    - pending buddy requests
    - sorting buddies should work a lot better
 - fixed bugs:
    - when a user is deleted, buddy lists are updated
    - user won't get notifications when commenting his own profile/picture
    - display names are now shown instead of usernames in PM notifications
    - pictures with "&" in filename can now be uploaded without errors

version 0.8
 - new features:
    - picture comments
    - better profile pictures navigation
    - report profile to admins
    - better HTML filtering
    - organization of buddies
    - buddy approval system

version 0.7.1
 - fixed bugs:
   - avatar size in buddy list
 - new features:
    - users can make their profile private
    - Serbian translation

version 0.7
 - new features:
    - administration options
    - user options (disable comments, only buddies can post comments / view pictures)
    - media box
    - notification on new comment
 - fixed bugs:
    - HTML filtering
    - online status & date in comments
 - file CustomProfile.template.php renamed to UltimateProfile.template.php to avoid confusion with some other mods

version 0.6
 - initial release
« Last Edit: May 09, 2008, 08:41:55 PM by JovanT »

arihantjain

  • Guest
Re: [BETA] Ultimate profile mod
« Reply #1 on: July 20, 2007, 01:41:11 AM »
it looks nice.

Offline karlbenson

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,629
  • Gender: Male
    • Criminal Brief UK
Re: [BETA] Ultimate profile mod
« Reply #2 on: July 20, 2007, 09:59:27 AM »
indeed, it does look nice.

arihantjain

  • Guest
Re: [BETA] Ultimate profile mod
« Reply #3 on: July 20, 2007, 11:55:49 AM »
hu.. sir.. I need help.. via yahoo messnger.. I will be happy..

Check ur messages box please.

Offline JovanT

  • Jr. Member
  • **
  • Posts: 264
  • Gender: Male
    • Jovan Turanjanin
Re: [BETA] Ultimate profile mod
« Reply #4 on: July 21, 2007, 01:27:18 PM »
I have uploaded new version of my mod: 0.6.1. It contains few bug fixes so I recommend updating. Location for download is same.

Offline Miles Marshall

  • Full Member
  • ***
  • Posts: 459
  • Gender: Male
    • GeekInc.org
Re: [BETA] Ultimate profile mod
« Reply #5 on: July 21, 2007, 03:44:41 PM »
Answer your MSN, lmao
Need Computer Help? Just want to chat? Come on over! http://www.geekinc.org
"I tried to fix the world but they wouldn't give me the source code"

-Miles

Coldfx

  • Guest
Re: [BETA] Ultimate profile mod
« Reply #6 on: July 21, 2007, 06:01:24 PM »
I actually like this one slightly better than Snake Plissken's.  It just seems a bit more slick and organized for detail.

Good job :)

Offline Flying Drupalist

  • Jr. Member
  • **
  • Posts: 294
    • http://www.miydai.com
Re: [BETA] Ultimate profile mod
« Reply #7 on: July 21, 2007, 07:08:39 PM »
Fatal error: Cannot redeclare customized() (previously declared in /home/.luther/generalsun/miydai/Sources/Profile.php:2668) in /home/.luther/generalsun/miydai/Sources/Profile.php on line 2926

Yikes! My version's hardly clean though...

1.     nneonneo's AJAX ShoutBox     1.06     [ Uninstall ]
2.    VisualWarning    1.32    [ Uninstall ]
3.    SMF Links    1.6.3    [ Uninstall ]
4.    Users Online Today Mod    1.4.0    [ Uninstall ]
5.    Tagging System    1.0.3    [ Uninstall ]
6.    Invite    1.14    [ Uninstall ]
7.    View Only Boards    1.1    [ Uninstall ]
8.    SMF Staff Page    1.5.1    [ Uninstall ]
9.    SMF Arcade    2.0.8    [ Uninstall ]
10.    Karma Description Mod    2.3    [ Uninstall ]
11.    Reg Bar    1.0    [ Uninstall ]
12.    Global Headers Footers    1.3    [ Uninstall ]
13.    Related Topics    1.1.1    [ Uninstall ]
14.    Member Color Link    2.0.0    [ Uninstall ]
15.    Custom Profile Field Mod    3.16    [ Uninstall ]
16.    Profile Comments    1.2.1    [ Uninstall ]
17.    Profile Music    1.0    [ Uninstall ]
18.    Female Avatars Extra    5.0    [ Uninstall ]
19.    Group on Registration    1.1.1    [ Uninstall ]
20.    SMFShop    3.0    [ Uninstall ]
21.    SMF Sitemap    1.1.3    [ Uninstall ]
22.    Signature Settings Mod    1.0    [ Uninstall ]
23.    Who Voted What?    1.1.2    [ Uninstall ]
24.    ssi_boardNews Multiple Boards    1.0    [ Uninstall ]
25.    Board News    1.0    [ Uninstall ]
26.    Member Awards    1.0.2    [ Uninstall ]
27.    MessagePreviewOnHover    1.5    [ Uninstall ]
28.    Additional Membergroups on Profile    1.0    [ Uninstall ]
29.    Sticky First Post (extends sticky topic)    1.3.2    [ Uninstall ]
30.    Profil Moderator Managment    1.0.0    [ Uninstall ]
31.    Show Multiple Badges (Aka Stars)    1.0    [ Uninstall ]
32.    Global Announcements    1.0    [ Uninstall ]
33.    FlashChat Integration    1.0    [ Uninstall ]
34.    SMF 1.0.11 / 1.1.3 Update    1.1    [ Uninstall ]
35.    Topic description    1.1    [ Uninstall ]
36.    SSI Topic and Replies    0.1    [ Uninstall ]
37.    SMFChess    0.1    [ Uninstall ]
38.    SMFBlog    0.1 Beta    [ Uninstall ]
39.    YouTube BBC Tag (XHTML Compliant)    1.0    [ Uninstall ]
40.    Ultimate Profile    0.6.1    [ Uninstall ]

Should I uninstall something?

Offline Miles Marshall

  • Full Member
  • ***
  • Posts: 459
  • Gender: Male
    • GeekInc.org
Re: [BETA] Ultimate profile mod
« Reply #8 on: July 21, 2007, 08:53:23 PM »
16.    Profile Comments    1.2.1    [ Uninstall ]
Need Computer Help? Just want to chat? Come on over! http://www.geekinc.org
"I tried to fix the world but they wouldn't give me the source code"

-Miles

Offline Flying Drupalist

  • Jr. Member
  • **
  • Posts: 294
    • http://www.miydai.com
Re: [BETA] Ultimate profile mod
« Reply #9 on: July 22, 2007, 12:19:48 AM »
Gah that has no uninstall file... Now what do I do.

Offline Miles Marshall

  • Full Member
  • ***
  • Posts: 459
  • Gender: Male
    • GeekInc.org
Re: [BETA] Ultimate profile mod
« Reply #10 on: July 22, 2007, 04:04:51 AM »
I to had this issue
Need Computer Help? Just want to chat? Come on over! http://www.geekinc.org
"I tried to fix the world but they wouldn't give me the source code"

-Miles

Offline JovanT

  • Jr. Member
  • **
  • Posts: 264
  • Gender: Male
    • Jovan Turanjanin
Re: [BETA] Ultimate profile mod
« Reply #11 on: July 22, 2007, 05:58:03 AM »
Hi!

I've tested profile comments mod and it seems there is no conflict between that and mine mod. Problem occurs in the database. To solve that problem, just add new column called "time" in the prefix_profile_comments table.

@Miraploy
It seems that some other mod you have installed uses function called "customized" in your Sources/Profile.php file. If you send me that file, I will try to figure what mod is causing this conflict. My email is same as my Yahoo! messanger contact.

Offline Flying Drupalist

  • Jr. Member
  • **
  • Posts: 294
    • http://www.miydai.com
Re: [BETA] Ultimate profile mod
« Reply #12 on: July 22, 2007, 02:10:17 PM »
Thank you Jovan, thanks.

Offline JovanT

  • Jr. Member
  • **
  • Posts: 264
  • Gender: Male
    • Jovan Turanjanin
Re: [BETA] Ultimate profile mod
« Reply #13 on: July 22, 2007, 07:14:28 PM »
I've looked at your Profile.php and I couldn't find what seems to be a problem. Can you tell me what happens when you try to install my mod? Can you install it without any errors?

Where you get that "Fatal error: Cannot redeclare customized()"?

Offline Flying Drupalist

  • Jr. Member
  • **
  • Posts: 294
    • http://www.miydai.com
Re: [BETA] Ultimate profile mod
« Reply #14 on: July 22, 2007, 07:21:06 PM »
All seems fine when I try to install your mod. But when I go to a profile page I get that error, again:
Fatal error: Cannot redeclare customized() (previously declared in /home/.luther/generalsun/miydai/Sources/Profile.php:2668) in /home/.luther/generalsun/miydai/Sources/Profile.php on line 2926

The profile.php I sent you was the version without your mod... I'll send the one with your mod applied...

Offline JovanT

  • Jr. Member
  • **
  • Posts: 264
  • Gender: Male
    • Jovan Turanjanin
Re: [BETA] Ultimate profile mod
« Reply #15 on: July 23, 2007, 05:48:18 AM »
It looks like you installed my mod twice. All modifications are double. What happens when you try to uninstall my mod?

Offline Flying Drupalist

  • Jr. Member
  • **
  • Posts: 294
    • http://www.miydai.com
Re: [BETA] Ultimate profile mod
« Reply #16 on: July 23, 2007, 08:30:09 AM »
It gives me no errors. I did uninstall your mod and put up a backup profile.php and when I tried to send you the after-install profile I installed it again.

Offline pongsak

  • Jr. Member
  • **
  • Posts: 181
  • Gender: Male
Re: [BETA] Ultimate profile mod
« Reply #17 on: July 23, 2007, 09:13:11 AM »
Oh, good mod. Thanks.
Some comments here.
0. First i install via package manager, it shown installed successsful. But only for transfer customprofile.template.php only and modified database.I must to modified the others manually , not sure what's the cause.
1. If anyone not change permission for "profile_pictures" dir (by manual) , the picture not show but only title instead.
2. No way to delete the picture title that error from 1. Must be going to dababase directly.
smf 1.1.2 with dilbermc themes.
> 50 mods installed.

Offline PoLlama

  • Jr. Member
  • **
  • Posts: 311
  • Gender: Male
    • PoLlama Forums
Re: [BETA] Ultimate profile mod
« Reply #18 on: July 23, 2007, 04:51:29 PM »
How about moving About Me and My interests to the left side, and making comments take up only half the width on the right side?

Offline JovanT

  • Jr. Member
  • **
  • Posts: 264
  • Gender: Male
    • Jovan Turanjanin
Re: [BETA] Ultimate profile mod
« Reply #19 on: July 24, 2007, 05:15:44 AM »
@pongsak

1. That depends from settings of your system. On most server, you don't need to change permission. However, if you have problems, you can chmod profile_pictures to 0777.

2. You can't delete picture title? If you try to delete picture, my mod will delete picture files as well as database entries. Maybe you've installed old version of my mod that had a bug with deleting pictures. Try to uninstall my mod, download the latest version and install it again. That should help.


@PoLlama
I think that the left side is allready much longer than the right side. But, if you wish, you can always manually change CustomProfile.template.php.
« Last Edit: July 24, 2007, 05:17:43 AM by JovanT »