Author Topic: nBill 2.0 Alpha Released  (Read 8926 times)

Offline netshine

  • Administrator
  • Hero Member
  • *****
  • Posts: 4,952
    • View Profile
Re: nBill 2.0 Alpha Released
« Reply #15 on: 10/September/2009, 03:53:06 PM »
It works ok for me - if you contact me privately with login details for your site, I will look into it.

Offline Antoine

  • Sr. Member
  • ****
  • Posts: 154
    • View Profile
Re: nBill 2.0 Alpha Released
« Reply #16 on: 21/September/2009, 04:56:59 PM »
Hello Russell,

Will Cr ?dit feature (with automatic deduction on next order) will function on version 2.0 ?

Regards,
Antoine

Offline netshine

  • Administrator
  • Hero Member
  • *****
  • Posts: 4,952
    • View Profile
Re: nBill 2.0 Alpha Released
« Reply #17 on: 21/September/2009, 04:59:30 PM »
Yes, I have already coded this bit - order forms will respect any client credit amount for new orders, but recurring payments for existing orders will not (to preserve the integrity of the payment schedule with the payment service provider).

Offline dig814

  • Sr. Member
  • ****
  • Posts: 50
    • View Profile
    • Pixel Point Creative
Re: nBill 2.0 Alpha Released
« Reply #18 on: 20/October/2009, 08:27:36 PM »
I love nbill and have been using it for about a year now. Working well. Many of the new features are exactly what I was looking for. I have a question about one feature in particular. Will there be anyway to validate emails in the new version? Similar to core Joomla registration. My main problem is that I offer some free products as well as some commercial. To get the free products, I require registration.  75% of people getting free stuff use bogus info. Will there be any way to hinder this?

Offline netshine

  • Administrator
  • Hero Member
  • *****
  • Posts: 4,952
    • View Profile
Re: nBill 2.0 Alpha Released
« Reply #19 on: 21/October/2009, 08:15:36 AM »
I'm afraid I had to put that on the 'postponed' list, as I am once again running behind schedule. This feature WILL be added at some point, just not in the first release.

Offline paulm

  • Full Member
  • ***
  • Posts: 22
    • View Profile
Re: nBill 2.0 Alpha Released
« Reply #20 on: 25/October/2009, 09:48:08 PM »
@dig814

Copy the following in to /administrator/language/en-GB/en-GB.ini & /language/en-GB/en-GB.ini.  You need both just in case you ever create a user from the admin panel.

Code: [Select]
USERNAME_REMINDER_EMAIL_TITLE=Your %s username
RESEND_ACTIVATION_EMAIL_TEXT=Hello,<br /><br />An activation link has been requested for your %s account.<br /><br />To activate to your account, click on the link below.<br /><br />%s<br /><br />Thank you.

Then, create a new file called a.php in /administrator/components/com_netinvoice/events/user_created/

Code: [Select]
<?php

// GET ALL THE FILES WE NEED
jimport('joomla.user.helper');
jimport('joomla.application.component.model');
jimport('joomla.mail.helper');

// CONNECT TO THE DATABASE AND BLOCK THE NEW USER
$db =& JFactory::getDBO();
$query "UPDATE #__users SET block = '1' WHERE id = '$params[id]';";
$db->setQuery($query);
$db->query();

// GENERATE A NEW ACTIVATION KEY & REMOVE THE LAST VISIT DATE
$activation JUtility::getHash(JUserHelper::genRandomPassword());
$query "UPDATE #__users SET activation = '$activation', lastvisitDate = '0000-00-00 00:00:00' WHERE id = '$params[id]';";
$db->setQuery($query);
$db->query();

// SEND THE USER AN EMAIL WITH THE ACTIVATION LINK
$config = &JFactory::getConfig();
$uri = &JFactory::getURI();
$url $uri->toString( array('scheme''host''port')).JRoute::_('index.php?option=com_user&view=login'false);
$from $config->getValue('mailfrom');
$fromname $config->getValue('fromname');
$subject JText::sprintf('USERNAME_REMINDER_EMAIL_TITLE'$config->getValue('sitename'));
$link $uri->toString( array('scheme''host''port')).JRoute::_('/index.php?option=com_user&task=activate&activation='.$activationfalse);
$link '<a href="'.$link.'">'.$link.'</a>';
$body JText::sprintf('RESEND_ACTIVATION_EMAIL_TEXT'$config->getValue('sitename'),$link);
if (!JUtility::sendMail($from$fromname$params[email], $subject$body1))
{
return false;
}
?>


Try that!  It might need a bit of cleaning up but it will do the job.

Offline worxx

  • Jr. Member
  • **
  • Posts: 6
    • View Profile
Re: nBill 2.0 Alpha Released
« Reply #21 on: 26/October/2009, 03:19:24 PM »
When I try to upload either of the zip files (nbill_2_0_1_ALPHA or nbill_2_0_1_ALPHA_for_Joomla_1.5) I get an upload error from Joomla.

When I ftp either one of the up to the site and try to install from a directory I get this.

Component Install: Another Component is already using directory: "/homepages/25/d246185649/htdocs/computerworxx/components/com_netinvoice"
Component Install: Another Component is already using directory: "/homepages/25/d246185649/htdocs/computerworxx/administrator/components/com_netinvoice"

Any ideas?
Worxx

Offline paulm

  • Full Member
  • ***
  • Posts: 22
    • View Profile
Re: nBill 2.0 Alpha Released
« Reply #22 on: 26/October/2009, 04:45:08 PM »
I thought the component was called com_nbill as of 2.x... are you sure you have the correct file?

Offline netshine

  • Administrator
  • Hero Member
  • *****
  • Posts: 4,952
    • View Profile
Re: nBill 2.0 Alpha Released
« Reply #23 on: 26/October/2009, 08:12:05 PM »
Yes, it is called com_nbill now, not com_netinvoice. What is the error message you are getting from Joomla? Have you checked the folder permissions?

Offline netshine

  • Administrator
  • Hero Member
  • *****
  • Posts: 4,952
    • View Profile
Re: nBill 2.0 Alpha Released
« Reply #24 on: 30/October/2009, 04:30:22 PM »
This thread has now been superceded as there is now a BETA release of nBill 2: http://www.nbill.co.uk/forum/index.php/topic,1468.0.html

 

anything