1
NeoisD1
CatAds 1.23 C.Félix
  • 2005/2/14 8:11

  • NeoisD1

  • Just popping in

  • Posts: 10

  • Since: 2005/2/2 1


Hi there

I am currently using CatAds 1.23 by C.Félix, this is working fantastically well however I want to know how can I hyperlink the pics I use so that they follow the same direction as the text links and is it possible to display by the category pics the total number of ads and say the total number of new ads over the last week.

Thanks

the site is athttp://aquafc.co.uk

2
NeoisD1
Re: CatAds 1.23 C.Félix
  • 2005/2/15 7:38

  • NeoisD1

  • Just popping in

  • Posts: 10

  • Since: 2005/2/2 1


Anyone have any idea, or know of how to contact author of program or if there is a support forum for it somewhere? thanks.

3
theCat
Re: CatAds 1.23 C.Félix
  • 2005/2/15 10:38

  • theCat

  • Just popping in

  • Posts: 77

  • Since: 2004/2/2 2


Normally you must have minimum 2 levels of categories (for example):
- fish
-- angelfish
-- catfish
-- Killifish
- equipment
-- air pump

In this case, the 2nd level display the # of ads

But many people use only one level ...
I'm working about v1.3 with news features and I can try to display # of ads if there is only one level of categories.


[size=x-small]Sorry for my poor English[/size]

4
theCat
Re: CatAds 1.23 C.Félix
  • 2005/2/16 4:36

  • theCat

  • Just popping in

  • Posts: 77

  • Since: 2004/2/2 2


In index.php after (line 133)
$arr_cat[$i]['title'] = $title;
add this lines
if (in_array($cat_id$lastchildren)) {
$arr_cat[$i]['nb'] = (array_key_exists($cat_id$nbadspercat)) ?  "(".$nbadspercat[$cat_id].")"'';
$arr_cat[$i]['new'] = (array_key_exists($cat_id$newads)) ? $newads[$cat_id]: '';
}


and in your template catads_index.html after
<a href ="<{$cat.link}>"><{$cat.title}></a>

insert
<{$cat.nb}>
<{if 
$cat.new > 0}>
<
img src="<{$xoops_url}>/modules/catads/images/new_green.gif"
<{/if}>

5
ClubNUKE
Re: CatAds 1.23 C.Félix
  • 2005/2/16 5:05

  • ClubNUKE

  • Just popping in

  • Posts: 83

  • Since: 2004/9/1 2


1.3...when???

If you need spanish languaje for 1.3 send me a MP.

6
theCat
Re: CatAds 1.23 C.Félix
  • 2005/2/16 8:05

  • theCat

  • Just popping in

  • Posts: 77

  • Since: 2004/2/2 2


1.3...when ???
Approximately a week

If you need spanish languaje for 1.3 send me a MP.
OK, I appreciate your proposal

Login

Who's Online

219 user(s) are online (137 user(s) are browsing Support Forums)


Members: 0


Guests: 219


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