Bravo List
Register
Go Back   > Bravo List > Source Code > Active Trackers > BT.Manager (phpMyBitTorrent)
Reply
  #1  
Old 19th March 2011, 08:37
snip07's Avatar
snip07 snip07 is offline
Member
 
Join Date: Mar 2011
P2P
Posts: 11
Default How to remove date before the name in shoutbox?
Hi guys, I'm new to using this script. How do I remove the dates everytime a user chats in the shoutbox? Thanks
Reply With Quote
  #2  
Old 19th March 2011, 11:52
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,112
Default
there well be a few areas you well need to edit

first file is blocks/shoutbox.php
find
PHP Code:
[<span class=\"shout_time\">".$shout_time."</span>] 
and remove it there is 2 counts there

Now open ajax.php and do the same there is 5 counts there.
Now open shoutdetach.php and remove the 2 counts there.
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Managerô forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
  #3  
Old 19th March 2011, 12:18
snip07's Avatar
snip07 snip07 is offline
Member
 
Join Date: Mar 2011
P2P
Posts: 11
Default
Thank you! It worked :D
Reply With Quote
  #4  
Old 8th July 2011, 17:22
wMan's Avatar
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Question
Quote:
Originally Posted by joeroberts View Post
there well be a few areas you well need to edit

first file is blocks/shoutbox.php
find
PHP Code:
[<span class=\"shout_time\">".$shout_time."</span>] 
and remove it there is 2 counts there

Now open ajax.php and do the same there is 5 counts there.
Now open shoutdetach.php and remove the 2 counts there.
do i remoove ?
PHP Code:
$shout_time gmdate("Y-m-d H:i:s"sql_timestamp_to_unix_timestamp($shout['posted'])+(60 get_user_timezone($user->id))); 
do i remove all this line
PHP Code:
."[<span class=\"shout_time\">".$shout_time."</span>] 
Reply With Quote
Reply

Tags
date , remove , shoutbox

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 00:05. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2021, vBulletin Solutions Inc.