Questions and discussions
We have to activate manually all new user's accounts because there are nearly 10-15 spam registrations per day. if your account isn't activated for some reasons you should Contact Us Manually Add Credits
11 posts
• Page 1 of 2 • 1, 2
Manually Add CreditsIs there any way to manually add credits to a buyer's account?
Thanks!
Re: Manually Add CreditsYou found more infos to this topic here:
http://www.cmsaccount.com/forum/viewtopic.php?f=29&t=481
Re: Manually Add CreditsHello Eric,
I just sent you modified files.
Re: Manually Add CreditsAnton has sent the new files to me. I have the file new.php
a little bit modified. I have replaced the input field: User with a select field. So it's easier to select a user. The query search only the buyers from the database: utype=buyer You see in the select field the login, name and lastname. Here the new code: Replace this:
With this:
Greetings Alfred
Re: Manually Add CreditsI have now insert both fields. So can I select.
Changed files: 1.) languages/english.php 2.) admin/credits/new.php 3.) admin/credits/add.php You can now select which user field you will fill out. If you have filled out both fields you recieved a error message. 1.) languages/english.php Insert: $m_lang["please_select"]="Please select ..."; $m_lang["manual_input"]="manual input"; $m_lang["error_fill_out_only_one_user_field"]="Error!!! Please fill out only one user field."; 2.) admin/credits/new.php Replace this:
With this:
Replace the user field:
With this:
3.) admin/credits/add.php Insert new and replace the $sql="select login... with this: Copy from the begin up to if((float)$_POST["quantity"]>0)
Thats all. Greetings Alfred
Re: Manually Add CreditsI have made this modification for me. My script version is still 11.03. I have at the moment not updated to the new versions. Anton does not mark the changes. I must make all modification from hand.
I think anton has integrated this modification in the new version or general not. He makes his own modification. I think it's not a problem this modification to integrate in the new version. The files are identical. The only new field are: Days till expiration. If you have trouble to integrate this let me know. Greetings Alfred
Re: Manually Add Creditsthank you alfred
but as you thought my question was about the new version from anton so i will try to do it bymyself
Re: Manually Add CreditsI have made the changes for the version 12.10
Files: new.php add.php We must insert in new.php the error message and the new select field. We must insert in add.php the query for the error messages and a little change in the mysql query. I have marked all changes so you can easily copy and paste the code in your own files. File new.php
File add.php
The query is at the moment for utype='buyer'. This we can change. Greetings Alfred
Re: Manually Add Creditsthank you very much. i will try it. where do i have to place the two new files ?
11 posts
• Page 1 of 2 • 1, 2
Who is onlineUsers browsing this forum: No registered users and 4 guests |