• Home
  • Showcase
    • Newspaper Showcase
    • Newsmag Showcase
  • Support
    • Newspaper Forum
    • Newsmag Forum
    • Blog
    • Documentation
      • Newspaper Documentation
      • Newsmag Documentation
      • The Theme API
    • What’s New
      • Newspaper
        • What’s New in v 11.5
        • What’s New in v 11.4.3
        • What’s New in v 11.4
        • What’s New in v 11.2
        • What’s New in v 11
        • What’s New in v 10.4
        • What’s New in v 10.3.7
        • What’s New in v 10.3.2
        • What’s New in v 10.3
        • What’s New in v 10
      • Changelog
        • Newspaper
        • Newsmag
        • tagDiv Opt-In Builder
  • Services
    • Web Development Services
    • Web Solutions & CMS Development
    • Web design & Front-end Development
    • E-Commerce Development Services
    • Page Speed Optimization Services
  • Buy Newspaper
Search
tagDiv support
  • Become a member
  • Sign in
  • Home
  • Showcase
    • Newspaper Showcase
    • Newsmag Showcase
  • Support
    • Newspaper Forum
    • Newsmag Forum
    • Blog
    • Documentation
      • Newspaper Documentation
      • Newsmag Documentation
      • The Theme API
    • What’s New
      • Newspaper
        • What’s New in v 11.5
        • What’s New in v 11.4.3
        • What’s New in v 11.4
        • What’s New in v 11.2
        • What’s New in v 11
        • What’s New in v 10.4
        • What’s New in v 10.3.7
        • What’s New in v 10.3.2
        • What’s New in v 10.3
        • What’s New in v 10
      • Changelog
        • Newspaper
        • Newsmag
        • tagDiv Opt-In Builder
  • Services
    • Web Development Services
    • Web Solutions & CMS Development
    • Web design & Front-end Development
    • E-Commerce Development Services
    • Page Speed Optimization Services
  • Buy Newspaper
Home Newspaper Incorporate Userpro plugin into Login/Sign in Topbar

Incorporate Userpro plugin into Login/Sign in Topbar

Posted in: Newspaper
Post count: 10
enpomedia
#61632
Jul 29, 2015 at 3:56 pm

Hello everyone,

I’m new to Newspaper6 but so far I really can’t complain, it looks great!

I Would although like to incorporate my premium plugin called UserPro into the login/Sign in the topbar. Is this possible? And if so, as anyone tried it before and perhaps could point me in the right direction?

Many Thanks
FP

Post count: 3343
Marius
#61783
Jul 30, 2015 at 11:02 am

Hi,
On UserPro documentations i found this: How to add in menu a Login/Register button. http://screencast.com/t/O93gD9hwsqT7

Post count: 10
enpomedia
#61798
Jul 30, 2015 at 11:26 am

Hi Marius,

Thank you very much for your reply. I was able to add the userpro login box into your topbar sign/in by adding the following code on line 77 of the top-menu.php

<div class=”td-login-info-text”>‘ . __td(‘Forgot your password?’) . ‘</div>’ . do_shortcode(‘[userpro template=login]’) . ‘</div>

This brings up my login box when i click login but the issue i have now is that the Newspaper default login box still shows as well, so i end up with two login boxes. I only really wanted to click on your signin botton on the topbar and for only my userpro login box to show up.

Post count: 3343
Marius
#61918
Jul 30, 2015 at 3:49 pm

Hi,

Just edit the code like here: http://screencast.com/t/5rnWGav3 and use this CSS to adjust the look, add it in Theme Panel -> Custom CSS section

.td-login-wrap {
padding: 21px 21px 17px;
}
#login-form .mfp-close {
display: none;
}

result: http://screencast.com/t/FGr1ZSsZ

Post count: 10
enpomedia
#61975
Jul 30, 2015 at 5:01 pm

Thank you so much Marius, you’re an absolute star 🙂

Post count: 17
jynx2298
#62648
Aug 4, 2015 at 2:01 am

Im getting this http://www.screencast.com/t/8lVpn25XBHs

Post count: 17
jynx2298
#62711
Aug 4, 2015 at 1:34 pm

Marius here is my top-menu.php http://www.screencast.com/t/PStLkOiZZF does that look right? I also copy and pasted the custom CSS from your post and this is whats popping up http://www.screencast.com/t/8lVpn25XBHs. Thank you

