91
jfmoore
Re: Tripmon - I need help with mxDirectory!
  • 2007/10/28 18:01

  • jfmoore

  • Quite a regular

  • Posts: 360

  • Since: 2004/6/6 5


Quote:

Quest wrote:
It may be a PHP 5 and MySQL 5 version issue. - Quest


You are probably correct. That's why I am hoping to hear from Tripmon. You and I are not going to fix this. MxDir is a remarkable module, especially considering how quickly the first version was developed and released, but we haven't heard from Tripmon for a good while, now. Maybe he decided to get a life.

I hope he hasn't moved on to Joomla or Drupal. Hopefully, though, he will read this and chime in.

Jere
...



92
jfmoore
Tripmon - I need help with mxDirectory!
  • 2007/10/27 23:22

  • jfmoore

  • Quite a regular

  • Posts: 360

  • Since: 2004/6/6 5


I'm using XOOPS 2.0.17 with PHP 5 and MySQL 5 and am getting nothing but blank pages. This is too great a module to not be able to use it.

Can you please help?
...



93
jfmoore
Interface Xoops sign-up with billing software
  • 2007/10/25 3:43

  • jfmoore

  • Quite a regular

  • Posts: 360

  • Since: 2004/6/6 5


For billing software, I use WHM Complete solutions which I like a lot. WHMCS provides an API so that external scripts can interface with it. When someone signs up, I would like for the XOOPS sign-up form to interface with WHMCS so as to create a billing account with the same username, password, and other info and was wondering how hard this would be to do? Any thoughts would be appreciated.

Here's the instructions for connecting with the API:

Communicating with the WHMCS API is very simple.  
The below code is a PHP code example of how it can be done.

$url "http://www.yourdomain.com/whmcs/includes/api.php"# URL to WHMCS API file goes here
$username "Admin"# Admin username goes here
$password "demo"# Admin password goes here

$postfields["username"] = $username;
$postfields["password"] = md5($password);
$postfields["action"] = "addinvoicepayment";
$postfields["invoiceid"] = "1";
$postfields["transid"] = "TEST";
$postfields["gateway"] = "mailin";

$ch curl_init();
curl_setopt($chCURLOPT_URL$url);
curl_setopt($chCURLOPT_POST1);
curl_setopt($chCURLOPT_TIMEOUT10);
curl_setopt($chCURLOPT_RETURNTRANSFER1);
curl_setopt($chCURLOPT_POSTFIELDS$postfields);
$data curl_exec($ch);
curl_close($ch);

$data explode(";",$data);
foreach (
$data AS $temp) {
 
$temp explode("=",$temp);
 
$results[$temp[0]] = $temp[1];
}

if (
$result["result"]=="success") {
 
# Result was OK!
} else {
 
# An error occured
 
echo "The following error occured: ".$result["message"];
}

?>


And here's the new client command:

This command is used to add a new client to your WHMCS system.

Attributes

firstname
lastname
companyname 
optional
email
address1
address2 
optional
city
state
postcode
country 
two letter ISO country code
phonenumber
password2 
password for the new user account

Example Command

$postfields
["action"] = "adduser";
$postfields["firstname"] = "Test";
$postfields["lastname"] = "User";
$postfields["companyname"] = "WHMCS";
$postfields["email"] = "demo@whmcs.com";
$postfields["address1"] = "123 Demo Street";
$postfields["city"] = "Demo";
$postfields["state"] = "Florida";
$postfields["postcode"] = "AB123";
$postfields["country"] = "US";
$postfields["phonenumber"] = "123456789";
$postfields["password2"] = "demo";

Returned Variables

clientid 
the id of the new user
...



94
jfmoore
Re: MXdirectory 3.01 RC1 Problem - Tripmon???
  • 2007/10/10 4:54

  • jfmoore

  • Quite a regular

  • Posts: 360

  • Since: 2004/6/6 5


Surely someone has an idea.

Tripmon?
...



95
jfmoore
Re: EFQDirectory 1.0 RC2 Questions/Comments
  • 2007/10/6 1:33

  • jfmoore

  • Quite a regular

  • Posts: 360

  • Since: 2004/6/6 5


Quote:

wtravel wrote:
I think it would be best to combine it with a text file upload. So to make an upload form that picks up the files for all data. Then read the files and add the data to the database. I will need to work out how to make sure the parent/child structure can be maintained in the upload files. The challenge is in the fact that when inserted into the database records obtain a record ID from the database. Have to run now, will get back to you on this.


Okay, I'll compile a list of cats/subcats and wait to hear back. Thanks.
...



96
jfmoore
Re: New to Xoops
  • 2007/10/2 12:29

  • jfmoore

  • Quite a regular

  • Posts: 360

  • Since: 2004/6/6 5


Quote:

fisherman55 wrote:
Wow I like the colors and design of it, it looks like it took a bit of time to put together. Real nice overall.


Ditto that!
...



97
jfmoore
Re: EFQDirectory 1.0 RC2 Questions/Comments
  • 2007/9/26 18:48

  • jfmoore

  • Quite a regular

  • Posts: 360

  • Since: 2004/6/6 5


Quote:

wtravel wrote:
Regarding the sql import file, of course this is possible. The question is which would be the easiest format or way to do it. Would it be easier for you to use a pipe seperated file instead of creating the sql statement yourself?


I am preparing a list of cats/subcats now in order to continue testing. How were you thinking a pipe separated file would be used?

Jere
...



98
jfmoore
Re: EFQDirectory 1.0 RC2 Questions/Comments
  • 2007/9/25 16:14

  • jfmoore

  • Quite a regular

  • Posts: 360

  • Since: 2004/6/6 5


If you add a subscription type or level and want to remove it, how do you do it?

Jere
...



99
jfmoore
Re: EFQDirectory 1.0 RC2 Questions/Comments
  • 2007/9/25 15:04

  • jfmoore

  • Quite a regular

  • Posts: 360

  • Since: 2004/6/6 5


Quote:

wtravel wrote:
Quote:

jfmoore wrote:
The extreme flexibility of this module creates issues which wouldn't exist otherwise. For example, since you can create multiple different directories, you can do things like have a business directory and a separate classifieds directory. It seems to me that, in a scenario such as this, it might be confusing to mix subscription types for different directories like these.

I would personally prefer to have separate subscription types for each directory, but I realize, also, that you can't implement everything that the flexibility of efqDir makes desirable. An acceptable, and perhaps easier, alternative would be to make efqDir clonable or to just publish cloning instructions.
Jere


I think the most logical option is to define subscription types, field types ect for each directory and not mix them. That way you can keep each directory 'clean'.


Is that possible now? If so, I need to dig a little deeper.

Jere
...



100
jfmoore
Re: EFQDirectory 1.0 RC2 Questions/Comments
  • 2007/9/25 15:00

  • jfmoore

  • Quite a regular

  • Posts: 360

  • Since: 2004/6/6 5


Quote:

wtravel wrote:
Regarding the sql import file, of course this is possible. The question is which would be the easiest format or way to do it. Would it be easier for you to use a pipe seperated file instead of creating the sql statement yourself?


As well as I can recall, the way I did it before involved several steps. First, I created the cats in some kind of delimited text format. Then I did several search & replace operations to format it properly.

So, a pipe delimited format would be great and eliminate several intermediate steps.

Jere
...




TopTop
« 1 ... 7 8 9 (10) 11 12 13 ... 32 »



Login

Who's Online

240 user(s) are online (141 user(s) are browsing Support Forums)


Members: 0


Guests: 240


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits