Advertisement:

Author Topic: Ultimate Profile  (Read 780556 times)

Offline overdue

  • Semi-Newbie
  • *
  • Posts: 44
Re: Ultimate Profile
« Reply #3200 on: January 09, 2019, 01:40:48 PM »
Will this be updated for 2.0.15?
2.0.15; default theme - curve.

Offline Rock Lee

  • Native Language Support Specialist
  • SMF Hero
  • *
  • Posts: 2,832
  • Gender: Male
  • I also speak english :D
    • BomberCode.Oficial on Facebook
    • RockLee-BC on GitHub
    • @Bomber_Code on Twitter
    • Bomber Code ~ La nueva era del conocimiento
Re: Ultimate Profile
« Reply #3201 on: January 09, 2019, 02:22:10 PM »
Will this be updated for 2.0.15?

I already answered in the other topics, look at this: How can I install a mod that doesn't work in my SMF version?


Regards!
¡Regresando como cual Fenix! ~ Bomber Code © 2018
Ayudas - Aportes - Tutoriales - Y mucho mas!!!


Ayudame via PayPal

Offline anakmacan

  • Full Member
  • ***
  • Posts: 444
  • Gender: Female
Re: Ultimate Profile
« Reply #3202 on: May 30, 2019, 12:59:06 AM »
My forum's moved to different server, after that profile pictures uploaded to the profile page dont show up, can anyone help to resolve this?

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,337
  • Gender: Male
    • Kindred-999 on GitHub
Re: Ultimate Profile
« Reply #3203 on: May 30, 2019, 04:10:35 AM »
1- did you move all the files?
2- Did you run repair_settings.php to reconfigure all of the directories, paths and URLs to your new server?
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline anakmacan

  • Full Member
  • ***
  • Posts: 444
  • Gender: Female
Re: Ultimate Profile
« Reply #3204 on: May 30, 2019, 06:36:03 PM »
Yes i did, first my new hosting company help moving all the files, and then i run repair_settings.php, everything else works.. except for that profile pictures part in the ultimate profile.

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,337
  • Gender: Male
    • Kindred-999 on GitHub
Re: Ultimate Profile
« Reply #3205 on: May 31, 2019, 04:37:26 AM »
and did you correct the path/url in the mod settings?
/index.php?action=admin;area=modsettings;sa=ultprofile;
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline Azzlaer

  • Newbie
  • *
  • Posts: 9
Re: Ultimate Profile
« Reply #3206 on: July 12, 2019, 08:38:15 PM »
Error al instalar en SMF Ultima version

Code: [Select]
Call to undefined function mysql_query()

Offline Rock Lee

  • Native Language Support Specialist
  • SMF Hero
  • *
  • Posts: 2,832
  • Gender: Male
  • I also speak english :D
    • BomberCode.Oficial on Facebook
    • RockLee-BC on GitHub
    • @Bomber_Code on Twitter
    • Bomber Code ~ La nueva era del conocimiento
Re: Ultimate Profile
« Reply #3207 on: July 13, 2019, 01:47:07 PM »
Error al instalar en SMF Ultima version

Code: [Select]
Call to undefined function mysql_query()

¿Que version de php estas usando? puede ser por eso te marca el error por que te dice no esta definido la funcion. Ademas trata de escribir en ingles en este foro sino tenes hacerlo en el de español para ayudarte mejor ;).

It may be an error in the PHP version used so you can not read the value, in case you do not understand Spanish :).


Regards!
¡Regresando como cual Fenix! ~ Bomber Code © 2018
Ayudas - Aportes - Tutoriales - Y mucho mas!!!


Ayudame via PayPal

Offline Diego Andrés

  • Customizer
  • SMF Hero
  • *
  • Posts: 3,224
  • Gender: Male
    • DiegoSetroc on GitHub
    • @bihgetter on Twitter
    • SMF Tricks - Free & Premium Themes
Re: Ultimate Profile
« Reply #3208 on: July 15, 2019, 02:15:58 PM »
To get it working replace the following code on helper.php before installing

Code: (helper.php) [Select]
// Let's check for the UTF-8 support
// Sorry, this is only for MySQL; I don't know the other way :(
global $db_type, $db_prefix;
if ($db_type == 'mysql') {
$request = mysql_query('
SELECT variable, value
FROM ' . $db_prefix . 'settings
WHERE variable = "global_character_set"
AND value="UTF-8"');

if (mysql_num_rows($request) > 0) {
mysql_free_result($request);

mysql_query('ALTER TABLE ' . $db_prefix . 'profile_comments DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci');
mysql_query('ALTER TABLE ' . $db_prefix . 'profile_comments CHANGE `comment` `comment` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL');

mysql_query('ALTER TABLE ' . $db_prefix . 'profile_pictures DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci');
mysql_query('ALTER TABLE ' . $db_prefix . 'profile_pictures CHANGE `title` `title` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL');
mysql_query('ALTER TABLE ' . $db_prefix . 'profile_pictures CHANGE `description` `description` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL');
mysql_query('ALTER TABLE ' . $db_prefix . 'profile_pictures CHANGE `filename` `filename` TINYTEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL');

mysql_query('ALTER TABLE ' . $db_prefix . 'picture_comments DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci');
mysql_query('ALTER TABLE ' . $db_prefix . 'picture_comments CHANGE `comment` `comment` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL');

mysql_query('ALTER TABLE ' . $db_prefix . 'profile_albums DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci');
mysql_query('ALTER TABLE ' . $db_prefix . 'profile_albums CHANGE `title` `title` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL');
}
}

Code: (Replace) [Select]
// Let's check for the UTF-8 support
// Sorry, this is only for MySQL; I don't know the other way :(
global $db_type, $db_prefix;
if ($db_type == 'mysql') {
$request = $smcFunc['db_query'](' ', '
SELECT variable, value
FROM ' . $db_prefix . 'settings
WHERE variable = "global_character_set"
AND value="UTF-8"');

if ($smcFunc['db_num_rows']($request)  > 0) {
$smcFunc['db_free_result']($request);

$smcFunc['db_query']('', 'ALTER TABLE ' . $db_prefix . 'profile_comments DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci');
$smcFunc['db_query']('', 'ALTER TABLE ' . $db_prefix . 'profile_comments CHANGE `comment` `comment` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL');

$smcFunc['db_query']('', 'ALTER TABLE ' . $db_prefix . 'profile_pictures DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci');
$smcFunc['db_query']('', 'ALTER TABLE ' . $db_prefix . 'profile_pictures CHANGE `title` `title` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL');
$smcFunc['db_query']('', 'ALTER TABLE ' . $db_prefix . 'profile_pictures CHANGE `description` `description` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL');
$smcFunc['db_query']('', 'ALTER TABLE ' . $db_prefix . 'profile_pictures CHANGE `filename` `filename` TINYTEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL');

$smcFunc['db_query']('', 'ALTER TABLE ' . $db_prefix . 'picture_comments DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci');
$smcFunc['db_query']('', 'ALTER TABLE ' . $db_prefix . 'picture_comments CHANGE `comment` `comment` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL');

$smcFunc['db_query']('', 'ALTER TABLE ' . $db_prefix . 'profile_albums DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci');
$smcFunc['db_query']('', 'ALTER TABLE ' . $db_prefix . 'profile_albums CHANGE `title` `title` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL');
}
}

SMF Tricks - Free & Premium Responsive Themes for SMF.

Offline shadav

  • Semi-Newbie
  • *
  • Posts: 42
Re: Ultimate Profile
« Reply #3209 on: August 17, 2019, 02:37:08 PM »
installed this mod on 2.0.15 and now have an error on profile

Database Error
Unknown column 'buddy_id' in 'field list'
File: /Sources/Profile-View.php
Line: 168

suggestions on how to fix it?

Offline Rock Lee

  • Native Language Support Specialist
  • SMF Hero
  • *
  • Posts: 2,832
  • Gender: Male
  • I also speak english :D
    • BomberCode.Oficial on Facebook
    • RockLee-BC on GitHub
    • @Bomber_Code on Twitter
    • Bomber Code ~ La nueva era del conocimiento
Re: Ultimate Profile
« Reply #3210 on: August 19, 2019, 03:00:50 PM »
Did you make sure it was installed correctly? because the error mark is that column is not found in the database. But I think it should be updated as the call does in that part, you can see what code appears in that line please.


Regards!
¡Regresando como cual Fenix! ~ Bomber Code © 2018
Ayudas - Aportes - Tutoriales - Y mucho mas!!!


Ayudame via PayPal