Classifieds for members only?

Would there be anyway to set up the classifieds so that they can only be seen by logged in members- I know I can hide the menu item from the public, but would there be any way to show the classified categories- maybe even the classified title, but not the content of the classifieds?  In fact, would there be any way to limit certain classified categories to certain membership levels?  I an experimenting with using the classifieds for trade opportunities.  "Offers to buy" are more valuable than "offers to sell" so I would like the buy offers to only be available to paying members.  Can anyone think of how this can be done?  Here is where I am setting it up: http://caltrade.com/members/ads

Thanks

Rob

Quote · 2 Sep 2008

You can simple just restrict all work of classifieds for only members

Quote · 2 Sep 2008

but non-members could still view the classifieds.  Once again, I am taking about the possibility of letting non members view the categories of the classifieds, and possibly the title of the classifieds, but not the content of the classifieds.  Plus if possible I would like to have certain categories of classifieds only available to higher membership levels.  Does anyone know if this can be done?

Thank you

Rob

Quote · 2 Sep 2008

So use

$logged['member'] = member_auth( 0 );

in case when you display Ad

Quote · 2 Sep 2008

AndreyP - thank you for responding, but I don't understand the context.  Where do I use this?  Somewhere in the code?  Which file?  And what does this code mean?  Does the number "0" refer to membership levels?  You are assuming that I have knowledge that I don't have.

Rob

Quote · 2 Sep 2008

It means logged-in (0) members only  .....  I'll let Andrey get the rest  .....

Quote · 2 Sep 2008

Yes, right - members only :)

you can put this code here:

classifieds.php

line 103

elseif ((isset($_REQUEST['ShowAdvertisementID'])

just after this line :)

and you set restriction here

Quote · 2 Sep 2008
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.