|
#1
|
||||
|
||||
Reply to $USERNAME in shoutbox
Hi guy's, can anyone help me with this mod?
Reply to $USERNAME in shoutbox This is an example: Thanx in advance!
__________________
|
#2
|
|||
|
|||
This is for YSE but should work for TBDev if you make small modifications:
Code:
<a href='userdetails.php?id=".$arr->userid."' onClick=\"parent.document.shoutform.shout.focus();parent.document.shoutform.shout.value='[".$arr->username."] '+parent.document.shoutform.shout.value;return false;\"><span style='font-weight:bold;'>".get_user_class_color_bold($arr->class, $arr->username)."</span></a> |
The Following User Says Thank You to mat22 For This Useful Post: | ||
Chez (22nd March 2013)
|
#3
|
||||
|
||||
I think is something more complex than that line but thanx anyway
__________________
|
#4
|
|||
|
|||
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.
|
#5
|
||||
|
||||
Thanx m8, i've modified the code and it's working perfectely!
__________________
|
#6
|
|||
|
|||
Glad I was able to help. Cheers!
|
#8
|
|||
|
|||
code for tbdev
$reply = ($CURUSER['id'] != $arr['userid'] ? "<a href='javascript:window.top.SmileIT(\" to ".htmlspecialchars($arr['username'])." -\",\"shbox\",\"shbox_text\")'><img height='10' img src='/pic/reply.png' title='Reply' alt='Reply' style='border:none;' /></a>" : "" );
add in shoutbox.php |
#9
|
||||
|
||||
IN SHOUTBOX.PHP AFTER:
PHP Code:
PHP Code:
PHP Code:
__________________
|
#10
|
|||
|
|||
Quote:
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:
|
Tags |
$username , reply , shoutbox |
|
|