Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
User Posts

Go to Profile

Just a guess, but maybe by being localhost is what is causing the "direct access not allowed" error. I run the tracker on a different machine than the one I am on, so I have never seen that error. You could also remove that line of code in upavatar.php and see if that helps you at least trouble shoot the problem.

if (!$action == "post" OR !$action == "upload") {
   write_log("<b>HACKING ATTEMPT !!! </b>- User <b>" . $CURUSER["username"] . "</b> tries to direct access to upavatar.php");
   print ("<br><p><center><b>Direct access not allowed !!!</b></p><p>Go to: <a href=account.php?action=edit_settings&do=edit><b>" . T_("ACCOUNT") . "</b></a></center></p><br>");
}


not sure if it helps anyone, but below is all the code I have.

in config.php

/// START UPLOAD AVATAR ///
$site_config['AVATARUPLOAD'] = true;      // Enable / Disable upload avatar
$site_config['avatar_dir'] = '/avatars';   // Dir where will be stored avatars


also in config.php

// Image upload settings
$site_config['image_max_filesize'] = 20971520;
$site_config['avatar_max_filesize'] = 11010000; // Max uploaded image size in bytes (Default: 512 kB)
$site_config['allowed_image_types'] = array(
// "mimetype" => ".ext",
"image/gif" => ".gif",
"image/pjpeg" => ".jpg",
"image/jpeg" => ".jpg",
"image/jpg" => ".jpg",
"image/png" => ".png"
);


in account.php

/// START UPLOAD AVATAR ///
if ($site_config['AVATARUPLOAD']){
  $avatar = htmlspecialchars($CURUSER["avatar"]);
if (!$avatar)
  $avatar = "".$site_config["SITEURL"]."/images/default_avatar.png";
  print("<tr><td align='right' class='table_col1'><b>" . T_("AVATAR") . ":</b></td><td align='left' ><table class='table_col1' border='0'><tr><td class=table_col1><img src=$avatar hight='40' width='40'></td><td ><input name='avatar' size='50' value=\"" . htmlspecialchars($CURUSER["avatar"]) . "\"><br /><i>" . T_("AVATAR_LINK") . ": 80x80px</i>&nbsp;OR [ <a href=upavatar.php?action=upload><b>" . T_("UP_AVATAR") . "</b></a> ]</td></tr></table></td></tr>");
  }
  else {
  print("<tr><td align='right' class='table_col1'><b>" . T_("AVATAR_UPLOAD") . ":</b> </td><td align='left' class='table_col1'><input type='text' name='avatar' size='50' value=\"" . htmlspecialchars($CURUSER["avatar"]) .
    "\" /><br />\n<i>".T_("AVATAR_LINK")."</i><br /></td></tr>");
}
///END UPLOAD AVATAR ///


attached is my upavatar.php

[ATTACH]2470._xfImport[/ATTACH]
This works for me. I thought someone had already made a mod to do this, but I couldnt find it, so I mashed my own together from spare parts lol.

In admincp.php, add this link below the others

<td align="center"><a href="admincp.php?action=clearshout"><img src="images/admin/shoutclear.png" border="0" width="118" height="80" alt="" /><br /><?php echo T_("CLEAR_SHOUTBOX"); ?><br /></a></td>


   at the bottom before ?> put

///////////////// CLEAR SHOUTBOX /////////////////////////////

if ($action == "clearshout") {

stdhead(T_("CLEAR_SHOUTBOX"));
error_reporting(E_ALL);

  begin_frame("".T_("CLEAR_SHOUTBOX")."");

?>
<br /><br />
<font size ='3'><center><?php echo T_("CLEAR_SHOUTBOX_TEXT"); ?></center></font>
<br /><br />

  <form enctype="multipart/form-data" method="post" action="admincp.php">
  <input type="hidden" name="action" value="clearshout" />
  <input type="hidden" name="do" value="delete" />
  <table class="f-border" cellspacing="0" cellpadding="5" width="100%" align="center">
  <tr><td colspan="2" align="center"><input type="submit" value="<?php echo T_("CLEAR_SHOUTBOX");?>" /></td></tr>
  </table></form>

  <?php
  end_frame();

  if ($do == "delete"){
        SQL_Query_exec("TRUNCATE TABLE `shoutbox`");
        write_log("Shoutbox cleared by $CURUSER[username]");
        $msg_shout = sqlesc("".T_("SHOUTBOX_CLEARED_MESSAGE")."");
        SQL_Query_exec("INSERT INTO shoutbox (userid, date, user, message) VALUES(0,'".get_date_time()."', 'System' ,".$msg_shout.")");
        autolink ("admincp.php", "<b><font color='#ff0000'>Shoutbox Cleared....</font></b>");

}
  navmenu();
  stdfoot();
}
///////////////END CLEAR SHOUTBOX //////////////////////////////////////////////


   in english.php add

$LANG["CLEAR_SHOUTBOX_TEXT"] = "Are you sure you want to clear the shoutbox? You can't undo this";
$LANG["SHOUTBOX_CLEARED_MESSAGE"] = "The shoutbox has been cleared";
$LANG["CLEAR_SHOUTBOX"] = "Clear Shoutbox";


   you may already have $LANG["CLEAR_SHOUTBOX"] = "Clear Shoutbox"; in your language file. Check and see first

upload image to images/admin/ folder

[ATTACH]2468._xfImport[/ATTACH]
nice. I always meant to change that, but now that you posted this, its much easier now lol. Thanks for the edits. Also, adjust your size like this


<img align="center" src="images/banner.jpg" width='800' height='150'>
Does it work aside from the error message? turn off php_display_errors in your php.ini file in apache2, or whatever you are using
This file is valid if you happen to use RSS. Just replace the stock 2.08 rss.php with this one. And if you happen to use prettyphoto on your site, then this file has that built in also.

[ATTACH]2448._xfImport[/ATTACH]
BACKUP your files first. this should work. You will replace the entire news section all the way down to blocks management. In admincp.php find

/////////////////////// NEWS ///////////////////////
if ($action=="news" && $do=="view"){
    stdhead(T_("NEWS_MANAGEMENT"));
    navmenu();
    begin_frame(T_("NEWS"));
    echo "<center><a href='admincp.php?action=news&amp;do=add'><b>".T_("CP_NEWS_ADD_ITEM")."</b></a></center><br />";
    $res = SQL_Query_exec("SELECT * FROM news ORDER BY added DESC");
    if (mysql_num_rows($res) > 0){
        
        while ($arr = mysql_fetch_assoc($res)) {
            $newsid = $arr["id"];
            $body = format_comment($arr["body"]);
            $title = $arr["title"];
            $userid = $arr["userid"];
            $added = $arr["added"] . " GMT (" . (get_elapsed_time(sql_timestamp_to_unix_timestamp($arr["added"]))) . " ago)";
            $res2 = SQL_Query_exec("SELECT username FROM users WHERE id = $userid");
            $arr2 = mysql_fetch_assoc($res2);
            
            $postername = $arr2["username"];
            
            if ($postername == "")
                $by = "Unknown";
            else
                $by = "<a href='account-details.php?id=$userid'><b>$postername</b></a>";
            
            print("<table border='0' cellspacing='0' cellpadding='0'><tr><td>");
            print("$added&nbsp;---&nbsp;by&nbsp;$by");
            print(" - [<a href='?action=news&amp;do=edit&amp;newsid=$newsid'><b>".T_("EDIT")."</b></a>]");
            print(" - [<a href='?action=news&amp;do=delete&amp;newsid=$newsid'><b>".T_("DEL")."</b></a>]");
            print("</td></tr>\n");
            print("<tr valign='top'><td><b>$title</b><br />$body</td></tr></table><br />\n");
        }
    }else{
     echo "No News Posted";
    }
    end_frame();
    stdfoot();
}
if ($action=="news" && $do=="takeadd"){
    $body = $_POST["body"];
    
    if (!$body)
        show_error_msg(T_("ERROR"),T_("ERR_NEWS_ITEM_CAN_NOT_BE_EMPTY"),1);
    $title = $_POST['title'];
    if (!$title)
        show_error_msg(T_("ERROR"),T_("ERR_NEWS_TITLE_CAN_NOT_BE_EMPTY"),1);
    
    $added = $_POST["added"];
    if (!$added)
        $added = sqlesc(get_date_time());
    SQL_Query_exec("INSERT INTO news (userid, added, body, title) VALUES (".
    $CURUSER['id'] . ", $added, " . sqlesc($body) . ", " . sqlesc($title) . ")");
    if (mysql_affected_rows() == 1)
        show_error_msg(T_("COMPLETED"),T_("CP_NEWS_ITEM_ADDED_SUCCESS"),1);
    else
        show_error_msg(T_("ERROR"),T_("CP_NEWS_UNABLE_TO_ADD"),1);
}
if ($action=="news" && $do=="add"){
    stdhead(T_("NEWS_MANAGEMENT"));
    navmenu();
    begin_frame(T_("CP_NEWS_ADD"));
    print("<center><form method='post' action='admincp.php' name='news'>\n");
    print("<input type='hidden' name='action' value='news' />\n");
    print("<input type='hidden' name='do' value='takeadd' />\n");
    print("<b>".T_("CP_NEWS_TITLE").":</b> <input type='text' name='title' /><br />\n");
    echo "<br />".textbbcode("news","body")."<br />";
    print("<br /><br /><input type='submit' value='".T_("SUBMIT")."' />\n");
    print("</form><br /><br /></center>\n");
    end_frame();
    stdfoot();
}
if ($action=="news" && $do=="edit"){
    stdhead(T_("NEWS_MANAGEMENT"));
    navmenu();
    $newsid = (int)$_GET["newsid"];
    
    if (!is_valid_id($newsid))
        show_error_msg(T_("ERROR"),sprintf(T_("CP_NEWS_INVAILD_ITEM_ID"), $newsid),1);
                                                                                            
    $res = SQL_Query_exec("SELECT * FROM news WHERE id=$newsid");
    if (mysql_num_rows($res) != 1)
        show_error_msg(T_("ERROR"), sprintf(T_("CP_NEWS_NO_ITEM_WITH_ID"), $newsid),1);
    $arr = mysql_fetch_assoc($res);
    if ($_SERVER['REQUEST_METHOD'] == 'POST'){
          $body = $_POST['body'];
        if ($body == "")
            show_error_msg(T_("ERROR"), T_("FORUMS_BODY_CANNOT_BE_EMPTY"),1);
        $title = $_POST['title'];
        if ($title == "")
            show_error_msg(T_("ERROR"), T_("ERR_NEWS_TITLE_CAN_NOT_BE_EMPTY"),1);
        $body = sqlesc($body);
        $editedat = sqlesc(get_date_time());
        SQL_Query_exec("UPDATE news SET body=$body, title='$title' WHERE id=$newsid");
        $returnto = $_POST['returnto'];
        if ($returnto != "")
            header("Location: $returnto");
        else
            autolink("admincp.php?action=news&do=view", T_("CP_NEWS_ITEM_WAS_EDITED_SUCCESS"));
    } else {
        $returnto = htmlspecialchars($_GET['returnto']);
        begin_frame(T_("CP_NEWS_EDIT"));
        print("<form method='post' action='?action=news&amp;do=edit&amp;newsid=$newsid' name='news'>\n");
        print("<center>");
        print("<input type='hidden' name='returnto' value='$returnto' />\n");
        print("<b>".T_("CP_NEWS_TITLE").": </b><input type='text' name='title' value=\"".$arr['title']."\" /><br /><br />\n");
        echo "<br />".textbbcode("news","body",$arr["body"])."<br />";
        print("<br /><input type='submit' value='Okay' />\n");
        print("</center>\n");
        print("</form>\n");
    }
    end_frame();
    stdfoot();
}
if ($action=="news" && $do=="delete"){
    $newsid = (int)$_GET["newsid"];
    
    if (!is_valid_id($newsid))
        show_error_msg(T_("ERROR"),sprintf(T_("CP_NEWS_INVAILD_ITEM_ID"), $newsid),1);
    SQL_Query_exec("DELETE FROM news WHERE id=$newsid");
    SQL_Query_exec("DELETE FROM comments WHERE news = $newsid");
    
    show_error_msg(T_("COMPLETED"),T_("CP_NEWS_ITEM_DEL_SUCCESS"),1);
}
replace with UPDATED 2-23-17

