vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Major Additions - Living Avatars (https://vborg.vbsupport.ru/showthread.php?t=146200)

vidan 03-18-2009 05:36 AM

in the new version of LA 1.2.0
there is no more session.php in include.php
thats why error occurred.

this is how to integrate living avatar with vbcredit(on living avatar previous version)

PHP Code:

================================
Fileliving_avatars/index.php
================================
FIND:
--------------------------------
    
$points_remaining $userinfo['points'] - $item[cost];
--------------------------------
ADD BELOW:
--------------------------------
    
$DB->query("UPDATE " $GLOBALS['tableprefix'] . "user SET credits = " $points_remaining " WHERE userid = " $userinfo['userid']);


================================
Fileliving_avatars/includes/session.php
================================
FIND:
--------------------------------
    
$userpostcount $DB->query_first("SELECT posts AS value FROM " $foruminfo['table_prefix'] . "user WHERE userid = $userinfo[userid]");
--------------------------------
REPLACE WITH:
--------------------------------
    
$userpostcount $DB->query_first("SELECT credits AS value FROM " $foruminfo['table_prefix'] . "user WHERE userid = $userinfo[userid]");
--------------------------------
FIND:
--------------------------------
  
$userinfo['points'] = $userpostcount['value'] - $userinfo['points_spent'];
--------------------------------
REPLACE WITH:
--------------------------------
  
$userinfo['points'] = $userpostcount['value'];


================================ 

can you try to update it subduck?

asking 03-19-2009 03:32 AM

Please subduck?

vidan 03-19-2009 04:11 AM

yes pls subduck

JoyceBabu 03-19-2009 05:08 AM

This is simply superb :). Thanks a lot for a cool addon like this

codervietnam 03-19-2009 05:30 AM

how do I integrate..... this with vBCredits :(
the tutorials at http://www.vbcredits.com/forum/showthread.php?t=17 is not work with LA's new verison
Plz subduck
sry, my english is not good https://vborg.vbsupport.ru/external/2009/04/123.jpg
http://hsnsl.net

RvG2 03-19-2009 02:43 PM

1.2.1 has been released??

Mahar 03-19-2009 07:17 PM

This seems like a very very cool idea....but I need to know some things first.
  1. Does it have to be both the boy and girl together?
  2. Can my users change the name of their avatar aside from Claire and Tyler?
  3. Are there video game related packs for clothing?
  4. Can I edit how many point my users should get per post, thread etc?
  5. Can I edit the price of the items I'm selling?

Those are just a few...if all of those are possible, you definitely have another download.

Adromir 03-19-2009 07:22 PM

1. No
2. Dont know
3. If not, you can make them on zour own
4. Yes
5. Yes

Habtopia 03-19-2009 08:35 PM

1 Attachment(s)
Awesome mod!, all though i dont have it turned on yet until i have finished making my packs (which takes a while :( ).

Heres the avatar i made while testing :)

jellykelly 03-21-2009 03:13 AM

Ok, it must be the medication, but I am having issues installing this or finding out if I installed this.
I downloaded it, unzipped it, uploaded the folder, ran the setup, deleted the setup folder. I went to the admin panal to click the link button and that's where I stall out. Any help would be greatly appreciated. This is such a great idea. I know the moms on my site will have a great deal of fun with that. Thank you so much.

Jelly


All times are GMT. The time now is 06:03 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01964 seconds
  • Memory Usage 1,749KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete