Jump to content
MakeWebGames

Recommended Posts

Posted

Re: Updated Personal Details [V2]

 

I Find kids a little immature on rpg games sometimes so my site(s) are restricted to 18+

so i gotta make sure they 18 or over lol plus i prefer a small amount of adult content it brings more people to the game

I thought that way at first but I have some real mature 14 - 16 year olds that act more mature than the 25 + members. I still keep a short leash on the younger members. The mods run a pretty tight ship so they cannot get away with much. We allow a little adult content so as long as it don't get out of hand. Seems to work well for my site and my member base. It will be different from site to site though. I have noticed some members that play on other sites say well I can do this over there.....:lol: Well this is "there" they are told...

  • 2 weeks later...
  • 1 month later...
Posted

Re: Updated Personal Details [V2]

Parse error: syntax error, unexpected T_STRING in /home/***/public_html/viewuser.php on line 141

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

  • 1 month later...
Posted

Re: Updated Personal Details [V2]

Hey im stuck for some reason wont allow me to have this :S could someone add this:

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

To my viewuser.php real quick please. thanks

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Posted

Re: Updated Personal Details [V2]

I followed your guide step by step, and for people already registered, it says they dont wanna share info, even though thats not true. V2

  • 2 months later...
Posted

Re: Updated Personal Details [V2]

create a file with

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

doesn't matter what it's called, as long as you remember.

upload and run the file, the default details will be added for all users.

once done, remove it from your server so others cannot run it.

that should fix your issues of previously registered users not being able to turn them on

  • 3 months later...
Posted

Re: [mccode v2] Updated Personal Details

i followed it perfectly im just getting this error

 

Fatal error: Call to undefined function: pdetail_change() in /home/username/public_html/game/preferences.php on line 51

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

i dont see where its a fatel error :s

 

Edit/ fixed :)

  • 2 weeks later...
Posted

Re: Updated Personal Details [V2]

 

Anyone there?..still doesn't work!

lol

Tried to make it work..errorrs

Add it all again. There were some other things i edited as well... It works for everyone else so i don't know why it isn't working for you.

Sorry To Say Ghetto But It Doesnt Work If You Follow Your Post As Its Going To Give Ya "This User Doesnt Wish To Share His/Her Personal Infomation" May Not Be The Exact Wordin You Put When Ya Coded It But Still When You Try To Update The Personal Info It Will Still Tell You That Even Tho you Filled Out The Form Correctly And Followed The Steps You Put In The Posts So Ya Might Want To Reveiw That As I Literally Just Put It On My Site Then Removed It Cause Of That Very Reason

  • 6 months later...
Posted

Re: [mccode v2] Updated Personal Details

 

i followed it perfectly im just getting this error

 

Fatal error: Call to undefined function: pdetail_change() in /home/username/public_html/game/preferences.php on line 51

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

i dont see where its a fatel error :s

 

Edit/ fixed :)

 

Sorry to bring this up,

But how did you fix this?

I can't seem to see what's wrong

  • 1 year later...
Posted (edited)

OK hope this helps everyone haha

Instead of making another table were going to Alter the user table...

[mysql]ALTER TABLE users ADD `first` varchar(11) NOT NULL default 'N/A'

ALTER TABLE users ADD `last` varchar(11) NOT NULL default 'N/A'

ALTER TABLE users ADD `age` tinyint(4) NOT NULL default '0'

ALTER TABLE users ADD `aog` varchar(25) NOT NULL default 'N/A'

ALTER TABLE users ADD `msn` varchar(25) NOT NULL default 'N/A'

ALTER TABLE users ADD `aim` varchar(25) NOT NULL default 'N/A'

ALTER TABLE users ADD `aol` varchar(25) NOT NULL default 'N/A'

ALTER TABLE users ADD`yahoo` varchar(25) NOT NULL default 'N/A'

ALTER TABLE users ADD`personal` enum('ON','OFF') NOT NULL default 'OFF'[/mysql]

Open up preferences.php

Add this to the case part...

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

After that scroll down add

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Scroll down to the bottom and above ...

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Add:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Open view user and add this part anywhere:

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Edit: Dont forget to update register.php and add OFF in the insert query when your members register.

Edited by lucky3809
Updated the bbcode from old forum.
Posted

No seriously make another table you do not add 9 new fields into the users table its over sized as it is and please do not use int (11) for the age. Go google how much many digits that can hold and then think about it! Same with all your other fields varchar 255? Who has a name that long??

Secure the input of the names, msn etc?? no not going to do that as you have posted code free I suppose. :sleeping:

Posted

i copied and pasted what the poster added, I did not add that, I used tinyint for age but I added them manually...

Adding them to the user table does not hurt.

All I did was help someone figure it out as for the original one did not work at all.

ah yeah not going to secure it as for I have other things im doing this was coded within 5 minutes of my busy schedule I dont have time to secure it, as for the poster never either, I just fixed what wasnt working. Its easy to use google to search for security tuts, if you cant secure the code yourself then you should not be coding a game. Its that simple.

I do not use this mod, so that is another reason why i never secured it.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...