Support Forums

User level registration question

This is a discussion on User level registration question within the Technical Support forums, part of the Technical Support Forums category; What version of 68 Classifieds are you running? V4.2.0 Developer What template are you using? Default Please describe in detail ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

Reply
 
Thread Tools Display Modes
Old 10-28-2010, 04:26 PM   #1
Customer
 
Join Date: Aug 2008
Posts: 9
Rep Power: 0
John_6x6 is on a distinguished road
Default User level registration question

What version of 68 Classifieds are you running?
V4.2.0 Developer

What template are you using?
Default

Please describe in detail the issue you are having:

Need a more clear understanding of registration process and user levels. I have search throughout the forum and docs but can't seem to get the answer.

The way I understand it, when guests register for the first time, they become Registered Members by default which is level ID 2 in user groups. I know I can make new user group levels and assign a package to them. But how do I change (or can I change) the way registration makes a user just by default and/or can I register into another user group other than Registered Members?

My example: a Registered Member picks a package and places an ad. I want to have unregistered visitors (guest user level) visit the site, see only certain parts of an ad as defined in the guest user group, and then the guest can register to see more ad details if they choose. The user groups seem to be the key but I can't find a way to make a guest register into any other user group I create other than Registered Members. How do I get them into the registered user group I create?

Maybe I just don't really understand this or my brain is fried so I apologize if my question ends up being a very basic and stupid one. I just can't seem to get it on my own.
Thanks
__________________
John_6x6
Version: v4.2 Developer
Template: default
John_6x6 is offline   Reply With Quote
Old 10-28-2010, 04:59 PM   #2
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,042
Rep Power: 75
seymourjames is a jewel in the rough
Default

I think what you are doing is complex because you wish to restrict no only the the posting of adverts of a certain type to different levels of users but also display them to different levels of visitors.

Can I ask your site application/market. I ask this because I do not see why you would wish to do this outside of only one or two industries. You may be making things complicated without real good reason.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates and list your 68C site on ClassifiedCodes.com
seymourjames is offline   Reply With Quote
Old 10-28-2010, 05:09 PM   #3
Customer
 
Join Date: Aug 2008
Posts: 9
Rep Power: 0
John_6x6 is on a distinguished road
Default

Yes but I'll PM it to you while it's still under dev. Thanks
__________________
John_6x6
Version: v4.2 Developer
Template: default
John_6x6 is offline   Reply With Quote
Old 10-28-2010, 09:50 PM   #4
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,148
Rep Power: 63
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

I believe from reading your post that you actually do "get" how it works, however may be confusing the "logic" about the implementation.

The main reason that you would create additional user groups is to offer additional ad listing packages (e.g. different pricing, duration, etc.) as you've already indicated that you understand.

What a user group sees when they view the site listings is what you allow them to see as you have already seen in the settings for the user groups. If someone does NOT log in they are in the guest user group. Once they are registered, then they are put into the registered user group. (If they are registered and DON'T login, they are in the Guest user group).

It sounds like you simply want to limit what the guest user group sees and allow more information to be seen by the registered user group. One of the most common things would be to NOT allow a guest user to see is the "Contact the owner" link to help prevent spam.

In direct answer to your question, there is NO built in method to automagically have a registered user become a member of a different user group other than a registered user. In order to do that, the preferred method would be through a custom module. As you have the developer's version you could modify core php files, but I wouldn't recommend that as it would make upgrading much more difficult. In addition, there are several places depending on other admin settings that would need to be changed. There is no "Oh just change this one line to this" solution for this.

Regarding the enticing a user to register:
I don't allow a guest to see any seller information other than the username as well as don't allow them to contact the seller, save to favorites... I use this little bit of smarty code to alert them to this as an "enticement" to register" at the top of my showlistings.tpl and the viewlisting.tpl files.
Code:
{if $smarty.session.userlevel == 5 || $smarty.session.userlevel == ''}
<div style="border: #000 thin solid; width:500px; margin:0 auto;">
      <p><strong>Welcome GUEST</strong>, feel free to browse our listings. However you will be unable to contact the seller or see some of the other information without <a href="userjoin.php">registering</a> or <a href="login.php">log in</a>.</p>
      <p>Registration is <strong>FREE</strong> and this is just one of the many benefits that you receive as a registered user.</p>
</div>
{/if}
This alerts them to the fact that they aren't seeing everything they could be. Only shows if they are not logged in or are a guest and has the convenience of the clickable links to easily do so.
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 10-29-2010, 09:41 AM   #5
curmudgeon
 
Join Date: Mar 2006
Posts: 5,365
Rep Power: 135
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

edit your user groups and make the "guest" user group restrictive so it can only see basic ad details.

Edit the "registered user" user group and alow them to see the fleshed out ad. If you do not want these folks to be able to place ads, then simply dont create any ad packages they can use and additionally you could hide the "place an ad" link for all user level except your custom created user (see below).

Create a custom user group and an ad package that is only usable by them.

Since you are using my membership mod and want to limite ad postings to 1 for each user, create an membership package that allows for only a single us and changes the users group to your newly created custom user above.

John doe comes to your site and is a member of the "guest" user group. He registers and is now a mmber of the "users awaiting email" group. Once he responds to the activation/validation e-mail he becomes a "registered user" and wont be able to place any ads but will see full ad details.

Once John Doe buys a membership he will become a member of your custom user group and when he clicks "place an ad" will see a single ad package and can place an ad. Once he places an ad the membership will expire and he will become a registered user again and no longer be able to place ads but can edit his previously posted ad.

It sounds to me like you are trying to make this a lot more difficult than it needs to be.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 10-29-2010, 11:22 AM   #6
Customer
 
Join Date: Aug 2008
Posts: 9
Rep Power: 0
John_6x6 is on a distinguished road
Default

Thanks everybody.

Yes, I did make it more complicated than it needed to be now that I've read your suggestions and feedback. My problem is with my own brain - over-thinking it. I just need to allow the script to do what it does best and it will work just fine - guests register to become members. I got bogged down with too many other details and business. Amazing what a good night sleep will do.

I really appreciate the time , effort and support you guys have given. I hope other members here realize the effort you guys put in too.

John
__________________
John_6x6
Version: v4.2 Developer
Template: default
John_6x6 is offline   Reply With Quote
Reply

Tags
guest registration , user groups , user levels

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
User Registration jorge Pre Sales Questions 1 04-06-2009 03:34 PM
User Registration and Showlistings! bowers01 Modules / Plugins / Modifications 2 08-22-2008 03:09 AM
New User Registration Error Help Please megapix Technical Support 1 03-16-2008 03:26 PM


All times are GMT -4. The time now is 12:31 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0