Custom made Newspaper 6 Login Widget

Posted in: Newspaper
Post count: 100

Hi, as I saw there was no widget to replicate the procedure of login like the one found on the top-bar menu, I created a plugin that adds a widget that replicates this procedure.

The plugin takes the code found in Newspaper->parts->header->top-menu.php and contains the code found from line 15 to 97.

I tested it and it works fine, with only exception that if the authors in the future change the login code, this plugin will be outdated. So until the authors create a widget that comes with the theme that implements login procedure, with this custom made plugin you will be able to have the out of the box login provided with the Newspaper 6 Theme.

After you install the plugin, you will see it with the name “Custom Newspaper 6 Login Widget”. Activate it and go to Appearance->Widgets and simply drag it to your sidebar.

Thanks.

Download the zip here

Post count: 100

I will try to keep the plugin up to date with possible changes done to top-bar login until tagdiv provide sidebar login widget, and ofcourse as long as tagdiv is not opposed to such an “extra”, where in such case I have to give my appologies to the team and ask them to take down my post. My intention is only to help the community and give them something I did to help myself.

  • This reply was modified 11 years by neakriti.
Post count: 100

Already made the first update to that plugin, versioning now as 1.1

With the update the plugin other than the “widget”, it provides a shortcode [CustomNewspaper6Login]

Using that shortcode anywhere in a post or a page, it does the same job as the widget, therefore you are not limited to use the login/logout functionality only from a widget, but anywhere in your theme.

The first post on that topic contains the updated plugin.

  • This reply was modified 11 years by neakriti.
Post count: 780

Hi neakriti,

Thanks for this, I’ve added the post as sticky. We plan to add a list of interesting DIY tutorials + custom made stuff to the forum soon (I will have some free time next week for it)

Post count: 103

Thanks but why is it limited to “Login” ? The old version of the theme enabled to login or to join !!!

Why have not you put it in this theme??

Post count: 103

Ok sorry. You have introduce a condition. Register will appear only if inscriptions are authorized…

Thanks

Post count: 37

Fantastic, Thanks for the hard work on this one 🙂

is there a way that with Newspaper that they could also develop a social media login button within the login section,

I use this for comments however it does not appear on the newspaper login popup to allow people to login using social media.

Maybe this is somthing you could add to the plugin neakriti, as im sure Newspaper are working on much more important updates.

  • This reply was modified 11 years by gmtrevor.
Post count: 6600

Hi,

We have this suggestion on our feature request lists and we will consider it for future updates.
You can try to use this implementation: https://forum.tagdiv.com/topic/where-to-put-this-code/

Thanks

Post count: 156

Hi

thanks for this widget, but when we activate it, wordpress says

“The plugin generated 3 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.”

We use latest WP 4.3 , could you please check?

thanks

Post count: 6600

Hi AilyRoot,

I see you have posted here: https://forum.tagdiv.com/topic/where-to-put-this-code/ have you manged to get this done eventually?

Please let me know!
Thanks

Post count: 156

Hello
not really with this Login Widget, but we did this instead

https://forum.tagdiv.com/topic/forum-login-string/

maybe it is a good idea to include that into your default design 🙂

Post count: 7909

Hi,

I have added this on our list and the developers will decide if it will be implemented.

Thanks!

Post count: 103

Hi Neakriti

I dont know if it is related to your plugin but since last update of newspaper and wordpress (4.3), new suscribers dont receive any email with their password. Emails work fine for lost password. That is very weird

Post count: 1291

Hi,


@Carel
– The theme uses wordpress default registration and user management feature and wordpress requires a mail server. If the password recovery works it means that the server is active so i guess you get some kind or error or maybe you have a firewall restriction. Try to check the error.log file to see if there’s anything on this. If you use a plugin check on web for clues, i see there are some issues wordpress latest updates – https://wordpress.org/support/topic/wp-mail-smtp-does-not-work-on-wordpress-43

Thank you!

Post count: 90

I am experiencing the same problem as Carel, https://forum.tagdiv.com/topic/user-registration-notification-error trying to find solutions to this.

Viewing 15 posts - 1 through 15 (of 15 total)
The forum ‘Newspaper’ is closed to new topics and replies.