Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   SZ Edition (http://www.bvlist.com/forumdisplay.php?f=24)
-   -   How add to image ? (http://www.bvlist.com/showthread.php?t=8086)

kutup95 26th June 2012 17:49

How add to image ?
 
i installed sz edition .

and upload torrents , but not add image ? how to add image ?


http://retracker.local/announce this tracker , auto add torrent ?

how to deletede this tracker ?

plaese help me :sos:


           
           
         
templates\bithdtv\details_edit.html

ADD
Code:

 

   

   

 

templates\bithdtv\upload_body.html

ADD
Code:

 

   

   

 


languages\........\lang_main.php

ADD
Code:

                'image' => 'Image',
                'image_mod' => 'Image edit',



http://kepfeltoltes.hu/130426/011_ww...toltes.hu_.png

http://kepfeltoltes.hu/130426/012_ww...toltes.hu_.png

http://kepfeltoltes.hu/130426/013_ww...toltes.hu_.png
lekszikov 26th April 2013 11:17

Sorry i bad englis..

details.php


Code:


$announce_urls[] = $announce;
//$announce_urls[] = 'http://retracker.local/announce';



Image add torrent

Code:

398. $sql = 'SELECT t.seeders, t.banned, t.leechers, t.info_hash, ......

ADD
t.image,



459. $description = $row['descr'];

ADD
$imageiption = $row['image'];


490. $template->assign_vars( array(
'MESSAGE1' => $message1,
'MESSAGE2' => $message2,
.......

ADD
'IMAGEIPTION' => $imageiption,



upload.php

Code:


67. $descr = request_var('descr', '');

ADD
$image = request_var('image', '');


70.        if ( !$name || !$descr |.....

ADD
| !$image |



77.        if ( $type == 'request' ) {
                $sql_ary = array('hits'    => 1,
                          'userid'  => $userdata['uid'],
                          'cat'    => $cat_id,
                          'request' => $name,
                          'descr'  => $descr,

ADD
'image'  => $image,

100.        elseif ( $type == 'offer' ) {
                $sql_ary = array('userid'  => $userdata['uid'],
                          'category' => $cat_id,
                          'name'    => $name,
                        'descr'    => $descr,


ADD
'image'  => $image,


189.  $sql_ary = array('filename'    => $fname,
                                                'owner'      => $userdata['uid'],
                                                'info_hash'  => $infohash,
                                                'name'        => $name,
                                                'size'        => $totallen,
                                                'numfiles'    => sizeof($filelist),
                                                'descr'      => $descr,

ADD
'image'  => $image,


255.        $descr = request_var('descr', '');

ADD
$image = request_var('image', '');


279.        $template->assign_vars(array(
                'S_FORM_ACTION' => append_sid('upload.php'),
                'FORM_ENCTYPE' => ( $type == 'main' ?  ' enctype="multipart/form-data"' : '' ),
                'MAX_TORRENT_SIZE' => $config['max_torrent_size'],
                'NAME' => $name,
                'DESCRIPTION' => $descr,


ADD
'IMAGEIPTION' => $image,



287.        $bb_code = new bbcode($descr);
288.        $descr = $bb_code->get_html();
289.        $descr = censor_text($descr);

ADD
$bb_code = new bbcode($image);
$image = $bb_code->get_html();
$image = censor_text($image);


SQL file
image_add_torrent.sql

Code:

ALTER TABLE torrents add image text;

Themes edit

templates\bithdtv\details.html


ADD
Code:


       
{L_IMAGE}

        {L_IMAGE_MOD}
{L_IMAGE}


All times are GMT +2. The time now is 02:38.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.