daffy |
24th August 2010 03:33 |
avatar in shout PMBT 2.4 REPACK
1 Attachment(s)
now working with 2.4 repack :d
open blocks/shoutbox.php
find
Code:
$sql = "SELECT S.*, U.id as uid,
add after
so looks like
Code:
$sql = "SELECT S.*, U.id as uid, U.avatar as avat,
find
Code:
echo "
replace with below
Code:
echo "";
THIS IS IN 2 PLACES.. close and save
now open ajax.php in root
search for
Code:
case 'view_shout':{
and
Code:
$sql = "SELECT S.*, U.id as uid, U.can_do as can_do,
after
add
so looks like this
Code:
$sql = "SELECT S.*, U.id as uid, U.avatar as avat, U.can_do as can_do,
find
Code:
echo "
replace with below
Code:
echo "";
search again for
Code:
if($shout_config['allow_url'] == "no")$shout = str_links($shout);
just below find
Code:
if(!isset($sendto))$sql = "SELECT S.*, U.id as uid,
add after
so looks like
Code:
if(!isset($sendto))$sql = "SELECT S.*, U.id as uid, U.avatar as avat,
and below
Code:
$sql = "SELECT S.*, U.id as uid,
make it like below
Code:
$sql = "SELECT S.*, U.id as uid, U.avatar as avat,
find
Code:
echo "
replace with below
Code:
echo "";
in 2 places also.
|