HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


customizing the side_personal_stats block

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#107279 (In Topic #20902)
Avatar

Well-settled

Is there a way to remove the ocPortal log in fields and leave only the Facebook log in?



What I want to do is force new members to sign up with the Facebook log in only but I can't find a template or anything that gives me access to makes changes. 

Can anyone point me in the right direction?
Back to the top
 
Posted
Rating:
#107282
Avatar

Community saint

Removing the login fields might not be a good idea if you have a lot of members that still need to use that method of logging in. If you removed those fields, you would need to force them to go an extra step by directing them to the login page where they can log in with their standard ocPortal login. It might be enough just to remove the Join and More links from that side block and put a message there letting people know existing members can login with the login form but new members will need a Facebook account and can click the Facebook Log In button to signup for and login to your web site. The template you are looking for is overridden by the Facebook addon and is located at themes/default/templates_custom/BLOCK_SIDE_PERSONAL_STATS_NO.tpl. I believe you will want to use the template editor for your theme and not for the default theme. This should put the changed template into themes/<your theme>/templates_custom directory. If the template doesn't get put into your theme's tempates_custom directory, you should manually copy it there so any Facebook addon updates don't overwrite your changes and revert it back to the default.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: