Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > BT.Manager (phpMyBitTorrent) > Mods & Themes
Reply
  #1  
Old 24th August 2010, 03:33
daffy's Avatar
daffy daffy is offline
Senior Member
 
Join Date: Mar 2009
United Kingdom
Posts: 550
Default avatar in shout PMBT 2.4 REPACK
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 "<div class=\"".$utc3."\" onMouseOver=\"this.className='over';\" onMouseOut=\"this.className='$utc3';\"><p class=\"shout\" bgcolor=\"#53B54F\">";
replace with below
Code:
                                echo "<div class=\"".$utc3."\" onMouseOver=\"this.className='over';\" onMouseOut=\"this.className='$utc3';\"><p class=\"shout\" bgcolor=\"#53B54F\"><img width=\"45px\" src=\"avatars/".$shout["avat"]."\">";
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 "<div class=\"".$utc3."\" onMouseOver=\"this.className='over';\" onMouseOut=\"this.className='$utc3';\"><p class=\"shout\" bgcolor=\"#53B54F\">";
replace with below
Code:
                                echo "<div class=\"".$utc3."\" onMouseOver=\"this.className='over';\" onMouseOut=\"this.className='$utc3';\"><p class=\"shout\" bgcolor=\"#53B54F\"><img width=\"45px\" src=\"avatars/".$shout["avat"]."\">";


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 "<div class=\"".$utc3."\" onMouseOver=\"this.className='over';\" onMouseOut=\"this.className='$utc3';\"><p class=\"shout\" bgcolor=\"#53B54F\">";
replace with below
Code:
                                echo "<div class=\"".$utc3."\" onMouseOver=\"this.className='over';\" onMouseOut=\"this.className='$utc3';\"><p class=\"shout\" bgcolor=\"#53B54F\"><img width=\"45px\" src=\"avatars/".$shout["avat"]."\">";
in 2 places also.
Attached Images
 
__________________
"FFS PPL READ GOD DAMMIT, WHAT AM I GOOGLE?"
"I Kill You!" simples


http://i.imgur.com/DtcRfH5.gif

I also Setup And Modify Trackers PM For Details
Reply With Quote
The Following 3 Users Say Thank You to daffy For This Useful Post:
BitFarmer (4th March 2012), Phogo (1st September 2010), PopcornCat™ (18th April 2011)
Reply

Tags
24 , avatar , pmbt , repack , shout

Thread Tools

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 +2. The time now is 13:41. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.