Jump to content

steelmanronald06

Staff Alumni
  • Posts

    2,006
  • Joined

  • Last visited

Posts posted by steelmanronald06

  1. I am using PHPBB right now on my website...I am considering a move to something else, but for the most part I have had NO troubles out of phpbb....currently I have been working on my own forum software, just messing around with it, to see what I come up with. Eric I would almost steer clear of the free forum software. It will only get worse than what IPB does, giving that this is such a big community. If you consider making forum software, I would be game for helping out. You know that I will help with anything and everything if you just ask.
  2. I am responsible for the warn level. i enabled it to allow members to see what warning they were at, and you can click it to see your entire, lifetime, warn log. when warns were raised and why, and when they were lowered and why. Only an admin or moderator can see everyone elses, and you can only see your own. this was more to help you out, because some mods will warn you and not tell you what about. so now you can see what your doing wrong and fix it so you dont get in futher trouble.
  3. I don't know if it is database driven, but i do know smarty is good. I have created a nice little tutorial over how to setup and use smarty: [a href=\"http://lampgeekz.netgeekz.net/forums/viewtopic.php?t=32\" target=\"_blank\"]http://lampgeekz.netgeekz.net/forums/viewtopic.php?t=32[/a]

    Yeah, sorry for the link to another site. I made that tutorial on my site and i didn't really feel like re-writting it again. Anyways, hope that helps.
  4. [code]RewriteRule ^tutorial/tutorial.php?id=([0-9])&page=([0-9])$ /tutorial/$1/$2/ [/code]

    Is that correct? The live url is something like: [a href=\"http://mysite.subdomain.com/tutorial/tutorial.php?id=1&page=0\" target=\"_blank\"]http://mysite.subdomain.com/tutorial/tutor...php?id=1&page=0[/a]

    Here is my entire .htaccess (it all works but that one line)

    [code]
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule ^forums$    /forums/    [R]
    RewriteRule ^news$      /news/      [R]
    RewriteRule ^tutorial/tutorial.php?id=([0-9])&page=([0-9])$ /tutorial/$1/$2/
    </IfModule>
    [/code]

    I want the url to look like: [a href=\"http://mysite.subdomain.com/tutorial/1/0/\" target=\"_blank\"]http://mysite.subdomain.com/tutorial/1/0/[/a] I think I am on the write track, but still, it isn't working.
  5. It shouldn't be much longer. I am working on getting eric to set me up with the code that is currently there and I plan on fixing it myself. In the meantime, feel free to email tutorials to me and I will put them on the site. The best I can do in regards to giving you credit for the tutorial, is putting your name on the conclusion page. If you choose to send me tutorials be sure you tell me where one page starts and where it ends, and be sure to title each page. An example might be Set Up Database and that entire page be devoted to setting up the database. All emails can be sent to netgeekz@gmail.com

  6. can I include a php file in apache by using:

    [code]
    include conf/monitor_apache.php
    [/code]

    and if so, would that mean that the php file would exectue everytime someone went to any page on my website that is hosted through that apache server?

    what I want to do is have a .php file that is included in just one place and have it execute on every page on my website without me going into each file on my server and doing and include '../includes/file.php';
  7. [code]
    <?php
    $title = ":. Edit News";

    require_once($_SERVER['DOCUMENT_ROOT'].'/includes/top.php');

    $newsid = isset($_GET['news_id']) ? $_GET['news_id'] : NULL;

    /* Connect To The Database Via Including It */
    require_once($_SERVER['DOCUMENT_ROOT'].'/includes/db.php');

    // Get Secure Access Levels

    $secure_username = $_SESSION['username'];
    $securequery=mysql_query("SELECT * FROM `users` where username='$secure_username'");
    $securerow=mysql_fetch_array($securequery);
    $access_level=$securerow['user_level'];

    // Redirect All Restricted Users
    if($access_level == 0 ||
       $access_level == 1) {
       echo "<p>You don't have permission to view this page. If you feel you have
             reached this page by error, please contact the administrator.</p>";
    }

    // If They Have Permission, We Let Them Post
    if($access_level == 2 ||
       $access_level == 3 ||
       $access_level == 4) {

       // Get The Posters Username
       $news_username = $_SESSION['username'];

       if (isset($_POST['submit'])) {

         // Assign Variables
         $name = strip_tags(trim($_POST['name']));
         $subject = strip_tags(trim($_POST['subject']));
         $message = $_POST['message'];
         $date = date("D m/d/Y - g:ia");

         $postquery = "UPDATE news
                       SET name='$name', subject='$subject', message='$message', date='$date'
                       WHERE id='$newsid'";
         mysql_query($postquery) or die(mysql_error());

         mysql_close();

         echo "News Updated!";
       }

       /* Time To Select The News From The Database */
       $query = "SELECT * FROM news WHERE id='$newsid'";

       $result = mysql_query($query);
       $result_array = mysql_fetch_assoc($result);
       ?>

       <p>
       <form name="news" method="post" action="<? echo $PHP_SELF ?>">
       <input name="name" type="hidden" value="<? echo $news_username ?>">
       Subject: <input type="text" name="subject" value="<? echo("{$result_array['subject']}"); ?>"><br><br>
       Message:<br>
       <textarea name="message" cols="60" rows="15"><? echo("{$result_array['message']}"); ?></textarea>
       <br><br>
       <input type="submit" name="submit" value="Edit" style="cursor:pointer"> <input type="reset" name="reset" value="Clear" style="cursor:pointer">
       </form>
       </p>

       <?php
    }else{
        echo "<p>You have failed to pass both security checks. Your actions have been
              logged and reported to the site administrator. If you believe you have
              recieved this error by mistake, please contact the webmaster.</p>";
    }
    require_once($_SERVER['DOCUMENT_ROOT'].'/includes/bot.php');
    ?>
    [/code]

    [!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]
    Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/www/netgeekz.net/news/edit.php on line 54

    Warning: mysql_query(): A link to the server could not be established in /home/www/netgeekz.net/news/edit.php on line 54

    Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/www/netgeekz.net/news/edit.php on line 55
    [/quote]

    Any way to fix the error?
  8. Yeah tis true that FileZilla is great. The GDrive is awesome...I really like it. I have thosands of music files saved on my GDrive. I got 100 invites because I was a late joiner and the late joiners are getting 100. With 5 accounts I have almost reached 500 invites :-D . As soon as I hit 600, as soon as I think of a reason for another account, I plan to bid them on EBay. Yeah almost anyone can get them for free, but you still have the suckers out there who will pay 5 dollars via PayPal for an invite.

    Anyways, back to the GDrive. I just installed it on a friends Linux computer. Took me about 2 hours, it is a bit complaciated, but I got it working. My friend is really good at hacking Linux and done something really cool (don't ask, I don't remember what he did). He has two GMail accounts sharing ONE GDrive. It is really cool.
  9. I use FileZilla, and their awesome ability to save connections and use quick connect. Even so, I have about 20 different connection settings. Having a GDrive is really cool, and I use it to store my music files. That is the main reason. If you store music files on FTP, you have to put them on your computer to listen to them with things such as Music Match, Media Player, or any other favorite music program. With the GDrive it is like their stored on your computer, and can play them staright from the GDrive without downloading them.
  10. I used one of my 100 invites to create a 5th GMail account. *blushes* (I have about 500 - 600 invites for gmail...hahaha). Anyways, I created this newest account so I could use it to devote to my new Virtual Disk Drive...GDrive.

    So far I like it, and havn't had any problems out of it...apart from the usual bugs in a Beta version.

    1) Any security risk?
    2) Do you have it?
    3) If yes, what do you think of it?
    4) If no, what do you think of it from just reading about it?
    5) Are you considering getting it if you don't already have it?

    Answers to those questions would be great, and anything else you would like to add. This helps me and the rest of the technological community.
  11. [!--sizeo:2--][span style=\"font-size:10pt;line-height:100%\"][!--/sizeo--][a href=\"http://www.webhostfreaks.com\" target=\"_blank\"]http://www.webhostfreaks.com[/a]

    [!--sizec--][/span][!--/sizec--][!--sizeo:2--][span style=\"font-size:10pt;line-height:100%\"][!--/sizeo--][a href=\"http://www.serverpowered.com\" target=\"_blank\"]http://www.serverpowered.com[/a][!--sizec--][/span][!--/sizec--]

    Both places have EXCELLENT hosting from webhosting to VPS, Dedicated, and Reseller. I would recommend them above all other hostings environments. Not only that, but they will work to meet YOUR needs. If their system configurations don't meet your requriments you can contact them and they will set up a system that does. Not only that but they provide FREE Server Migration. They will Migrate everything from your current server to theirs in a quick painless process.
  12. Blah! What was I thinking CHMOD on a Unix? LOL! Want my honest opinion? Get rid of windows and grab you a nice linux distro. For webhosting and such I would go with CentOS...if your new there are a few new ones out there such as Debian and Ubuntu...If your really good at linux go Gentoo...CentOS is what I perfer for web servers, however.
  13. Not caught. It was saved on my webhost server, not on a personal server. I have this cheap hosting service, about 2.99 per month, and I just ftped the files to there. I didn't really think that he could ftp onto my account, but he managed.

    The only thing that saved me was I had, for some odd reason, kept a copy saved on my personal computer
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.