Welcome to the RaGEZONE - MMORPG development forums.

FailPHP

This is a discussion on FailPHP within the Habbo Development forums, part of the Habbo Hotel category; Originally Posted by joopie Haha, For some reasons I also forgot that button. And if I find out, Then I ...

Page 11 of 24 FirstFirst ... 34567891011121314151617181921 ... LastLast
Results 151 to 165 of 359
  1. #151
    Goin Goin Gone!
    Rank
    Member +
    Join Date
    Mar 2011
    Location
    Virginia
    Posts
    703
    Liked
    56
    Gamertag: LHaZze HD

    Re: FailPHP

    Quote Originally Posted by joopie View Post
    Haha, For some reasons I also forgot that button.

    And if I find out, Then I think `Owh fuck where must I place that thing`
    I find it pretty fun, since its almost useless without the hotel to go with it. :P and

    Ideas!
    Maybe a search button? like to search homepages, and shit.
    Did i help you? Say Thanks!
    Search before Posting new Threads!
    Read Before you fucking Flame!!


  2. #152
    Private Detective
    Rank
    Member +
    Join Date
    Aug 2008
    Posts
    791
    Liked
    257

    Re: FailPHP

    I've noticed that some people have attempted to rob my index page, shame they failed to rip it properly.

    Updated some security issues, messed about with some designs. I'll add some protection to the guestbook when I think about how I'm going to do it.

    Demo- Fail

  3. #153
    FeedMe
    Rank
    Alpha Member
    Join Date
    Jun 2010
    Location
    The Netherlands
    Posts
    2,162
    Liked
    1389

    Re: FailPHP

    Quote Originally Posted by Predict View Post
    I've noticed that some people have attempted to rob my index page, shame they failed to rip it properly.

    Updated some security issues, messed about with some designs. I'll add some protection to the guestbook when I think about how I'm going to do it.

    Demo- Fail
    Lol? How hard can it be to rip it xD


    Mental, why :c

    Cya peoples

  4. #154
    habjamz.com
    Rank
    Member +
    Join Date
    Jul 2011
    Posts
    552
    Liked
    68

    Re: FailPHP

    looks good
    Please Like / Rep if you liked this post.

    Goodnight :)

  5. #155
    Developer
    Rank
    Member +
    Join Date
    May 2008
    Location
    Kanaada
    Posts
    1,056
    Liked
    773

    Re: FailPHP

    Quote Originally Posted by Predict View Post
    I'll add some protection to the guestbook when I think about how I'm going to do it.
    That's easy, record the time-stamp of each post and then before inserting a new post just compare the time stamp and the user id of the last post to the user id and the current time...

    In the ModCMS guestbook, users can only post one entry every 60 seconds to any guestbook... it seems to be working pretty good. another good idea is to use a word filter on the entries.....

  6. #156
    Goin Goin Gone!
    Rank
    Member +
    Join Date
    Mar 2011
    Location
    Virginia
    Posts
    703
    Liked
    56
    Gamertag: LHaZze HD

    Re: FailPHP

    I think you should make the button rounded and make it orange. (enter hotel)
    Did i help you? Say Thanks!
    Search before Posting new Threads!
    Read Before you fucking Flame!!


  7. #157
    Private Detective
    Rank
    Member +
    Join Date
    Aug 2008
    Posts
    791
    Liked
    257

    Re: FailPHP

    Quote Originally Posted by joopie View Post
    Lol? How hard can it be to rip it xD
    That's what I said, lol. Just go into thehabbos.org and find the hotel called, erm... Habplus?

    Quote Originally Posted by HopAndJump View Post
    looks good
    Cool story bro.

    Quote Originally Posted by leenster View Post
    That's easy, record the time-stamp of each post and then before inserting a new post just compare the time stamp and the user id of the last post to the user id and the current time...

    In the ModCMS guestbook, users can only post one entry every 60 seconds to any guestbook... it seems to be working pretty good. another good idea is to use a word filter on the entries.....
    It'll be something like if($time) > 60) then allow insert, to filter a word out you'll need to use preg_match ($string). Thanks for the idea, anyway.

    Quote Originally Posted by LHaZze View Post
    I think you should make the button rounded and make it orange. (enter hotel)
    I'm still working on it, give me time. ^^ (Oh and I liked the search idea).

  8. #158
    Private Detective
    Rank
    Member +
    Join Date
    Aug 2008
    Posts
    791
    Liked
    257

    Re: FailPHP

    Spoiler:




    I've been messing around with the Guestbook. Deleted all the comments, so you might want to test it out.

    My preferences (http://www.talan.x10.bz/change-info.php) will now save your "about" statements instead of you updating it every time you want to change something.

    Added your own figures to your profile page, erm.

    Been reconstructing housekeeping, looks pretty good.

  9. #159
    Hello Der.
    Rank
    Member +
    Join Date
    Nov 2011
    Location
    RaGEZONE
    Posts
    307
    Liked
    57
    Gamertag: CRIKEMAN

    Re: FailPHP

    So far I like the look & design of "Fail", don't forget to keep updating though, this looks like a good development.

  10. #160
    Developer
    Rank
    Member +
    Join Date
    May 2008
    Location
    Kanaada
    Posts
    1,056
    Liked
    773

    Re: FailPHP

    Quote Originally Posted by Predict View Post
    Spoiler:




    I've been messing around with the Guestbook. Deleted all the comments, so you might want to test it out.

    My preferences (http://www.talan.x10.bz/change-info.php) will now save your "about" statements instead of you updating it every time you want to change something.

    Added your own figures to your profile page, erm.

    Been reconstructing housekeeping, looks pretty good.
    i noticed that a question mark is missing from the allowed characters....
    edit: also any other special characters like single quotes, comma's etc should be allowed..

    also i was still able to spam my guestbook...

    Edit:
    I just realized that you might have misunderstood me when I said word filter... I was trying to say to use the same word filter as the emu .. Not special characters...
    Posted via Mobile Device
    Last edited by leenster; 24-11-11 at 03:27 AM.

  11. #161
    Private Detective
    Rank
    Member +
    Join Date
    Aug 2008
    Posts
    791
    Liked
    257

  12. #162
    PHP + OOP
    Rank
    Member +
    Join Date
    May 2007
    Location
    Rukongai
    Posts
    649
    Liked
    75

    Re: FailPHP

    Keep going :) Good work mate.
    Simple, nice & clean design.
    0xFFF

  13. #163
    Developer
    Rank
    Member +
    Join Date
    May 2008
    Location
    Kanaada
    Posts
    1,056
    Liked
    773

    Re: FailPHP

    to use the emu's word filter u could do something like this...

    This is how i used it in the PMS that i created for phoenixPHP a while back... I'm sure it can be done a little more efficient but this could give u an idea.....

    PHP Code:

    public function WordFilter($str '')
        {
            
    $wordfilterq mysql_query("SELECT * FROM wordfilter");
            while(
    $row mysql_fetch_array($wordfilterq)){
            
    $str=preg_replace("/".$row['word']."/i",$row['replacement'],$str);
            } 
    Last edited by leenster; 26-11-11 at 06:43 PM.

  14. #164
    I'm an asshole eat me out
    Rank
    Gamma
    Join Date
    Apr 2010
    Location
    Corporal USA
    Posts
    3,689
    Liked
    1538
    Gamertag: CobeLeDev PSN ID: COBEx9 Steam ID: CobeLeGamer

    Re: FailPHP

    Your javascript code for the support system is lacking. You should have it more dynamic instead of having all the information on the page but hidden
    praise yeezus, the doctor (who)

  15. #165
    Private Detective
    Rank
    Member +
    Join Date
    Aug 2008
    Posts
    791
    Liked
    257

    Re: FailPHP

    Quote Originally Posted by leenster View Post
    to use the emu's word filter u could do something like this...

    This is how i used it in the PMS that i created for phoenixPHP a while back... I'm sure it can be done a little more efficient but this could give u an idea.....

    PHP Code:

    public function WordFilter($str '')
        {
            
    $wordfilterq mysql_query("SELECT * FROM wordfilter");
            while(
    $row mysql_fetch_array($wordfilterq)){
            
    $str=preg_replace("/".$row['word']."/i",$row['replacement'],$str);
            } 
    I understand, but wouldn't lowercase, uppercase, space and numbers be the best option (saves them using Domain Names | Web Hosting | SSL Certificates - Name.com. Instead they'll have to do www NAME com.

    Quote Originally Posted by Makarov View Post
    Your javascript code for the support system is lacking. You should have it more dynamic instead of having all the information on the page but hidden
    That's so people using browsers which doesn't support jquery will be shown it (i.e: an old version of internet explorer will be shown everything).

    Although if you have a better idea, please care to show me.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •