Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Integrating Living Avatars with vBulletin Details »»
Integrating Living Avatars with vBulletin
Version: 1.01, by PGAmerica PGAmerica is offline
Developer Last Online: Apr 2015 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.7.5 Rating:
Released: 06-20-2008 Last Update: 06-20-2008 Installs: 32
Template Edits
Code Changes Additional Files  
No support by the author.

For those of you who have installed the Living Avatars mod and have faced the problems I have this tutorial is for you. I have found that although LA works with vBulletin, v1.1x it makes no effort at all to use a point system other than its own (resolved in v2.x) or match the look and feel of your forums. This tutorial will will make the Living Avatars (v1.1x and 2.x) mod fit within the look and feel of your forums and in step 1, you will find how to make LA work with vbCredits.

This is not so much a modification or hack as it is a tutorial.

Requirements:
The Living Avatar mod (found at www.livingavatars.com) (Works with v1.1.x and 2.xx)
1 file edit
2 file uploads
1 template edit

Credits: The Living Avatars mod can be found at www.livingavatars.com and is free for all. I used the
instructions by Gary King entitled "How to create your own vBulletin-powered page!" alongside a
script at the Dynamic Drive site to make this work. Thanks goes to Digital Jedi for sending me the links for this.
------------------------------
NOTES:
This document assumes that you have installed the "Living Avatars" mod. If you have not, please go to www.livingavatars.com, download it and get it running on your site. Once that is done, go to Step 1 in this document.

Note: If you are installing v2.x of Living Avatars, skip step 1 of these instructions

Demo - You will need an account to see it. If you don't want to register, just look at the screencap attached to this post.

INSTALLATION INSTRUCTIONS
Step 1: Go to this post at www.living avatars.com and follow the instructions to merge LA with the vbCredits mod.

Step 2:
Make a new template named "LivingAvatars" and put the contents of the
"LivingAvatars-template.txt" file in it.

Step 3: Edit the included "cpnav_livingavatars.xml" file to refer to your forum
directory. Currently, it is set to "/forums/".

Step 4: Upload the "LivingAvatars_vb.php" file to your forum root folder.

Step 5: Upload the "cpnav_livingavatars.xml" file to your "/forum root/includes/xml" folder.

Step 6: Modify the "modifyavatar" template
Look for 2 references to
Code:
living_avatars/index.php
and replace it with
Code:
LivingAvatars_vb.php
That's it

Note: The Living Avatars mod can be found at livingavatars.com or in this post at vbulletin.org. Thanks goes to Ideal Web Tech for pointing this out.

Note: This works with vBulletin 3.8 as well.

Show Your Support

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

Comments
  #22  
Old 07-13-2008, 12:16 PM
tokenyank tokenyank is offline
 
Join Date: Jul 2005
Location: London
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice release... I did this last year (with exception of integration with vBcredits) and never thought of putting it here either. Very nice indeed.

Quote:
Originally Posted by iogames View Post
First!
Hey! When did vB.org turn into perezhilton?

Quote:
Originally Posted by Captain Tycoon View Post
Installed and Marked! I think Ziad has stopped giving support for this mod and stopped the development
Sounds like LA is getting the same treatment as Subdreamer!
Reply With Quote
  #23  
Old 07-19-2008, 01:56 AM
Soliloquy's Avatar
Soliloquy Soliloquy is offline
 
Join Date: Mar 2006
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The good news is that the Living Avatars forum is accepting registrations again, and has apparently been updated to vB 3.7.2, which means they still care about it.
Using this tutorial/mod, is there any way to restrict access to certain usergroups? I've been needing that option but couldn't get the conditional to work on the modifyavatar page.
Reply With Quote
  #24  
Old 07-19-2008, 02:38 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Search the Gary King tutorial linked in the first post, and you'll find a couple of ways to make those pages usergroup permission based.
Reply With Quote
  #25  
Old 08-19-2008, 10:35 PM
Toupsx Toupsx is offline
 
Join Date: Aug 2008
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nevermind, found the issue!
Reply With Quote
  #26  
Old 08-20-2008, 02:12 AM
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Location: Brisbane
Posts: 2,264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In ModifyAvatar I cannot find the edits you say are needed.

Quote:
Step 6: Modify the "modifyavatar" template
Look for 2 references to
Code:

living_avatars/index.php

and replace it with
Code:

LivingAvatars_vb.php
Have the files changed?

Added this the modifyavatar template

Code:
<script type="text/javascript">
<!--
function check_yes(objid)
{
	yes = fetch_object(objid);
	if (yes)
	{
		yes.checked = true;
	}
}

<if condition="$show['categories']">
function switch_avatar_category()
{
	selobj = fetch_object("avatar_category_select");
	window.location = "profile.php?$session[sessionurl_js]do=editavatar&categoryid=" + selobj.options[selobj.selectedIndex].value;
}
</if>
//-->
</script>

