Search results for: Ultimate Profile

Search order
#1
Quote from: misus on December 01, 2014, 06:26:19 AM
I installed the Mod, but we don't get a referral Url in our profiles.
Could Ultimate Profile be the problem? 


Yes it would be. You would need to add the code to the ulimate profile template too.

#2
I installed the Mod, but we don't get a referral Url in our profiles.
Could Ultimate Profile be the problem? 


#3
So I have the ultimate profile mod installed. So what code would I be using in order to add the referral link and referral count to the members profile?

#4
Quote from: Sabrewulv on April 14, 2012, 03:40:21 PM
I installed this mod on an smf site. It says in settings show referral link in profile but there's no link there. On the registration page it says if referred by a member put in their name. i registered a dummy account and used my name for the refferal yet it didn't credit it to me.

Any ideas?

maybe you are using ultimate profile mod..

#5
Hmm..

For some reason when I have added the referral system to the Ultimate Profile Mod, it doesn't seem right.

Referrals: 0
Referral Link Hits: 0
Referred By: 01 January, 1970, 12:00:00 AM


Referred By: seems a bit strange haha!

Code (php) Select

if (!empty($context['member']['referred_by'])){
echo'
<dt><strong>', $txt['referrals_referred_by'], ': </strong></dt>
<dd>', $context['member']['referred_by_link'], ' ', $txt['referrals_on'], ' ', timeformat($context['member']['referred_on']), '</dd>';
}


Is the code I am using.

I'm getting a few errors though on the actual forum itself..

Undefined index: referredby
File: /home/mindless/public_html/Themes/Glacier/Footer.template.php (summary2 sub template - eval?)

Undefined index: referrals_on
File: /home/mindless/public_html/Themes/Glacier/Footer.template.php (summary2 sub template - eval?)

Undefined index: referred_by_name
File: /home/mindless/public_html/Themes/Glacier/Footer.template.php (summary2 sub template - eval?)

Edit: This is the section I am using with the referral code inside - http://pastebin.com/raw.php?i=0J6CJxD2

This is my Referral PHP with all the variables inside. (I think)

http://pastebin.com/raw.php?i=E8GPd2KJ

#6
Modifications and Packages / Re: Referrals System 3.0.3 (Now supports SMF 2.0)
September 22, 2011, 01:25:01 PM by TheListener
To use the mod with Ultimate Profile have a look at that mods topic and how I added some other mods with the help of Miss All Sunday.

#7
Quote from: Sci-Fi_Fan on August 26, 2011, 05:29:55 PM
Has anyone been successful in getting this mod to work with the Ultimate Profile mod? I'd really like to use both, but the referrals doesn't show up in UP.

I know it is possible as I had once had it implemented I tried looking for the string of code and where I had it but I have not had any luck thus far, however I myself am needing it again so when/if I come across it before someone else can help out I will be sure to post it here.

#8
Has anyone been successful in getting this mod to work with the Ultimate Profile mod? I'd really like to use both, but the referrals doesn't show up in UP.

#9
Everything seems to be working well on my site except that users don't have referral links on their profile. I have installed "Ultimate Profile" mod and I don't know if that's clashing with this mod but I could really use some help here.

http://www.superheroalliance.net

#10
I want referals are also shows in forum stats how it's possible and i m using ultimate profile mod so in that referal link is not showing in poriles what can i do tell me ........

#11
Like I said, I added the Profile.template edit exactly into the UltimateProfile.template.  Do you mean I need to change something or add something into the script, too?

I put it between the last login and the profile activity in the Ultimate Profile.template:

echo '
<dt><strong>', $txt['date_registered'], ': </strong></dt>
<dd>', $context['member']['registered'], '</dd>
<dt><strong>', $txt['lastLoggedIn'], ': </strong></dt>
<dd>', $context['member']['last_login'], '</dd>
</dl>';



   // Add the referral/referred user information to the profile summary
echo '
<dt>', $txt['referrals_referrals'], '</dt>
<dd>
', $context['member']['referrals_no'], '  ';

// Show in dropdown username of those referred
if (!empty($context['member']['referred_members'])){
echo '
<select onchange="location=options[selectedIndex].value;">
<option>', $txt['referrals_membersreferred'], '</option>';
foreach($context['member']['referred_members'] as $referred)
echo '
', $referred;

echo '
</select>';
}

echo '
</dd>
<dt>', $txt['referrals_referrals_hits'], '</dd>
<dd>', $context['member']['referrals_hits'], '</dd>';

if (!empty($context['member']['referred_by'])){
echo'
<dt>', $txt['referrals_referred_by'], '</dt>
<dd>', $context['member']['referred_by_link'], ' ', $txt['referrals_on'], ' ', timeformat($context['member']['referred_on']), '</dd>';
}

// Remove the # on the next line to make the link appear for the profile's owner ONLY!
# if ($context['user']['id'] == $context['member']['id'])
echo '
<dt>', $txt['referrals_link'], '</dt>
<dd>
<input type="text" onselect="this.select()" id="referral_link" value="', $scripturl, '?action=register;referredby=', $context['member']['id'], '" readonly="true" style="width:250px;" />
</dd>';


if (isset($context['member']['action']) && allowedTo('who_view')) {
echo '<dt><b>', $txt['current_activity'], ': </b></dt>
<dd>', $context['member']['action'], '</dd>';

#12
I'm using RC3 and I know this isn't supported any longer.
I am using it with Ultimate Profile by adding the Profile.template information into the UltimateProfile.template.php file.
It appears to be working, but it cuts off the link and doesn't display it entirely.  I get only get the following in the box:  ?action=register;referredby=2

Does anyone know what I need to add in order to get the full link to appear?  I get the full link if I switch it back to the standard profile.

#13
Quote from: John1 on July 05, 2010, 05:25:33 PM
I want to add the referral link to the ultimate profile.

The ultimate profile mode over wrote the default profile view and the referral link disappeard.
How do i add it back ?

Read through this thread, there are alot of posts talking about how to do it. I posted some myself and following all the posts here, we got it working.

#14
I want to add the referral link to the ultimate profile.

The ultimate profile mode over wrote the default profile view and the referral link disappeard.
How do i add it back ?

#15
Quote from: IDunc on June 18, 2010, 02:36:51 PM
I can not find a solution that actually works. Can someone please just help me?

On the top right of the website you find the search button. Search in "this topic" and you will find a lot of messages  ;) or follow this link:
http://www.simplemachines.org/community/index.php?action=search2;search=Ultimate+Profile;topic=226191

But this mod isn't supported anymore until someone buys it:
http://www.simplemachines.org/community/index.php?topic=226191.msg2619225#msg2619225

Vy73!
Vincent

#16
Quote from: RaXavier69 on June 17, 2010, 05:27:00 PM
any chance of referral adds +rep?
http://www.simplemachines.org/community/index.php?topic=226191.msg2501650#msg2501650 That is for 2.0 RC2 should work with RC3 though

Quote from: IDunc on June 16, 2010, 10:31:48 PM
How do I get this mod working with Ultimate Profile on SMF RC3?
You posted 4 times within 2 days and sent me a pm about this it would of taken you alot less time to find it yourself all I know is it is somewhere in this topic.

#17
Can anyone help? How do I get this working with Ultimate Profile on SMF 2.0 RC3?

#18
How do I get this mod working with Ultimate Profile on SMF RC3?

#19
Is there a way to get my members referral links back on their profile while using ultimate profile mod? Using SMF 1.1.11

#20
Quote from: JBlaze on March 20, 2010, 05:41:54 AM
Quote from: mrtrc266 on March 09, 2010, 10:39:42 PM
Any ideas on this?

Using RC3 it works fine on the default profile template. I see the whole referral link

After install the Ultimate Profile Mod and doing the edit to the UltimateProfile.template.php file

I only see this "?action=register;referredby=1" instead of this "http://localhost/smf/index.php?action=register;referredby=1"


$scripturl isn't being globaled.

Thank you for the response, how do I fix it though? I just installed this live and I'm getting the same thing.

Everyone's referral link is: ?action=register;referredby=X

EDIT: Never mind I got it. For anyone else....
Found /UltimateProfile.template.php
function up_block_user_info() {
    global $settings, $txt, $context;

Replaced with
function up_block_user_info() {
    global $settings, $txt, $context, $scripturl;

Advertisement: