Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved [How To?] Custom field on users ptofile.
#1
Not Solved
Hello,

I wanted to add  a field on a users profiles something like this:

Title >> Your refer link:    A_BOX_HERE_WITH_TEXT


this text: freesamp.net/member.php?action=register&referrer=HIS_USER_ID_HERE



On all profiles.
Reply
#2
Not Solved
This user has been denied support. This user has been denied support.
Give this a shot. If it doesn't work, reply back and I'll resolve! I'm not sure if the UID variable works or not..

Demo: http://i.imgur.com/VHYGsX3.png

Step 1: Open AdminCP
Step 2: Click "Templates & Style" in the top navigation bar
Step 3: Click "Templates" in the left sidebar
Step 4: Click "[Theme Name]" for the theme you're using
Step 5: Click "Member Templates"
Step 6: Open "member_profile"
Step 7: Find the following code: (line 60 by default)

{$warning_level}

Step 8: After/Below the above code, add:

<tr>
   <td class="trow1"><strong>Referral Link:</strong></td>       
   <td class="trow1">{$mybb->settings['bburl']}/member.php?action=register&referrer={$memprofile['uid']}</td>
</tr>

Step 9: Save. 

This should work, but I'm not 100% if it does. If it does not, please reply. I would check, but I'm on my phone right now and it would take 3 times as long as it did writing this post... lol
-Sparkks
Reply
#3
Not Solved
Thank you so much!
Reply
#4
Not Solved
This user has been denied support. This user has been denied support.
No problem. Take care!
-Sparkks
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)