Ultimate Profile

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

Previous topic - Next topic

Nola5712

QuoteNola it depends which chat and arcade you use.

brack thanks for responding, i'm using flashchat 4.7.12 and smf arcade 2.0.18.  i managed to get the buttons working on the cerberus theme, but like i said, i think i'm going to use the Beyaz inci theme instead so i have to start the whole process over again :(

TheListener

 :-[

Yaguz I will try and make this the last edit to the mod.

The mod I want to include this time is the 'Topic Count In Profile' mod

Preferably below the post count.


Yağız...

Find:
if (!isset($context['disabled_fields']['posts']))
echo '
<dt><strong>', $txt['profile_posts'], ': </strong></dt>
<dd>', $context['member']['posts'], ' (', $context['member']['posts_per_day'], ' ', $txt['posts_per_day'], ')</dd>';

Add below:
if ($context['tcip_enabled'] && $context['tcip_show_topic_count'])
echo '
<dt><strong>', $txt['profile_topics_started'], ': </strong></dt>
<dd>', $context['member']['topics'], ' (', $context['member']['topics_per_day'], ' ', $txt['posts_per_day'], ')</dd>';
if ($context['tcip_enabled'] && $context['tcip_show_participated_count'])
echo '
<dt><strong>', $txt['profile_topics_participated'], ': </strong></dt>
<dd>', $context['member']['topic_count'], '</dd>';

ProfDrDenis

Any news with the Buddy problems?

Taija299

I just installed this and I'm loving it.

Thanks!
[nofollow]

MATTEK

So far I only have 1 issue. When I submit a comment on a members page it goes to this link

http://www.the-ush.com/index.php?action=profile;area=comment;u=5;add

Blank. Anyone know how to fix?
SMF 2.0.1

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

rd

Try uninstalling and then reinstalling.

MATTEK

Quote from: Royalduke on April 21, 2010, 10:14:09 PM
Try uninstalling and then reinstalling.

I have a couple times already.  :'(
SMF 2.0.1

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

rd

Check your error logs.

MATTEK

SMF 2.0.1

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

Spasm

Installed fine, but pictures don't show up.  They upload fine and are in the folders when I view from ftp.  They are enabled for anyone to view, but they don't show up on the profile.  Any help?

wynnyelle

Does anyone know how I add a custom field to ultimate profile?

I run a roleplaying game and want to add a "My Characters" section. I bet people would really love that.

MATTEK

Installed manually and through package manager and still when I try to comment on th profile and/or pictures it simply loads a blank white page and does not save the post. Any ideas?
SMF 2.0.1

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

Yağız...

Quote from: ProfDrDenis on April 21, 2010, 05:07:32 AM
Any news with the Buddy problems?
Still on my to-do list but I'm busy with RL these days ...

Quote from: MATTEK on April 21, 2010, 09:36:00 PM
So far I only have 1 issue. When I submit a comment on a members page it goes to this link

http://www.the-ush.com/index.php?action=profile;area=comment;u=5;add

Blank. Anyone know how to fix?

I'll look into that, should be an error with the mod, but I don't know why.

Quote from: Spasm on April 22, 2010, 09:48:14 AM
Installed fine, but pictures don't show up.  They upload fine and are in the folders when I view from ftp.  They are enabled for anyone to view, but they don't show up on the profile.  Any help?
Check Ultimate Profile settings.

Quote from: Groovystar on April 22, 2010, 12:18:50 PM
Does anyone know how I add a custom field to ultimate profile?

I run a roleplaying game and want to add a "My Characters" section. I bet people would really love that.
What is your SMF version?

MATTEK

Quote from: Yağız... on April 22, 2010, 01:38:19 PM
Quote from: MATTEK on April 21, 2010, 09:36:00 PM
So far I only have 1 issue. When I submit a comment on a members page it goes to this link

http://www.the-ush.com/index.php?action=profile;area=comment;u=5;add

Blank. Anyone know how to fix?

I'll look into that, should be an error with the mod, but I don't know why.

Thanks dude.
SMF 2.0.1

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

Spasm

Quote from: Yağız... on April 22, 2010, 01:38:19 PM

Quote from: Spasm on April 22, 2010, 09:48:14 AM
Installed fine, but pictures don't show up.  They upload fine and are in the folders when I view from ftp.  They are enabled for anyone to view, but they don't show up on the profile.  Any help?


Check Ultimate Profile settings.


I did.  Everything is enabled and the path & directories are all correct.  I even tried changing folder permissions to 777... No luck.

Yağız...

Quote from: MATTEK on April 22, 2010, 01:45:16 PM
Quote from: Yağız... on April 22, 2010, 01:38:19 PM
Quote from: MATTEK on April 21, 2010, 09:36:00 PM
So far I only have 1 issue. When I submit a comment on a members page it goes to this link

http://www.the-ush.com/index.php?action=profile;area=comment;u=5;add

Blank. Anyone know how to fix?

I'll look into that, should be an error with the mod, but I don't know why.

Thanks dude.
That's really weird ... Can you attach your ./Sources/Profile-Actions.php and ./Sources/Profile.php files please?

Quote from: Spasm on April 23, 2010, 12:02:18 PM
Quote from: Yağız... on April 22, 2010, 01:38:19 PM

Quote from: Spasm on April 22, 2010, 09:48:14 AM
Installed fine, but pictures don't show up.  They upload fine and are in the folders when I view from ftp.  They are enabled for anyone to view, but they don't show up on the profile.  Any help?


Check Ultimate Profile settings.


I did.  Everything is enabled and the path & directories are all correct.  I even tried changing folder permissions to 777... No luck.
Can I have a link to a profile with pictures and a demo account please?

MATTEK

Quote from: Yağız... on April 23, 2010, 12:20:12 PM
Quote from: MATTEK on April 22, 2010, 01:45:16 PM
Quote from: Yağız... on April 22, 2010, 01:38:19 PM
Quote from: MATTEK on April 21, 2010, 09:36:00 PM
So far I only have 1 issue. When I submit a comment on a members page it goes to this link

http://www.the-ush.com/index.php?action=profile;area=comment;u=5;add

Blank. Anyone know how to fix?

I'll look into that, should be an error with the mod, but I don't know why.

Thanks dude.
That's really weird ... Can you attach your ./Sources/Profile-Actions.php and ./Sources/Profile.php files please?

I'll attach as soon as I get home. Also...I might add that a new member recently signed up and I tested a comment on his page, and it worked. When I tried it on other accounts that were registered before the mod was installed, it loaded the same blank white page.
SMF 2.0.1

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

wynnyelle

My version is 1.1.11.

If you need any other info let me know. Thanks!

Yağız...

Install this mod: http://custom.simplemachines.org/mods/index.php?mod=319
Then find this in ./Themes/default/UltimateProfile.template.php:
//'custom_fields',
Replace with:
'custom_fields',

Find:
function up_block_custom_fields() {
// This section is optional. You can paste code and display fields from Custom Profile Fields mod.

echo '
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="more_fields">
<tr>
<td class="windowbg">';

// PASTE YOUR CODE HERE

echo '
</td>
</tr>
</table>';

return true;
}

Replace with:
function up_block_custom_fields() {
// This section is optional. You can paste code and display fields from Custom Profile Fields mod.

echo '
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="more_fields">
<tr>
<td class="windowbg">';


global $sourcedir;
require_once($sourcedir . '/CustomProfile.php');
DisplayFieldsProfile();
// Can they add this member as a buddy?


echo '
</td>
</tr>
</table>';

return true;
}

Advertisement: