Q-v-n-s-Q
06-15-2007, 10:00 PM
Found it on: http://freecodevn.com/for&um/adding-mybuny-id-t28952.html?p=163744
credit to binbinvn
This template mod will allow you to add your users MyBuny ID as a link, on their forum posts. This link, when clicked on, will open the users MyBuny ID page in a new browser!
Admin CP -> User Profile Fields -> Add New User Profile Field
Choose "Single Line Text Box"
Title: MyBuny ID
Display Order: (you choose!)
Field Required: (you choose!)
Field Editable by User: (you choose!)
Private Field: NO
Field Searchable on Members List: Yes
Show on Members List: (you choose!)
Display Page: Edit Profile
[SAVE]
NOTE:
You must now make a note of the field ID for your MyBuny ID input. You can check what field ID is assigned by going to:
Admin CP -> User Profile Fields -> User Profile Field Manager
and looking at what ID is next to "MyBuny ID"
For my instructions, i am going to use '99' as my Field ID, and you should change the number to suit what YOUR field ID is!
Go to AdminCP
Go to "Style Manager"
Go to "Edit Templates" for your theme.
Scroll down until you get to "Postbit Templates"
Open up either Postbit or Postbit Legacy (depending on what you use!)
Find in this template:
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
add this below:
<if condition="$post['field5']"><div>MyBuny ID: <a href="http://www.mybuny.com/view_profile.php?member_id=$post[field5]" target="_blank">$post[field5]</a></div></if>
Save.
REMEMBER!! CHANGE THE [field99] to whatever field ID you have, i.e [field6] or [field9] !!
MyBuny is free, singup here (http://www.mybuny.com/join_us.php)
credit to binbinvn
This template mod will allow you to add your users MyBuny ID as a link, on their forum posts. This link, when clicked on, will open the users MyBuny ID page in a new browser!
Admin CP -> User Profile Fields -> Add New User Profile Field
Choose "Single Line Text Box"
Title: MyBuny ID
Display Order: (you choose!)
Field Required: (you choose!)
Field Editable by User: (you choose!)
Private Field: NO
Field Searchable on Members List: Yes
Show on Members List: (you choose!)
Display Page: Edit Profile
[SAVE]
NOTE:
You must now make a note of the field ID for your MyBuny ID input. You can check what field ID is assigned by going to:
Admin CP -> User Profile Fields -> User Profile Field Manager
and looking at what ID is next to "MyBuny ID"
For my instructions, i am going to use '99' as my Field ID, and you should change the number to suit what YOUR field ID is!
Go to AdminCP
Go to "Style Manager"
Go to "Edit Templates" for your theme.
Scroll down until you get to "Postbit Templates"
Open up either Postbit or Postbit Legacy (depending on what you use!)
Find in this template:
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
add this below:
<if condition="$post['field5']"><div>MyBuny ID: <a href="http://www.mybuny.com/view_profile.php?member_id=$post[field5]" target="_blank">$post[field5]</a></div></if>
Save.
REMEMBER!! CHANGE THE [field99] to whatever field ID you have, i.e [field6] or [field9] !!
MyBuny is free, singup here (http://www.mybuny.com/join_us.php)