Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > TBDev
Reply
  #11  
Old 5th January 2016, 03:38
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
Code:
stderr("", "<img src='pic/error.png' width='100%'>");
__________________
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
  #12  
Old 5th January 2016, 15:27
kOni kOni is offline
Senior Member
 
Join Date: Apr 2012
P2P
Posts: 17
Default
Quote:
Originally Posted by joeroberts View Post
Code:
stderr("", "<img src='pic/error.png' width='100%'>");



Thanks for the reply joeroberts, but if is possible...


Click the image to open in full size.
Reply With Quote
  #13  
Old 5th January 2016, 16:22
Chez's Avatar
Chez Chez is offline
Senior Member
 
Join Date: Sep 2011
P2P
Posts: 278
Default
Koni, you'll need to learn some CSS
__________________
http://www.bvlist.com/images/avatars/signaturepics/sigpic16443_2.gif
Reply With Quote
  #14  
Old 5th January 2016, 16:23
DND DND is offline
VIP
 
Join Date: Dec 2008
Posts: 1,241
Default
align=center ?
cellpadding
cellspacing ?
this is so pointless
__________________
Need HELP!? I can install:

  1. Server/VPS (Debian,CentOS,Ubuntu,Fedora, FreeBSD) Optimization and ... + Modules
  2. Webserver Windows/Linux (Apache/Lighttpd/Nginx/Mysql/PhpMyAdmin/SSL) Optimization and ... + Modules
  3. Seedbox Windows/Linux (uTorrent,rTorrent,libTorrent,ruTorrent) + Modules
  4. Multiple source code engines
  5. Linux Server Administration (security, cryptography/encryption, proxy, load balancer, custom ddos firewall)
Reply With Quote
  #15  
Old 5th January 2016, 17:06
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
Quote:
Originally Posted by kOni View Post
Thanks for the reply joeroberts, but if is possible...


Click the image to open in full size.
you well need to edit both the image and the .css file for that.
__________________
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
  #16  
Old 5th January 2016, 22:41
kOni kOni is offline
Senior Member
 
Join Date: Apr 2012
P2P
Posts: 17
Default
Quote:
Originally Posted by DND View Post
align=center ?
cellpadding
cellspacing ?
this is so pointless


You such ΜΑΛΑΚΑΣ
Reply With Quote
  #17  
Old 5th January 2016, 23:56
DND DND is offline
VIP
 
Join Date: Dec 2008
Posts: 1,241
Default
you are a wanker motherfucker..
didn't you thought i speak greek, right ? stupid A-HOLE !
please ban him.
__________________
Need HELP!? I can install:

  1. Server/VPS (Debian,CentOS,Ubuntu,Fedora, FreeBSD) Optimization and ... + Modules
  2. Webserver Windows/Linux (Apache/Lighttpd/Nginx/Mysql/PhpMyAdmin/SSL) Optimization and ... + Modules
  3. Seedbox Windows/Linux (uTorrent,rTorrent,libTorrent,ruTorrent) + Modules
  4. Multiple source code engines
  5. Linux Server Administration (security, cryptography/encryption, proxy, load balancer, custom ddos firewall)
Reply With Quote
  #18  
Old 6th January 2016, 01:31
kOni kOni is offline
Senior Member
 
Join Date: Apr 2012
P2P
Posts: 17
Default
Quote:
Originally Posted by DND View Post
you are a wanker motherfucker..
didn't you thought i speak greek, right ? stupid A-HOLE !
please ban him.
ban my ass ΓΑΜΗΜΕΝΕ from the start you are fooling. ΓΑΜΩ ΤΟΝ ΚΩΛΟ ΣΟΥ ΣΕ ΓΑΜΑΩ ΠΑΛΙΟΠΟΥΣΤΑ.
Reply With Quote
  #19  
Old 6th January 2016, 03:26
DND DND is offline
VIP
 
Join Date: Dec 2008
Posts: 1,241
Default
go and read a book. you dont even know proper english
__________________
Need HELP!? I can install:

  1. Server/VPS (Debian,CentOS,Ubuntu,Fedora, FreeBSD) Optimization and ... + Modules
  2. Webserver Windows/Linux (Apache/Lighttpd/Nginx/Mysql/PhpMyAdmin/SSL) Optimization and ... + Modules
  3. Seedbox Windows/Linux (uTorrent,rTorrent,libTorrent,ruTorrent) + Modules
  4. Multiple source code engines
  5. Linux Server Administration (security, cryptography/encryption, proxy, load balancer, custom ddos firewall)
Reply With Quote
  #20  
Old 6th January 2016, 06:18
fireknight's Avatar
fireknight fireknight is offline
Administrator
 
Join Date: Aug 2010
Australia
Posts: 173
Default
Even altering the css, won't help much to be honest.
I think kOni you are using 08 source code.

Lets take a look at the functions.

Code:
function stderr($heading, $text)
{
  stdhead();
  stdmsg($heading, $text);
  stdfoot();
  die;
}
The standard error is calling on the standard message function

Code:
function stdmsg($heading, $text)
{
  print("<table class=main width=750 border=0 cellpadding=0 cellspacing=0><tr><td class=embedded>\n");
  if ($heading)
    print("<h2>$heading</h2>\n");
  print("<table width=100% border=1 cellspacing=0 cellpadding=10><tr><td class=text>\n");
  print($text . "</td></tr></table></td></tr></table>\n");
}
The table surrounding the $text ( or in this case an image ).
Has been hard coded to include a border of 1px.
So no matter what you change in the css, the hard coding will over rule the css.

You would be better of creating 2 new functions to cater for image error messages.
Then alter the setting to go with the images.

Example
Code:
function std_img_err($heading, $text)
{
  stdhead();
  std_img_msg($heading, $text);
  stdfoot();
  die;
}

function std_img_msg($heading, $text)
{
  print("<table class=main width=750 align=center border=0 cellpadding=0 cellspacing=0><tr><td class=embedded align=center border=0>\n");
  if ($heading)
    print("<h2>$heading</h2>\n");
  print("<table width=100% align=center border=0 cellspacing=0 cellpadding=10><tr><td class=text align=center border=0>\n");
  print($text . "</td></tr></table></td></tr></table>\n");
}
Then where you want to use the images for stderr("", "<img src='pic/error.png' width='100%'>");

You would use something like this instead std_img_err("", "<img src='pic/error.png' width='100%'>");

I hope this will be of some help to you.

There are other ways of doing it, you could create new classes of tables and td.
Then create new css styles to go with the new classes.
Reply With Quote
Reply

Tags
error , msg

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