Jump to content
MakeWebGames

Recommended Posts

Posted

Strange isn't it, you have a Donator Package for a year and all of a sudden it just disappears without you knowing.

This is a very small modification, very easily done blindfolded.

But all it does is warn you a day before your donator pack is set to expire to buy a new one.

Find in header.php:

You're unable to view this code.

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

 

after it put:

 

You're unable to view this code.

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

 

That's it. If you wish to set it to warn you a week before, you may do so.

I'm looking to do it for a week, I put in

You're unable to view this code.

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

But that does it for every single day you have it. Any help? I'm quite new to making modifications.

Posted

Re: [mcCodes v2] Donator Pack About to Expire Warning

Yes I was thinking about making the font slightly bigger than the other font sizes and maybe it blinking. (<blink>mod blabla</blink>)

Posted

Re: [mcCodes v2] Donator Pack About to Expire Warning

if thats what you want then thats what id say go for myself personally wouldent want it to do that i would like something along the lines of

You dontor Days are about to hit 0 click here to buy more Blah

 

My personal response

Posted

Re: [mcCodes v2] Donator Pack About to Expire Warning

yeah that will work as long as you dont use a query within it unless you use '..'

Posted

Re: [mcCodes v2] Donator Pack About to Expire Warning

how about it sending an event to the player saying you have 5 days remaining and they would get that event each day for the last five days

Posted

Re: [mcCodes v2] Donator Pack About to Expire Warning

use event_add() function within the daily cron

ie event_add($r['userid'],"You have {$ir['donatordays']} left <a href=donator.php>Click here to buy a new donator pack </a>,$c");

dont copy and paste that its not 100% right its just a rough outline

Posted

Re: [mcCodes v2] Donator Pack About to Expire Warning

 

use event_add() function within the daily cron

ie event_add($r['userid'],"You have {$ir['donatordays']} left <a href=donator.php>Click here to buy a new donator pack </a>,$c");

dont copy and paste that its not 100% right its just a rough outline

my thoughts exactly.. It's better from a day cron so you dont see an annoying in your face message all day long xD

Posted

Re: [mcCodes v2] Donator Pack About to Expire Warning

was messing with this might come in useful might not....

create SQLS

You're unable to view this code.

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

 

add this to your events.php before the final endpage statement

 

You're unable to view this code.

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

 

add this to global_func.php below the events

 

You're unable to view this code.

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

 

open up index.php and add near top

 

You're unable to view this code.

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

Posted

Re: [mcCodes v2] Donator Pack About to Expire Warning

You can add a staff section for this which will inform Donators of new and upcoming functions well before non paying members get to know. or use it for somthing completley different,,

Posted

Re: [mcCodes v2] Donator Pack About to Expire Warning

Having..

 

You're unable to view this code.

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

 

Will end up making them have thousand's of event's at the end of the day. As mentioned. You could just do..

 

SQL's:

You're unable to view this code.

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

 

Day Cron:

You're unable to view this code.

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

 

Header Code:

You're unable to view this code.

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

Posted

Re: [mcCodes v2] Donator Pack About to Expire Warning

all depends on what you prefer to.... but it would only give the players with donator days the events so unless you have thousands of donators you would have thousands of events...

Posted

Re: [mcCodes v2] Donator Pack About to Expire Warning

 

all depends on what you prefer to.... but it would only give the players with donator days the events so unless you have thousands of donators you would have thousands of events...

Not many mccode games have thousands of donators xD infact i dont think theres any mccode game with over 1000 active members never mind donators

Posted

Re: [mcCodes v2] Donator Pack About to Expire Warning

Everything you're saying is going to be used in some of my planned mods. (Like the High Security Bank)

So credit will go to alot of you.

And thanks for the suggestions for my mods, the more the better!

Posted

Re: [mcCodes v2] Donator Pack About to Expire Warning

well yes if you plan to only alert on certain days that would be useful but if you wish to alert once a day the best way would be within a cron

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