Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Template Shares
Reply
Thread Tools
  #1  
Old 3rd December 2009, 14:58
lovebeer's Avatar
lovebeer lovebeer is offline
Senior Member
 
Join Date: May 2009
Romania
Posts: 91
Default Shoutbox changes
Hi, I want to change the "e" and the "x" from the shoutbox to pictures.

In the shoutbox a message is like this:
Code:
[Hour] [e] [x] NAME  - Message
And I want to be like this:
Code:
[Hour] [Edit Image] [delete image] NAME - Message
Is this possible?
If is possible how can I do this?
Sorry for my bad english!
I'm using TSSE v5.6 DECODED (NULLED BY Nightcrawler)
__________________

Reply With Quote
  #2  
Old 3rd December 2009, 17:10
mondolfo mondolfo is offline
Senior Member
 
Join Date: Nov 2009
P2P
Posts: 18
Default
shoutbox folder > outputinfo> 47 line :P
Reply With Quote
  #3  
Old 3rd December 2009, 17:37
lovebeer's Avatar
lovebeer lovebeer is offline
Senior Member
 
Join Date: May 2009
Romania
Posts: 91
Default
Thanks m8 !
On line 47 was a code like this:
Code:
      $mod = '<a href="#" onClick="popup(\'shoutbox.php?do=edit&id=' . intval ($shout_row['id']) . $extralink . '\')">e</a> <a href="#" onClick="popup(\'shoutbox.php?do=delete&id=' . intval ($shout_row['id']) . $extralink . '\')">x</a>';
and I changed to this:
Code:
      $mod = '<a href="#" onClick="popup(\'shoutbox.php?do=edit&id=' . intval ($shout_row['id']) . $extralink . '\')"><img src="/shoutbox/edit.png" alt="Edit" /> </a> <a href="#" onClick="popup(\'shoutbox.php?do=delete&id=' . intval ($shout_row['id']) . $extralink . '\')"><img src="/shoutbox/cancel.png" alt="Cancel" /></a>';
Hope this will help other users
__________________

Reply With Quote
  #4  
Old 28th January 2010, 13:45
Marco Marco is offline
Senior Member
 
Join Date: Jun 2009
Seychelles
Posts: 327
Default
hello i wish to expand the option on shoutbox with a reply icon
something like this.

Click the image to open in full size.

any help will be apreciated...
i received some help from others but it's not finished.
anyone have the full mod please post here :)

later edit.
here i post the modifications made to my TS 5.6 nightcrawler version:

open /shoutbox/outputinfo.php

find:


Code:
$pics .= '<img src="' . $BASEURL . '/' . $pic_base_url . 'disabled.gif" alt="' . $lang->global['disabled'] . '"  title="' . $lang->global['disabled'] . '" border="0" style="vertical-align: middle; margin-center: 4pt; white-space: nowrap;" />
';
      }
add after
Code:
$ss='<a onclick="SmileIT(\''.$shout_row['username'].'\',\'shoutbox\',\'shouter_comment\');return false" href="#"><img src=\'target.gif\'></a>';
find:
Code:
  $shouter_name = '<a target="_blank" href="' . ts_seo ($shout_row['userid'], $shout_row['username']) . '">' . get_user_color ($shout_row['username'], $shout_row['namestyle']) . '</a> ' . $pics;
and modify in this way
Code:
$shouter_name = $ss.'<a target="_blank" href="' . ts_seo ($shout_row['userid'], $shout_row['username']) . '">' . get_user_color ($shout_row['username'], $shout_row['namestyle']) . '</a> ' . $pics;
i wish to make when i click the reply buton to show the usergroup color too

thanks

if i don't make myself understand please write here and try to translate better.
Reply With Quote
  #5  
Old 25th October 2010, 13:49
lateam's Avatar
lateam lateam is offline
Senior Member
 
Join Date: Apr 2009
France
Posts: 40
Smile Shoutbox changes
up the pic in the rootClick the image to open in full size.

open /include/languages/francais/global.lang.php

add

PHP Code:
'a'                =>' =>'
open /shoutbox/outputinfo.php

find:


PHP Code:
     $pics .= '<img src="' $BASEURL '/' $pic_base_url 'disabled.gif" alt="' $lang->global['disabled'] . '"  title="' $lang->global['disabled'] . '" border="0" style="vertical-align: middle; margin-center: 4pt; white-space: nowrap;" />
'
;
      } 
add after
PHP Code:
    $ss='<a onclick="SmileIT(\'[color=#FF0000]'.$shout_row['username'].'[/color]' $lang->global['a'] . '\',\'shoutbox\',\'shouter_comment\');return false" href="#"><img src=\'target.gif\' title="repondre"></a>'
find:
PHP Code:
       $shouter_name '<a target="_blank" href="' ts_seo ($shout_row['userid'], $shout_row['username']) . '">' get_user_color ($shout_row['username'], $shout_row['namestyle']) . '</a> ' $pics
and modify in this way
PHP Code:
     $shouter_name $ss.'<a target="_blank" href="' ts_seo ($shout_row['userid'], $shout_row['username']) . '">' get_user_color ($shout_row['username'], $shout_row['namestyle']) . '</a> ' $pics
Reply With Quote
  #6  
Old 25th October 2010, 18:25
Marco Marco is offline
Senior Member
 
Join Date: Jun 2009
Seychelles
Posts: 327
Default
hello :)

thx for your help but all users "respondre" in the same color [color=#FF0000[/color] => username => even he is owner (red ) or uploader (blue) they have the same color here they can't automatically send they collor ....
Reply With Quote
  #7  
Old 22nd February 2011, 11:21
EMPEREUR1 EMPEREUR1 is offline
Senior Member
 
Join Date: Sep 2010
P2P
Posts: 44
Default color groupe ????
hello how to change that color by color-group member
[color = # FF0000 [/ color] => username =>
Reply With Quote
  #8  
Old 22nd February 2011, 11:35
gabkoko's Avatar
gabkoko gabkoko is offline
Senior Member
 
Join Date: Aug 2010
P2P
Posts: 33
Default
Quote:
Originally Posted by EMPEREUR1 View Post
hello how to change that color by color-group member
[color = # FF0000 [/ color] => username =>
http://www.bvlist.com/tsse/5471-%5Bt...houtbox-3.html
Reply With Quote
Reply

Tags
shoutbox


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need a shoutbox on ySE pre 6 evaldas40 Yuna Scatari Edition (YSE) 1 2nd November 2009 01:44
Shoutbox.php makaka123 Yuna Scatari Edition (YSE) 0 25th July 2009 18:32
E/D Shoutbox Verix Template Shares 0 22nd May 2009 04:40
Mod shoutbox Edgein Mods & Themes 2 3rd March 2009 20:46
Shoutbox ReNeJcEk Torrent Strike 8 16th July 2008 22:51



All times are GMT +2. The time now is 17:54. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.