Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Mods & Themes (http://www.bvlist.com/forumdisplay.php?f=93)
-   -   avatar in shout PMBT 2.4 REPACK (http://www.bvlist.com/showthread.php?t=5230)

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
Code:

U.avatar as avat,
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
Code:

U.id as uid,
add
Code:

U.avatar as avat,
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
Code:

U.avatar as avat,
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.


All times are GMT +2. The time now is 20:41.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.