|
#1
|
||||
|
||||
Poster link in Upload?
hello, i need a poster link in upload:D
Source: TT V2.7 Last edited by joeroberts; 10th March 2015 at 03:59. |
#2
|
|||
|
|||
What I do when I need things like this - just take field where you enter torrent name (which shows up in browse.php) and remake it for poster. For example, if you have name=\"title\" just make it name=\"poster\". Do it in upload.php and takeupload.php and then just add in database field called "poster" which is text, default is empty and it's not longer for 255 or 300 or whatever. That's all for most part.
|
#3
|
||||
|
||||
poster link in upload lol will need alot more than that in there mat22 to get that working.
i have this for 2.08, it combines with imdb mod. if no poster added BUT imdb link added, it will pull poster in. so will need some workto take parts out OR if you have imdb installed it wont be so hard
__________________
"FFS PPL READ GOD DAMMIT, WHAT AM I GOOGLE?" "I Kill You!" simples
|
#4
|
||||
|
||||
ok daffy thx for advice
Last edited by Krypto; 30th March 2013 at 07:58. Reason: No need to Quote the post above |
#5
|
|||
|
|||
Quote:
|
#6
|
||||
|
||||
ok
__________________
"FFS PPL READ GOD DAMMIT, WHAT AM I GOOGLE?" "I Kill You!" simples
|
#7
|
|||
|
|||
Here is what I'm using.
upload.php Code:
tr($tracker_lang['img_poster'], $tracker_lang['avialable_formats'].": .gif .jpg .png<br /><b><u>Paraugs:</u></b> http://www.filebitz.org/pic/smilies/yes.gif<br /><br /><input type=\"text\" name=\"poster\" size=\"80\">\n", 1); Code:
$poster = $_POST["poster"]; if ($poster) { if (!preg_match('(gif|jpg|jpeg|png|JPG|PNG|GIF|JFIF|Exif|TIFF|RAW|BMP|PM|PGM|PBM|PNM)', $poster)) stderr("Wrong picture format!"); } Code:
$poster = "<img width=\"212\" border='0' src='".$row['poster']."' />"; if (!empty($row["poster"])) { tr($tracker_lang['img_poster'], $poster, 1); } |
#8
|
||||
|
||||
ok let me smoke my spliff and il post the mod up for this.
__________________
"FFS PPL READ GOD DAMMIT, WHAT AM I GOOGLE?" "I Kill You!" simples
|
#9
|
||||
|
||||
|
#10
|
|||
|
|||
Quote:
$tracker_lang lol tr |
Tags |
link , poster , upload |
|
|