Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > TBDev
Reply
  #1  
Old 1st March 2010, 19:30
lovebeer's Avatar
lovebeer lovebeer is offline
Senior Member
 
Join Date: May 2009
Romania
Posts: 91
Default ballon tooltip poster+informations problem
Hi, I started to edit my ballon tooltip but I'm lost.

This is what I've done:

Click the image to open in full size.



And I want it to be aligned like here:

Click the image to open in full size.


Here is my code for the ballon tooltip:

PHP Code:
$poster3 "<table border=0 class=embedded cellspacing=0><td border=0 class=embedded align=center width=150 height=220><b>$dispname</b><br><img src=$poster width=150 height=220></td><br><br><font size=1><br><td><DIV ALIGN=left><b><center>Added:</b><br>"str_replace(" "" "$row["added"]) ."<br>$description<br><b>Files:</b>" $row["numfiles"] . "<br><b>Comments:</b>"$row["comments"] ."</center></font></td></DIV>";
         }
         else
$poster3 "<table border=1 class=embedded cellspacing=0><td border=1 class=embedded align=center width=150 height=220><b>$dispname</b><br><img src=poster.jpg width=150 height=220></td><br><br><font size=1><br><td><DIV ALIGN=left><b><center>Added:</b><br>"str_replace(" "" "$row["added"]) ."<br>$description<br><b>Files:</b>" $row["numfiles"] . "<br><b>Comments:</b>"$row["comments"] ."</center></font></td></DIV>"
Please help me, I can't align it like there.
__________________

Reply With Quote
  #2  
Old 2nd March 2010, 08:05
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
Quote:
Originally Posted by lovebeer View Post
Hi, I started to edit my ballon tooltip but I'm lost.

This is what I've done:
And I want it to be aligned like here:
Here is my code for the ballon tooltip:

Please help me, I can't align it like there.
that code is way off on being HTML compliant!
you opened with table and closed with DIV you also forgot to add the tr
Im not realy sure how TBDev generates a date like today yesterday ........

or how you want or how it is generated for Ratings
so I cant help you there

If you could post that should be like $rating and $added or something like that

I could probly help you better but All I can do now is fix what you posted

But any way HTML wize this would be closer
HTML Code:
<table  border="1" class="embedded" cellspacing="0"><tr><td>lable</td></tr><tr><td border="1" class="embedded" align=center width="300" height="220"><table width="100%"><tr><td border="1" class="embedded" align=center width="150" height="220"><img src=poster.jpg width=150 height=220></td><td border="1" class="embedded" align=center width="150" height="220"><table><tr><td ALIGN=left><b>Added:</b></td><td ALIGN=right>11.11.2010</td></tr><tr><td><b>Files:</b></td><td ALIGN=right>111</td></tr><tr><td ALIGN=left><b>Comments:</b></td><td ALIGN=right>25</td></tr></table></td></tr></table></td></tr></table>
__________________
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 2nd March 2010, 11:11
Zuby's Avatar
Zuby Zuby is offline
Senior Member
 
Join Date: Sep 2009
P2P
Posts: 101
Default
doesn't work joe.
Code:
Parse error: syntax error, unexpected T_LNUMBER in /var/www/include/bittorrent.php on line 1160
Reply With Quote
  #4  
Old 2nd March 2010, 12:35
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
that is html code M8 not php

PHP Code:
$poster3 "<table  border=\"1\" class=\"embedded\" cellspacing=\"0\"><tr><td>lable</td></tr><tr><td border=\"1\" class=\"embedded\" align=center width=\"300\" height=\"220\"><table width=\"100%\"><tr><td border=\"1\" class=\"embedded\" align=center width=\"150\" height=\"220\"><img src=poster.jpg width=150 height=220></td><td border=\"1\" class=\"embedded\" align=center width=\"150\" height=\"220\"><table><tr><td ALIGN=left><b>Added:</b></td><td ALIGN=right>11.11.2010</td></tr><tr><td><b>Files:</b></td><td ALIGN=right>111</td></tr><tr><td ALIGN=left><b>Comments:</b></td><td ALIGN=right>25</td></tr></table></td></tr></table></td></tr></table>"
is PHP
Just remember the text and images are hard coded as it was only ment to be a sample

this is what My code looks like in action http://p2p-evolution.com/test.html
__________________
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
  #5  
Old 2nd March 2010, 17:35
lovebeer's Avatar
lovebeer lovebeer is offline
Senior Member
 
Join Date: May 2009
Romania
Posts: 91
Default
I tried to fix it, but I can't do it.
I tried your code but the browse.php page looks like this now:

Click the image to open in full size.
__________________

Reply With Quote
  #6  
Old 3rd March 2010, 03:50
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
Quote:
Originally Posted by lovebeer View Post
I tried to fix it, but I can't do it.
I tried your code but the browse.php page looks like this now:

Click the image to open in full size.
whos did you try?
__________________
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
  #7  
Old 3rd March 2010, 09:30
Zuby's Avatar
Zuby Zuby is offline
Senior Member
 
Join Date: Sep 2009
P2P
Posts: 101
Default
on my tracker it show same .. like lovebeer
Reply With Quote
  #8  
Old 3rd March 2010, 13:46
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
can you show me the edited page please?
__________________
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
  #9  
Old 3rd March 2010, 15:22
lovebeer's Avatar
lovebeer lovebeer is offline
Senior Member
 
Join Date: May 2009
Romania
Posts: 91
Default
Here is my bittorrent.php, the poster code is at lines 1309-1313
Attached Files
File Type: php bittorrent.php (49.8 KB, 8 views)
__________________

Reply With Quote
  #10  
Old 3rd March 2010, 15:30
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
change line
1312 to
PHP Code:
        $poster3 "<table  border=1 class=embedded cellspacing=0><tr><td>$dispname</td></tr><tr><td border=1 class=embedded align=center width=300 height=220><table width=100%><tr><td border=1 class=embedded align=center width=300 height=220><img src=poster.jpg width=150 height=220></td><td border=1 class=embedded align=center width=300 height=220><table><tr><td ALIGN=left><b>Added:</b></td><td ALIGN=right>"str_replace(" "" "$row["added"]) ."</td></tr><tr><td><b>Files:</b></td><td ALIGN=right>" $row["numfiles"] . "</td></tr><tr><td ALIGN=left><b>Comments:</b></td><td ALIGN=right>"$row["comments"] ."</td></tr></table></td></tr></table></td></tr></table>"
it was missing forward slashes
__________________
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/

Last edited by joeroberts; 4th March 2010 at 03:46.
Reply With Quote
Reply

Tags
ballon , informations , poster , problem , tooltip

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Poster mod toksskey TBDev 4 16th January 2014 11:10
poster/images with glossy effect daffy Mods & Themes 0 28th June 2010 14:50
ballon tooltip problem lovebeer Community Cafe 2 24th February 2010 17:20
details.php - Poster carloscorp Torrent Strike 2 8th November 2008 20:34
Ballon tooltips ivdweb Yuna Scatari Edition (YSE) 1 29th October 2008 14:29



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