Thats what I figured, just enter license key, and it should work.
I just did a few test orders, and I don't think MaxMind module is working, nothing at all shows up in the pending order. I don't even get the fields or the error I was getting earlier.
There something definitely wrong here.
I got in contact with MaxMind
This was of no help. Where do I put these queries in manually? Shouldn't WHMCS do this for me automatically through the module?
Also, Fraud Check Results have mysteriously disappeared, nothing shows up in the bottom of the orders. I have followed the directions to a tee, and it's simply not working.
Activity log shows
06/04/2007 20:23 Order ID 22 Passed Fraud Check
06/04/2007 20:23 Order ID 22 Fraud Check Initiated
Is it OK to use order-stepone.tpl from the (default) with the (boxes) templates? I did try it and it seems to work, will this break anything?
Thanks
-Steve
I purchased the $5.00/month
MaxMind Standard minFraud Service, 1,250 queries per month
I sent an email into MaxMind support, I'll let you know what they come up with.
Thanks,
-Steve
I just signed up for MaxMind and I'm getting the same errors
Fraud Check Results:
MaxMind Configuration Error | MAX_REQUESTS_REACHED
All other field are blank.
I have 1,248 Queries Remaining with MaxMind
I checked activity log and it reads:
06/01/2007 14:53 Order ID 15 Passed Fraud Check System
06/01/2007 14:53 Order ID 15 Fraud Check Initiated System
I think first you have to get the WHMCS code into the correct area of your design. You can achieve this by splitting your design into the header.tpl and footer.tpl, thus wrappring your site around it. You can add the links to your existing sidebar. They are in the header.tpl file.
The idea is to cut your design in half and wrap it around WHMCS. Put the top half into the header and the bottom half into the footer. Then edit the individual template pages and CSS as you like.
I ended up using this, works perfect and allows {$LANG.clientareatitle} to be used.
<li {if $smarty.server.PHP_SELF == "/support/clientarea.php"}class="selected"{/if}>[url="clientarea.php"]{$LANG.clientareatitle}[/url]
I'm still trying to figure out how to make it work with clientarea.php?action=details links.
One more question, it doesn't work on the Client links once I'm logged in.
For example this link: clientarea.php?action=details
if ($_SERVER["PHP_SELF"] == "/support/clientarea.php?action=details")
You guys rule! There were errors or blank spaces from copying the code from the forum. I re-typed and it worked perfect.
Live example, still under construction:
w w w .byterack.net/support/clientarea.php
Here's what ended up working for me:
{php}
if ($_SERVER["PHP_SELF"] == "/support/clientarea.php") {
echo "<li class=\"selected\"><a href=\"clientarea.php\">Client Area</a>";
} else {
echo "[*]<a href=\"clientarea.php\">Client Area</a>";
}
{/php}
Is there any way to use {$LANG.clientareatitle} so language switching still works. I tried to use it the above code and got a blank page.
Thanks again!
Thanks guys, but I still can't get it working. I keep getting blank pages when I use the above code. I think the curly brackets in the PHP code are interefering with the smarty templates.
How would I put this into the header.tpl correctly?
I tried putting it between {php}{/php} and nothing. Just leaves it blank.
<li class={php} if ($_SERVER["PHP_SELF"]=="clientarea.php") { echo "selected"; } {/php}>[url="clientarea.php"]{$LANG.clientareatitle}[/url]
Any way to make this happen?
I would usually put something like this at the top of each page to identify the page.
<?php $thisPage="clientarea";?>
Then add this piece of coded to the link so it's highlighted when your on that particular page.
<li <?php if ($thisPage=="clientarea") echo " class=\"selected\""; ?>>[url="clientarea.php"]Client Area[/url]
<ul>
[*][url="index.php"]Support[/url]
<li class="selected">[url="clientarea.php"]Client Area[/url]
[*][url="knowledgebase.php"]Knowledgebase[/url]
[*][url="supporttickets.php"]Support Tickets[/url]
[*][url="announcements.php"]Announcements[/url]
[*][url="downloads.php"]Downloads[/url]
[*][url="contact.php"]Contact Us[/url]
[/list]
Is there anything pre-existing I could hook into to identfy what page the user is on. I realize I can't place <?php $thisPage="clientarea";?> on each page. I also thought of using the body tag, but didn't seem possible either.