Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Template Shares
Reply
  #1  
Old 14th November 2011, 17:16
peiratikos peiratikos is offline
Senior Member
 
Join Date: Mar 2011
P2P
Posts: 22
Unhappy Αll Plugin to Version TS Special Edition v.7.2 ?
Hello you could give me, Virtue Post here all Plugin to version TS Special Edition v.7.2
I do not know who would find this so I opened this issue for me to find you if there is too much trouble you guys please many.

Last edited by peiratikos; 15th November 2011 at 13:25.
Reply With Quote
  #2  
Old 16th December 2012, 04:20
ivo ivo is offline
Member
 
Join Date: Jul 2012
Croatia
Posts: 14
Unhappy whatsgoinon
Please if anyone can help this to be the time edit members online TIMEOUT(whatsgoinon.php) define ('TS_TIMEOUT', 1200); I threw it but does not work on line 2 Help

PHP Code:
<?php
/*define ('TS_TIMEOUT', 1200);

+--------------------------------------------------------------------------
|   TS Special Edition v.7.2
|   ========================================
|   by xam
|   (c) 2005 - 2010 Template Shares Services
|   http://templateshares.net
|   ========================================
|   Web: http://templateshares.net
|   Time: $_ts_date_
|   Signature Key: $_ts_signature_key_
|   Email: contact@templateshares.net
|   TS SE IS NOT FREE SOFTWARE!
+---------------------------------------------------------------------------
*/
// Dont change for future reference.
if (!defined('TS_P_VERSION'))
{
    
define('TS_P_VERSION''1.3 by xam');
}

// Security Check.
if (!defined('IN_PLUGIN_SYSTEM'))
{
     die(
"<font face='verdana' size='2' color='darkred'><b>Error!</b> Direct initialization of this file is not allowed.</font>");
}

// BEGIN Plugin: whatsgoinon
function TS_Spider_Detect($Data='')
{
Reply With Quote
  #3  
Old 16th December 2012, 15:19
Tones Tones is offline
Banned
 
Join Date: Sep 2011
Cuba
Posts: 154
Default
Quote:
Originally Posted by ivo View Post
Please if anyone can help this to be the time edit members online TIMEOUT(whatsgoinon.php) define ('TS_TIMEOUT', 1200); I threw it but does not work on line 2 Help

PHP Code:
<?php
/*define ('TS_TIMEOUT', 1200);

+--------------------------------------------------------------------------
|   TS Special Edition v.7.2
|   ========================================
|   by xam
|   (c) 2005 - 2010 Template Shares Services
|   http://templateshares.net
|   ========================================
|   Web: http://templateshares.net
|   Time: $_ts_date_
|   Signature Key: $_ts_signature_key_
|   Email: contact@templateshares.net
|   TS SE IS NOT FREE SOFTWARE!
+---------------------------------------------------------------------------
*/
// Dont change for future reference.
if (!defined('TS_P_VERSION'))
{
    
define('TS_P_VERSION''1.3 by xam');
}

// Security Check.
if (!defined('IN_PLUGIN_SYSTEM'))
{
     die(
"<font face='verdana' size='2' color='darkred'><b>Error!</b> Direct initialization of this file is not allowed.</font>");
}

// BEGIN Plugin: whatsgoinon
function TS_Spider_Detect($Data='')
{

Sow . you gat this source up and running ???.. I doubt that.
Reply With Quote
  #4  
Old 17th December 2012, 04:00
jhuberus jhuberus is offline
Senior Member
 
Join Date: Oct 2009
P2P
Posts: 22
Default
lol
Reply With Quote
  #5  
Old 23rd December 2012, 04:38
ivo ivo is offline
Member
 
Join Date: Jul 2012
Croatia
Posts: 14
Lightbulb whatsgoinon.php-TS.v.7.2
If anyone has a solution that shows fewer minutes than 1h ??

PHP Code:
<?php
/*

+--------------------------------------------------------------------------
|   TS Special Edition v.7.2
|   ========================================
|   by xam
|   (c) 2005 - 2010 Template Shares Services
|   http://templateshares.net
|   ========================================
|   Web: http://templateshares.net
|   Time: $_ts_date_
|   Signature Key: $_ts_signature_key_
|   Email: contact@templateshares.net
|   TS SE IS NOT FREE SOFTWARE!
+---------------------------------------------------------------------------
*/
// Dont change for future reference.
if (!defined('TS_P_VERSION'))
{
    
define('TS_P_VERSION''1.3 by xam');
}

// Security Check.
if (!defined('IN_PLUGIN_SYSTEM'))
{
     die(
"<font face='verdana' size='2' color='darkred'><b>Error!</b> Direct initialization of this file is not allowed.</font>");
}

// BEGIN Plugin: whatsgoinon
function TS_Spider_Detect($Data='')
{  
   
      
$SpiderList = array
       
                                (
                                    
'msnbot' => 'MSN Bot',
                                    
'google' => 'Google Bot',
                                    
'yahoo' => 'Yahoo! Bot',
                                    
'alexa' => 'AleXa Bot',
                                    
'sogou' => 'Sogou Web Spider',
                                    
'baiduspider' => 'Baidu Spider',
                                    
'w3c_validator' => 'W3C Validator',
                                    
'mlbot' => 'MLBoT',
                                    
'yandex' => 'YanDeX',
                                );

    foreach (
$SpiderList as $Spider => $Name)
    {
        if (
preg_match('@'.$Spider.'@Uis'strtolower($Data)))
        {
            return array(
'<b><i><font color="#FF6633">{username}</font></i></b>'$Name);
        }
    }
    return 
false;
}

require_once(
INC_PATH.'/functions_icons.php');
$_dt TIMENOW TS_TIMEOUT
$_guests 0;
$USERLIST = array();
$BOTCACHE = array();

$_wgo_query sql_query('SELECT distinct s.userid as id, s.useragent, u.username, u.options, u.enabled, u.donor, u.leechwarn, u.warned, p.canupload, p.candownload, p.cancomment, p.canmessage, p.canshout, g.namestyle FROM ts_sessions s LEFT JOIN users u ON (s.userid=u.id) LEFT JOIN ts_u_perm p ON (u.id=p.userid) LEFT JOIN usergroups g ON (u.usergroup=g.gid) WHERE s.lastactivity > \''.$_dt.'\' ORDER by u.last_access');
$_most_ever mysql_num_rows($_wgo_query);

if (
$_most_ever)
{
    while(
$User=mysql_fetch_assoc($_wgo_query))
    {
        if (
$User['id'] == 0)
        {
            if ((
$DetectBot TS_Spider_Detect($User['useragent'])) AND !in_array($DetectBot['1'], $BOTCACHE))
            {
                
$User['namestyle'] = $DetectBot['0'];
                
$User['username'] = $DetectBot['1'];
                
$BOTCACHE[] = $DetectBot['1'];
                
$USERLIST[] = $User;
            }
            else
            {
                
$_guests++;
            }
        }
        else
        {
            
$USERLIST[] = $User;
        }
    }
}

sort($USERLISTSORT_STRING);

if (
file_exists(TSDIR.'/'.$cache.'/onlinestats.php'))
{
    include_once(
TSDIR.'/'.$cache.'/onlinestats.php');
}

if(!
$onlinestats['most_ever'])
{
    
$onlinestats['most_ever'] = 0;
}

if (
$onlinestats['most_ever'] < $_most_ever)
{
    
$_cache_array $onlinestats = array('most_ever' => $_most_ever'most_ever_time' => TIMENOW);
    
$_name 'onlinestats';
    
$_filename TSDIR.'/'.$cache.'/onlinestats.php';
    
    
$_cachecontents "<?php\n/** TS Generated Cache#2 - Do Not Alter\n * Cache Name: $_name\n * Generated: ".gmdate("r")."\n*/\n\n";
    
$_cachecontents .= "\$$_name = ".@var_export($_cache_arraytrue).";\n?>";
    @
file_put_contents($_filename$_cachecontents);
}

$_hidden_members=$_active_members=0;
$_usernames=array();

foreach (
$USERLIST as $_active_users)
{
    if(
TS_Match($_active_users['options'], 'B1') && $_active_users['id'] != $CURUSER['id'] && !$is_mod)
    {
        
$_hidden_members++;
        continue;
    }
    else
    {
        if (
TS_Match($_active_users['options'], 'B1'))
        {
            
$_hidden_members++;
        }
        else
        {
            
$_active_members++;
        }

        if (
$_active_users['id'])
        {
            
$_usernames[] = '<span style="white-space: nowrap;"><a href="'.ts_seo($_active_users['id'], $_active_users['username']).'">'.get_user_color($_active_users['username'], $_active_users['namestyle']).'</a>'.(TS_Match($_active_users['options'], 'B1') ? '+' '').get_user_icons($_active_users).'</span>';
        }
        else
        {
            
$_usernames[] = '<span style="white-space: nowrap;">'.get_user_color($_active_users['username'], $_active_users['namestyle']).'</span>';
        }
    }
}

$Legends '
<script type="text/javascript">
    function ShowDescription22(TextToShow)
    {
        if (TextToShow != "")
        {
            TSGetID("WaitingToShow33").innerHTML = TextToShow;
        }
        else
        {
            TSGetID("WaitingToShow33").innerHTML = "";
        }
    }
</script>
'
;

if (!isset(
$UsergroupCache) OR (isset($UsergroupCache) AND !is_array($UsergroupCache)))
{
    
$UsergroupCache = array();
    if (
$UseMemcached)
    {
        if (
$UsergroupCache $TSMemcache->check('ugcacheplugins'))
        {
            
//Cache exists, lets use it.
        
}
        else
        {
            
$Query sql_query('SELECT title, namestyle FROM usergroups');
            while(
$P=mysql_fetch_assoc($Query))
            {
                
$UsergroupCache[] = $P;
            }
            
$TSMemcache->add('ugcacheplugins'$UsergroupCache);
        }
    }
    else
    {
        
$Query sql_query('SELECT title, namestyle FROM usergroups');
        while(
$P=mysql_fetch_assoc($Query))
        {
            
$UsergroupCache[] = $P;
        }
    }
}

foreach(
$UsergroupCache as $right)
{
    
preg_match('#<span style="color:(.*);">#Ui'$right['namestyle'], $results);
    if (isset(
$results['1']))
    {
        
$Legends .= '
        <div style="float:left;">&nbsp;</div>
        <div class="alt2" style="float:left; height:8px; width:8px; padding:0px;cursor: pointer;" group="'
.$right['title'].'" bold="y" clr="'.$results['1'].'" onmouseover="ShowDescription22(\''.$right['title'].'\');" onmouseout="ShowDescription22(\'\');">
            <div class="tborder" style="height:8px; width:8px; background:'
.$results['1'].';"></div>
        </div>'
;
    }
}

$whatsgoinon '
<table width="100%" cellpadding="3" cellspacing="0" border="0" align="center">
    <tr>
        <td class="subheader" colspan="2">
            '
.($is_mod '<span style="float: right;">[<a href="'.$BASEURL.'/'.$staffcp_path.'/index.php?do=who_is_online"><b>'.$lang->index['show'].'</b></a>]</span>' '').$lang->index['activeusers'].' '.ts_nf($_most_ever).sprintf($lang->index['dactiveusers'], ts_nf($_guests), ts_nf($_active_members), ts_nf($_hidden_members)).'
        </td>
    <tr>
        <td colspan="2">
            <div style="float: right;">'
.$Legends.'</div>
            <div>'
.sprintf($lang->index['online'], ts_nf($onlinestats['most_ever']), my_datee($dateformat$onlinestats['most_ever_time']), my_datee($timeformat$onlinestats['most_ever_time'])).'</div>
            '
.implode(', '$_usernames).'
            <div style="float: right;" id="WaitingToShow33" name="WaitingToShow33"></div>
        </td>
    </tr>
</table>'
;
// END Plugin: whatsgoinon
?>

Last edited by ivo; 23rd December 2012 at 05:00.
Reply With Quote
  #6  
Old 23rd December 2012, 07:56
Daz's Avatar
Daz Daz is offline
Senior Member
 
Join Date: Dec 2009
United Kingdom
Posts: 124
Default
It didnt work because it was commented out, see below:

PHP Code:
define ('TS_TIMEOUT'1200);
// Dont change for future reference.
if (!defined('TS_P_VERSION'))
{
    
define('TS_P_VERSION''1.3 by xam');

Reply With Quote
  #7  
Old 23rd December 2012, 20:03
ivo ivo is offline
Member
 
Join Date: Jul 2012
Croatia
Posts: 14
Angry Why
why is it impossible lol
Reply With Quote
  #8  
Old 23rd December 2012, 20:31
Daz's Avatar
Daz Daz is offline
Senior Member
 
Join Date: Dec 2009
United Kingdom
Posts: 124
Default
It's not, try editing include/init.php

PHP Code:
# Session Timeout in Seconds.
define ('TS_TIMEOUT'3600); #This is the time in seconds that a user must remain inactive before their login session expires. This setting also controls how long a user will remain on Who's Online after their last activity. 
Reply With Quote
  #9  
Old 23rd December 2012, 21:06
ivo ivo is offline
Member
 
Join Date: Jul 2012
Croatia
Posts: 14
Default Thanks
Thanks for your help but it seems that it is impossible to v.7.2 coded include / init.php


PHP Code:
4+oV5BY9H1pUKRrJeptHFtfPPoC7BoP1nRFk4vAy+FengTOOzrQ3imQSLbCvk1l7R6Qb0MUZs+uU
fvgckaAtN
/GsrfFBd7CtLzocn7lV9fdU1GOfECiM3d+JsTppUPH6iIBR6930LAzMDUtG7OBPpZv+
L1USNGNg6q+LsguQz5gq/odfpLRtwv9xOwsUGBzYJEBrK9NHbhYbtLN8R7jQRvg4mBqN6hmAnZyF
NKM4yqj
/k75gFJhQVGVUSPr7xZg6LSiDSYD7AKYM/wdJ6RrPyHYbOxjZJSxf2EsqR8PY32TpgQk2
KhhGnRSFDeJIwFxaLKs39WlWW2gP5FDPHyWYisn1fDgJjUIzskC5bY
/KYWMfNAJVhIFE0d606exV
mLDmDjesHa0xW23lEBPEpcGEHDnQFp4T3NQdbGIK
+CWvONyhj8YQnqOwiNbtFchMsue7JSiMsX1
Reply With Quote
  #10  
Old 23rd December 2012, 21:09
Tones Tones is offline
Banned
 
Join Date: Sep 2011
Cuba
Posts: 154
Default
Quote:
Originally Posted by ivo View Post
Thanks for your help but it seems that it is impossible to v.7.2 coded include / init.php


PHP Code:
4+oV5BY9H1pUKRrJeptHFtfPPoC7BoP1nRFk4vAy+FengTOOzrQ3imQSLbCvk1l7R6Qb0MUZs+uU
fvgckaAtN
/GsrfFBd7CtLzocn7lV9fdU1GOfECiM3d+JsTppUPH6iIBR6930LAzMDUtG7OBPpZv+
L1USNGNg6q+LsguQz5gq/odfpLRtwv9xOwsUGBzYJEBrK9NHbhYbtLN8R7jQRvg4mBqN6hmAnZyF
NKM4yqj
/k75gFJhQVGVUSPr7xZg6LSiDSYD7AKYM/wdJ6RrPyHYbOxjZJSxf2EsqR8PY32TpgQk2
KhhGnRSFDeJIwFxaLKs39WlWW2gP5FDPHyWYisn1fDgJjUIzskC5bY
/KYWMfNAJVhIFE0d606exV
mLDmDjesHa0xW23lEBPEpcGEHDnQFp4T3NQdbGIK
+CWvONyhj8YQnqOwiNbtFchMsue7JSiMsX1
Man wtf is wrong whit you there is no decoded and nulled v 7.2 ....
Reply With Quote
Reply

Tags
edition , plugin , special , v72 , version

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