15

Login/Logout Widget

DAP has a Login/Logout Widget that you can use in any widget-ready theme.

Log in as WP admin, and look under “Appearance > Widgets”.

You’ll see the widget. Drag this widget on to any customizable part of your theme.

The widget puts the DAP login form right on your sidebar.

When a user is not logged in, they will see the login form.

When they are logged in, they just see a “Logout” button.

Click Here to Leave a Comment Below 15 comments
Amber - December 8, 2009

Perhaps I’m missing something… but after setting the log in page, I’ve got an internal server error happening? I followed the instructions for putting the page up.

Reply
Jeff - January 16, 2010

Is it possible to customize this widget so that there is a link that says “sign up” under forgot password for those who are not logged in. This would take you to the sign up page.

Thanks!

Jeff Gaudette

Reply
Chuck - February 6, 2010

Ravi,

Is there code to insert the login widget into a widget ready sidebar. I’d like more control over the title, graphics, etc.

Thanks

Reply
Chuck - February 6, 2010

clarification.

If i just insert your widget into a sidbar it appears on all sidebars without setting up a specific new page. The “Section widget” plugin allows me to decide which page a widget shows on giveing me more control. With section widget I can put in php or html or text…i cannot insert a widget within a widget.

Hence the questions about php code to call the DAP widget form.

I tried placing %%LOGIN_FORM%% in section widget but its not picking it up.

😉

Reply
Peretz - February 14, 2010

I would also like to know how to edit the login/logout widget.

Thanks,

Peretz

Reply
jeanjacques - February 19, 2010

Hi Guys,
You can change the way the login widget is appearing if you edit DAP-WP-LoginForm-LoginLogout.html which is located within /httpdocs/wp-content/plugins/DAP-WP-LiveLinks

Reply
Eric - March 16, 2010

I am using a non wordpress website. How do I add the login/logout feature to my website? I don’t see you mentioning anything about the login/logout feature on a non wordpress website.

Reply
Ravi Jayagopal - March 21, 2010

Starting version 3.7, it is now possible to customize the Widget Title. So the text above the login form can say “Login Here”, or “Member Login”, or “Your Account”, etc.

– Ravi Jayagopal

Reply
Vali - April 29, 2010

Hi Ravi,

Is there a logout button in DAP admin ? I have searched and searched, and i can’t find it, so i can’t test my products, because i am always logged in, and i want to see the message from the error-notloggedin.php file.

Thanks,
Vali.

Reply
Ravi Jayagopal - April 29, 2010

Vali,

Not sure where you looked, but it’s there on the left in our documentation.

See http://DigitalAccessPass.com/documentation/?page=/doc/logout-link/

– Ravi Jayagopal

Reply
Peretz - May 1, 2010

Ravi,

Can you point me to the code where I can apply CSS to the login/out widget?

Thanks,

Peretz

Reply
Max - May 12, 2010

How would one stop viewers from seeing the site at all.. I have text on the side bar that I don’t want anyone to see til they’re logged in.. I just want a plain page with the login page basically..

Reply
Max - May 14, 2010

Also, one last Q! Is there a way to see when people log in and out etc..?

Reply
Chad Carlton - September 2, 2011

I too would like to find the code to apply CSS changes to the widget

Thanks,
Chad

Reply

Leave a Reply: