Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
onXiam Integration Details »»
onXiam Integration
Version: 1.00, by Ninth Dimension Ninth Dimension is offline
Developer Last Online: Jun 2016 Show Printable Version Email this Page

Version: 3.6.0 Rating:
Released: 08-24-2006 Last Update: Never Installs: 0
Template Edits
 
No support by the author.

The World of Dan 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
  1. Log into your ACP and go to the User Profile Field Manager

  2. Add a new 'Single-Line Text Box' user profile field

  3. 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

  4. Save and make a note of it's field-id (i.e. field5)

  5. 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>
  6. Edit the MEMBERINFO template

    FIND:
    Code:
    				<if condition="$show['pm']">
    				<tr>
    					<td>
    						$vbphrase[private_message]:<br />
    						<a href="private.php?$session[sessionurl]do=newpm&amp;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>
  7. 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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 08-25-2006, 11:57 PM
y2krazy y2krazy is offline
 
Join Date: Jun 2003
Location: Houston, Texas
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could you please include the installation instructions in a text or zip file? Thank you.

Once you do, I'll be sure to click Install.
Reply With Quote
  #3  
Old 08-26-2006, 12:25 AM
Ninth Dimension's Avatar
Ninth Dimension Ninth Dimension is offline
 
Join Date: Oct 2001
Location: London, England.
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm sure that I can, but I'm a little confused as to why you would want me to?
Reply With Quote
  #4  
Old 08-26-2006, 12:31 AM
y2krazy y2krazy is offline
 
Join Date: Jun 2003
Location: Houston, Texas
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's just more convenient that way and since I'm not a coder (just been around a while), I think there is a requirement to post an attachment? I'm not sure on that, but if not, it's just a preference then.

Installed and working BTW.
Reply With Quote
  #5  
Old 08-26-2006, 01:06 AM
Kirk Y's Avatar
Kirk Y Kirk Y is offline
 
Join Date: Apr 2005
Location: Tallahassee, Florida
Posts: 2,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No it's not required - just encouraged; some people like to save a copy of the instructions on their computer, having them in a text-file just makes it simpler.
Reply With Quote
  #6  
Old 08-26-2006, 03:42 AM
y2krazy y2krazy is offline
 
Join Date: Jun 2003
Location: Houston, Texas
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have 2 folders that I save mods in: 1 for mods to be installed and the other for mods that have been successfully installed. I download everything that I click Install to. Merely a preference, but it's very helpful IMO.
Reply With Quote
  #7  
Old 08-26-2006, 10:18 AM
Ninth Dimension's Avatar
Ninth Dimension Ninth Dimension is offline
 
Join Date: Oct 2001
Location: London, England.
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, well I'm sure I can make a text verson for people, I'll do it later when I have a bit more free time
Reply With Quote
  #8  
Old 08-26-2006, 09:58 PM
y2krazy y2krazy is offline
 
Join Date: Jun 2003
Location: Houston, Texas
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I added a little something to Step 6:

Code:
				<if condition="$post['fieldX']">
				<tr>
					<td>
						onXiam:<br />
						<a href="http://www.onxiam.com/people/$post[fieldX]" target="_blank">http://www.onxiam.com/people/$post[fieldX]</a>
					</td>
				</tr>
				</if>
Just made it look like it fit better to me in that location by adding this: http://www.onxiam.com/people/$post[fieldX] to the code.

Alternatively, I can see this being added to the IM fieldset as something like this:

Code:
			<if condition="$show['hasimicons']">
			<fieldset class="fieldset">
				<legend>$vbphrase[instant_messaging]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
				<if condition="$show['textimicons']">
					<if condition="$userinfo['showicq']">
					<tr>
						<td>$vbphrase[icq]</td>
						<td>$userinfo[icq]</td>
					</tr>
					</if>
					<if condition="$userinfo['showaim']">
					<tr>
						<td>$vbphrase[aim]</td>
						<td>$userinfo[aim]</td>
					</tr>
					</if>
					<if condition="$userinfo['showmsn']">
					<tr>
						<td>$vbphrase[msn]</td>
						<td>$userinfo[msn]</td>
					</tr>
					</if>
					<if condition="$userinfo['showyahoo']">
					<tr>
						<td>$vbphrase[yahoo]</td>
						<td>$userinfo[yahoo]</td>
					</tr>
					</if>
					<if condition="$userinfo['skype']">
					<tr>
						<td>$vbphrase[skype]</td>
						<td>$userinfo[skype]</td>
					</tr>
					</if>
					<if condition="$post['fieldX']">
					<tr>
						<td>onXiam</td>
						<td>$post[fieldX]</td>
					</tr>
					</if>
				<else />
					<if condition="$userinfo['showicq']">
					<tr>
						<td>$userinfo[icqicon]</td>
						<td><a href="#" dir="ltr" onclick="imwindow('icq', '$userinfo[userid]', 500, 450); return false;">$userinfo[icq]</a></td>
					</tr>
					</if>
					<if condition="$userinfo['showaim']">
					<tr>
						<td>$userinfo[aimicon]</td>
						<td><a href="#" dir="ltr" onclick="imwindow('aim', '$userinfo[userid]', 400, 200); return false;">$userinfo[aim]</a></td>
					</tr>
					</if>
					<if condition="$userinfo['showmsn']">
					<tr>
						<td>$userinfo[msnicon]</td>
						<td><a href="#" dir="ltr" onclick="imwindow('msn', '$userinfo[userid]', 400, 200); return false;">$userinfo[msn]</a></td>
					</tr>
					</if>
					<if condition="$userinfo['showyahoo']">
					<tr>
						<td>$userinfo[yahooicon]</td>
						<td><a href="#" dir="ltr" onclick="imwindow('yahoo', '$userinfo[userid]', 400, 200); return false;">$userinfo[yahoo]</a></td>
					</tr>
					</if>
					<if condition="$userinfo['showskype']">
					<tr>
						<td>$userinfo[skypeicon]</td>
						<td><a href="#" dir="ltr" onclick="imwindow('skype', '$userinfo[userid]', 400, 285); return false;">$userinfo[skype]</a></td>
					</tr>
					</if>
					<if condition="$post['fieldX']">
					<tr>
						<td><img src="$stylevar[imgdir_misc]/onxiam.gif"></td>
						<td><a href="http://www.onxiam.com/people/$post[fieldX]" target="_blank">$post[fieldX]</a></td>
					</tr>
					</if>
				</if>
				</table>
			</fieldset>
			</if>
Replace fieldX with your correct field number.
Reply With Quote
  #9  
Old 08-30-2006, 04:08 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the hack! I'll install it right away...
Reply With Quote
  #10  
Old 09-09-2006, 01:35 PM
Ninth Dimension's Avatar
Ninth Dimension Ninth Dimension is offline
 
Join Date: Oct 2001
Location: London, England.
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does anyone have any links of it in action? I'd love to see them
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:13 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04336 seconds
  • Memory Usage 2,302KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete