Version: , by (Guest)
Developer Last Online: Jan 1970
Version: Unknown
Rating:
Released: 11-19-2000
Last Update: Never
Installs: 0
No support by the author.
Hi,
I have got to this step in the avatar 2.0 install guide:
Code:
[showthread.php]
Find:
~~~~~~~~~~
$userinfo=$DB_site->query_first("SELECT userid,email,username,usertitle,signature,showemail,homepage,icq,aim,yahoo,joindate,posts FROM user WHERE userid=$userid");
~~~~~~~~~~
Change to:
(Add ",iconpath" before "FROM")
~~~~~~~~~~
$userinfo=$DB_site->query_first("SELECT userid,email,username,usertitle,signature,showemail,homepage,icq,aim,yahoo,joindate,posts,iconpath FROM user WHERE userid=$userid");
~~~~~~~~~~
The problem is that in the showthread.php I can not find
Code:
$userinfo=$DB_site->query_first("SELECT userid,email,username,usertitle,signature,showemail,homepage,icq,aim,yahoo,joindate,posts FROM user WHERE userid=$userid");
Anyone know how to get this hack working?
Thanks,
Nick
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
$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,post.pollid as pollid,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.posts as posts,user.receivepm as receivepm,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");
Just add user.iconpath as iconpath
I have some other hacks installed so do not copy all this line.
$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,post.pollid as pollid,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.posts as posts,user.receivepm as receivepm,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");
Just add user.iconpath as iconpath
I have some other hacks installed so do not copy all this line.
There seems to have been a slight problem with the database. Please try again by pressing the refresh button in your browser.
An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.
We apologise for any inconvenience.
The Email says this:
Code:
Database error in vBulletin: Invalid SQL: SELECT daysprune,lastvisit,lastactivity,cookieuser,username,password,usergroupid,timezoneoffset,iconpath FROM user WHERE userid=1
mysql error: Unknown column 'iconpath' in 'field list'
mysql error number: 1054
Date: Sunday 19th of November 2000 02:45:47 PM
Script: /forum/update.php
Referer: