[solved] Allowing Users to View Unapproved Entires

More
10 years 7 months ago - 10 years 7 months ago #19053 by philim
Hello,
I have a entry based website where users can come in, create a profile (in CB) and then add their business listing into SobiPro. When they view they profile, their associated SobiPro entry shows where they can view info and click to edit the listing. I have noticed that they can only view or edit their listing when it has been approved (although their user level allows for viewing of their unapproved listing in SobiPro). Is there a way to allow this plugin to view the user's listings whether they are approved or not? We'd like to give them the chance to add to their listing or edit their listing before we get to approving it in it's entirety. Thanks for your help.
Last edit: 10 years 7 months ago by nordmograph.

Please Log in or Create an account to join the conversation.

More
10 years 7 months ago - 10 years 7 months ago #19054 by nordmograph
Hello

Yes this makes sense.
Open
components/com_comprofiler/plugins/user/mysobipro/mysobipro.php

FInd:
Code:
AND so_entry.`state` = '1'
in the query WHERE clause,
and remove it from the query
Hope it helps

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.
Last edit: 10 years 7 months ago by nordmograph.

Please Log in or Create an account to join the conversation.

More
10 years 7 months ago #19055 by philim
That does the trick. Thank you very much for this quick and accurate response!

Please Log in or Create an account to join the conversation.

Time to create page: 0.351 seconds
Powered by Kunena Forum
Disclaimer: Nordmograph is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.