The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
DJ's Living Avatars User CP/Admin CP "Integration" Details »» | ||||||||||||||||||||||||||||||||
DJ's Living Avatars User CP/Admin CP "Integration"
Developer Last Online: Sep 2023
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
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> 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> 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> 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
Screenshots
Show Your Support
|
Comments |
#32
|
||||
|
||||
I have just installed this and I am not getting the menu in my admincp as listed in the directions
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. I have made sure the xml file is in the correct location |
#33
|
||||
|
||||
Quote:
|
#34
|
|||
|
|||
not showing in ACP, also found that when using the this mod below that the link will not show up in UCP
https://vborg.vbsupport.ru/showthrea...170558&page=18 |
#35
|
||||
|
||||
Quote:
Quote:
|
#36
|
||||
|
||||
Im getting frustrated because I have everything installed as noted and not using any of these mods GTUserCP - Enhanced USERCP Interface + USERCP Menu but yet I still cant get the links to showup in admincp ???????
|
#37
|
||||
|
||||
Quote:
Like I said, if you can give me temp access to your Admin CP and I can try and troubleshoot for you. At least, maybe, I can root out the cause problem. But until then, I can't even hazard a guess. |
#38
|
|||
|
|||
Hi there
The reason why it does not show up in member's admincp navigation is because there is a slight error in your cpnav_living_avatars.xml file. I have highlighted in purple what needs to be altered to correct this. Code:
<?xml version="1.0" encoding="ISO-8859-1"?> <navgroups product="djs_la_usercp_admincp"> <navgroup text="Living Avatars" displayorder="185"> <navoption displayorder="10"> <phrase>la_acp_groups_and_items</phrase> <link>../living_avatars/admin/groups_and_items.php</link> </navoption> <navoption displayorder="20"> <phrase>la_acp_install_new_items</phrase> <link>../living_avatars/admin/install_new_items.php</link> </navoption> <navoption displayorder="30"> <phrase>la_acp_settings</phrase> <link>../living_avatars/admin/settings.php</link> </navoption> <navoption displayorder="40"> <phrase>la_acp_theme</phrase> <link>../living_avatars/admin/theme.php</link> </navoption> <navoption displayorder="50"> <phrase>la_acp_admins</phrase> <link>../living_avatars/admin/admins.php</link> </navoption> </navgroup> </navgroups> |
#39
|
||||
|
||||
Quote:
|
#40
|
||||
|
||||
**Update**
This update should correct the Admin CP problem everyone was having. Update your files and re-import the product XML. |
#41
|
|||
|
|||
when user go to
Code:
http://www.site.com/forum/living_avatars.php whats the problem? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|