/////////////////////// NEWS ///////////////////////
if ($action=="news" && $do=="view"){
    stdhead(T_("NEWS_MANAGEMENT"));
    
    begin_frame(T_("NEWS"));
    echo "<center><a href='admincp.php?action=news&amp;do=add'><b>".T_("CP_NEWS_ADD_ITEM")."</b></a></center><br />";
    $res = SQL_Query_exec("SELECT * FROM news ORDER BY added DESC");
    if (mysql_num_rows($res) > 0){
        
        while ($arr = mysql_fetch_assoc($res)) {
            $newsid = $arr["id"];
            $body = format_comment($arr["body"]);
            $title = $arr["title"];
            $userid = $arr["userid"];
            $added = $arr["added"] . " GMT (" . (get_elapsed_time(sql_timestamp_to_unix_timestamp($arr["added"]))) . " ago)";
            $res2 = SQL_Query_exec("SELECT username FROM users WHERE id = $userid");
            $arr2 = mysql_fetch_assoc($res2);
            
            $postername = $arr2["username"];
            
            if ($postername == "")
                $by = "System";
            else
                $by = "<a href='account-details.php?id=$userid'><b>$postername</b></a>";
            
            print("<table border='0' cellspacing='0' cellpadding='0'><tr><td>");
            print("$added&nbsp;---&nbsp;by&nbsp;$by");
            print(" - [<a href='?action=news&amp;do=edit&amp;newsid=$newsid'><b>".T_("EDIT")."</b></a>]");
            print(" - [<a href='?action=news&amp;do=delete&amp;newsid=$newsid'><b>".T_("DEL")."</b></a>]");
            print("</td></tr>\n");
            print("<tr valign='top'><td><b>$title</b><br />$body</td></tr></table><br />\n");
        }
    }else{
     echo "No News Posted";
    }
    end_frame();
    navmenu();
    stdfoot();
}
if ($action=="news" && $do=="takeadd"){
    $body = $_POST["body"];
    $news_id = ($_POST['newsid'] == 'system' ? 0 : $CURUSER['id']);
    if (!$body)
        autolink("admincp.php?action=news&do=add",T_("ERR_NEWS_ITEM_CAN_NOT_BE_EMPTY"),1);
    $title = $_POST['title'];
    if (!$title)
        autolink("admincp.php?action=news&do=add",T_("ERR_NEWS_TITLE_CAN_NOT_BE_EMPTY"),1);
    
    $added = $_POST["added"];
    if (!$added)
        $added = sqlesc(get_date_time());
    SQL_Query_exec("INSERT INTO news (userid, added, body, title) VALUES (".
    $news_id . ", $added, " . sqlesc($body) . ", " . sqlesc($title) . ")");
    if (mysql_affected_rows() == 1)
        autolink("admincp.php?action=news&do=view",T_("CP_NEWS_ITEM_ADDED_SUCCESS"),1);
    else
        autolink("admincp.php?action=news&do=add",T_("CP_NEWS_UNABLE_TO_ADD"),1);
}
if ($action=="news" && $do=="add"){
    stdhead(T_("NEWS_MANAGEMENT"));
    
    begin_frame(T_("CP_NEWS_ADD"));
    print("<center><form method='post' action='admincp.php' name='news'>\n");
    print("<input type='hidden' name='action' value='news' />\n");
    print("<input type='hidden' name='do' value='takeadd' />\n");
    print("<b>".T_("CP_NEWS_TITLE").":</b> <input type='text' name='title' /><br />\n");
    echo "<br />".textbbcode("news","body")."<br />";
    ?>
    <?php echo T_("CP_NEWS_POSTED_BY"); ?>
    <?php echo $CURUSER['username']?> <input name="newsid" type="radio" value="self" checked="checked" />
    <?php echo T_("CP_NEWS_SYSTEM"); ?><input name="newsid" type="radio" value="system" />
    <?php
    print("<br /><br /><input type='submit' value='".T_("SUBMIT")."' />\n");
    print("</form><br /><br /></center>\n");
    end_frame();
    navmenu();
    stdfoot();
}
if ($action=="news" && $do=="edit"){
    stdhead(T_("NEWS_MANAGEMENT"));
    
    $newsid = (int)$_GET["newsid"];
    
    if (!is_valid_id($newsid))
        autolink("admincp.php?action=news&do=view",sprintf(T_("CP_NEWS_INVAILD_ITEM_ID"), $newsid),1);
                                                                                            
    $res = SQL_Query_exec("SELECT * FROM news WHERE id=$newsid");
    if (mysql_num_rows($res) != 1)
        autolink("admincp.php?action=news&do=view", sprintf(T_("CP_NEWS_NO_ITEM_WITH_ID"), $newsid),1);
    $arr = mysql_fetch_assoc($res);
    if ($_SERVER['REQUEST_METHOD'] == 'POST'){
          $body = $_POST['body'];
        if ($body == "")
            autolink("admincp.php?action=news&do=add", T_("FORUMS_BODY_CANNOT_BE_EMPTY"),1);
        $title = $_POST['title'];
        if ($title == "")
            autolink("admincp.php?action=news&do=add", T_("ERR_NEWS_TITLE_CAN_NOT_BE_EMPTY"),1);
        $body = sqlesc($body);
        $editedat = sqlesc(get_date_time());
        SQL_Query_exec("UPDATE news SET body=$body, title='$title' WHERE id=$newsid");
        $returnto = $_POST['returnto'];
        if ($returnto != "")
            header("Location: $returnto");
        else
            autolink("admincp.php?action=news&do=view",T_("CP_NEWS_ITEM_WAS_EDITED_SUCCESS"), 1);
    } else {
        $returnto = htmlspecialchars($_GET['returnto']);
        begin_frame(T_("CP_NEWS_EDIT"));
        print("<form method='post' action='?action=news&amp;do=edit&amp;newsid=$newsid' name='news'>\n");
        print("<center>");
        print("<input type='hidden' name='returnto' value='$returnto' />\n");
        print("<b>".T_("CP_NEWS_TITLE").": </b><input type='text' name='title' value=\"".$arr['title']."\" /><br /><br />\n");
        echo "<br />".textbbcode("news","body",$arr["body"])."<br />";
        print("<br /><input type='submit' value='Okay' />\n");
        print("</center>\n");
        print("</form>\n");
    }
    end_frame();
    navmenu();
    stdfoot();
}
if ($action=="news" && $do=="delete"){
    $newsid = (int)$_GET["newsid"];
    
    if (!is_valid_id($newsid))
        autolink("admincp.php?action=news&do=view",sprintf(T_("CP_NEWS_INVAILD_ITEM_ID"), $newsid),1);
    SQL_Query_exec("DELETE FROM news WHERE id=$newsid");
    SQL_Query_exec("DELETE FROM comments WHERE news = $newsid");
    
    autolink("admincp.php?action=news&do=view",T_("CP_NEWS_ITEM_DEL_SUCCESS"),1);
}


[ATTACH]2447._xfImport[/ATTACH]
this should work. In torrents-upload.php before


    //Uploaded ok message (update later)
    if ($external=='no')
        $message = sprintf( T_("TORRENT_UPLOAD_LOCAL"), $name, $id, $id );

add


        if ($CURUSER["edit_torrents"] == "yes")
            if(get_user_class($CURUSER) > 4){
                if ($_POST["sticky"] == "yes"){
                $updateset[] = "sticky = 'yes'";
                 }else{
                $updateset[] = "sticky = 'no'";
        }
}
        $updateset[] = "freeleech = '".intval($_POST["freeleech"])."'";
        SQL_Query_exec("UPDATE torrents SET " . join(",", $updateset) . " WHERE id = $id");

after


print ("<tr><td colspan='2' align='center'>".T_("MAX_FILE_SIZE").": ".mksize($site_config['image_max_filesize'])."<br />".T_("ACCEPTED_FORMATS").": ".implode(", ", array_unique($site_config["allowed_image_types"]))."<br /></td></tr><tr><td align='right'>".T_("IMAGE")." 1:&nbsp;&nbsp;</td><td><input type='file' name='image0' size='50' /></td></tr><tr><td align='right'>".T_("IMAGE")." 2:&nbsp;&nbsp;</td><td><input type='file' name='image1' size='50' /></td></tr>");

add


if ($row["external"] != "yes" && $CURUSER["edit_torrents"] == "yes"){
    echo "<tr><td align='right'><b>".T_("FREE_LEECH").": </b></td><td><input type=\"checkbox\" name=\"freeleech\"" . (($row["freeleech"] == "1") ? " checked=\"checked\"" : "" ) . " value=\"1\" />".T_("FREE_LEECH_MSG")."<br /></td></tr>";
    echo "<tr><td align='right'><b>Sticky?</b></td><td><input type='checkbox' name='sticky'" .
(($row["sticky"] == "yes") ? " checked='checked'" : "" ) . " value='yes' />";
}
UPDATED DEC-9-2016
   this will add admin ACP option to change the site theme for all site users. Themes have to be installed as usual

in admincp.php, find (adjust the width and height in the code directly below to suit your needs)


   <td align="center"><a href="admincp.php?action=sqlerr"><img src="images/admin/sql_error.png" border="0" width="118" height="80" alt="" /><br />SQL Error<br /></a></td>

add after


<td align="center"><a href="admincp.php?action=globaltheme"><img src="images/admin/globaltheme.png" border="0" width="118" height="80" alt="" /><br /><?php echo T_("SET_ALL_USER_THEMES"); ?><br /></a></td>

before last ?>, add


///////////////// GLOBAL THEME /////////////////////////////

if ($action == "globaltheme") {

stdhead(T_("HEADERGLOBAL_THEME"));
error_reporting(E_ALL);
$do = (isset($_REQUEST["do"]));

  begin_frame("".T_("SET_ALL_USER_THEMES")."");

?>
<br /><br />
<font size ='3'><center><?php echo T_("THEME_TEXT"); ?></center></font>
<br /><br />

  <form enctype="multipart/form-data" method="post" action="admincp.php">
  <input type="hidden" name="action" value="globaltheme" />
  <input type="hidden" name="do" value="save_settings" />
  <table class="f-border" cellspacing="0" cellpadding="5" width="100%" align="center">
  <?php

  $ss_r = SQL_Query_exec("SELECT * from stylesheets");
  $ss_sa = array();
  while ($ss_a = mysql_fetch_array($ss_r))
  {
    $ss_id = $ss_a["id"];
    $ss_name = $ss_a["name"];
    $ss_sa[$ss_name] = $ss_id;
  }
  ksort($ss_sa);
  reset($ss_sa);
  while (list($ss_name, $ss_id) = each($ss_sa))
  {
    $stylesheets = (isset($stylesheets) ? $stylesheets : "");
   if ($ss_id == $CURUSER["stylesheet"]) $ss = " selected='selected'"; else $ss = "";
    $stylesheets .= "<option value='$ss_id'$ss>$ss_name</option>\n";
  }
  print("<tr><td align='center'><font size ='3'>" . T_("CHANGE_ALL_USER_THEME") . ": </font> <select name='stylesheet'>\n$stylesheets\n</select></td></tr>");

  ?>

  <tr><td colspan="2" align="center"><input type="submit" value="<?php echo T_("YESTHEMECHANGE");?>" /></td></tr>
  </table></form>

  <?php
  end_frame();

  if ($do == "save_settings"){
       $stylesheet = $_POST["stylesheet"];
       if (is_valid_id($stylesheet))
        $updateset[] = "stylesheet = '$stylesheet'";
        SQL_Query_exec("UPDATE users SET " . implode(",", $updateset) . "");
        write_log("Global theme changed to ID $stylesheet by $CURUSER[username]");
         autolink ("admincp.php?action=globaltheme", "<b><font color='#ff0000'>Theme changed....</font></b>");
  }
  navmenu();
     stdfoot();
     die();
}
/////////////END GLOBAL THEME //////////////////////////////////////////////





in english.php

/////Global themes change
$LANG["CHANGE_ALL_USER_THEME"] = "<font color=red>Change all users active theme to</font>";
$LANG["SET_ALL_USER_THEMES"] = "Global Theme Change";
$LANG["HEADERGLOBAL_THEME"] = "Global Theme Editor";
$LANG["YESTHEMECHANGE"] = "Change all Themes";
$LANG["THEME_TEXT"] = "Are you sure you want to change the theme for <b><font color=red>EVERY</font></b> user on the site?";



upload image below to images/admin folder, or create your own image named globaltheme.png

[ATTACH]2496._xfImport[/ATTACH]
New mailbox.php — 2015-05-06 00:04:42 in v2.08 Mods Completed
Nice mod. I like it
works nice, thanks
add windows 10 detection. Add to functions.php in the same place as you added the others

'/windows nt 10.0/i' => 'Windows 10',

add the below image to your images/oss folder

This has to be added to the functions.php in order to properly detect windows 8.1, then, if you like, you add the attached image to your images/oss folder, and for IE 11 detection, you need to change this line. I also added an updated IE 11 image

else if(preg_match("/MSIE/u", getenv("HTTP_USER_AGENT"))) $browser = "6";

to this

else if(preg_match("/rv:11.0/u", getenv("HTTP_USER_AGENT"))) $browser = "6";

below is what you add to detect windows 8.1

'/windows nt 6.3/i' => 'Windows 81',



I tried this also, and nothing happened. The only thing that happened was it changed my youtube links that were playable on the screen, to links that just led back to youtube. To be honest, im not sure what it was supposed to do to begin with. Thanks for the mod tho  :)
happy birthday :)
works pretty good. I wonder what we can do to highlight URL links. I have a few local URL links in my news area, but the text is just white like the rest of the news text.

And how do you make the newest news item to start open. Mine are all collapsed
Does this one have the message I added to mine about "are you sure you want to delete this message?. I added it to mine so I wouldn't accidently delete shouts lol. I found that would happen if I didnt pay attention and click in the shoutbox to scroll the page, and if you click the D, the message just goes away
yea, im using gmail ArcticWolf. I did use my email addy, I just entered a generic mail to make that post. I dont post my real email on forums lol
hmm, cant seem to get it to send an email. Is this the correct format for these lines?



$choix_urgent = 1; # You can choose to enable or disable the "urgent", and the member may indicate that his email is urgent or not

$choix_nom = 1;  # Name required?

$votre_mail = 0; # View your email directly?

$contact_email = 'email@website.org'; # Email address at to be receive messages

//*/===| Don't change anything below! |===/*//

I use admuncher. Best ad blocker on the planet. No ads anywhere, including youtube lol
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 1
  • Members: 0
  • Guests online: 1
  • Comments: 3
  • Messages: 1,728