Jump to content
MakeWebGames

Recommended Posts

Posted

First edited mod so don't know if it works but please correct me if its wrong EDITED SEANYBOBS MOD

HOPE YOU DON'T MIND SEANYBOB.

 

-- create a new file name it Gift.php

-- add the code below to it

 

You're unable to view this code.

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

 

-- Then open Mainmenu.php and add to it

You're unable to view this code.

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

 

-- Then Open Up Php My Admin and

You're unable to view this code.

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

 

And i Think Thats All right Thanks And Hope You Don't Mind Me Editng It seanybob

Posted

Re: Gift.php [edited]

Hey Brandon. Erm.. I'm not sure if your SQL is correct. From what I've seen in other mods, shouldn't it be like this:

You're unable to view this code.

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

 

Just helping :-)

Posted

Re: Gift.php [edited]

LOL

 

alter table USERS gift int 11 not null default 0

Bran, I tihnk yuo SQL makes loads of sense LOL

I think we could make that work :-D

Posted

Re: Gift.php [edited]

 

Hey Brandon. Erm.. I'm not sure if your SQL is correct. From what I've seen in other mods, shouldn't it be like this:

You're unable to view this code.

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

 

This SQL Is The Right One

Just helping :-)

Posted

Re: Gift.php [edited]

ok guys sorry about it and thanks for correcting i am new to this and hope fully soon will be quite good in like 2 years or so i am going to try edit someones honor awards so i have one and i will post that free i will have different features in it thanks again guys

Brandon_1243

  • 4 months later...
Posted

Re: Gift.php [edited]

im confused with wot im putting in can anyone help me with it plz there are 2 things saying different things that goes in the SQL tables witch one do i use

  • 9 months later...
Posted

Re: [mccode v2] Gift.php [edited]

Sorry to bring up an old topic but it's better than making a random new one.

I have tried out this mod but I keep getting :

Parse error: syntax error, unexpected ',' in /home/******/public_html/gift.php on line 10

Which is :

die(Sorry, You Can Only Do This Once A Day");

 

I can't see what is wrong.

Can someone tell me please?

Posted

Re: [mccode v2] Gift.php [edited]

strats try this,

die("Sorry, You Can Only Do This Once A Day");

i belive it was missing the speach marks for the text at the beggining... not sure. i think it is though as it is an unexpected , because that will do something else in code and the sorry, isnt inside the speach marks.... so that should work...

Posted

Re: [mccode v2] Gift.php [edited]

I thought that too, I did change it but still get this error:

Parse error: syntax error, unexpected T_IF in /home/******/public_html/gift.php on line 13

 

which is :

if (auto = 1)

then the rest of the code is ...

 

You're unable to view this code.

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

Posted

Re: [mccode v2] Gift.php [edited]

FIxed, added it just to fix it.... Damn he had stuff like money"money instead of money=money and missed ; off the end of queries etc and some queries were off the original vertion (calling for thanks instead of gifts +1 ) i fixed it pluss 1 me please

 

You're unable to view this code.

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

Posted

Re: [mccode v2] Gift.php [edited]

i done some research on CE about this mod and found the original, all's you have done is messed with t so it doesn't work, i fixed that and you have revoved 4 of the other possible random things and instead of it updating the field thanks you have replaced it with gift.... Can you tell us what you have changed for the better, or did you just think this mod is on a high page no-one will ever see it maybe i can post it and claim i have done something good to it. well you havent XD

Posted

Re: [mccode v2] Gift.php [edited]

 

First edited mod so don't know if it works but please correct me if its wrong EDITED SEANYBOBS MOD

HOPE YOU DON'T MIND SEANYBOB.

...

And i Think Thats All right Thanks And Hope You Don't Mind Me Editng It seanybob

Give him a break, he's trying, and at least giving credit.

Posted

Re: [mccode v2] Gift.php [edited]

 

yea but he hasnt even changed it... i would rather use the original but its not that good a mod anyway XD

^

you can't really talk the coding below is horrid i wouldn't consider that a 4am on acid lol

FIxed, added it just to fix it.... Damn he had stuff like money"money instead of money=money and missed ; off the end of queries etc and some queries were off the original vertion (calling for thanks instead of gifts +1 ) i fixed it pluss 1 me please

 

You're unable to view this code.

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

 

one word for you mate optimize.

Stop picking on noobs because karma is a b!tch

IE:

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.

there is a much easier way but would need to recode the lot lol but my times precious :-o

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