News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Ultimate Profile

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

Previous topic - Next topic

enCyde

#2100
okey. I think it worked I have no errors now in my error log, and i can see Ultimate profile in the profile menu, I added some text to test and enable the mod. But nothing is showing up on my profile. I have set all permissions enable. But nothing is showing up on my profile that i typed in the text boxes, "hobbys" et.c

please help.


thanks

MATTEK

Quote from: MATTEK on May 09, 2010, 01:38:47 PM
I'm still experiencing the SAME issue even after I've re uploaded all important directory files. I'm stuck.

Problem: Only members who register AFTER the mod is install may post profile comments. Anyone who was already registered get's a blank page upon submit.

Yagiz says he's tried this on 6 forums and he could not replicate the issue.

Help! lol. Please.

I'm wondering if anyone has an idea of what may be causing this?
SMF 2.0.1

Like Comics, Books, Movies or T.V. Shows? Read about them here!!

Sakae

I'm having this same problem, Mattek.

Well, at least half of it, since I can't post any comment. Haven't tested with a new user yet.
http://www.tigrelog.com.br
l: simple p: machines

enCyde

anyone? scroll up for my post.

please help

PatrickPriest

I checked my error logs and see this a lot on all different members:
Type of error: Undefined
8: Undefined variable: field
File: /.../.../.../Themes/default/UltimateProfile.template.php (summary2 sub template - eval?)
Line: 651

Running SMF 2.0 RC2

I'm unable to figure out what code is on Line 651.  Can someone help me correct this issue?

GoldieFR

Quote from: alboking on May 05, 2010, 10:42:22 PM
Ok i need some help

i just installed The mod but im getting these error

   Unknown column 'com.time' in 'field list'
File: /vservers/masonry/htdocs/iforum/Sources/Profile-View.php
Line: 257

  SMF 2.0 RC3


same problem here, it looks like the tables haven't been updated correctly.

I went through this problem by deleting this value in my files (I supposed it was the time when the comment was written)
It worked and finally showed the ultimate profile.

But then I got the same error than Mattek

Quote from: MATTEK on May 09, 2010, 01:38:47 PM
I'm still experiencing the SAME issue even after I've re uploaded all important directory files.

Problem: Only members who register AFTER the mod is install may post profile comments. Anyone who was already registered get's a blank page upon submit.

Yagiz says he's tried this on 6 forums and he could not replicate the issue.

Help! lol

blank page after submission of comment.

which way too complicated for my basic knowledge.

So I unfortunately uninstalled it and I'm looking forward for any help.




SMF 2.0 RC3
my mods [nofollow]

GoldieFR

hello,

here is the result of my investigation for this error :

Unknown column 'com.time' in 'field list'


in profile.view and profile.action
I just replaced com.time by com.date [nofollow]

in profile.view

find (line 283 for me)
com.time
replace
com.date


find (line 331 for me)
timeformat($row['time']),
replace
timeformat($row['date']),


in profile.action

find (line 119 for me)
$request = $smcFunc['db_insert']('normal', '{db_prefix}profile_comments',
    array(
     'id_member' => 'int',
     'comment' => 'string',
     'time' => 'int',
     'comment_member_id' => 'int',
    ),
    array(
     'id_member' => $context['user']['id'],
     'comment' => htmlspecialchars($_POST['comment']),
     'time' => time(),
     'comment_member_id' => $memID,
    ),
    array('id_comment')
  );


replace by

$request = $smcFunc['db_insert']('normal', '{db_prefix}profile_comments',
    array(
     'id_member' => 'int',
     'comment' => 'string',
     'date' => 'int',
     'comment_member_id' => 'int',
    ),
    array(
     'id_member' => $context['user']['id'],
     'comment' => htmlspecialchars($_POST['comment']),
     'date' => time(),
     'comment_member_id' => $memID,
    ),
    array('id_comment')
  );


that should enable the ultimate profile to show and give you the date of the comment.




Trouble is, for me, that I'm still having a blank page when I submit a comment but not for everyone though. :-\
Sometimes it works, sometimes it doesn't.

I set up ultimate profile for everyone, managed my permissions (edit its own profile), but still, it's not working all the time and I don't see any common point between them.

Is there any chance there could be a conflict with the Profile Comment mod ?






SMF 2.0 RC3
my mods [nofollow]

mrtrc266

#2107
Quote from: GoldieFR on May 14, 2010, 07:39:58 AM
hello,

here is the result of my investigation for this error :

Unknown column 'com.time' in 'field list'

Have you tried this? Unknown column 'com.time' in 'field list'     

Quote from: GoldieFR on May 14, 2010, 07:39:58 AM
Is there any chance there could be a conflict with the Profile Comment mod ?

Looks like it might be possible that it will confilct w/ the Profile Comments mod

Ultimate Profile Database$smcFunc['db_create_table']('{db_prefix}profile_comments'

Profile Comments Database
db_query("CREATE TABLE IF NOT EXISTS {$db_prefix}profile_comments

truhe

#2108
Hi, I installed SMF 1.1.11 and Ultimate Profile 0.9.1
Before I installed UP some members had buddies.
After I installed UP these buddies are not shown in the new buddy-list but they can't be added again.
How can i get them to the list ?

enCyde

Quote from: enCyde on May 10, 2010, 01:59:08 PM
okey. I think it worked I have no errors now in my error log, and i can see Ultimate profile in the profile menu, I added some text to test and enable the mod. But nothing is showing up on my profile. I have set all permissions enable. But nothing is showing up on my profile that i typed in the text boxes, "hobbys" et.c

please help.


thanks


anyone know what is wrong? I really want this working... please

GoldieFR

Quote from: mrtrc266 on May 14, 2010, 11:20:19 AM
Quote from: GoldieFR on May 14, 2010, 07:39:58 AM
hello,

here is the result of my investigation for this error :

Unknown column 'com.time' in 'field list'

Have you tried this? Unknown column 'com.time' in 'field list'     

Quote from: GoldieFR on May 14, 2010, 07:39:58 AM
Is there any chance there could be a conflict with the Profile Comment mod ?

Looks like it might be possible that it will confilct w/ the Profile Comments mod

Ultimate Profile Database$smcFunc['db_create_table']('{db_prefix}profile_comments'

Profile Comments Database
db_query("CREATE TABLE IF NOT EXISTS {$db_prefix}profile_comments

thanks for your help mrtrc266, it worked perfectly fine with the link you gave me :)


however I'm still having a blank page after submitting a comment, event though I uninstalled "Profile Comment".
I'll try to sort this out and find information about this.
But if anyone have any idea...


SMF 2.0 RC3
my mods [nofollow]

Izzy180

Just installed this mod on my 1.11 site and it's fantastic!

Love the gallery, buddy and customising of the whole thing. However I just have a quick question I am hoping can be done. The site I am using is one for a game site where people can have alot of Alt screenames

So is it possible to add more fields in the profile itself? Or custom fields? Tried other custom field mods but they dont seem to effect ultimate profile.

Can this be done?

truhe

#2112
Quote from: truhe on May 14, 2010, 12:56:06 PM
Hi, I installed SMF 1.1.11 and Ultimate Profile 0.9.1
Before I installed UP some members had buddies.
After I installed UP these buddies are not shown in the new buddy-list but they can't be added again.
How can i get them to the list ?

these old buddies are in smf_members/buddy_list but not in smf_buddies.
I think they can't be added because they are already in smf_members/buddy_list. And they are not shown in Ultimate Profile because they are not in smf_buddies. Is tere a way to correct this ?

GoldieFR

hello,

me again, trying to fix my ultimate profile comments.

looking into my error log, (just huge :o , I think I should have a look more often).
I've found this

Quote
Appliquer le filtre: Afficher les messages d'erreurs pour cet URL seulement
http://www.forumdediscussion.org/index.php?action=admin;area=logs;sa=errorlog;desc [nofollow]
Appliquer le filtre: Montrer les erreurs qui ont un message identique
8: Undefined index: pcomments_admin
Appliquer le filtre: Ne montrer que les erreurs provenant de ce fichier
Fichier: /homez.323/androidp/www/forumdediscussion.org/Sources/Admin.php
Ligne: 205

here what i got on line 205

'comment' => array( 'label' => $txt['pcomments_admin'], 'file' => 'ProfileComments2.php', 'function' => 'CommentsMain', 'custom_url' => $scripturl . '?action=admin;area=comment;sa=admin;sesc=' . $sc, 'icon' => 'server.gif', 'subsections' => array(), ),

I get this error each time I click anywhere on my admin panel.

******************

when I try to add a comment, I get those errors

QuoteAppliquer le filtre: Afficher les messages d'erreurs pour cet URL seulement
http://www.forumdediscussion.org/index.php?pretty;action=profile&area=comment;u=45;add [nofollow]
Appliquer le filtre: Montrer les erreurs qui ont un message identique
8: Undefined index: quote_from
Appliquer le filtre: Ne montrer que les erreurs provenant de ce fichier
Fichier: /homez.323/androidp/www/forumdediscussion.org/Sources/Subs.php
Ligne: 1440

here is what I got on line 1440
'before' => '<div class="quoteheader"><div class="topslice_quote">' . $txt['quote_from'] . ': {author}</div></div><blockquote>'

Quote
Appliquer le filtre: Afficher les messages d'erreurs pour cet URL seulement
http://www.forumdediscussion.org/index.php?pretty;action=profile&amp;area=comment;u=45;add [nofollow]
Appliquer le filtre: Montrer les erreurs qui ont un message identique
8: Undefined index: quote_from
Appliquer le filtre: Ne montrer que les erreurs provenant de ce fichier
Fichier: /homez.323/androidp/www/forumdediscussion.org/Sources/Subs.php
Ligne: 1431

'before' => '<div class="quoteheader"><div class="topslice_quote"><a href="' . $scripturl . '?{link}">' . $txt['quote_from'] .


QuoteAppliquer le filtre: Afficher les messages d'erreurs pour cet URL seulement
http://www.forumdediscussion.org/index.php?pretty;action=profile&amp;area=comment;u=45;add [nofollow]
Appliquer le filtre: Montrer les erreurs qui ont un message identique
8: Undefined index: quote_from
Appliquer le filtre: Ne montrer que les erreurs provenant de ce fichier
Fichier: /homez.323/androidp/www/forumdediscussion.org/Sources/Subs.php
Ligne: 1417

'before' => '<div class="quoteheader"><div class="topslice_quote">' . $txt['quote_from'] . ': $1</div></div><blockquote>',


QuoteAppliquer le filtre: Afficher les messages d'erreurs pour cet URL seulement
http://www.forumdediscussion.org/index.php?pretty;action=profile&amp;area=comment;u=45;add [nofollow]
Appliquer le filtre: Montrer les erreurs qui ont un message identique
8: Undefined index: quote_from
Appliquer le filtre: Ne montrer que les erreurs provenant de ce fichier
Fichier: /homez.323/androidp/www/forumdediscussion.org/Sources/Subs.php
Ligne: 1410

'before' => '<div class="quoteheader"><div class="topslice_quote">' . $txt['quote_from'] . ': {author}</div></div><blockquote>'

All those are undefined vars.
I think I get what's wrong but I got no clue how to solve it.

If any good willing soul sees my message : please help or
































SMF 2.0 RC3
my mods [nofollow]

snyperthugs

The "My Buddies" part isnt working
www.4mydjs.com - Get Your Music Heard!

gbsothere

#2115
Quote from: truhe on May 15, 2010, 05:13:00 PM
Quote from: truhe on May 14, 2010, 12:56:06 PM
Hi, I installed SMF 1.1.11 and Ultimate Profile 0.9.1
Before I installed UP some members had buddies.
After I installed UP these buddies are not shown in the new buddy-list but they can't be added again.
How can i get them to the list ?

these old buddies are in smf_members/buddy_list but not in smf_buddies.
I think they can't be added because they are already in smf_members/buddy_list. And they are not shown in Ultimate Profile because they are not in smf_buddies. Is tere a way to correct this ?



truhe,  when I first installed this mod on my 1.1.11 forum (I think it was 1.1.19 at the time) I had this issue.  I'm sure there is a much easier fix than I used, but I browsed the smf_members table and deleted the buddies from the buddies_list column and posted an announcement for my members to issue new invitations.  This solved the problem.  In my case, my forum is a small(ish) private forum, so it was no big task for me to simply edit that column for each member but if your forum is too large for that, perhaps you'll want to write a query that will purge all members at once.  (I'm no good with queries, unfortunately.)  I do vaguely remember some sort of buddy tool being mentioned on this thread at one time, but I believe it was for 2.x.  There is a table fix for 1.x, but that didn't affect my buddy issue.

This solution is a bit drastic, I realize, but it did completely resolve the buddy issue on the 1.x forum (and I believe some of my members had begun to question their previous buddy invitations, anyway).  This gave them an "out".  *grin*   
My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

Yağız...

There is a script for migrating old SMF buddies to UP buddies, but only for SMF 1.1.x

gbsothere

Quote from: Yağız... on May 21, 2010, 11:18:08 AM
There is a script for migrating old SMF buddies to UP buddies, but only for SMF 1.1.x




I thought there was, Yağız, but these old eyes of mine are letting me down.  I've stared at page after page, and I guess I'm just looking right through it.   Bits of me are wearing out.  *grin*


My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

Yağız...

Jovan removed the file from his server :/ I don't have it for SMF 1.1.x versions, but I should have it somewhere :)

snyperthugs

OK Im having a few problems. The admin can add photos to their profile, but uses cannot, There is no Media sections, and the buddies sections doesn't work..... Anybody know what I can do to fix this?  Thanks in advance
www.4mydjs.com - Get Your Music Heard!

Advertisement: