Jump to content

mihai666g

Member
  • Posts

    37
  • Joined

  • Last visited

About mihai666g

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

mihai666g's Achievements

Member

Member (2/3)

0

Reputation

  1. Hi, I need to load a custom function in whmcs that is used by a hook and I dont know where to put it. Any idea?
  2. So, after 2 days of doing all the possible things the problem came from buycpanel module. Since buycpanel.com is not working i think whmcs tries to load something from their site using their server provision module when I tried to access those specific pages.
  3. Hi, Im encountering a situation where some parts of whmcs takes 3 min to load and inspecting with browser I see a 500 error. I checked apache for errors but nothing shows up. The pages where I found this problem are modulequeue.php, configproducts.php, configaddons.php or configservers.php?action=manage&id=23 Ex. if i want to change the price for a product it takes 3 min load configproducts.php?action=edit&id=304 and another 3 minutes to save the price. Anybody has any idea what can I try to solve this problem?
  4. Hi, I see that whmcs default theme(six) uses a hook to display the knowledgebase categories in the left of the article. I've tried to find it to add to my custom theme but without success. Anybody know's where is located?
  5. I don't use wordpress, just pure html css site
  6. Hi, I have this situation where the site is named site.com and whmcs client area is on subdomain.site.com. I want on the site.com to have a form that check domains availability and display the result withiut beeing redirected to subdomain.site.com Has somebody created something like this? I'm willing to pay if somebody can create this for me.
  7. Hi, Since I upgraded to 8.11 from 7.4 is very hard for me to use the admin interface in the way is designed now. I don't know why the setup dropdown was moved and now we need make extra 2 clicks to reach our destination, ex custom fields. Is not like there is no space to put it back where it was.... And the removal of the links for Pending Order/ Overdue invoices / Tickets awayting reply option in admin header is very bad. Any smart brain here that can make some hooks to put this options back.
  8. Try not to use product feed on hosting prices table, it makes your site load slower and in blocks,
  9. Hi @brian! I tried to replicate your table feed example and I got this error PHP Parse error: syntax error, unexpected '$code' (T_VARIABLE) in /path/datafeed.php on line 13 Is this code valid for php 7.2 ? <?php require("../init.php"); require("../includes/domainfunctions.php"); /* *** USAGE SAMPLES *** <script language="javascript" src="feeds/domainpricing2.php?currency=1"></script> */ $code = '<table cellspacing="1" cellpadding="0" class="domainpricing"><tr><th>TLD</th><th>Min. Years</th><th>Register</th><th>Transfer</th><th>Renew</th></tr>'; if (!is_numeric($currency)) { $currency = array(); } else { $currency = getCurrency('', $currency); } if (!$currency || !is_array($currency) || !isset($currency['id'])) { $currency = getCurrency(); } $freeamt = formatCurrency(0); $tldslist = getTLDList(); foreach ($tldslist AS $tld) { $tldpricing = getTLDPriceList($tld, true); $firstoption = current($tldpricing); $year = key($tldpricing); $transfer = ($firstoption["transfer"] == $freeamt) ? $_LANG['orderfree'] : $firstoption["transfer"]; if ($firstoption["register"] < $firstoption["renew"]) { $code .= sprintf( '<tr><td>%s</td><td>%d</td><td><strike>%s</strike> <font color=red>%s</font></td><td>%s</td><td>%s</td></tr>', htmlspecialchars($tld, ENT_QUOTES, 'UTF-8'), $year, htmlspecialchars($firstoption["renew"], ENT_QUOTES, 'UTF-8'), htmlspecialchars($firstoption["register"], ENT_QUOTES, 'UTF-8'), htmlspecialchars($transfer, ENT_QUOTES, 'UTF-8'), htmlspecialchars($firstoption["renew"], ENT_QUOTES, 'UTF-8') ); } else { $code .= sprintf( '<tr><td>%s</td><td>%d</td><td>%s</td><td>%s</td><td>%s</td></tr>', htmlspecialchars($tld, ENT_QUOTES, 'UTF-8'), $year, htmlspecialchars($firstoption["register"], ENT_QUOTES, 'UTF-8'), htmlspecialchars($transfer, ENT_QUOTES, 'UTF-8'), htmlspecialchars($firstoption["renew"], ENT_QUOTES, 'UTF-8') ); } } $code .= '</table>'; echo "document.write('".$code."');";
  10. Hi @Kian I tested your hook and is working for Basic URLs option but is not working for Full Friendly Rewrite option. I get this url when I use on Full Friendly Rewrite https://site.com/knowledgebase/3/index.php?rp=/knowledgebase/3/Example-Code-(PHP).html Any chance you can adapt the hook for Full Friendly Rewrite option? thanks,
  11. .... somehow now is working, I just deactivated my custom theme file and reactivated it.... my brain hurts Thanks guys for patience.
  12. Thi is the error: Smarty Error: Syntax error in template "file:/home/xxxxxxxxxxx/public_html/mi.xxxxxxxx.com/templates/lagom/core/pages/viewcart/xxxxxx/viewcart.tpl" on line 2 "{foreach $products as $num => $product}" missing 'item' attribute
  13. I tried every scenario, the code is not working and is breaking the page. Normal page, https://prnt.sc/repaxo, added the code https://prnt.sc/repbgb and this is the output https://prnt.sc/repbs7
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated