1
awarrior
Can anybody help me on a small hack problem with Catads 1.4
  • 2006/10/15 17:50

  • awarrior

  • Just popping in

  • Posts: 48

  • Since: 2006/10/9


Can anybody help me on a small hack problem with Catads 1.4

I have added extra fields to the submission form, which also work via the Admin section to showing the extra details on the finished submitted Ad. Also corrected a bit of dodgy coding in the program as well. It works nearly 100%.

The only problem I can't figure out is - It all works well from submitting to previewing the Ad, BUT as soon as I publish the Ad, for some reason it shifts the details up one field, loosing the details from the top field and sticking a number in the bottom field.

If I click on Re-edit the Ad, it then publishes the details correctly.

It can only be a small coding error, but just can't figure out where.

Can anyone point me in the right direction to get this working 100%
I'm smarter than the average bear boo boo......

2
awarrior
Re: Can anybody help me on a small hack problem with Catads 1.4
  • 2006/10/16 14:30

  • awarrior

  • Just popping in

  • Posts: 48

  • Since: 2006/10/9


OK.... No replies, well no problem now as I got it sorted, don't know what I did, but it is now working perfectly.

So now I have a better working copy of Catads, with some of the coding tidied up, as there were some minor mistakes and eight extra form fields.
I'm smarter than the average bear boo boo......

3
in2sci-fi
Re: Can anybody help me on a small hack problem with Catads 1.4
  • 2007/5/29 20:06

  • in2sci-fi

  • Just popping in

  • Posts: 5

  • Since: 2007/5/29


I, too, have been trying to add extra fields to Catads 1.4. Can you give me a run-down of what you did. Even just a list of the files that you changed would help me out immensely.

4
in2sci-fi
Re: Can anybody help me on a small hack problem with Catads 1.4
  • 2007/6/5 14:54

  • in2sci-fi

  • Just popping in

  • Posts: 5

  • Since: 2007/5/29


Never mind, found 'em. New to Xoops, Catads, PHP, MySQL and French, so it took a while. If it helps anyone else... I added new fields to the database and the following files:

modules/catads/admin/adsmod.php
modules/catads/adsitem.php
modules/catads/submit1.php
modules/catads/include/form3_ads.inc.php
modules/catads/include/functions.php
modules/catads/blocks/catads_myads.php
modules/catads/blocks/catads_new.php
modules/catads/class/ads.php
modules/catads/language/english/main.php
system admin/templates/catads_adsitem.html
system admin/templates/catads_myads.html
system admin/templates/catads_addsublist.html
system admin/templates/catads_item.html

I'm not using all of the pages, so you may need to change additional files, but it's a start.

5
tzvook
Re: Can anybody help me on a small hack problem with Catads 1.4
  • 2007/8/6 8:08

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


Hi
Can you post your files please, has you made more changes to the module ? ...
It's ashame that suce a nice module is not being developed anymore

6
christian
Re: Can anybody help me on a small hack problem with Catads 1.4
  • 2007/8/6 8:23

  • christian

  • Just can't stay away

  • Posts: 401

  • Since: 2002/2/24


Instant zero prepares a new version of this module which will be avalaible soon.

7
tzvook
Re: Can anybody help me on a small hack problem with Catads 1.4
  • 2007/8/6 8:32

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


Thanks christian for the quick answere
It will be great to see Instant zero's touch in here too
is there any ETA on this ?

Login

Who's Online

338 user(s) are online (266 user(s) are browsing Support Forums)


Members: 0


Guests: 338


more...

Donat-O-Meter

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

Latest GitHub Commits