Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2011-12-26 01:57:41

pxoxrxn
Member
Registered: 2011-12-01
Posts: 67
Website

Editing Users Premium Subscription Dates

Hi Guys/Adrian,

I am trying to edit my current new user's profiles to give them a free 1 month of premo and i get this error even if i set the start date and other variables. Also is there a way to set when a new user signs up they get 1 month of free premo.

Cheers

Josh Moore

Query: INSERT INTO ASPuser_premium SET user_id = 20, start_date = '', end_date = '2012-01-25', credit = 1, status = '1' LIMIT 1
Error Message: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 1' at line 7
Error Number: 1064

Offline

#2 2011-12-27 07:23:56

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Editing Users Premium Subscription Dates

So if you set a correct start date for the premium membership it doesnt work? (or do you leave that field empty?)


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#3 2011-12-28 05:26:22

pxoxrxn
Member
Registered: 2011-12-01
Posts: 67
Website

Re: Editing Users Premium Subscription Dates

i have tried both

Offline

#4 2011-12-28 08:28:47

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Editing Users Premium Subscription Dates

Oki. Will check and fix.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#5 2012-01-03 12:27:17

pxoxrxn
Member
Registered: 2011-12-01
Posts: 67
Website

Re: Editing Users Premium Subscription Dates

i figured out what the problem was. the sql database freaked out because i gave premium access to just registered users and when i was trying to add time the variable must have already been there so it threw the error. so the fix was changing the access to premium access to premium users and then you can add subscription time to people.

Offline

#6 2012-01-03 12:37:43

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Editing Users Premium Subscription Dates

Yes, but still its a bug and its fixed in the next version. I've added a lot of enhancements to the premium module in the next version.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#7 2012-02-08 15:03:28

hyggelig
Member
From: denmark
Registered: 2012-02-05
Posts: 183
Website

Re: Editing Users Premium Subscription Dates

how du i put in teks in
WHY UPGRADE TO A PREMIUM ACCOUNT?

Offline

#8 2012-02-08 15:38:41

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Editing Users Premium Subscription Dates

You edit templates/your-template/premium-upgrade.tpl.php


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

Board footer

Powered by FluxBB