<form enctype="multipart/form-data" action="profile.php?do=updateavatar" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="updateavatar" />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">$vbphrase[edit_avatar]</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">

			<fieldset class="fieldset">
				<legend>$vbphrase[your_current_avatar]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
				<tr valign="top">
					$currentavatar
					<td class="smallfont">
						<div style="margin-bottom:$stylevar[formspacer]px">$vbphrase[avatars_small_graphics_short]</div>
						<div style="margin-bottom:$stylevar[formspacer]px"><label for="rb_avatarid_no"><input type="radio" name="avatarid" value="-1" id="rb_avatarid_no" $nouseavatarchecked />$vbphrase[do_not_use_an_avatar]</label></div>
						<div>$vbphrase[note_have_custom_avatar_delete]</div>
					</td>
				</tr>
				</table>
			</fieldset>

			<if condition="$show['forumavatars']">
			<fieldset class="fieldset">
				<legend><phrase 1="$categoryname">$vbphrase[predefined_x]</phrase></legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
				<tr>
					<td colspan="$cols">
						<if condition="$show['categories']">
						$vbphrase[avatar_category]:<br />
						<select name="categoryid" id="avatar_category_select" onchange="switch_avatar_category()">$categorybits</select>
						<input type="button" value="$vbphrase[go]" class="button" onclick="switch_avatar_category()" />
						</if>
					</td>
				</tr>
				<tr>
					<td colspan="$cols">$vbphrase[may_select_predefined_as_avatar]</td>
				</tr>
				$avatarlist
				<if condition="$show['pagenav']">
				<tr valign="bottom">
					<td colspan="$cols">
						$pagenav
					</td>
				</tr>
				</if>
				</table>
			</fieldset>
			</if>

			<if condition="$show['customavatar']">
			<fieldset class="fieldset">
				<legend>$vbphrase[custom_avatar]</legend>

				<div style="padding:$stylevar[formspacer]px">
				<div class="fieldset">

				$vbphrase[have_custom_avatar_want_as_is]<br /><br />

				<label for="avatar_yes"><input type="radio" name="avatarid" value="0" id="avatar_yes" $avatarchecked[0] />$vbphrase[use_custom_avatar]</label><br /><br />

				$vbphrase[may_upload_custom_image_controls]<br /><br />

				<if condition="$show['customavatar_url']">
				$vbphrase[enter_url_to_image]

				<div style="padding:$stylevar[formspacer]px">
					<input type="text" class="bginput" name="avatarurl" value="http://www." onchange="check_yes('avatar_yes')" size="45" dir="ltr" />
					<input type="hidden" name="MAX_FILE_SIZE" value="$inimaxattach" />
				</div>
				</if>

				<if condition="$show['customavatar_url']">$vbphrase[option_2_upload_image_from_computer]<else />$vbphrase[upload_image_from_computer]</if>
				<div style="padding:$stylevar[formspacer]px">
					<input type="file" class="bginput" name="upload" onchange="check_yes('avatar_yes')" size="45" />
				</div>

				<if condition="$show['maxnote']">
					$maxnote
				</if>

				</div>
				</div>
			</fieldset>
			</if>

		</div>
	</div>

	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="submit" class="button" value="$vbphrase[save_changes]" accesskey="s" />
		<input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" />
	</div>
	</td>
</tr>
</table>

</form>
Reply With Quote
  #27  
Old 08-20-2008, 02:43 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That probably won't be in there until you activate the Integration link in your Living Avatar's Admin CP.
Reply With Quote
  #28  
Old 08-20-2008, 03:50 AM
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Location: Brisbane
Posts: 2,264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cheers DJ.

That did the trick.

Do you know where we can directly get rid of that Hideous turquoise blue?

STRIKE that found the CSS is Settings
Reply With Quote
  #29  
Old 08-24-2008, 04:06 PM
RvG2 RvG2 is offline
 
Join Date: Jan 2007
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works perfectly with 3.7.2!

thank you so much guys.
Reply With Quote
  #30  
Old 08-27-2008, 10:24 PM
Saint_ago Saint_ago is offline
 
Join Date: Jan 2006
Location: S?o Paulo - Brasil
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Didn't worked on Opera 9.52 (and in MSIE 6.0 also):

What can i do?
Reply With Quote
  #31  
Old 08-31-2008, 04:06 AM
ArchangelX ArchangelX is offline
 
Join Date: Feb 2006
Location: Oahu, HI
Posts: 298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great work!
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 03:05 AM.


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.04954 seconds
  • Memory Usage 2,324KB
  • Queries Executed 25 (?)
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
  • (3)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete