1
robertelo
Catads, a feature request..
  • 2008/12/10 20:49

  • robertelo

  • Just popping in

  • Posts: 77

  • Since: 2008/11/28


Hi guys,

I would love to see Catads listing shows photos of the listed ads.

Here is an example:
http://xoopskraven30.free.fr/modules/catads/adslist.php?topic_id=2

Many thanks to the person who will make this hack.

2
ghia
Re: Catads, a feature request..
  • 2008/12/10 21:30

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


You have to thank kraven30 for that, he is busy with an update of the free version for the Catads module.
One feature is also a clickable map to find or start ads in your region.
Follow the progress in this thread from XOOPS France.
For the moment, he is looking for some records to test with a more loaded database table.
I assume, when it is finished, there will be an announce here in the XOOPS News also.

3
robertelo
Re: Catads, a feature request..
  • 2008/12/10 21:33

  • robertelo

  • Just popping in

  • Posts: 77

  • Since: 2008/11/28


Looking forward to it Ghia thank you for the news

4
Anonymous
Re: Catads, a feature request..
  • 2008/12/10 22:11

  • Anonymous

  • Posts: 0

  • Since:


I made this hack until karven30 finish his update:

edit modules/catads/blocks/catads_new.php then search for:

$a_item['photo'] = "<a href="javascript:openWithSelfMain('".XOOPS_URL."/modules/".$module->getVar('dirname')."/display_image.php?array_id=".$strid."&ads_id=".$ads_id."','Photo',".$width.",".$height.");"><img src="".XOOPS_URL."/modules/".$module->getVar('dirname')."/images/photo.gif" border=0 width=15 height=11 ></a>";


and replace it with:

$a_item['photo'] = "<img src="".XOOPS_URL."/modules/catads/images/ads/".$oneads->getVar('photo0')."" alt="".$oneads->getVar('ads_title')."" border=0 width=50 height=50 ></a>";



5
robertelo
Re: Catads, a feature request..
  • 2008/12/16 16:57

  • robertelo

  • Just popping in

  • Posts: 77

  • Since: 2008/11/28


Thanks Mowaffak, even if the code didn't work, i will wait for karven update.

6
pablo103
Re: Catads, a feature request..
  • 2008/12/21 23:55

  • pablo103

  • Not too shy to talk

  • Posts: 181

  • Since: 2008/2/3 1


I am getting an error


Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in (...) modules/catads/blocks/catads_new.php on line 90




7
ghia
Re: Catads, a feature request..
  • 2008/12/22 2:04

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


It's due to the use of quotes in the quoted string.
Try
$a_item['photo'] = '<img src="'.XOOPS_URL.'/modules/catads/images/ads/'.$oneads->getVar('photo0').'" alt="'.$oneads->getVar('ads_title').'" border=0 width=50 height=50 ></a>';

8
Anonymous
Re: Catads, a feature request..
  • 2008/12/23 18:28

  • Anonymous

  • Posts: 0

  • Since:



9
tzvook
Re: Catads, a feature request..
  • 2008/12/23 19:37

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


English translation:

Hello all,

The module Catads evolving with new features requested by users.

This module allows you to publish ads on your site.

You can test here


Description:

Key features: Key features:
- The member can follow his ads (sub-menu 'my ads')
- It can edit or delete their postings.
- It may suspend (and resume) their publication.
- It may revive the publication of an announcement expired.
- It can choose the mode of contact.
- Possibility to be notified of new publications
- Possibility to make comments

Options: The options:
- Moderation or not
- Anonymous poster or may not
- Number of ads per page
- Number of new (index)
- Number of ads per page hotel
- Duration of publication ads
- Number of re-authorized publications
- Announcing new day for x
- Form bbcode or not
- Upload images authorized or not.
- Size, height and width parameters image
- Displaying a map of France (www.france-map.fr)

Administration:
- System Overview - System General
- Management of topics
- Management options dropdowns (currency ,...)
- List of ads waiting (if moderation), published expired
- Approval, editing, deletion of ads
- Erase ads expired more than x days
- Changing the statutes batch of ads.
- Remove ads per user or global or date.
- Addition of a renewal announcement.
- Addition of an approaching expiration.
- Creation of a block "Sending email at the approach of the end".
- Add access permissions Submissions categories and ads in categories.
- Reorganization of the administration.
- Moving images in the file uploads to the site root
- Creating vignettes

Users
- Sorts in ascending or descending ads.
- Changing the form to choose to receive email expiration or not.
- Improved interface lists of ads.
- Improving the interface of the announcement.
- System agradable image ads ajax "Popbox"
- Overview of images
- Bug display printer, adding a photo.
- The user fear renew his announcement when he receives by email or pm.
- Bug: the number of reading the ad does more increases after the number 127.
- Bug: Problem display categories.
- Renew ads

You can download this version here

I urge you to read the documentation little "A lire.txt"

The media is here.

Thank you to Eparcyl92 and Tatan for testing and Mariane (from www.arabxoops.com) for the translation into English.

10
tzvook
Re: Catads, a feature request..
  • 2008/12/23 19:51

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


I wonder if the module was tested under php 4.x ? XOOPS 2.3.x ?

BUT most of all - If it's a "MySql query bomb" like the original catads ?
( lot of categories = lots of queries = lots of server problems )

at last ads module is moving forward ( hopefully php4 compatiable)

Login

Who's Online

139 user(s) are online (95 user(s) are browsing Support Forums)


Members: 0


Guests: 139


more...

Donat-O-Meter

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

Latest GitHub Commits