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

Reply
 
Thread Tools
DJ's Living Avatars User CP/Admin CP "Integration" Details »»
DJ's Living Avatars User CP/Admin CP "Integration"
Version: 1.0.6, by Digital Jedi Digital Jedi is offline
Developer Last Online: Sep 2023 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 3.8.x Rating:
Released: 06-04-2009 Last Update: 12-17-2009 Installs: 41
Supported Uses Plugins
Additional Files Translations  

PGAmerica released something similar to this a while back for an older version of Living Avatars based on some template modifications I had made in my forum. I figure we were about due for an update and I thought how much easier it might be to have this in the form of a product. Since I had thrown this together for myself last night, I decided I might as well release it right quick for those who need it.


WHAT DOES THIS DO?

This product "integrates" Living Avatars for you and your users. Technically, Living Avatars is already integrated, but a lot of us like to have the controls and admin functions in familiar places. We'd also like it to blend with our forum a little better. This not only makes the Living Avatars Admin Panel accessible from your Admin CP, but also puts the Edit Screen for LA in an iframe where you can then further customize the Theme to make it blend with your forum and skin.


SCREENSHOTS

See screenshots at the bottom of this post.

LIVE DEMO

Login with the username Test and password test to see a live demo. All I ask is that you please refrain from making excessive edits to the avatar, as I don't know what a bunch of you online at the same time making edits to the same avatar might do. Yes, the guy in the dress is hilarious. (Also, please don't use the Test account to try and contact me. That's not what I created it for.)


CREDITS

Credits really go out to everyone here who has directly or indirectly brought me to this point in vB coding.

Also, the script utilizes a dynamically resizing iframe, provided here by the Dynamic Drive website. And before you ask, yes, several of us have asked several times now. We can use their scripts in mods, provided we don't remove the copyright, or try to redistribute the script by itself. Remember that the copyright must stay intact, even on your own personal website.


INSTALLATION
  1. Download and Unzip the contents of the ZIP file.
  2. Upload the contents of the UPLOAD folder to your forum's root directory. (This is the directory where your vBulletin is physically installed.)
  3. Go to Plugins & Products >> Manage Products >> Add/Import Products and import the product-djs_la_usercp_admincp.xml file.
  4. Refresh your Admin CP if it doesn't do it automatically and your Living Avatars manager menu should be right below your regular Avatars manager menu. Your users will now have a link in their User CP that takes them to living_avatars.php.
  5. If you hadn't already done so, you may now edit the Living Avatar Theme to better match your forum colors. And remember that you now have access to that Theme in your Admin CP.

OTHER OPTIONS


If you activated the "Add Forum Link" option when you first installed Living Avatars (this is the setting within Living Avatars that puts the big image link on the page with your regular avatars) you'll want to edit where those links now point to. Follow the template edit below to change that for each style your forum uses. (Alternatively, you could also go into cPanel on your server and make living_avatars a redirect to living_avatars.php.)

In modifyavatar look for:
Code:
<a href="living_avatars/"><img src="living_avatars/includes/images/living_avatars_forum_logo.gif" border="0" /></a>
<div style="padding-top: 10px">
<a href="living_avatars/">Click here to create or update your Living Avatar.</a><br /><br />
The more you post on our forum, the more points you earn! Use these points
to collect items such as clothing to create your own unique avatar!
</div>
Change the code in red to living_avatars.php


TROUBLESHOOTING


Is the User CP link still not showing up? You may need to edit the template directly then. First find out of your running Princeton's GTUserCP - Enhanced USERCP Interface + USERCP Menu. Make whichever template edit below applies to you. (Additionally, there might be a whole bunch of other modifications similar to Princeton's mod. If for any reason a modification you're running changes the template your User CP uses to another set of templates, find the custom set of templates that modification uses and make the edits there. Otherwise, these changes won't show up.)


Typical Template Edit

If you are not using Princeton's Enhanced USER CP interface, simple edit your USERCP_SHELL template. Find:
Code:
<tr><td class="thead">$vbphrase[settings_and_options]</td></tr>
Above add:
Code:
<tr><td class="thead">$vbphrase[living_avatars_options]</td></tr>
<tr><td class"alt2" nowrap="nowrap"><a class="smallfont" href="living_avatars.php?$session[sessionurl]">$vbphrase[edit_living_avatar]</a></td></tr>


OR



GTUserCP - Enhanced USERCP Interface + USERCP Menu Template Edit

If you are using Princeton's Enhanced USER CP interface, then you need to edit a different template then normal. Look for your GTUserCp Templates group.

In your GTPM_USERCP_SHELL template find:

Code:
<tr><td class="thead"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('settings_and_options')"><img id="collapseimg_settings_and_options" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_settings_and_options].gif" alt="" border="0" /></a> $vbphrase[settings_and_options]</td></tr>
Above add:
Code:
<tr><td class="thead"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('living_avatars_options')"><img id="collapseimg_living_avatars_options" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_living_avatars_options].gif" alt="" border="0" /></a> $vbphrase[living_avatars_options]</td></tr>
</tbody>
<tbody id="collapseobj_living_avatars_options" style="$vbcollapse[collapseobj_living_avatars_options]">
<tr><td class="alt2" nowrap="nowrap"><a class="smallfont" href="living_avatars.php?$session[sessionurl]">$vbphrase[edit_living_avatar]</a></td></tr>
</tbody>
<tbody>

Download Now

File Type: zip DJ's Living Avatars in AdminCP-UserCP.zip (239.7 KB, 136 views)

Screenshots

File Type: png Admin Screen 1.png (3.2 KB, 0 views)
File Type: jpg Admin Screen 2.jpg (79.8 KB, 0 views)
File Type: png User CP Screen.png (12.6 KB, 0 views)
File Type: jpg Edit Screen.jpg (72.2 KB, 0 views)

Show Your Support

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

Comments
  #42  
Old 12-20-2009, 12:14 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sidew View Post
when user go to
Code:
http://www.site.com/forum/living_avatars.php
its show blank pages only and nothing happens.

whats the problem?
It probably means you're missing the living_avatar template. When you imported the product, it should have been added to each of your styles.
Reply With Quote
  #43  
Old 12-21-2009, 02:32 AM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Digital Jedi View Post
**Update**
This update should correct the Admin CP problem everyone was having. Update your files and re-import the product XML.
Awe thank you that worked....
Reply With Quote
  #44  
Old 12-25-2009, 05:55 AM
Taurus1's Avatar
Taurus1 Taurus1 is offline
 
Join Date: Dec 2009
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you very much for this. It works great, and I have the link in my ACP. The place the link is not showing up is in the UCP. When clicking the edit avatar the normal one is there, but it is not on the left side as you show on your screenshot. I dont have any of those Enhanced interface mods installed, and I did the template edit you instruct to do in the USERCP_SHELL template. Still nothing!

Can you please help me here! Thanks!
Reply With Quote
  #45  
Old 12-25-2009, 06:36 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Taurus1 View Post
Thank you very much for this. It works great, and I have the link in my ACP. The place the link is not showing up is in the UCP. When clicking the edit avatar the normal one is there, but it is not on the left side as you show on your screenshot. I dont have any of those Enhanced interface mods installed, and I did the template edit you instruct to do in the USERCP_SHELL template. Still nothing!

Can you please help me here! Thanks!
Do you have any modifications that make changes or add to the User CP installed on your forum besides this modification?
Reply With Quote
  #46  
Old 02-10-2010, 10:38 PM
Redneck-Melly Redneck-Melly is offline
 
Join Date: Mar 2008
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is not working on my forum at all, the link in User CP works but my LA is not showing.
Attached Images
File Type: jpg ela.jpg (103.6 KB, 0 views)
Reply With Quote
  #47  
Old 02-10-2010, 11:06 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Redneck-Melly View Post
This is not working on my forum at all, the link in User CP works but my LA is not showing.
Post a link and test account so I can take look at it.
Reply With Quote
  #48  
Old 02-10-2010, 11:35 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm able to view it just fine.
Attachment 112072

I can't access LA's adminstrative features though. Double check those and see if maybe you've locked out a Usergroup your in from accessing LA, or maybe you have JavaScript disabled in your browser.
Reply With Quote
  #49  
Old 02-10-2010, 11:58 PM
Redneck-Melly Redneck-Melly is offline
 
Join Date: Mar 2008
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How weird, Java is enabled, so I'm not sure why...
Reply With Quote
  #50  
Old 02-11-2010, 12:01 AM
Redneck-Melly Redneck-Melly is offline
 
Join Date: Mar 2008
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe its my browser because I see it fine in Google Chrome but I can't make it out at all in Opera.
Reply With Quote
  #51  
Old 02-11-2010, 12:11 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It appears there's a problem with iFrames and Opera. I think Dynamic Drive has an update for that somewhere, but I'll have to look into it.
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 07:41 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.04903 seconds
  • Memory Usage 2,361KB
  • Queries Executed 28 (?)
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
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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
  • (6)postbit_attachment
  • (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_postinfo_query
  • fetch_postinfo
  • 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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete