http://theworldofdan.co.uk/ Presents: onXiam Integration
What is onXiam?
You can think of onXiam as a network of networks. In a nutshell, onXiam is a site that lets you consolidate all of your online identities and easily tie them back to a single point of reference. Ultimately this will make it easier for you to promote yourself and all of your various online identities by having a quick and easy place to which you can refer people if they want to learn all about your various online presences. You can see my onXiam page here: http://www.onxiam.com/people/TheWorldofDan/
What does this do?
This allows your members to enter their onXiam username in their profile, which will then display a link to their onXiam page in the postbit and on their members page.
How to install
- Log into your ACP and go to the User Profile Field Manager
- Add a new 'Single-Line Text Box' user profile field
- Use the following details:
Title: onXiam
Description: Enter your <a href="http://onxiam.com/" target="_blank">onXiam</a> username.
Field Required: No
Field Editable by User: Yes
Private Field: Yes
Which page displays this option?: Edit Profile
- Save and make a note of it's field-id (i.e. field5)
- Edit the postbit template
FIND:
Code:
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
ADD UNDER: (Remembering to change the field-id to whatever number you remembered earlier)
Code:
<if condition="$post[field5]"><div>onXiam: <a href="http://www.onxiam.com/people/$post[field5]" target="_blank">$post[field5]</a></div></if>
- Edit the MEMBERINFO template
FIND:
Code:
<if condition="$show['pm']">
<tr>
<td>
$vbphrase[private_message]:<br />
<a href="private.php?$session[sessionurl]do=newpm&u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[send_private_message_to_x]</phrase></a>
</td>
</tr>
</if>
ADD UNDER: (Remembering to change the field-id to whatever number you remembered earlier)
Code:
<if condition="$post['field7']">
<tr>
<td>
onXiam:<br />
<a href="http://www.onxiam.com/people/$post[field5]" target="_blank">$post[field5]</a>
</td>
</tr>
</if>
- All done
Notes
- I'm not the developer of onXiam, I'm just so impressed with it's idea that I wanted to include it on my forum.
- By setting the 'Private Field' option to No, you prevent it from showing under the 'Additional Information' section on the members profile page for all the site's users, but based on your permissions, admins and mods will still see it listed. It's best just to ignore it.
- I'm keen on ideas and suggestions for this hack, as I use it on my own site, so any ways it can be improved upon are welcome.
- If you use, please install