[TUT]Make your hotel register more then twice[TUT]

kalao

Member
Jul 17, 2011
129
5
Hello again , Well i know this maybe is easy for some peopels but its not easy for some other. So thats why i make this tutorial. Can you just register 1 time? Want to register more. Read this tut then ;)




1.Open up HTDOCS
2.Go to APP>Class.users.PHP
3.Open it up.
4. On line 104 you will see this code
Code:
if($engine->num_rows("SELECT * FROM users WHERE ip_reg = '" . $_SERVER['REMOTE_ADDR'] . "'") == 1)

5. Replace the 1 with the amount of user per ip u want they to create.
6. Save it :)
7. Then u finish.



It's much easier to find line 104 if you have Notepad++ But u can find it with out. But if u want to download notepad++ to find it.

You can download Notepad++ here -

Then click So its starts to load :)


Do u have errors ? Or wrongs about this? Pm me or comment below.


Again srry for bad english im swedish.
 

keiller

Mr Tutorial Man
Jun 9, 2012
492
108
I don't mean to be rude, but because your not fluent in English, it is sometimes hard to understand what you are saying for others to use the tutorial.

But good tutorial I suppose for noobs.
 

Users who are viewing this thread

Top