
tangogc
Member-
Content Count
36 -
Joined
-
Last visited
Community Reputation
0 NeutralAbout tangogc

-
Rank
Member
-
thanks
-
are you suggesting me to remove this line ? $adminUsername = 'ADMIN_USERNAME'; // Optional for WHMCS 7.2 and later <?php add_hook('ClientAdd', 1, function($vars) { $results = localAPI('AffiliateActivate', array('userid' => $vars['client_id']), $adminUsername); });
-
here reworked based on your suggestion, is it correct ? <?php add_hook('ClientAdd', 1, function($vars) { $adminUsername = 'ADMIN_USERNAME'; // Optional for WHMCS 7.2 and later $results = localAPI('AffiliateActivate', array('userid' => $vars['client_id']), $adminUsername); });
-
I have modified in this way , could work ? <?php add_hook('ClientAdd', 1, function($vars) { $adminUsername = 'ADMIN_USERNAME'; // Optional for WHMCS 7.2 and later $results = localAPI('AffiliateActivate', array('userid' => $vars['user_id']), $adminUsername); });
-
thanks Brian I confirm you are great as usual could you show me how modify to have both function working please ? in my site 99% of registration are via Cart thanks
-
tangogc started following hook panel login from client area, New customers as Affiliates automatically, rest password not work and and 1 other
-
I would like to automatically set new customers as affiliates in WHMCS without needing them to do it manually. i'm trying to use this hook with whmcs 8.0.4 but some advice doesn't work? add_hook('ClientAreaRegister', 1, function($vars) { $adminUsername = 'admin'; // Optional for WHMCS 7.2 and later $results = localAPI('AffiliateActivate', array('userid' => $vars['userid']), $adminUsername); });
-
thanks to @actionhosting all done
-
thanks but it not work on my 8.0.4 installation Badges3 failed to load. Could not include file: D:\inetpub\vhosts\gamesclan.net\httpdocs\billing/modules/widgets/Badges3.php. Error: syntax error, unexpected '.', expecting end of file
-
I cant edit too 🙂 could you post again the correct code please
-
My reset page not work the submit button "save changes" is disable, the problem is related to my custom theme, with Six original work correctly any suggestion to let's me understand in which file I can have the problem ? thanks a lot in advance see screenshot
-
I discovered a little bug in this hook look the screenshot if you click on the red circle it go to modulequeue if you click on the red arrow it work correctly
-
I wanted to point out that the hook you make available to cPanel & Plesk login unfortunately does not work on whmcs 8.0.4 with php 7.3 It would be nice to be able to fix it and make it available. Once installed, it does not present any errors but immediately after modifying the template, instead of the button, only a wheel that rotates infinitely
-
just a question on the email sintax you write alias=paypal%40yourdomain%2ecom" is correct ? alias=admin%40myemail%2eit" thanks
-
ServerVeloci.it italian site integration complete
tangogc replied to tangogc's topic in Showcase Your Site
thanksa lot -
I have the pleasure to announce that after 30 day of hard work I have compltly integrated and customized whmcs template and order form ServerVeloci.it an Italian provider in the dedicated server, visrtual servers, game Servers and Teamspeak market. thanks to whmcs for great support and software