Jump to content
MakeWebGames

[Mccodes V2] Player Mood


Recommended Posts

Guest Sniko`
Posted

Iseeyou (bobby) gave me this idea and karlos helped :-D

SOURCE: Karlos's secure preferences so +1 karlos for security

 

Add this SQL

You're unable to view this code.

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

 

Prefs Cases and links

You're unable to view this code.

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

 

You're unable to view this code.

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

Prefs Function

You're unable to view this code.

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

 

Viewuser Edit

You're unable to view this code.

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

 

Any errors reply - also +1 karlos

Thanks

Sniko

Posted

Re: [Mccodes V2] Player Mood

 

You're unable to view this code.

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

 

Why use in_array(). There is no need for that at all. Preferences.php use the switch(); so no need for in_array();.

Posted

Re: [Mccodes V2] Player Mood

I am guessing you have not seen my prefs.php... I use in_array() for other purposes... and yet I also use a switch() :wink:

Check them out and work out what it does.

Guest Sniko`
Posted

Re: [Mccodes V2] Player Mood

Thanks Guys for posiitive feedback

Posted

Re: [Mccodes V2] Player Mood

 

I am guessing you have not seen my prefs.php... I use in_array() for other purposes... and yet I also use a switch() :wink:

Check them out and work out what it does.

I already know what it doe's but your just adding more code to it than it need's to be.

Posted

Re: [Mccodes V2] Player Mood

 

I am guessing you have not seen my prefs.php... I use in_array() for other purposes... and yet I also use a switch() :wink:

Check them out and work out what it does.

I already know what it doe's but your just adding more code to it than it need's to be.

So why don't you re-do one? Show us all how it's done ;)

Posted

Re: [Mccodes V2] Player Mood

 

I am guessing you have not seen my prefs.php... I use in_array() for other purposes... and yet I also use a switch() :wink:

Check them out and work out what it does.

I already know what it doe's but your just adding more code to it than it need's to be.

So why don't you re-do one? Show us all how it's done ;)

I dont code (mccodes) or what ever they are.

Posted

Re: [Mccodes V2] Player Mood

 

SURELY, it can't be that hard?

There is plenty of examples around this site :roll:

:mrgreen: You think (mccodes) is good? Go try cakephp. Link is Here

Posted

Re: [Mccodes V2] Player Mood

 

Nope, Mccodes sucks.

I was just saying, you seem to know something at the very least, so show us how it's done

I've used Cakephp most of my life. Cakephp is 100 times diffrent, better than (mccodes).

Why would i go and 'try' mccodes.

Posted

Re: [Mccodes V2] Player Mood

 

*goes to examine CakePHP

Mccodes is a challenge maybe? :wink:

Not really no.

It's just i have used Cakephp all my life, so would be different using (mccodes).

Guest Sniko`
Posted

Re: [Mccodes V2] Player Mood

Get back into topic please!

  • 2 weeks later...
Posted

Re: [Mccodes V2] Player Mood

Good mod mate. I found a cpl errors, but have fixed em

the new code for the function in prefs.php should be

 

You're unable to view this code.

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

 

Basically the errors I found, was that it was not displaying your Current mood when you go to preferences. I also added a couple

to make it a bit more organised. I hope you don't mind, but I restricted it to 10 characters. I didnt want people to write books. :)

+1 to you though :)

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...