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

perpetuallove

I thought that may have been the case and had tried that before, but seems it just brings up the same error.

If I try taking out the ">" in it, it brings me:


Parse error: syntax error, unexpected '=' in (my site)/Sources/ModSettings.php on line 125

And so on....


Yağız...


perpetuallove

Seemed to have worked for that section :) but now it gives me this:

Parse error: syntax error, unexpected '=' in Sources/ModSettings.php on line 199

Thank you for your help :)

Yağız...


perpetuallove

Gives me this:

Parse error: syntax error, unexpected '=', expecting ')' in /Sources/ModSettings.php on line 193

I was gonna try to edit it myself but for some reason my file manager isn't letting me access files right now. Probably GoDaddy messing with settings or something lol.

Yağız...


perpetuallove

hmm still doing the same thing


Parse error: syntax error, unexpected '=', expecting ')' in /Sources/ModSettings.php on line 193

Yağız...

Ok, let's try it again, this should work.

perpetuallove

lol this just doesn't want to work! Darn file!
Now i get this one:


Parse error: syntax error, unexpected '=', expecting ')' in /Sources/ModSettings.php on line 192

Yağız...

Find this:
ultprofile' = 'ModifyUltProfileSettings',
Replace with:
ultprofile' => 'ModifyUltProfileSettings',

perpetuallove

done :)
now getting this:

Parse error: syntax error, unexpected '=', expecting ')' in /Sources/ModSettings.php on line 119


and this is the code its referring to:

$subActions = array(
'basic' => 'ModifyBasicSettings',
'layout' => 'ModifyLayoutSettings',
'karma' => 'ModifyKarmaSettings',
        'ultprofile' = 'ModifyUltProfileSettings',       <---Line 119
);


but that doesnt make sense to change the "=" to a ")"   ???


OK wait.... got those to go away. But now it says this:

Fatal error: Cannot redeclare modifyultprofilesettings() (previously declared in /Sources/ModSettings.php:328) in /Sources/ModSettings.php on line 388

Özgür

Actually
'ultprofile' = 'ModifyUltProfileSettings',  is
must be
'ultprofile' => 'ModifyUltProfileSettings', 
I can't understand this.
So Long

perpetuallove

Sorry didn't see your response. I changed the ones that just had the "=" to "=>"
but now I get this:

Fatal error: Cannot redeclare modifyultprofilesettings() (previously declared in/Sources/ModSettings.php:328) in /Sources/ModSettings.php on line 388

Özgür

You twice install this mod =)

please find and remove one

function ModifyUltProfileSettings()
{
global $txt, $scripturl, $context, $settings, $sc;

loadLanguage('UltimateProfile');

$config_vars = array(
array('check', 'profile_enable_all'),
'',
array('check', 'profile_enable_pictures'),
array('text', 'profile_pictures_path'),
array('text', 'profile_pictures_url'),
array('int', 'profile_pictures_number'),
array('int', 'profile_pictures_width'),
'',
array('check', 'profile_allow_customize'),
array('check', 'profile_allow_mediabox'),
);

// Saving?
if (isset($_GET['save']))
{
saveDBSettings($config_vars);
redirectexit('action=featuresettings;sa=ultprofile');
}

$context['post_url'] = $scripturl . '?action=featuresettings2;save;sa=ultprofile';
$context['settings_title'] = $txt['ultimate_profile'];

prepareDBSettingContext($config_vars);
}

So Long

perpetuallove

wow ok that worked! thank you both sooo much for your help!


Now with the pictures? It lets me upload, but it still shows them as a red "X". I have tried .gif, .jpeg, and .png versions and still no luck :(  When I look in my file directory- it shows that they have been uploaded though? it even shows the thumbnail. just not on the profile itself

Özgür

Quote from: perpetuallove on April 24, 2009, 02:58:02 PM
wow ok that worked! thank you both sooo much for your help!


Now with the pictures? It lets me upload, but it still shows them as a red "X". I have tried .gif, .jpeg, and .png versions and still no luck :(  When I look in my file directory- it shows that they have been uploaded though? it even shows the thumbnail. just not on the profile itself


Hım. Please give me a demo account.
So Long

perpetuallove


foempspeedy

#257
This is what i looked for ages ...can you plz update it for 2.0rc1 please?

Özgür

Quote from: foempspeedy on April 24, 2009, 06:46:53 PM
This is what i looked for ages ...can you plz update it for 2.0rc1 ?
Please, please, please wait..
So Long

chrishicks

I'm starting to get some complaints with the playlists not working in profiles. I can't get everyone to drop IE so some type of fix would be great. Everyones playlists either display as empty or they just display as a giant red x box.

Advertisement: