Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Mods & Themes (http://www.bvlist.com/forumdisplay.php?f=109)
-   -   Reply to $USERNAME in shoutbox (http://www.bvlist.com/showthread.php?t=9007)

Chez 21st March 2013 11:43

Reply to $USERNAME in shoutbox
 
Hi guy's, can anyone help me with this mod?
Reply to $USERNAME in shoutbox

This is an example:

http://i.imgur.com/0xHh8tz.png
http://i.imgur.com/4uEo38d.png


Thanx in advance!

mat22 21st March 2013 15:21

This is for YSE but should work for TBDev if you make small modifications:

Chez 21st March 2013 18:34

I think is something more complex than that line but thanx anyway

mat22 21st March 2013 18:43

No this is what I am using on YSE source. Since it's based on TBDev it should work with it too if you edit it a bit. Trust me - this is the part you need.

Chez 22nd March 2013 09:10

Thanx m8, i've modified the code and it's working perfectely!:drink::friend:

mat22 22nd March 2013 10:32

Glad I was able to help. Cheers!:drink:

Demon-Cod3rs 2nd May 2015 11:13

http://www.bvlist.com/images/avatars...tar16443_5.gif Chez


post the code please :drink:

djlive 22nd May 2016 22:29

code for tbdev
 
$reply = ($CURUSER['id'] != $arr['userid'] ? "\",\"shbox\",\"shbox_text\")'>Reply" : "" );


add in shoutbox.php

:coffee:

Chez 24th May 2016 08:30

IN SHOUTBOX.PHP AFTER:

PHP Code:

if ($rowowner["class"] == "10")
$usercolor"<font color=#8b0000>" .htmlspecialchars($rowowner["username"]). "</font>";
elseif (
$rowowner["class"] == "9")
$usercolor"<font color=#FF0000>" .htmlspecialchars($rowowner["username"]). "</font>"

ADD:

PHP Code:

$reply "<a href='javascript:window.top.SmileIT(\"[b][i]=> [color=#".get_user_class_color($arr['class']) . "]".htmlspecialchars($arr['username'])."[/color] - [/i][/b]\",\"shbox\",\"shbox_text\")'><img height='12' widht='12' src='pic/comments.png' title='Reply' alt='Reply' style='border:none;' /></a>"

STILL IN SHOUTBOX.PHP FIND THIS LINE:

PHP Code:

print("<tr><td><font color=gray><span class='date'>".strftime("%d.%m | %H:%M",$arr["date"]).":.</font>
$del 

AFTER $del ADD $reply

Napon 26th May 2016 18:40

Quote:

Originally Posted by Chez (Post 48902)
IN SHOUTBOX.PHP AFTER:

PHP Code:

if ($rowowner["class"] == "10")
$usercolor"<font color=#8b0000>" .htmlspecialchars($rowowner["username"]). "</font>";
elseif (
$rowowner["class"] == "9")
$usercolor"<font color=#FF0000>" .htmlspecialchars($rowowner["username"]). "</font>"

ADD:

PHP Code:

$reply "<a href='javascript:window.top.SmileIT(\"[b][i]=> [color=#".get_user_class_color($arr['class']) . "]".htmlspecialchars($arr['username'])."[/color] - [/i][/b]\",\"shbox\",\"shbox_text\")'><img height='12' widht='12' src='pic/comments.png' title='Reply' alt='Reply' style='border:none;' /></a>"

STILL IN SHOUTBOX.PHP FIND THIS LINE:

PHP Code:

print("<tr><td><font color=gray><span class='date'>".strftime("%d.%m | %H:%M",$arr["date"]).":.</font>
$del 

AFTER $del ADD $reply


now is for 09 or for old old as it will not work in 09 yes in the old yes so if any one wants a up to date shoutbox.php pm me

this line i would have not put

PHP Code:

if ($rowowner["class"] == "10")
$usercolor"<font color=#8b0000>" .htmlspecialchars($rowowner["username"]). "</font>";
elseif (
$rowowner["class"] == "9")
$usercolor"<font color=#FF0000>" .htmlspecialchars($rowowner["username"]). "</font>"


joeroberts 26th May 2016 21:32

Quote:

Originally Posted by Napon (Post 48903)
now is for 09 or for old old as it will not work in 09 yes in the old yes so if any one wants a up to date shoutbox.php pm me

this line i would have not put

PHP Code:

if ($rowowner["class"] == "10")
$usercolor"<font color=#8b0000>" .htmlspecialchars($rowowner["username"]). "</font>";
elseif (
$rowowner["class"] == "9")
$usercolor"<font color=#FF0000>" .htmlspecialchars($rowowner["username"]). "</font>"


He did not say to add that line!!!!!!
If you want to get code from someone that can not even read then you well get what you Pay for!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

DND 26th May 2016 22:41

LOL why pm you !? you charge money only for that simple modification ?:coffee:

fireknight 27th May 2016 11:29

I am still trying to figure out what this means.

Quote:

Originally Posted by Napon (Post 48903)
now is for 09 or for old old as it will not work in 09 yes in the old yes so if any one wants a up to date shoutbox.php pm me



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

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