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

Reply
 
Thread Tools
Details »»

Version: , by [JaGz] (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 02-23-2001 Last Update: Never Installs: 0
 
No support by the author.

Having problems installing Avatars on Vb 1.1.5 problems as in parts of the hack being Look for so and so and add this after i cant find some of the lines for this is there a fix for 1.1.5 Avatars 2.0 work on 1.15 please help thanks alot

Show Your Support

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

Comments
  #2  
Old 02-26-2001, 10:07 AM
Guest
 
Posts: n/a
Default

do a search about avatar 2.0 and you will find many thing intestering i remember havinh such a problem when i install it on my 1.1.5 forum but can't remember....its something about a coma or some """ anyway you will make your way the treat have many pages and descripe all kind of problem....

have a nice day
Reply With Quote
  #3  
Old 02-26-2001, 10:31 AM
Guest
 
Posts: n/a
Default

You're probably talking about this line in showthread.php:
$userinfo=$DB_site->query_first("SELECT userid,email,username,usertitle,signature,showemai l,homepage,icq,aim,yahoo,joindate,posts FROM user WHERE userid=$userid");

It was rewritten in 1.1.5 and the line changed to:
Quote:
$posts=$DB_site->query("SELECT post.dateline as dateline,post.postid as postid,post.pagetext as pagetext, <some part removed here> ,user.posts as posts FROM post <removed>
Add ,user.iconpath as iconpath after user.posts as posts so the line looks like this:
Quote:
$posts=$DB_site->query("SELECT post.dateline as dateline,post.postid as postid,post.pagetext as pagetext, <some part removed here> ,user.posts as posts,user.iconpath as iconpath FROM post <removed>
Hope I'm correct. Give it a try and let us know.
Reply With Quote
  #4  
Old 02-26-2001, 10:52 AM
Guest
 
Posts: n/a
Default

i think is this too
Reply With Quote
  #5  
Old 02-26-2001, 01:02 PM
Guest
 
Posts: n/a
Default

G8 Thanks alot for your help
Reply With Quote
  #6  
Old 02-26-2001, 08:55 PM
Guest
 
Posts: n/a
Default

Thanks for your help has gotten me father than i have goten before.. But now i am getting this error

Database error in vBulletin: Invalid SQL: SELECT
daysprune,lastvisit,lastactivity,cookieuser,userna me,password,usergroupid,timezo neoffset,iconpath
FROM user WHERE userid=3
mysql error: Unknown column 'iconpath' in 'field list'
mysql error number: 1054

my showthread.php is as follows

$counter=0;
$posts=$DB_site->query("SELECT post.dateline as dateline,post.postid as postid,post.pagetext as pagetext,
post.allowsmilie as allowsmilie,post.signature AS showsignature,post.title as title,
post.ipaddress as ipaddress,post.iconid as iconid,post.username as fakename,
post.userid as userid,
user.userid as userid,user.email as email,user.username as username,
user.usertitle as usertitle,user.signature as signature,user.showemail as showemail,
user.homepage as homepage,user.icq as icq,user.aim as aim,user.yahoo as yahoo,
user.joindate as joindate,user.user.iconpath as iconpath FROM post
LEFT JOIN user ON (user.userid = post.userid)
WHERE post.threadid=$threadid AND visible=1
ORDER BY dateline $postorder
LIMIT $limitlower,$perpage");

global.php
$bbusergroupid=1;

if (isset($bbuserid)!=0 and $bbuserid!=0 and isset($bbpassword)!=0) {

$bbuserid=$bbuserid;
if ($userinfo=$DB_site->query_first("SELECT daysprune,lastvisit,lastactivity,cookieuser,userna me,password,usergroupid,timezo neoffset,iconpath FROM user WHERE userid=$bbuserid")) {
if ($bbpassword==$userinfo[password] or $bbpassword==substr(md5($userinfo[password]),0,strlen($userinfo[password]))) {
if (isset($daysprune)==0 or $daysprune==0) {
$daysprune=$userinfo[daysprune];
}
Thx if ya can help
Reply With Quote
  #7  
Old 02-27-2001, 07:47 AM
Guest
 
Posts: n/a
Default

Quote:
user.user.iconpath as iconpath
Correct to user.iconpath as iconpath


Also, be sure you ran update.php. It creates neccessary tables in the database.
Reply With Quote
  #8  
Old 02-27-2001, 07:48 PM
Guest
 
Posts: n/a
Default

Thank you all is working now i have 2 avatars showing but i think i can fix that thanks to all who help me
Reply With Quote
  #9  
Old 03-04-2001, 01:20 PM
Guest
 
Posts: n/a
Default

Where do you have avatars 1.1.5 from?
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:27 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.04600 seconds
  • Memory Usage 2,258KB
  • Queries Executed 24 (?)
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_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)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
  • 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