Support Forums

Force register

This is a discussion on Force register within the Technical Support forums, part of the Technical Support Forums category; What version of 68 Classifieds are you running? v4.1.8 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 02-01-2010, 08:38 PM   #1
Customer
 
Join Date: Jan 2010
Posts: 15
Rep Power: 2
bajaboy1 is on a distinguished road
Default Force register

What version of 68 Classifieds are you running?

v4.1.8 Developer

What template are you using?

default

Please describe in detail the issue you are having:

How do I force someone to register before they can contact the owner of a listing?

Thanks
bajaboy1 is offline   Reply With Quote
Old 02-02-2010, 06:58 AM   #2
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 2,615
Rep Power: 64
seymourjames is a jewel in the rough
Default

In your 68C admin control panel, go to users -> usergroups; In the settings for guest there is a setting which allows or does not allow them to contact the owner.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68 Classifieds
seymourjames is offline   Reply With Quote
Old 02-02-2010, 09:24 AM   #3
Customer
 
Join Date: Jan 2010
Posts: 15
Rep Power: 2
bajaboy1 is on a distinguished road
Default

Thank you.
bajaboy1 is offline   Reply With Quote
Old 02-02-2010, 11:41 AM   #4
Customer
 
Join Date: Feb 2010
Location: Kidd's Beach, South Africa
Posts: 7
Rep Power: 0
Wildflower is on a distinguished road
Default

I was wondering about this as well. Thanks
Wildflower is offline   Reply With Quote
Old 06-15-2010, 05:48 PM   #5
Customer
 
Join Date: Jun 2010
Posts: 10
Rep Power: 1
arkmo is on a distinguished road
Default Same problem here sort of

Hi guys, got site up and running and everything is going pretty smooth. But having problem with the "Contact Owner" for guest. I want that to show...and get the message they must login to contact the owner. Which this does do that in all browers I tested it in, FireFox, IE8 and Chrome. The problem is the form is just a little farther down the page. So when they scroll down just a little they have the contact form and it works. So they can just go ahead and send the email to the owner without having to register.

Disabling guest contact does remove the form but also removes the "contact owner" button so visitor would not have a clue they need to login to contact the owner nor able to see how the site works.

So how do I use the feature "not allow guest to use contact" and remove the form so they can't. Like I say if they don't see the form below and just click the button they do get the popup that says they need to login or register to use this feature.

Mike
arkmo is offline   Reply With Quote
Old 06-15-2010, 07:25 PM   #6
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 2,615
Rep Power: 64
seymourjames is a jewel in the rough
Default

You can edit the template file viewlisting.tpl file directly by placing a link to the login page or you can edit the logic in listings.tpl file
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68 Classifieds

Last edited by seymourjames; 06-15-2010 at 07:30 PM.
seymourjames is offline   Reply With Quote
Old 06-15-2010, 07:38 PM   #7
Customer
 
Join Date: Jun 2010
Posts: 10
Rep Power: 1
arkmo is on a distinguished road
Default Thanks will give that a try

I don't know much about this stuff other than what I have learned doing it so I won't be much help but maybe I can help someone with another problem I found and appears to have solved.

In IE when the page first loads it was throwing an error. pngfix denied . If anyone else get this problem you might try creating a iepngfix.htc file in your root then edit it placing the fix inside. that appears to have worked.

Thanks for the suggestion on the email form displaying.

Mike
arkmo is offline   Reply With Quote
Old 06-15-2010, 08:14 PM   #8
68 Evangelist & Developer
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,903
Rep Power: 56
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

Quote:
Originally Posted by arkmo
Disabling guest contact does remove the form but also removes the "contact owner" button so visitor would not have a clue they need to login to contact the owner nor able to see how the site works.
This is what I do at the very top of both the showlistings and the viewlisting pages:
HTML Code:
{if $smarty.session.userlevel==5}
<div align="center">
Welcome Guest! Feel free to browse all of our listings, however you must be <a href="userjoin.php">Registered</a> and <a href="login.php">Logged In</a> in order to contact the owner of a listing.
</div>
{/if}
Using Smarty, it checks if the user is a guest and if they are it shows the message otherwise it doesn't. In the message, you add the convenience of clicking the link to register or to login. You can add other appropriate text to the message such as, "Registration is free and also gives you more features such as saving your favorite listings."
__________________
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)] 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

Last edited by Mike-N-Tosh; 06-15-2010 at 09:18 PM.
Mike-N-Tosh is offline   Reply With Quote
Old 06-15-2010, 08:33 PM   #9
Customer
 
Join Date: Jun 2010
Posts: 10
Rep Power: 1
arkmo is on a distinguished road
Default Thanks Mike

But didn't get that code to work on my site. I did get the page edited to include a link to the login page for guest so I guess that will work ok. Thanks again.

Mike
arkmo is offline   Reply With Quote
Old 06-15-2010, 09:19 PM   #10
68 Evangelist & Developer
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,903
Rep Power: 56
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

Ooops! That should have been {if $smarty.session.userlevel==5} Sorry.
__________________
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)] 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
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Only Certain Users Can Register bowers01 Pre Sales Questions 3 09-18-2009 10:28 PM
Is this being done on purpose ? to force your customer to pay more? Syafi Technical Support 15 07-04-2007 02:19 AM


All times are GMT -4. The time now is 05:24 AM.


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