Verneigt Euch vor Oxpus!

http://www.oxpus.de/phpBB/viewtopic.php?p=4909#4909
Ich habe es ausprobiert und es geht!
Gruß,
butch
Code: Alles auswählen
#
#-----[ OPEN ]-----
#
downloads.php
#
#-----[ FIND ]-----
#
//
// Set page ID for session management
//
$userdata = session_pagestart($user_ip, PAGE_DOWNLOADS);
init_userprefs($userdata);
//
// End session management
//
#
#-----[ AFTER, ADD ]-----
#
$cat = ( $HTTP_POST_VARS['cat'] ) ? $HTTP_POST_VARS['cat'] : $HTTP_GET_VARS['cat'];
$view = ( $HTTP_POST_VARS['view'] ) ? $HTTP_POST_VARS['view'] : $HTTP_GET_VARS['view'];
$id = ( $HTTP_POST_VARS['id'] ) ? $HTTP_POST_VARS['id'] : $HTTP_GET_VARS['id'];
#
#-----[ OPEN ]-----
#
load.php
#
#-----[ FIND ]-----
#
//
// Start session management
//
$userdata = session_pagestart($user_ip, PAGE_DOWNLOADS);
init_userprefs($userdata);
//
// End session management
//
#
#-----[ AFTER, ADD ]-----
#
$id = ( $HTTP_POST_VARS['id'] ) ? $HTTP_POST_VARS['id'] : $HTTP_GET_VARS['id'];
#
#-----[ OPEN ]-----
#
admin/admin_dl_cat.php
#
#-----[ FIND ]-----
#
$cat_name = ( isset($HTTP_POST_VARS['cat_name']) ) ? trim($HTTP_POST_VARS['cat_name']) : "";
#
#-----[ AFTER, ADD ]-----
#
$path = ( isset($HTTP_POST_VARS['path']) ) ? trim($HTTP_POST_VARS['path']) : "";
#
#-----[ OPEN ]-----
#
admin/admin_dl_traffic_all_users.php
#
#-----[ FIND ]-----
#
if ($x == "bytes") $traffic_bytes = $traffic;
if ($x == "kb") $traffic_bytes = bcmul($traffic,1024);
if ($x == "mb") $traffic_bytes = bcmul($traffic,1048576);
//
// Ok, the traffic has been modified and submitted, let's update
//
if( ( $mode == 'save' && isset( $HTTP_POST_VARS['submit'] ) ) )
{
$traffic = ( !empty($HTTP_POST_VARS['traffic']) ) ? trim(strip_tags( $HTTP_POST_VARS['traffic'] ) ) : '';
}
#
#-----[ REPLACE WITH ]-----
#
$traffic = ( !empty($HTTP_POST_VARS['traffic']) ) ? trim(strip_tags( $HTTP_POST_VARS['traffic'] ) ) : '';
$x = ( !empty($HTTP_POST_VARS['x']) ) ? trim(strip_tags( $HTTP_POST_VARS['x'] ) ) : '';
$function = ( !empty($HTTP_POST_VARS['function']) ) ? trim(strip_tags( $HTTP_POST_VARS['function'] ) ) : '';
if ($x == "bytes") $traffic_bytes = $traffic;
if ($x == "kb") $traffic_bytes = bcmul($traffic,1024);
if ($x == "mb") $traffic_bytes = bcmul($traffic,1048576);
#
#-----[ OPEN ]-----
#
admin/admin_dl_traffic_single_user.php
#
#-----[ FIND ]-----
#
if ($x == "bytes") $traffic_bytes = $user_traffic;
#
#-----[ BEFORE, ADD ]-----
#
$x = ( !empty($HTTP_POST_VARS['x']) ) ? trim(strip_tags( $HTTP_POST_VARS['x'] ) ) : '';
$function = ( !empty($HTTP_POST_VARS['function']) ) ? trim(strip_tags( $HTTP_POST_VARS['function'] ) ) : '';
#
#-----[ SAVE/CLOSE ALL FILES ]-----
#
# EoM
hi...eno00 hat geschrieben:hi,
habe mir heute den download mod installiert und ich habe ein problem. hier im forum habe ich leider nichts gefunden. Also zu meinem Problem:
wenn ich eine Kategorie erstellt habe und eine datei zum download eingefügt habe, kann man auf der download.php leider keine kategorie anklicken denn er macht nichts...
hab grad nochmal geschaut und wenn ich den Pfad bei Kategorie eingebe wird dieser nicht gespeichert scheint mir, da er nicht drin stand als ich die Beschreibung geändert hab, weiß einer rat.
anzuschauen hier:
*click*