1
Jokes
Catads Module, Changing some of the form variables?
  • 2005/7/29 18:52

  • Jokes

  • Just popping in

  • Posts: 8

  • Since: 2005/7/29


Hello!

I like the simplicity and ease of CatAds, for it suits my needs pretty well. I do not need a full blown ads software so it is perfect for what I use it for... The one thing I would like to do with it though, is to be able to change some of the form variables the user inputs for the ad.
Example: (which is what I actually want to change ;))
phone, location, and zip variables are not needed in the way that I use the module. What do I use it for you might ask? I use it as a tool for people who play an MMORPG, to be able to post in-game sales, wants, and trades of in-game items. There is no real money involved, nor do they need the phone, zip, and location fields. I have already changed it so that the fields are no longer "required", but I would like to use them in a different context... meaning change phone to ICQ number, location to the server the user plays the game on (dropdown list would be nice, but the field is really not even necessary, because my categories are actually the servers names for the trades anyways). And zip code, well, I don't really need that at all either lol. I guess the simple fix I need would be just to delete the zip and location fields, without breaking the script (which I did once or 2x already )
I guess the basic idea would be, to be able to completely remove zip, and location... and change phone to ICQ# ! That would sum it up in a nutshell.

Any help would be appreciated. I tried contacting the cat, but he hasnt gotten back to me in weeks, so maybe someone here can help.
Thanks!
Jokes.

2
Jokes
Re: Catads Module, Changing some of the form variables?
  • 2005/8/17 6:55

  • Jokes

  • Just popping in

  • Posts: 8

  • Since: 2005/7/29


Ahhh I like some of the changes in CatAds 1.4

I love the fact that you can now make some choices on what fields are showing up on the submit form!! The options you can now control from Prefs are zip code and email... where you can show them, hide them, or make them required... sweet! This is kinda what I was looking for, but is there any way to add an ICQ# option in prefs, and do the same option selecting for town and ICQ#? If Cat was to cover those 2 other possibilities, I would be overjoyed! Keep up the great work Cat!!

3
Shine
Re: Catads Module, Changing some of the form variables?
  • 2005/8/17 7:10

  • Shine

  • Just can't stay away

  • Posts: 822

  • Since: 2002/7/22


Why don't you change the language files?
Instead of the default translation: zipcode change it to ICQ. And so on.

Grtz., Shine

4
Jokes
Re: Catads Module, Changing some of the form variables?
  • 2005/8/19 12:15

  • Jokes

  • Just popping in

  • Posts: 8

  • Since: 2005/7/29


Shine,
Thank you for your valued input on my situation.
That does work for the icq# part, I just changed "Phone" in the language file to "ICQ#", and since the database will just see a number as a number wheather it is a phone or otherwise works too, so that was an ideal fix... good advice there. But for something like "location" I really don't need it, so an option to disable it or making it "not required like the other 2 new additional options for zip and email is what I am requesting. If I knew what files to add the lines of code to, I would just take the example of the 2 that already exist and just add to them, but I do not know exactly what files are involved in the making of the "optional" directives and I really do not wish to break the mod again trying lol. I am getting sooo close to the final adjustments to what I need, so any medaling by me not knowing exactly where I am doing it could be a time consuming headache.
Cheers to the language file changing for changing the option to something better to suit the users(my) needs though. I just don't need as many options as others might need.
Thanks once again for your constructive idea! It does simplify some of it a bit... just not all.

Login

Who's Online

303 user(s) are online (225 user(s) are browsing Support Forums)


Members: 0


Guests: 303


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