Advertisement:

Author Topic: Submit new ad navigating to login page  (Read 3812 times)

adsvads

  • Jr. Member
  • **
  • Posts: 50
Submit new ad navigating to login page
« on: March 03, 2013, 04:04:45 pm »
Hello friends,
I am facing a weird problem. Every time an ad has been published, the ad navigates to page where it says to validate the listing inorder to publish it(Message comes in green color), but after a couple of seconds, it re-navigates to login page saying only registered users are allowed to post ads(Red color messages).

The ad actually gets added in the listings  database.

Kindly help me with the solution asap.

Thanks,
onkar

For demo please check my site http://adsvads.com

adsvads

  • Jr. Member
  • **
  • Posts: 50
Re: Submit new ad navigating to login page
« Reply #1 on: March 12, 2013, 01:58:10 pm »
Friends please help me

garciademarina

  • Administrator
  • Hero Member
  • *****
  • Posts: 974
Re: Submit new ad navigating to login page
« Reply #2 on: March 12, 2013, 05:04:37 pm »
Hi,

What do you want? only logged in users can post? or everyone can post listings?

First of all you need to have the setting 'Only logged in users can post listings' checked, if you don't have this option on, visitors can access to domain.com/item/new


adsvads

  • Jr. Member
  • **
  • Posts: 50
Re: Submit new ad navigating to login page
« Reply #3 on: March 13, 2013, 11:21:19 am »
Hi,

What do you want? only logged in users can post? or everyone can post listings?

First of all you need to have the setting 'Only logged in users can post listings' checked, if you don't have this option on, visitors can access to domain.com/item/new

'Only logged in users can post listings' is unchecked.
Users have to validate their listings
After  validated listings the user doesn't need to validate the listings any more
If the value is zero, it means that each listing must be validated
is checked.


The user gets link for validation also. Please post a sample ad on the site so that you can understand the problem and guide me accordingly.

garciademarina

  • Administrator
  • Hero Member
  • *****
  • Posts: 974
Re: Submit new ad navigating to login page
« Reply #4 on: March 15, 2013, 01:41:32 pm »
Hi,

Have you changed some of the core files ? or you have some plugin that affects the redirection.

At least you have a call to index.php?page=custom&file=referral/makepremium.php&itemId=585 just after submit an item.

This files make the redirection, you should look deeper this files ... I cannot do nothing more

Regards

adsvads

  • Jr. Member
  • **
  • Posts: 50
Re: Submit new ad navigating to login page
« Reply #5 on: March 15, 2013, 02:03:16 pm »
Hi,

Have you changed some of the core files ? or you have some plugin that affects the redirection.

At least you have a call to index.php?page=custom&file=referral/makepremium.php&itemId=585 just after submit an item.

This files make the redirection, you should look deeper this files ... I cannot do nothing more

Regards
dropped you a PM

garciademarina

  • Administrator
  • Hero Member
  • *****
  • Posts: 974
Re: Submit new ad navigating to login page
« Reply #6 on: March 15, 2013, 02:37:49 pm »
Hi,

You should get in contact with the author of this code. ( plugin referral - user  RajaSekar  -  http://forums.osclass.org/index.php?action=profile;u=4527 )

Regards

adsvads

  • Jr. Member
  • **
  • Posts: 50
Re: Submit new ad navigating to login page
« Reply #7 on: March 18, 2013, 09:31:35 am »
Hi,

You should get in contact with the author of this code. ( plugin referral - user  RajaSekar  -  http://forums.osclass.org/index.php?action=profile;u=4527 )

Regards
Hey  admin,
I am getting error when the ad is beign posted and the user is redirected to  wrong page with wrong message(I suppose you have tried demo ad posts also). Please help me for the same.

garciademarina

  • Administrator
  • Hero Member
  • *****
  • Posts: 974
Re: Submit new ad navigating to login page
« Reply #8 on: March 18, 2013, 01:49:31 pm »
Hi

If you deactivate all the plugins, osclass works fine.

plugin referral is the reason of your redirection to url login. do a test deactivating the plugin. (And isn't from osclass team, we cannot give you support)

I cannot do anything more.

adsvads

  • Jr. Member
  • **
  • Posts: 50
Re: Submit new ad navigating to login page
« Reply #9 on: March 18, 2013, 02:51:34 pm »
Hi

If you deactivate all the plugins, osclass works fine.

plugin referral is the reason of your redirection to url login. do a test deactivating the plugin. (And isn't from osclass team, we cannot give you support)

I cannot do anything more.
Thank You admin for the valuable guidance. I have unistalled the plug-in and the site is working fine.

Thank You once again

praveend06

  • Newbie
  • *
  • Posts: 29
Re: Submit new ad navigating to login page
« Reply #10 on: July 19, 2014, 01:19:04 pm »
I too observed the same issue. But I wan tto use this plugin for referral feature.

How can we solve this problem , to allow post new ad by unregistered users.

fre2mansur

  • Hero Member
  • *****
  • Posts: 711
Re: Submit new ad navigating to login page
« Reply #11 on: July 20, 2014, 10:04:44 pm »
referral plugin when new post published after redirect to referral page in user dashboard. if unregister user publishing post it same redirect to dashboard but un register user cannot access user dashboard.. so redirect to login page. you should to edit referral plugin index.php remove the redirection code! or modify to only if register user redirect to dashboard else don't redirect.. but I don't know how its possible.!