Advertisement:

Author Topic: Make location required when posting/editing ads  (Read 2294 times)

ihealthshop

  • Newbie
  • *
  • Posts: 19
Make location required when posting/editing ads
« on: May 31, 2014, 01:16:36 pm »
Hey Experts!

I know you are very busy and we appreciate the volunteer work that you do with OSCLASS :) Just want to ask a small favor. How do you make the location required when posting/editing ads? The registration is already good since there is a plugin but when you post and edit ads, how do you make the location field required? Thanks a lot. Looking forward for replies. God bless!

teseo

  • Hero Member
  • *****
  • Posts: 6169
« Last Edit: May 31, 2014, 02:30:59 pm by teseo »

ihealthshop

  • Newbie
  • *
  • Posts: 19
Re: Make location required when posting/editing ads
« Reply #2 on: May 31, 2014, 03:27:31 pm »
Hey Teseo,

I actually have tried the plugin already just now and still not working. I am using Real Estate theme. Do I have to edit anything?

teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: Make location required when posting/editing ads
« Reply #3 on: May 31, 2014, 03:53:44 pm »
Then sorry. Searching for this issue on the forum I can see this matter appearing a lot, but seems nobody has found a solution yet. :(

Regards

Aficionado

  • Guest
Re: Make location required when posting/editing ads
« Reply #4 on: May 31, 2014, 06:08:43 pm »
Hi,

Try this plugin:

http://sourceforge.net/projects/osclass/files/Plugins/location-required/

Regards

No matter how i tried to make this plugin to work, for some reason it didn't.

So simply it doesn't work.

This is also something MISSING from Osclass. And this is asked AGAIN and AGAIN and AGAIN by many people but nothing happens. Along with the change of "dropdown" vs "autofill" in regions/cities. Along with the user reposting of expired ads.

Nop. We are all wrong.

 >:(
« Last Edit: May 31, 2014, 06:11:39 pm by Aficionado »

design

  • Hero Member
  • *****
  • Posts: 2619
  • Osclass 3.5 MAC/PC w/ Modern Browsers
Re: Make location required when posting/editing ads
« Reply #5 on: May 31, 2014, 06:25:54 pm »
it has something to do with these, depending on your theme and what conflicts.


you may need these
Code: [Select]
<ul id="error_list"></ul>

with this above the page (line 1)
Code: [Select]
osc_enqueue_script('jquery-validate');
same goes for the registration fields




if your theme already has a "validate" you may want to remove it, and just use script default


bernascoginger

  • Newbie
  • *
  • Posts: 30
Re: Make location required when posting/editing ads
« Reply #6 on: January 02, 2015, 09:08:19 pm »
Hi Design,

Which of the php files can those codes be added?