Roger Pic Posted September 8, 2019 Share Posted September 8, 2019 Dear friends. I'm really new on WHMCS (At least new on this I'm 63), I need to update some pages that I have developed with Wordpress from products that I've on WHMCS. Is there anybody here that could point me the rigth direction? I don't want to use ready make plugIns I'd like to do by myself. Regards Rogerio 0 Quote Link to comment Share on other sites More sharing options...
Roger Pic Posted September 8, 2019 Author Share Posted September 8, 2019 Just a little more info. I'm try to use Data Feeds. Is this the best way? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted September 9, 2019 Share Posted September 9, 2019 17 hours ago, Roger Pic said: Just a little more info. I'm try to use Data Feeds. Is this the best way? to show current prices on an external site? it's the simplest. 🙂 have you read the documentation on Data Feeds... https://docs.whmcs.com/Data_Feeds 0 Quote Link to comment Share on other sites More sharing options...
Roger Pic Posted September 9, 2019 Author Share Posted September 9, 2019 Yes I have. Thank you Brian. Thats my problem Í dont know how call those scripts from WordPress Thanks 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted September 10, 2019 Share Posted September 10, 2019 On 09/09/2019 at 11:38, Roger Pic said: Thank you Brian. Thats my problem Í dont know how call those scripts from WordPress you can add them to the content of the page - so if we take adding a product price as an example... in the WordPress page editor.... and then when you publish/preview it, it will add the current price to the output.. although as a general rule, you don't want to use too many feeds on the same page as it will slow the page down. 2 Quote Link to comment Share on other sites More sharing options...
Roger Pic Posted September 10, 2019 Author Share Posted September 10, 2019 Thank you thats worked. 0 Quote Link to comment Share on other sites More sharing options...
S4hosting Posted June 6, 2021 Share Posted June 6, 2021 On 10/09/2019 at 8:38 PM, brian! said: you can add them to the content of the page - so if we take adding a product price as an example... in the WordPress page editor.... and then when you publish/preview it, it will add the current price to the output.. although as a general rule, you don't want to use too many feeds on the same page as it will slow the page down. hi brian tried this way but front output not coming https://s4talk.in/domains here is the image.... 0 Quote Link to comment Share on other sites More sharing options...
S4hosting Posted June 9, 2021 Share Posted June 9, 2021 hi brian any solution? i have tried the above procedure but nothing in front panel 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted June 10, 2021 Share Posted June 10, 2021 On 06/06/2021 at 14:39, s4talk hosting said: tried this way but front output not coming https://s4talk.in/domains here is the image.... any chance it's being blocked by a firewall rule etc ? you could just add the code output from the feed directly into the WordPress page... <form action="https://hosting.s4talk.in/domainchecker.php" method="post"> <input type="hidden" name="direct" value="true">www. <input type="text" name="domain" size="30"> <select name="ext"> <option>.com</option> <option>.net</option> <option>.org</option> <option>.in</option> <option>.biz</option> <option>.info</option> </select> <input type="submit" value="Go"> </form> that said, your existing basic domain search form should work if it had the correct URL and fields... <form action="https://hosting.s4talk.in/domainchecker.php">Find your Domain: <input name="domain" size="20" type="text"> <input type="submit" value="Go"> </form> if you add the relevant CSS classes to your code, then it should look as it currently does on your site, but actually pass the search term to your WHMCS cart to begin the automatic domain lookup.... 0 Quote Link to comment Share on other sites More sharing options...
S4hosting Posted June 10, 2021 Share Posted June 10, 2021 hi brian i have used the above html element but still its directly redirecting to do my subdomain feed url only not fetching from there here i have uploaded screenshot.... 0 Quote Link to comment Share on other sites More sharing options...
steven99 Posted June 10, 2021 Share Posted June 10, 2021 Redirecting to the domain checker page or cart is the normal behavior as usually the client would want to then order an available domain. If you want to provide a lookup only, you can use the DomainWhois API call to check and then go from there. How to call that API is up to you but I suppose using a form with an listen event that has an ajax request to a data feed that then calls that API via the internal API might be the "easiest" method and the ajax then checking that result and displaying as needed. 0 Quote Link to comment Share on other sites More sharing options...
S4hosting Posted June 11, 2021 Share Posted June 11, 2021 I want to fetch the datas from whmcs to wordpress pages like products,domains. i have installed whmcs under sub domain hosting.s4talk.in and wordpress under main domain s4talk.in, i have searched regarding this and got this document url here https://docs.whmcs.com/Data_Feeds is the url is the right one as per my above request? 0 Quote Link to comment Share on other sites More sharing options...
S4hosting Posted June 11, 2021 Share Posted June 11, 2021 if i search the domain by using domain checker form in my wordpress page. am expecting to fetch the domain availability datas in the same url not in to the whmcs url..... 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted June 11, 2021 Share Posted June 11, 2021 14 hours ago, s4talk hosting said: I want to fetch the datas from whmcs to wordpress pages like products,domains. i have installed whmcs under sub domain hosting.s4talk.in and wordpress under main domain s4talk.in, i have searched regarding this and got this document url here https://docs.whmcs.com/Data_Feeds is the url is the right one as per my above request? using data feeds should work - I can view your domain pricing feed directly in the browser, but is seemingly blocked when trying to add it to a page.... I suspect this isn't a WHMCS issue itself, but either a WordPress redirection, htaccess or server issue. seeing as your using WordPress, you might be better off taking a look at WHMPress and using that instead to access the WHMCS pricing, domain search etc... but be aware that it's not free! 13 hours ago, s4talk hosting said: if i search the domain by using domain checker form in my wordpress page. am expecting to fetch the domain availability datas in the same url not in to the whmcs url..... Steven is right in what he said on this - what you're seeing is what WHMCS does by default and what you're asking it to do (either using the data feed or in the default code), e.g pass the domain search term to the cart to begin a search in WHMCS and NOT on the WP page. if you want to see the results on the WP page, then WHMPress would be an option... check out their demo. alternatively, there would be free WP domain search extensions, e.g Ajax Domain Checker available from WordPress.... though I really do think in your case you might be better off investing in WHMPress or a WordPress theme for WHMCS - that's probably going to be a lot quicker and cheaper in the long run that trying to use data feeds. 0 Quote Link to comment Share on other sites More sharing options...
S4hosting Posted June 11, 2021 Share Posted June 11, 2021 40 minutes ago, brian! said: using data feeds should work - I can view your domain pricing feed directly in the browser, but is seemingly blocked when trying to add it to a page.... I suspect this isn't a WHMCS issue itself, but either a WordPress redirection, htaccess or server issue. without whm press by using data feeds able to use like whm press? 40 minutes ago, brian! said: alternatively, there would be free WP domain search extensions, e.g Ajax Domain Checker available from WordPress.... though I really do think in your case you might be better off investing in WHMPress or a WordPress theme for WHMCS - that's probably going to be a lot quicker and cheaper in the long run that trying to use data feeds. you are saying setting data feed is very long process you are suggesting to buy whmpress or wordpress theme for whmcs? and wordpress theme for whmcs will feed all the datas from whmcs without integration of whmpress? 0 Quote Link to comment Share on other sites More sharing options...
S4hosting Posted June 11, 2021 Share Posted June 11, 2021 49 minutes ago, brian! said: using data feeds should work - I can view your domain pricing feed directly in the browser, but is seemingly blocked when trying to add it to a page.... I suspect this isn't a WHMCS issue itself, but either a WordPress redirection, htaccess or server issue. server asking evidence for blocking how to trouble shoot this one now? 0 Quote Link to comment Share on other sites More sharing options...
S4hosting Posted June 11, 2021 Share Posted June 11, 2021 1 hour ago, brian! said: using data feeds should work - I can view your domain pricing feed directly in the browser, but is seemingly blocked when trying to add it to a page.... I suspect this isn't a WHMCS issue itself, but either a WordPress redirection, htaccess or server issue. am getting this verbose error violation message in chrome inspect here i have attached the screenshot.... 0 Quote Link to comment Share on other sites More sharing options...
S4hosting Posted June 12, 2021 Share Posted June 12, 2021 data feed now working after just save the permalink once again, that one fixed thanks for you info brian. 1. able to fetch regiter domain feeds? 2. able to fetch logged in and logged out? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted June 13, 2021 Share Posted June 13, 2021 On 12/06/2021 at 07:09, S4hosting said: 1. able to fetch regiter domain feeds? the form should be going to domainchecker.php or the cart - there is a character issue on the & part in the current form URL. 0 Quote Link to comment Share on other sites More sharing options...
S4hosting Posted June 13, 2021 Share Posted June 13, 2021 then how he fetch here ?..... https://www.inmotionhosting.com/domains 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted June 14, 2021 Share Posted June 14, 2021 18 hours ago, S4hosting said: then how he fetch here ?..... they're using a WordPress extension (either free, commercial or self written) - I doubt it will be WHMPress as the form is not linking to any WHMCS cart for registration. 0 Quote Link to comment Share on other sites More sharing options...
S4hosting Posted June 15, 2021 Share Posted June 15, 2021 May be they are using one page checkout and cart url redirection of WHMCS? 1.is that able to fetch domain regiter like that brian? 2.and i saw one article about login and logged out of urs is that able to help fetch logged in logged out of users for login button? i need feeds for domain register, login button, knowledgebase, support ticket and announcements 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted June 15, 2021 Share Posted June 15, 2021 6 hours ago, S4hosting said: May be they are using one page checkout and cart url redirection of WHMCS? they are not using WHMCS for the cart - they have their billing solution (AMP).... lots of hosting companies have moved away from using WHMCS for their own billing over the last few years. 😎 https://www.inmotionhosting.com/support/billing/ their domain even fails the WHMCS license verification - that's no longer definitive anymore, but i'm sure they aren't using WHMCS - though they might still be resellers for them. 7 hours ago, S4hosting said: 1.is that able to fetch domain register like that brian? I have previously given you solutions, both free and commercial, to do that in WordPress - I suppose you could write a data feed to do it, but why bother when there are existing, and probably better, solutions available ? 7 hours ago, S4hosting said: 2.and i saw one article about login and logged out of urs is that able to help fetch logged in logged out of users for login button? again, WHMPress can handle different content based on the login status. 7 hours ago, S4hosting said: i need feeds for domain register, login button, knowledgebase, support ticket and announcements do you? or is what you really need to integrate your main WordPress website into WHMCS so that they are styled the same and the user cannot tell if they're in WordPress or in WHMCS ?? hence why I said you should be looking at a theme, or optionally an integration specialist. for WordPress themes, you could look in Marketplace - Zomex has designed some WordPress templates (and may be able to help with integration) - though there are other integration specialists out there... even WHMCS will do it themselves for a fee, but I wouldn't recommend using them. with regards to using feeds for those 5 items, then they would have to be custom written - but as I have said previously, if you don't treat them as two separate sites, then you don't need to think of using feeds on the WordPress site to reproduce features of WHMCS. in practical terms, you could use a feed to show a single announcement, or a kb article - but if you're thinking of using them to recreate the entire functionality of the knowledgebase or announcement sections, then that would not be a good use of a data feed. 0 Quote Link to comment Share on other sites More sharing options...
S4hosting Posted June 15, 2021 Share Posted June 15, 2021 brian am having there inmotion hosting amp panel looks like they built by using page creation and all by using whmcs developer programme.. and thanks for your detailed info and final one thing kindly guide me to custom the menu bar of whmcs... 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted June 16, 2021 Share Posted June 16, 2021 22 hours ago, S4hosting said: kindly guide me to custom the menu bar of whmcs... what do you need to do ? the basics are covered in the docs, and there will be plenty of working examples of hooks posted in these forums that can do various things to the menu. https://docs.whmcs.com/Client_Area_Navigation_Menus_Cheatsheet 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.