View Full Version : clientexec cid problem?
carlosfusion
09-24-2008, 01:29 AM
Hi Staff, i just watching the plugin code and i see us suspend by id value, but when us create new shoutcast server asign as id the customer id in clientexec ($cid = $args['CustomerID'];) so i have some questions:
- The whmsonic give error if already exists a id?
- If not give error creating server with the same id what happend when i suspend a server, us suspend by id then it will be suspend all server with that id?
If i have right then this is my solution staff, may this can help us:
//Fixing cid because 1 user can order more than 1 shoutcast so in the second order we got error? (for the same cid? ask to whmsonic staff) also if not give error for duplicates cid when we suspend a client will be suspend all server under that cid? better is asign by package id
$cid = $args['PackageID'];
if we add package id as server id we not had problems with that.
Ok second think dudes, can us say me how to read a custom field value what i add to register form? in client exec plugin, this is for fix the problem with the usernames what i post 1 day ago, if not exists domain options the plugin make the server with the username sc_
If us tech me how to read in clientexec custom fields values i can help us to make a new plugin fixing id and username problems when no domains options are avaliable, i hope us can tech me now, because im waiting to fix this for order the software so dont care if i can help us with this.
Thanks alot for ur support
Hello,
- I've updated clientexec module for you. If domain option disabled, It will create a random username.
- It will not suspend all radios under the same ID, WHMSonic has own records for that.
Step 1:
Download PluginWhmsonic.zip from this reply. Extract it on your computer.
Step 2:
Connect to your website by FTP where your ClientExec installation is located. Remove old PluginWhmsonic.php file and upload new PluginWhmsonic.php file directly to this
path: /your_clientexec_foldername/plugins/server/
Example: my ClientExec location is /sales on my website, so I will upload the module folder to this path; /home/cpanel_username/public_html/sales/plugins/server/
Your CE can create a random username now. We will include this new module file for everyone in the next release.
carlosfusion
09-24-2008, 04:16 PM
ok and what about the problem with the ids:
$cid = $args['CustomerID'];
well ill test setup 2 accounts with the same client for see if i got any error, last think bro can us update the api for disable welcome msg from whmsonic? this will be nice because a clientexece user can resend the welcome email or see in him account. Sorry for the problems but ur panel is very nice i was triying other but when i see the urs just loved it, its easy, simple and awesome just need some fixex, also if i can help u dude let me know im programmer php/mysql with 7 years in the job, i dont have much time for study the clientexec api documention, but i can fix some problems if u need.
Again thanks alot for ur support.
carlosfusion
09-24-2008, 04:47 PM
Hello dude, i was making test installing 2 differents servers from clientexec in the same client account, my test give me:
- when u try unsuspend 1 of the 2 not work
- also suspending had problems
So i fix the problem with my solution in this same post, here is a link to the fixed script, can u check if u want and use in the next release please.
Hello Carlos,
Thank you for your support.
I've just checked your update and sounds good. Anyway, we will release new CE module soon with new features and I have noted your bug reports. We will fix them all on the new release.
Welcome Email Question:
Yes you can disable it but if you disable welcome email from WHMSonic, user will not receive their external username + password details, because only WHMSonic can send that details not CE. Are you sure do you want to disable now ?
We're unable to store your attached file in the above reply on our forums due to security reasons. But I've noted your fix code for AutoDJ access and others.
Thank You.
carlosfusion
09-24-2008, 06:07 PM
Its ok dude abuout the file, i just look creating a server with the autodj set to yes not working, when i try to edit the server on whmsonic is not working just an update, ill study the way for read custom fields in the signup page from the plugin, for make a new complete version of the clientexec whmsonic plugin and ill send u, u can take any part of the code. i love help so dont care
have nice day and thanks for ur support.
AutoDJ access option in the WHMSonic side /tools/clientexec.php which is encoded and replacing the data for rad_dj variable even you set rad_dj=yes, WHMSonic will use no because CE module was designed before External users have AutoDJ feature. This is why CE module doesnt support AutoDJ.
We have just released AutoDJ features for external shoutcast customers 2 weeks ago.
Creating new CE module will not fix this problem, we're strongly recommend you to wait our new CE module release. We need to fix WHMSonic side before CE module then you may create your own CE module.
If you like coding, I will give you our API connection file which you can create your own module for WHMSonic to create radios from outside. You can also create your own billing module.
I will share this API connection file in the next few days on our forum for everyone.
Thank you for your patience.
carlosfusion
09-26-2008, 12:14 AM
ok im waiting for new release and clientexec module :D also i buy u now the license, thanks for ur support, if u can send me a pm when u release the new version will be nice.
Thanks
Sure Carlos, I will contact you by PM soon.
Thank you for using WHMSonic.
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.