xoops forums

Mamba

Moderator
Posted on: 2013/3/22 5:51
Mamba
Mamba (Show more)
Moderator
Posts: 10372
Since: 2004/4/23
#1

AdsLight 2.2 Beta 1 - Ads & Classifieds with Payment Options

Thanks to Cesag, we have now a new version of AdsLight 2.2 that she received from iLuc, the author.

Cesag spent countless hours testing this module, as well as the xPayment module, originally created by Wishcraft.

Both have been now updated to XOOPS 2.5.5 Admin GUI, and are now released as Beta versions for testing.

Adslight is a module that allow your clients of your website to list advertisements for items for sale, exchange or barter. It has an option to work together with XPayment module that allows people to both pay for items in the category it is assigned to or for advertisements themselves, that can be charged on a day by day basis till an expiration date.

Please note: if you don't plan on selling anything for a fee, you don't need to install the xPayment module.

Requirements: XOOPS 2.5.5, PHP 5.2 (5.3+ recommended)

Download: from SourceForge File Repository

- Adslight 2.2 Beta 1

- xPayment 1.52 Beta 1


Once again, a big "Thank you" to Cesag for her hard work and dedication on these two modules!

P.S. If you can, please test the payment feature with xPayment, because we would like to make it a standard payment solution for all our modules, similar to how it is done in Adslight.

For example, if Timgno is developing his Hotel or Restaurant module, he could use xPayment. It would make sense to utilize xPayment in our existing modules such as Oledrion, or Membership. This way we would have a standard payment solution, working similar to modules like Tag or Waiting, which can be utilized by other modules.

Resized Image


Resized Image
Please support XOOPS & DONATE
Use 2.5.8 | Debug | Requests | Bugs

Cesagonchu

Moderator
Posted on: 2013/3/22 7:53
Cesagonchu
Cesagonchu (Show more)
Moderator
Posts: 851
Since: 2010/2/1 1
#2

Re: AdsLight 2.2 Beta 1 - Ads & Classifieds with Payment Options

Transifex: AdsLight 2.2 Beta 1 (language files for translators).

Sourceforge: AdsLight 2.2 Beta 1.

Please help us with translations and tests.

Link to xPayment 1.52 Beta 1 section.

xoobaru

Just can't stay away
Posted on: 2013/3/22 9:54
xoobaru
xoobaru (Show more)
Just can't stay away
Posts: 491
Since: 2010/12/2
#3

Re: AdsLight 2.2 Beta 1 - Ads & Classifieds with Payment Options

Quote:

P.S. If you can, please test the payment feature with xPayment, because we would like to make it a standard payment solution for all our modules, similar to how it is done in Adslight.


Just reposting this recent thread of found xPayment 1.51 issues when tested.

Any Bitcoin plugins in the works for xPayment?.

Mamba

Moderator
Posted on: 2013/3/22 10:12
Mamba
Mamba (Show more)
Moderator
Posts: 10372
Since: 2004/4/23
#4

Re: AdsLight 2.2 Beta 1 - Ads & Classifieds with Payment Options

Quote:
Any Bitcoin plugins in the works for xPayment?.

Not that I am aware of.
Please support XOOPS & DONATE
Use 2.5.8 | Debug | Requests | Bugs

AngeloRocha

Just can't stay away
Posted on: 2013/3/25 13:37
AngeloRocha
AngeloRocha (Show more)
Just can't stay away
Posts: 603
Since: 2010/6/8 1
#5

Re: AdsLight 2.2 Beta 1 - Ads & Classifieds with Payment Options

The images of the ads do not appear to me (debug show no errors;).

In Brazil we use de currency symbol on the left side.
It would be an interesting option, switch de currency position (left or right).

Cesagonchu

Moderator
Posted on: 2013/3/26 2:57
Cesagonchu
Cesagonchu (Show more)
Moderator
Posts: 851
Since: 2010/2/1 1
#6

