[PHP]User+News system.

Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 36
  1. #16
    Account Upgraded | Title Enabled! Hidden is offline
    MemberRank
    Apr 2008 Join Date
    .Location
    367Posts

    Re: [PHP]User+News system.

    Quote Originally Posted by EliteGM View Post
    My comment system is like.
    In the news you make a comment, it's saved in the table comments which has as columns: id (the ID of the comment), news_id (the ID of the news post it was done in), the name of the poster, the text, done.
    I can't belive i never thought of it like that
    thanks :)

  2. #17
    Hm. foxx is offline
    MemberRank
    Sep 2006 Join Date
    Czech RepublicLocation
    5,257Posts

    Re: [PHP]User+News system.

    win

  3. #18
    The Gamma..? EliteGM is offline
    MemberRank
    Jul 2006 Join Date
    NandolandLocation
    4,078Posts

    Re: [PHP]User+News system.

    That's a nice system Foxx
    Can't say mines better :P

  4. #19
    Member fook3d is offline
    MemberRank
    Sep 2007 Join Date
    Leicester, UKLocation
    65Posts

    Re: [PHP]User+News system.

    Im completely bored - so for the next hour, I will spend the time making a news system - Will make a post and let you all download when its complete :)

  5. #20
    Account Upgraded | Title Enabled! King Izu is offline
    MemberRank
    Dec 2006 Join Date
    833Posts

    Re: [PHP]User+News system.

    Quote Originally Posted by EliteGM View Post
    That's a nice system Foxx
    Can't say mines better :P
    Too bad we can't say the same thing about the code behind it. ;D

  6. #21
    Hm. foxx is offline
    MemberRank
    Sep 2006 Join Date
    Czech RepublicLocation
    5,257Posts

    Re: [PHP]User+News system.

    Fu izu :P nevermind him, he's just a huge emo fan of OOP and don't like my procedural php.

  7. #22
    The Gamma..? EliteGM is offline
    MemberRank
    Jul 2006 Join Date
    NandolandLocation
    4,078Posts

    Re: [PHP]User+News system.

    I've updated it a little, the comments layout has changed and you can show/hide comments now.
    Especially when some Czech dude posts some unreadable text which is soo long :P

  8. #23
    Hm. foxx is offline
    MemberRank
    Sep 2006 Join Date
    Czech RepublicLocation
    5,257Posts

    Re: [PHP]User+News system.

    Tried to insert a whole page ;P

  9. #24
    The Gamma..? EliteGM is offline
    MemberRank
    Jul 2006 Join Date
    NandolandLocation
    4,078Posts

    Re: [PHP]User+News system.

    I've added smileys =)

  10. #25
    Hm. foxx is offline
    MemberRank
    Sep 2006 Join Date
    Czech RepublicLocation
    5,257Posts

    Re: [PHP]User+News system.

    your page connection timeouts now..

  11. #26
    The Gamma..? EliteGM is offline
    MemberRank
    Jul 2006 Join Date
    NandolandLocation
    4,078Posts

    Re: [PHP]User+News system.

    Prolly cuz my PC is on too long.
    W/e imma get some sleep tho

    EDIT:
    Woke up
    SITE = ON!
    Last edited by EliteGM; 29-08-08 at 08:34 AM.

  12. #27
    The Gamma..? EliteGM is offline
    MemberRank
    Jul 2006 Join Date
    NandolandLocation
    4,078Posts

    Re: [PHP]User+News system.

    UPDATE:

    I've been learning to use mod_rewrite and I've now used that to replace `http://80.60.10.185/news.php?article=ID` with `http://80.60.10.185/articles/ID/`.

    P.S:
    The name of news.php has changed to a random combination for security.

  13. #28
    Account Upgraded | Title Enabled! Ridiculous is offline
    MemberRank
    Apr 2008 Join Date
    1,146Posts

    Re: [PHP]User+News system.

    Quote Originally Posted by EliteGM View Post
    UPDATE:

    I've been learning to use mod_rewrite and I've now used that to replace `http://80.60.10.185/news.php?article=ID` with `http://80.60.10.185/articles/ID/`.

    P.S:
    The name of news.php has changed to a random combination for security.
    Nice work.

  14. #29
    The Gamma..? EliteGM is offline
    MemberRank
    Jul 2006 Join Date
    NandolandLocation
    4,078Posts

    Re: [PHP]User+News system.

    Thanks.

    UPDATE:
    With preg_replace I've expirimented a bit and came out with something I saw on a forum; a BBCode [hide] tag.
    It goes like: [hide=NAME OF HIDE]text to hide[/hide] (spaces allowed).
    This'll create a button which will show up with the text you put after 'hide=' and when you click it, the 'hidden' text will become visible =)

  15. #30
    Alpha Member Moogly is offline
    MemberRank
    Feb 2008 Join Date
    Pool LidoLocation
    2,322Posts

    Re: [PHP]User+News system.

    Quote Originally Posted by EliteGM View Post
    I've forwarded port 80 and port 443 UPD and TCP, on the correct IP address in my router.
    the local router ip changes a lot btw... thats why its good to set a static local router ip (or whatever the term is) like I always have 192.168.1.115 or so because theres only like 1 other computer in my network, and when theres two or three the highest they would get is around .110 for a router ip, anyways google 'static router ip' ;P Also, why would you hide the end of ur router-local ip... rofl no1 can hack you if they new your routers local ip, its an ip that only works if you're connected to a router rofl



Page 2 of 3 FirstFirst 123 LastLast

Advertisement