Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Template Shares
Reply
  #21  
Old 16th June 2012, 16:30
steven2007 steven2007 is offline
Senior Member
 
Join Date: Jul 2011
Belgium
Posts: 46
Default
top_last.php

the error in more browser says to you which is not correct!
either the path is missing oder' wrong or it finds the file not!
try this file
Reply With Quote
  #22  
Old 17th June 2012, 02:49
johnbrakes johnbrakes is offline
Senior Member
 
Join Date: Feb 2012
Italy
Posts: 15
Default
Ok solved the previous problem, but not xchè viewing pictures of the new torrent in the box that I've marked in red?

Click the image to open in full size.
Reply With Quote
  #23  
Old 18th June 2012, 08:18
steven2007 steven2007 is offline
Senior Member
 
Join Date: Jul 2011
Belgium
Posts: 46
Default
Do you also have a Torrent highly loaded?
Reply With Quote
  #24  
Old 18th June 2012, 13:49
johnbrakes johnbrakes is offline
Senior Member
 
Join Date: Feb 2012
Italy
Posts: 15
Default
Hello I solved the previous plugin now another problem this time with the shoutbox, I posted two pictures and I do not see how the icons will appear on the internet explorer and firefox, what happened? Thank you for your help.



Click the image to open in full size.






Click the image to open in full size.

Last edited by johnbrakes; 19th June 2012 at 02:40.
Reply With Quote
  #25  
Old 19th June 2012, 09:54
steven2007 steven2007 is offline
Senior Member
 
Join Date: Jul 2011
Belgium
Posts: 46
Default
Look in folder Shoutbox/outputinfo.php whether the correct path for the images iss

The correct path iss

PHP Code:
<?

/***********************************************/

/*=========[TS Special Edition v.5.6]==========*/

/*=============[Special Thanks To]=============*/

/*        DrNet - wWw.SpecialCoders.CoM        */

/*          Vinson - wWw.Decode4u.CoM          */

/*    MrDecoder - wWw.Fearless-Releases.CoM    */

/*           Fynnon - wWw.BvList.CoM           */

/***********************************************/





  
define ('AS_VERSION''2.2.1 by xam');

  
define ('SKIP_LOCATION_SAVE'true);

  
define ('DEBUGMODE'false);

  
$rootpath './../';

  
define ('NcodeImageResizer'true);

  require_once 
$rootpath 'global.php';

  if (!
defined ('IN_SCRIPT_TSSEv56'))

  {

    exit (
'<font face=\'verdana\' size=\'2\' color=\'darkred\'><b>Error!</b> Direct initialization of this file is not allowed.</font>');

  }



  
dbconn ();

 function 
execcommand_pmmessage ($message '<div style="background: #FFECCE; border: 1px solid #EA5F00; padding-left: 5px;"><center>vous n avez plus acces a la shout! consulter votre message avant (<a href=messages.php target=_top>clic <img src="http://lateam.cc/pic/pn_inboxnew.gif" ">

</a>)</center></div>'
$forcemessage false)

  {

    if ((
mysql_affected_rows () OR $forcemessage))

    {

      echo 
$message;

          exit();

    }



  }

 
$is_mod is_mod ($usergroups);

  if ((!
$CURUSER OR $usergroups['canshout'] != 'yes'))

  {

    exit (
'<div style="background: #FFECCE; border: 1px solid #EA5F00; padding-left: 5px;">' $lang->global['shouterror'] . '</div>');

    return 
1;

  }



  require_once 
$rootpath 'shoutbox/config.php';

  
$limit intval ($LIMIT_INDEX);

  
$extralink '';

  if (((isset (
$_GET['popupshoutbox']) AND $_GET['popupshoutbox'] == 'yes') AND $is_mod))

  {

    
$limit intval ($LIMIT_POPUP);

    
$extralink '&popupshoutbox=yes';

  }



  
$mod $str '';

 
$shout_query mysql_query ('' 'SELECT s.*, u.username, last_access, u.options, u.enabled, u.donor, u.leechwarn, u.warned, u.country, c.name, c.flagpic, g.namestyle FROM shoutbox s LEFT JOIN users u ON (s.userid=u.id) LEFT JOIN usergroups g ON (u.usergroup=g.gid) LEFT JOIN countries c ON (u.country=c.id) ORDER BY s.date DESC LIMIT 0,' $limit);

  while (
$shout_row mysql_fetch_assoc ($shout_query))

  {

    
$date '[' my_datee ($timeformat$shout_row['date']) . ']';



    if (
$shout_row[userid] == $CURUSER[id] OR ($is_mod))

    {

      
$mod '<a href="#" onClick="popup(\'shoutbox.php?do=edit&id=' intval ($shout_row['id']) . $extralink '\')"><img src="/images/edit.gif" title="Editer" border="0" width="14" height="14"></a>  <a href="#" onClick="popup(\'shoutbox.php?do=delete&id=' intval ($shout_row['id']) . $extralink '\')"><img src="/images/delete.gif" title="Effacer" border="0" width="16" height="16"></a>';

    }

      else

    {  
$mod '';

       }







$avatars2 =  '<img src="/images/start.gif" width="50" height="50"/>';



    if (
preg_match_all ('' '#^{systemnotice}(.*)$#'$shout_row['content'], $MatchesPREG_SET_ORDER))

    {

           
$str .= '' '<span class=\'subheader\'>' $avatars3 '' $avatars2 ' ' $date ' ' $mod ' - <b>' $lang->global['snotice'] . '</b> ' format_comment ($Matches[0][1], truefalse) . '</span><br />';



       continue;

    }

    else

    {

      
$pics = ($shout_row['donor'] == 'yes' '<img src="' $BASEURL '/' $pic_base_url 'star.gif" alt="' $lang->global['imgdonated'] . '" title="' $lang->global['imgdonated'] . '" border="0" style="vertical-align: middle; margin-center: 4pt; white-space: nowrap;" />' '');

      if (
$shout_row['enabled'] == 'yes')

      {

        
$pics .= ($shout_row['leechwarn'] == 'yes' '<img src="' $BASEURL '/' $pic_base_url 'warned.gif" title="' $lang->global['imgwarned'] . '" alt="' $lang->global['imgwarned'] . '" border="0" style="vertical-align: middle; margin-center: 4pt; white-space: nowrap;" />' '') . ($shout_row['warned'] == 'yes' '<img src=\'' $BASEURL '/' $pic_base_url 'warned3.gif\' alt="' $lang->global['imgwarned'] . '" title="' $lang->global['imgwarned'] . '" border="0" style="vertical-align: middle; margin-center: 4pt; white-space: nowrap;" />' '');

      }

      else

      {

        
$pics .= '<img src="' $BASEURL '/' $pic_base_url 'disabled.gif" alt="' $lang->global['disabled'] . '"  title="' $lang->global['disabled'] . '" border="0" style="vertical-align: middle; margin-center: 4pt; white-space: nowrap;" />

'
;

      }



  
$dt get_date_time (gmtime () - TS_TIMEOUT);

    
$last_access $shout_row['last_access'];







      if (
$dt $last_access)





      {

        
$onoffpic '<img src="/pic/friends/online.png" title="En Ligne" border="0">';

      }

      else

      {

        
$onoffpic '<img src="/pic/friends/offline.png" title="Hors Ligne" border="0">';

      }





       
$gender $shout_row['gender'];

















  
$imagepath '' $BASEURL '/' $pic_base_url 'friends/';

  if (
preg_match ('#L1#is'$shout_row['options']))

  {

    
$UserGender '<img src="' $imagepath 'Male.png" alt="Male" title="Male" border="0"  />';

  }

  else

  {

    if (
preg_match ('#L2#is'$shout_row['options']))

    {

      
$UserGender '<img src="' $imagepath 'Female.png" alt="Female" title="Female" border="0"  />';

    }

    else

    {

      
$UserGender '<img src="' $imagepath 'NA.png" alt="--" title="--" border="0"  />';

    }

  }



  
$Userpm2 '' $shout_row[userid] . '';



 
$Userpm '<a href="' $BASEURL '/sendmessage.php?receiver=' $Userpm2 '" alt="Envoyer un MP a ce membre" title="Envoyer un MP a ce membre"><img src=/pic/pm.png></a> ';

 
$avatar3 =  '<img src="/pic/verified.gif" width="50" height="50"/>';;



$bimg2 = @mysql_fetch_array(@mysql_query("SELECT avatar FROM users WHERE id=$shout_row[userid]"));



   
$avatar htmlspecialchars($bimg2["avatar"]);

if (!
$avatar) {

$avatar "pic/default_avatar.gif";

}



    if (!
$avatar)

           
$avatar "".$BASEURL."/pic/default_avatar.gif";



           
$avatars =  '<img src="'.$avatar.'" width="50" height="50"/>';

 
$QueryF = @sql_query ('' 'SELECT COUNT(*) FROM messages WHERE receiver=' $CURUSER[id] . ' and unread=\'yes\'') OR sqlerr (__FILE__532);

  
$message mysql_fetch_row ($QueryF);

  
$unreadmail $message[0];

if (
$unreadmail){

        
$unread=execcommand_pmmessage();



}else{

$unread='';

}

   
$bimg3 = @mysql_fetch_array(@mysql_query("SELECT smilies FROM users WHERE id=$shout_row[userid]"));



   
$smiliies htmlspecialchars($bimg3["smilies"]);

   
$smiliess =  '<img src="'.$smiliies.'" width="30" height="30"/>';



      
$shouter_name '<a target="_blank" href="' ts_seo ($shout_row['userid'], $shout_row['username']) . '">' get_user_color ($shout_row['username'], $shout_row['namestyle']) . '</a> ' $pics;

      
$shout_content format_comment ($shout_row['content'], true );

      
$str .= '' '<span class=\'shoutbox\'>' $avatars ' ' $date ' ' $mod ' ' $onoffpic ' ' $UserGender ' ' $country ' ' $Userpm ' ' $shouter_name '  ' $smiliess ' - ' $shout_content '</span><br />';

      continue;

    }

  }



  
header ('Expires: Sat, 1 Jan 2000 01:00:00 GMT');

  
header ('Last-Modified: ' gmdate ('D, d M Y H:i:s') . 'GMT');

  
header ('Cache-Control: no-cache, must-revalidate');

  
header ('Pragma: no-cache');

  
header ('' 'Content-type: text/html; charset=' $shoutboxcharset);

  echo 
$str;

?>
Reply With Quote
  #26  
Old 19th June 2012, 11:21
johnbrakes johnbrakes is offline
Senior Member
 
Join Date: Feb 2012
Italy
Posts: 15
Default
I do not understand where it could be the problem, the files look the same ... this is my outputinfo.php!




Code:
<?
/***********************************************/
/*=========[TS Special Edition v.5.6]==========*/
/*=============[Special Thanks To]=============*/
/*        DrNet - wWw.SpecialCoders.CoM        */
/*          Vinson - wWw.Decode4u.CoM          */
/*    MrDecoder - wWw.Fearless-Releases.CoM    */
/*           Fynnon - wWw.BvList.CoM           */
/***********************************************/
 
 
  define ('AS_VERSION', '2.2.1 by xam');
  define ('SKIP_LOCATION_SAVE', true);
  define ('DEBUGMODE', false);
  $rootpath = './../';
  define ('NcodeImageResizer', true);
  require_once $rootpath . 'global.php';
  if (!defined ('IN_SCRIPT_TSSEv56'))
  {
    exit ('<font face=\'verdana\' size=\'2\' color=\'darkred\'><b>Error!</b> Direct initialization of this file is not allowed.</font>');
  }
 
  dbconn ();
 function execcommand_pmmessage ($message = '<div style="background: #FFECCE; border: 1px solid #EA5F00; padding-left: 5px;"><center>vous n avez plus acces a la shout! consulter votre message avant (<a href=messages.php target=_top>clic <img src="http://lateam.cc/pic/pn_inboxnew.gif" ">
</a>)</center></div>', $forcemessage = false)
  {
    if ((mysql_affected_rows () OR $forcemessage))
    {
      echo $message;
          exit();
    }
 
  }
 $is_mod = is_mod ($usergroups);
  if ((!$CURUSER OR $usergroups['canshout'] != 'yes'))
  {
    exit ('<div style="background: #FFECCE; border: 1px solid #EA5F00; padding-left: 5px;">' . $lang->global['shouterror'] . '</div>');
    return 1;
  }
 
  require_once $rootpath . 'shoutbox/config.php';
  $limit = intval ($LIMIT_INDEX);
  $extralink = '';
  if (((isset ($_GET['popupshoutbox']) AND $_GET['popupshoutbox'] == 'yes') AND $is_mod))
  {
    $limit = intval ($LIMIT_POPUP);
    $extralink = '&popupshoutbox=yes';
  }
 
  $mod = $str = '';
 $shout_query = mysql_query ('' . 'SELECT s.*, u.username, last_access, u.options, u.enabled, u.donor, u.leechwarn, u.warned, u.country, c.name, c.flagpic, g.namestyle FROM shoutbox s LEFT JOIN users u ON (s.userid=u.id) LEFT JOIN usergroups g ON (u.usergroup=g.gid) LEFT JOIN countries c ON (u.country=c.id) ORDER BY s.date DESC LIMIT 0,' . $limit);
  while ($shout_row = mysql_fetch_assoc ($shout_query))
  {
    $date = '[' . my_datee ($timeformat, $shout_row['date']) . ']';
 
    if ($shout_row[userid] == $CURUSER[id] OR ($is_mod))
    {
      $mod = '<a href="#" onClick="popup(\'shoutbox.php?do=edit&id=' . intval ($shout_row['id']) . $extralink . '\')"><img src="/images/edit.gif" title="Editer" border="0" width="14" height="14"></a>  <a href="#" onClick="popup(\'shoutbox.php?do=delete&id=' . intval ($shout_row['id']) . $extralink . '\')"><img src="/images/delete.gif" title="Effacer" border="0" width="16" height="16"></a>';
    }
      else
    {  $mod = '';
       }
 
 
 
$avatars2 =  '<img src="/images/start.gif" width="50" height="50"/>';
 
    if (preg_match_all ('' . '#^{systemnotice}(.*)$#', $shout_row['content'], $Matches, PREG_SET_ORDER))
    {
           $str .= '' . '<span class=\'subheader\'>' . $avatars3 . '' . $avatars2 . ' ' . $date . ' ' . $mod . ' - <b>' . $lang->global['snotice'] . '</b> ' . format_comment ($Matches[0][1], true, false) . '</span><br />';
 
       continue;
    }
    else
    {
      $pics = ($shout_row['donor'] == 'yes' ? '<img src="' . $BASEURL . '/' . $pic_base_url . 'star.gif" alt="' . $lang->global['imgdonated'] . '" title="' . $lang->global['imgdonated'] . '" border="0" style="vertical-align: middle; margin-center: 4pt; white-space: nowrap;" />' : '');
      if ($shout_row['enabled'] == 'yes')
      {
        $pics .= ($shout_row['leechwarn'] == 'yes' ? '<img src="' . $BASEURL . '/' . $pic_base_url . 'warned.gif" title="' . $lang->global['imgwarned'] . '" alt="' . $lang->global['imgwarned'] . '" border="0" style="vertical-align: middle; margin-center: 4pt; white-space: nowrap;" />' : '') . ($shout_row['warned'] == 'yes' ? '<img src=\'' . $BASEURL . '/' . $pic_base_url . 'warned3.gif\' alt="' . $lang->global['imgwarned'] . '" title="' . $lang->global['imgwarned'] . '" border="0" style="vertical-align: middle; margin-center: 4pt; white-space: nowrap;" />' : '');
      }
      else
      {
        $pics .= '<img src="' . $BASEURL . '/' . $pic_base_url . 'disabled.gif" alt="' . $lang->global['disabled'] . '"  title="' . $lang->global['disabled'] . '" border="0" style="vertical-align: middle; margin-center: 4pt; white-space: nowrap;" />
';
      }
 
  $dt = get_date_time (gmtime () - TS_TIMEOUT);
    $last_access = $shout_row['last_access'];
 
 
 
      if ($dt < $last_access)
 
 
      {
        $onoffpic = '<img src="/pic/friends/online.png" title="En Ligne" border="0">';
      }
      else
      {
        $onoffpic = '<img src="/pic/friends/offline.png" title="Hors Ligne" border="0">';
      }
 
 
       $gender = $shout_row['gender'];
 
 
 
 
 
 
 
 
  $imagepath = '' . $BASEURL . '/' . $pic_base_url . 'friends/';
  if (preg_match ('#L1#is', $shout_row['options']))
  {
    $UserGender = '<img src="' . $imagepath . 'Male.png" alt="Male" title="Male" border="0"  />';
  }
  else
  {
    if (preg_match ('#L2#is', $shout_row['options']))
    {
      $UserGender = '<img src="' . $imagepath . 'Female.png" alt="Female" title="Female" border="0"  />';
    }
    else
    {
      $UserGender = '<img src="' . $imagepath . 'NA.png" alt="--" title="--" border="0"  />';
    }
  }
 
  $Userpm2 = '' . $shout_row[userid] . '';
 
 $Userpm = '<a href="' . $BASEURL . '/sendmessage.php?receiver=' . $Userpm2 . '" alt="Envoyer un MP a ce membre" title="Envoyer un MP a ce membre"><img src=/pic/pm.png></a> ';
 $avatar3 =  '<img src="/pic/verified.gif" width="50" height="50"/>';;
 
$bimg2 = @mysql_fetch_array(@mysql_query("SELECT avatar FROM users WHERE id=$shout_row[userid]"));
 
   $avatar = htmlspecialchars($bimg2["avatar"]);
if (!$avatar) {
$avatar = "pic/default_avatar.gif";
}
 
    if (!$avatar)
           $avatar = "".$BASEURL."/pic/default_avatar.gif";
 
           $avatars =  '<img src="'.$avatar.'" width="50" height="50"/>';
 $QueryF = @sql_query ('' . 'SELECT COUNT(*) FROM messages WHERE receiver=' . $CURUSER[id] . ' and unread=\'yes\'') OR sqlerr (__FILE__, 532);
  $message = mysql_fetch_row ($QueryF);
  $unreadmail = $message[0];
if ($unreadmail){
        $unread=execcommand_pmmessage();
 
}else{
$unread='';
}
   $bimg3 = @mysql_fetch_array(@mysql_query("SELECT smilies FROM users WHERE id=$shout_row[userid]"));
 
   $smiliies = htmlspecialchars($bimg3["smilies"]);
   $smiliess =  '<img src="'.$smiliies.'" width="30" height="30"/>';
 
      $shouter_name = '<a target="_blank" href="' . ts_seo ($shout_row['userid'], $shout_row['username']) . '">' . get_user_color ($shout_row['username'], $shout_row['namestyle']) . '</a> ' . $pics;
      $shout_content = format_comment ($shout_row['content'], true );
      $str .= '' . '<span class=\'shoutbox\'>' . $avatars . ' ' . $date . ' ' . $mod . ' ' . $onoffpic . ' ' . $UserGender . ' ' . $country . ' ' . $Userpm . ' ' . $shouter_name . '  ' . $smiliess . ' - ' . $shout_content . '</span><br />';
      continue;
    }
  }
 
  header ('Expires: Sat, 1 Jan 2000 01:00:00 GMT');
  header ('Last-Modified: ' . gmdate ('D, d M Y H:i:s') . 'GMT');
  header ('Cache-Control: no-cache, must-revalidate');
  header ('Pragma: no-cache');
  header ('' . 'Content-type: text/html; charset=' . $shoutboxcharset);
  echo $str;
?>
Attached Files
File Type: php outputinfo.php (7.3 KB, 29 views)
Reply With Quote
  #27  
Old 20th June 2012, 08:16
steven2007 steven2007 is offline
Senior Member
 
Join Date: Jul 2011
Belgium
Posts: 46
Default
Source turning on webserver or localhost with xampp??????
Reply With Quote
  #28  
Old 20th June 2012, 13:24
johnbrakes johnbrakes is offline
Senior Member
 
Join Date: Feb 2012
Italy
Posts: 15
Default
Is running at localhost with appserv, why?
Reply With Quote
  #29  
Old 20th June 2012, 13:26
djzoulox's Avatar
djzoulox djzoulox is offline
Senior Member
 
Join Date: May 2012
Denmark
Posts: 77
Default
use tbdev instead of this crap
__________________
https://blog4.eu
Reply With Quote
  #30  
Old 24th June 2012, 02:44
johnbrakes johnbrakes is offline
Senior Member
 
Join Date: Feb 2012
Italy
Posts: 15
Wink
I fixed this by creating all trackers completely from scratch with template shares thanks to your advice, thanks!

http://gtorrent.freehost.im/
Reply With Quote
Reply

Tags
56 , heavy , modded , tsse

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