Re: AdsLight 2.2 Beta 1 - Ads & Classifieds with Payment Options

Quote:

AngeloRocha wrote:
The images of the ads do not appear to me (debug show no errors;).


Is your picture a .jpg and is it 500 kb max?

Resized Image

Mamba

Moderator
Posted on: 2013/3/26 3:11
Mamba
Mamba (Show more)
Moderator
Posts: 10372
Since: 2004/4/23
#7

Re: AdsLight 2.2 Beta 1 - Ads & Classifieds with Payment Options

Quote:
In Brazil we use de currency symbol on the left side.
It would be an interesting option, switch de currency position (left or right).

I agree, it would make sense. Is anybody aware if this was done already in any of the XOOPS modules, so we don't reinvent the wheel?

I guess, it would be relatively easy to add a selection in Preferences, and then set it in templates, but I am curious if it could be done in a more generic way that would be then available to all modules. Could we use Locale for it?

Irmtfan is probably most knowledgeable in using Locale, so maybe he could make a suggestion. Personally, I hate doing one-off solutions for only one module. The goal should be always to make it generic and accessible to other modules.
Please support XOOPS & DONATE
Use 2.5.8 | Debug | Requests | Bugs

Yurdal

Friend of XOOPS
Posted on: 2013/3/28 9:54
Yurdal
Yurdal (Show more)
Friend of XOOPS
Posts: 312
Since: 2005/3/27
#8

Re: AdsLight 2.2 Beta 1 - Ads & Classifieds with Payment Options

How can i make a map of the Netherlands ? i see only Russia and France ?

Mamba

Moderator
Posted on: 2013/3/28 10:04
Mamba
Mamba (Show more)
Moderator
Posts: 10372
Since: 2004/4/23
#9

Re: AdsLight 2.2 Beta 1 - Ads & Classifieds with Payment Options

I talked to Cesag about it, and I think, it's better to just use the Google maps. I don't know what software was used to create the France and Russia maps, and I am afraid that it will only cause maintenance problems in the future.

Google Maps will be an easier solution (it works already), and it can be enhanced further.
Please support XOOPS & DONATE
Use 2.5.8 | Debug | Requests | Bugs

irmtfan

Module Developer
Posted on: 2013/3/29 22:42
irmtfan
irmtfan (Show more)
Module Developer
Posts: 3419
Since: 2003/12/7
#10

Re: AdsLight 2.2 Beta 1 - Ads & Classifieds with Payment Options

Quote:

Mamba wrote:
Is anybody aware if this was done already in any of the XOOPS modules, so we don't reinvent the wheel?

I guess, it would be relatively easy to add a selection in Preferences, and then set it in templates, but I am curious if it could be done in a more generic way that would be then available to all modules. Could we use Locale for it?

Irmtfan is probably most knowledgeable in using Locale, so maybe he could make a suggestion. Personally, I hate doing one-off solutions for only one module. The goal should be always to make it generic and accessible to other modules.


yes a generic solution is much better.
In addition a user side solution (css/html/smarty/js codes) is always better than a server side solution (php/mysql codes) for a user side feature request.
For this feature request you dont need to use php codes. It can be done using css.
Also by using css it will be local aware and multilingual. e.g.: in an english/brazil website, in english it would be in right and in brazil in left.

you can add a css class to your local in XOOPSROOT/language/PT-BR/style.css

e.g.:

.currency {
floatleft;
}


@Mamba:
we can add this style in XOOPSROOT/xoops.css for general usage in all modules/themes:

.currency {
floatright;
}


then in template you can add something like this:
&nbsp;<{$price}>&nbsp;
<
div class="currency">
<{
$price_currency}>
</
div>
<
div class="clear"></div>


then in english it should look like this: 10 USD
in Brazil like this: USD 10
PS: i still didnt download this module but it seems a heavy module using googlemap. It seems this module is doing a great job.