Earn Money Space
Welcome, Guest. Please login or register.
Did you miss your activation email?
News: Welcome to Earn Money Space! September 09, 2010, 01:03:47 PM
 




Warnings addon (from Developz) - Date fix
Print
Author Topic: Warnings addon (from Developz) - Date fix  (Read 184 times)
cARRIE
Reputation: (+2)
EMS Senior
****
Offline Offline

Posts: 266
Referrals: 0


View Profile
« on: July 06, 2010, 03:33:26 PM »

Quote
You are allowed 5 warnings before your account is suspended.
You currently have a total of 1 warnings.
Date Issued: Jan 01, 1970
warning - test

Open members/mywarnings.php

Find this line.

<font color=\"blue\"><small>Date Issued: ".date('M d, Y', mktime(0,0,$news[dsub],1,1,1970))."</font></small><br>

Replace $news with $warnings.

The end result:
<font color=\"blue\"><small>Date Issued: ".date('M d, Y', mktime(0,0,$warnings[dsub],1,1,1970))."</font></small><br>

Logged
Raffay
GPT Site Owners
Reputation: (+13)
EMS Hero
*
Offline Offline

Posts: 1384
Referrals: 40



View Profile
« Reply #1 on: July 06, 2010, 03:45:43 PM »

TY  Smiley
Logged

Addons
GPT Site Owners
Reputation: (+5)
EMS Hero
*
Online Online

Gender: Male
Posts: 1036
Referrals: 0



View Profile WWW
« Reply #2 on: July 06, 2010, 11:57:06 PM »

Plz JT confirm this, is it ok?
Logged

757jterrell
Developer
Reputation: (+25)
EMS Hero
*
Offline Offline

Gender: Male
Posts: 809
Referrals: 0


Get a site from the OWNERS of the script!!!


View Profile WWW
« Reply #3 on: July 07, 2010, 03:48:26 AM »

Good catch Carrie.  Yes it needed to be updated,  We have updated it in the SDR 2,

Carrie, could you also post it in the support forum?? you should get credit for finding it since you did  mrgreen
Logged

Get a PTC site of your own, CHEAP   http://ptcfactory.info

Aurora Admin Training. Learn how to use your Aurora site to its most, FREE http://auroraadmintraining.info

RyleeJames - Reseller, VPS and Dedicated Servers http://ryleejames.com
Addons
GPT Site Owners
Reputation: (+5)
EMS Hero
*
Online Online

Gender: Male
Posts: 1036
Referrals: 0



View Profile WWW
« Reply #4 on: July 07, 2010, 06:56:43 AM »

Open members/mywarnings.php

Find this line.

<font color=\"blue\"><small>Date Issued: ".date('M d, Y', mktime(0,0,$news[dsub],1,1,1970))."</font></small><br>

Replace $news with $warnings.

The end result:
<font color=\"blue\"><small>Date Issued: ".date('M d, Y', mktime(0,0,$warnings[dsub],1,1,1970))."</font></small><br>



Thanks cARRIE
Logged

cARRIE
Reputation: (+2)
EMS Senior
****
Offline Offline

Posts: 266
Referrals: 0


View Profile
« Reply #5 on: July 07, 2010, 04:49:20 PM »

Good catch Carrie.  Yes it needed to be updated,  We have updated it in the SDR 2,

Carrie, could you also post it in the support forum?? you should get credit for finding it since you did  mrgreen

Done that. Thank's!
Logged
Legit Sites
Developer
Reputation: (+11)
EMS Senior
*
Offline Offline

Gender: Male
Posts: 525
Referrals: 1



View Profile WWW
« Reply #6 on: July 07, 2010, 04:55:48 PM »

Nice find just fixed this on my sites
Logged

Print
 
Jump to:  

Copyright © 2008-2010 Earn Money Space. All rights reserved.