Post count: 7909
Alin [tagDiv]
#62732
Aug 4, 2015 at 2:40 pm

Hi,

I guess that you have this issue because of quote – http://screencast.com/t/JiISewptJ try to add them again

' . do_shortcode('[userpro template=login]') . '

Thanks!

Post count: 17
jynx2298
#62930
Aug 5, 2015 at 1:30 pm

Thanks that definitely worked. After I got that working I wanted to try to get the UserPro login to come up instead of being displayed inside of the td-login-wrap to make it a little cleaner. I found what might be an even easier solution. I replaced THIS css class in top-menu.php to THIS. Try it and see if it works on your end, it seems to be working for me. You can test it on my site Mainly Viral. Let me know what you think. Thanks again for the fast help!

Post count: 7909
Alin [tagDiv]
#63110
Aug 6, 2015 at 1:56 pm

Hi,

I have checked your site and it seems to work fine.

Thanks!

Post count: 100
kompic
#64727
Aug 19, 2015 at 2:44 am

Hello, I want to do the same thing with UPME (user profiles made easy) plugin.

1.
I managed so far to do this: http://prntscr.com/8681ir
using this example http://screencast.com/t/5rnWGav3
So you can see there that i have put more width to it. But the form is going too much to the right, and I can’t fix it to be centered, what did I missed? Please help.

2. Also if this don’t work for me, (for now are 50-50 chances), can you please also show me where can I add link to SignIn/Join so it do not opet login but instead take you to some other page, like http://domain.com/login.

Thank you

Post count: 100
kompic
#64730
Aug 19, 2015 at 3:19 am

I forgot to ask one important thing. On my mobile phone, I can’t find nowhere this ‘Sign In/Join button.
Should I enable it somewhere or is it somehow missedout?

Post count: 17
jynx2298
#64734
Aug 19, 2015 at 6:11 am

That was something I didn’t like, so I put a conditional menu tab in my main menu bar. If a user is logged out it shows login or register links, once logged in it shows the edit profile and such, as well as a toggle icon that shows that your logged in. Check it out, if you are interested in knowing how I did it I can point you in the right direction. Heres my site http://www.mainlyviral.com/

Post count: 7909
Alin [tagDiv]
#64754
Aug 19, 2015 at 11:12 am

Hi,

Unfortunately the top menu was not designed for mobile device and it is hidden,we will try to find a better implementation for log in widget. yYou can use this custom css to display the sign in widget on mobile – http://screencast.com/t/KOuJW9GW

@media (max-width: 767px){
.td-header-top-menu-full {
display: block !important;
}
.td-header-sp-top-menu {
display: block!important;
}
.menu-top-container {
display: none !important;
}
.td-header-sp-top-widget {
display: none !important;
}
}

Thanks!!

Post count: 100
kompic
#64774
Aug 19, 2015 at 1:26 pm

Hi.
Awesome jynx2298, this could really save my time if you could share your solution with me on this one. Looks really great.
Thanks Alin for custom css.

Post count: 17
jynx2298
#64806
Aug 19, 2015 at 3:46 pm

No problem. Here are a few steps to get it working.
1. Install and activate this plugin Show/Hide Menu If you want to use icons in your menus, install and activate Font Awesome

2. Go to appearance>menus. click screen options at the top and make sure to tick the css classes box. Now create 2 menus with the same name like THIS. One is going to be your logged in tab, the other when logged out. Once you have those 2 menu items added to your menu, click the options arrow on the menu item, and where it says css classes, put “forguest” in your logged out tab, and “formember” on your logged in tab.

3. Add submenus as you want, make sure you put your login and register submenu items under the menu marked as forguest. Here is what my logged in and logged out looks like in the dashboard PIC

4. If you want to use a icons in your menu, add a second css class to the menu. put a space after “formember” or “forguest” and add the css class for the icon you want to use, the font awesome plugin has to be installed to use them. HERE is the full list of icons and their css classes that you can use.

If I missed anything let me know

Post count: 100
kompic
#64827
Aug 19, 2015 at 4:42 pm

Thanks for instructions. But I need the part how you set up login popup for upme, having width and height like you have now, since I cant seems to find a way to center mine.
btw I tried to register on your site, but when I try to put the username, I cant click in the field. Like it is not working.
Regards

Post count: 17
jynx2298
#64834
Aug 19, 2015 at 5:32 pm

Wow thanks for pointing that out!! Fixed it. I’m using userpro so I’m not exactly sure how to adjust the popup with UPME. With userpro the popup works out of the box like you see it on my site, no adjustments were needed. Try contacting the support for that plugin they can probably help you the best.

Post count: 57
gagosg
#66316
Aug 28, 2015 at 6:38 pm

@Marius

Hi,

Just edit the code like here: http://screencast.com/t/5rnWGav3 and use this CSS to adjust the look, add it in Theme Panel -> Custom CSS section

.td-login-wrap {
padding: 21px 21px 17px;
}
#login-form .mfp-close {
display: none;
}

result: http://screencast.com/t/FGr1ZSsZ

I have edited top-menu.php like your pic. But the Newspaper default login box still shows.
My site: dautu365.com
Please help me!

  • This reply was modified 10 years by gagosg.
  • This reply was modified 10 years by gagosg.
  • This reply was modified 10 years by gagosg.
Post count: 17
jynx2298
#66323
Aug 28, 2015 at 6:57 pm

Open your top-menu.php in an editor and look around line 25 for this

http://www.screencast.com/t/kGjFtDOts3uz

change the highlighted part to this

http://www.screencast.com/t/jYagN6Gy2

  • This reply was modified 10 years by jynx2298.
  • This reply was modified 10 years by jynx2298.
  • This reply was modified 10 years by jynx2298.
  • This reply was modified 10 years by jynx2298.
Post count: 57
gagosg
#66331
Aug 28, 2015 at 7:25 pm

Thanks. It’s working
But can you round/transparent/draw borders or change color of the rest of newspaper login box ?
//Sr for my English.

http://www.screencast.com/t/K5xFVvpjaABN

  • This reply was modified 10 years by gagosg.
Post count: 7909
Alin [tagDiv]
#66537
Aug 31, 2015 at 9:18 am

Hi,


@gagosg
You don’t have sign in widget active on your site, maybe I can help you with the custom css.

Thanks!

Post count: 57
gagosg
#66733
Aug 31, 2015 at 10:07 pm

Thanks,
I haved done it. I have only created a HTML link with URL=# and CSS class=popup-login.

Viewing 23 posts - 1 through 23 (of 23 total)
You must be logged in to reply to this topic.
enpomedia
Support Hours (GMT+2)

Monday - Friday:
8:00 AM - 17:00 PM

Documentation
  • Newspaper
  • Newsmag
Facebook Instagram Twitter Youtube
Welcome to the Community! This is our main Support Center and, also the place where you can make new friends, people just as passionate about websites as you are. Don’t hesitate to ask for help as we are here for you. Thank you for buying our products!
Contact us: contact@tagdiv.com
  • Home
  • Blog
  • Forums
  • About us
  • Support policy
  • Privacy Policy
© tagdiv.com | Proudly made with by tagDiv. All rights reserved
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
Cookie SettingsAccept All
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-advertisement1 yearThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Advertisement".
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
CookieDurationDescription
_ga2 yearsThis cookie is installed by Google Analytics. The cookie is used to calculate visitor, session, campaign data and keep track of site usage for the site's analytics report. The cookies store information anonymously and assign a randomly generated number to identify unique visitors.
_gat_gtag_UA_43963494_11 minuteThis cookie is set by Google and is used to distinguish users.
_gid1 dayThis cookie is installed by Google Analytics. The cookie is used to store information of how visitors use a website and helps in creating an analytics report of how the website is doing. The data collected including the number visitors, the source where they have come from, and the pages visted in an anonymous form.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
CookieDurationDescription
IDE1 year 24 daysUsed by Google DoubleClick and stores information about how the user uses the website and any other advertisement before visiting the website. This is used to present users with ads that are relevant to them according to the user profile.
test_cookie15 minutesThis cookie is set by doubleclick.net. The purpose of the cookie is to determine if the user's browser supports cookies.
VISITOR_INFO1_LIVE5 months 27 daysThis cookie is set by Youtube. Used to track the information of the embedded YouTube videos on a website.
YSCsessionThis cookies is set by Youtube and is used to track the views of embedded videos.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
CookieDurationDescription
CONSENT16 years 5 months 26 days 13 hours 25 minutesNo description
yt-remote-connected-devicesneverThis cookies is set by Youtube and stores the user's video player preferences using embedded YouTube video.
yt-remote-device-idneverThis cookies is set by Youtube and stores the user's video player preferences using embedded YouTube video.
SAVE & ACCEPT
Powered by CookieYes Logo