• 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

This forum is now closed to new posts

All existing content remains available to browse and search. For support, please email us at contact@tagdiv.com Our team is happy to help as soon as possible.

Home Newspaper Social Login Pushes Signup Button Out of View

Social Login Pushes Signup Button Out of View

Posted in: Newspaper
Post count: 19
tomashley
#158302
Feb 14, 2017 at 10:44 pm

I followed the instructions of the user kautukbhatnagar from here: https://forum.tagdiv.com/topic/want-social-login-short-code-on-login-page/ using AccessPress Social Login Lite. It works great and the social login buttons show where they’re supposed to but the problem is that it causes the “Create an Account” button to be pushed down out of display.

Is there a way I can move everything (Such as the login button) up some or increase the height of the modal (Or both)? Here’s what my modal looks like:

modal screenshot

Here’s what line 42 of td-login-modal.php looks like:

<div class="td-login-info-text">' . __td('Forgot your password? Get help', TD_THEME_NAME) . '<BR />'.do_shortcode('[apsl-login-lite]').'</div>

  • This topic was modified 9 years by tomashley. Reason: added code
Post count: 19
tomashley
#158308
Feb 14, 2017 at 11:07 pm

I have come up with a temporary fix by using CSS relative positioning on lines 41, 42 (Added style to those two lines) and 43 (Added a div with style attribute):

<input type="button" name="login_button" id="login_button" class="wpb_button btn td-login-button" style="position:relative; bottom:25px;" value="' . __td('Login', TD_THEME_NAME) . '">

<div class="td-login-info-text" style="position:relative; bottom:25px;"><a href="#">' . __td('Forgot your password? Get help', TD_THEME_NAME) . '</a><BR />'.do_shortcode('[apsl-login-lite]').'</div>

<div style="position:relative; bottom:45px;">' . $users_can_register_link . '</div>

This should only be a temporary fix until I can get a response. As we all know, relative positioning isn’t good to use.

  • This reply was modified 9 years by tomashley.
Post count: 19
tomashley
#158310
Feb 14, 2017 at 11:16 pm

Here’s what my fix looks like if anyone is interested…

Working Social Login

Now I’m investigating how I should add it to mobile. Still would like a better way than relative positioning though for desktop.

Post count: 23312
Catalin
#158405
Feb 15, 2017 at 2:43 pm

Hello tomashley,

Thank you for your solution posted here. Maybe, this can be more useful for other users which search something like this.

Post count: 1
jeongs
#163584
Mar 21, 2017 at 5:39 pm

Did you find any good way to use social login buttons at mobile login form?

Post count: 34
Fatih
#168756
Apr 20, 2017 at 3:04 am

Did you fix it ?

Post count: 23312
Catalin
#168842
Apr 20, 2017 at 11:16 am

Hello @jeongs and @altasov,

Please keep in mind that at the moment does not exist any such an option for using social login button for the the mobile login form, sorry! If you want, you can try the above method for this implementing.

Thanks for the message!

Post count: 19
tomashley
#169303
Apr 24, 2017 at 12:03 am

What’s the file for the mobile login? Maybe I can insert there too? I do have the mobile site thing enabled. Would be nice to know both files where the mobile login code is at.

  • This reply was modified 9 years by tomashley.
Post count: 19
tomashley
#169306
Apr 24, 2017 at 12:11 am

BTW, here’s an updated snippet for wp-content/themes/Newspaper/parts/header/td-login-modal.php …

echo '
<div id="login-form" class="white-popup-block mfp-hide mfp-with-anim">
<div class="td-login-wrap">
<i class="td-icon-modal-back"></i>
<div id="td-login-div" class="td-login-form-div td-display-block">
<div class="td-login-panel-title">' . __td('Sign in', TD_THEME_NAME) . '</div>
<div class="td-login-panel-descr">' . __td('Welcome! Log into your account', TD_THEME_NAME) . '</div>
<div class="td_display_err"></div>
<div class="td-login-inputs"><input class="td-login-input" type="text" name="login_email" id="login_email" value="" required><label>' . __td('your username', TD_THEME_NAME) . '</label></div>
<div class="td-login-inputs"><input class="td-login-input" type="password" name="login_pass" id="login_pass" value="" required><label>' . __td('your password', TD_THEME_NAME) . '</label></div>
<input type="button" name="login_button" id="login_button" class="wpb_button btn td-login-button" value="' . __td('Login', TD_THEME_NAME) . '">
<div class="td-login-info-text">' . __td('Forgot your password? Get help', TD_THEME_NAME) . '</div>
<div style="position:relative;top:6px">' . do_shortcode('[apsl-login-lite]') . '</div><div style="position:relative;bottom:27px">' . $users_can_register_link . '</div>
</div>

' . $users_can_register_form . '

<div id="td-forgot-pass-div" class="td-login-form-div td-display-none">
<div class="td-login-panel-title">' . __td('Password recovery', TD_THEME_NAME) . '</div>
<div class="td-login-panel-descr">' . __td('Recover your password', TD_THEME_NAME) . '</div>
<div class="td_display_err"></div>
<div class="td-login-inputs"><input class="td-login-input" type="text" name="forgot_email" id="forgot_email" value="" required><label>' . __td('your email', TD_THEME_NAME) . '</label></div>
<input type="button" name="forgot_button" id="forgot_button" class="wpb_button btn td-login-button" value="' . __td('Send My Password', TD_THEME_NAME) . '">
<div class="td-login-info-text">' . __td('A password will be e-mailed to you.', TD_THEME_NAME) . '</div>
</div>
</div>
</div>
';

Please let me know where the files are for the mobile version so I can start fiddling with it.

  • This reply was modified 9 years by tomashley.
Post count: 19
tomashley
#169308
Apr 24, 2017 at 12:44 am

I’ve got it working on mobile!!! wp-content/themes/Newspaper/mobile/parts/register.php

Here’s the entire code for that page in which two sections were altered: https://hastebin.com/ucufivazef.scala

  • This reply was modified 9 years by tomashley.
  • This reply was modified 9 years by tomashley.
Post count: 34
Fatih
#169314
Apr 24, 2017 at 2:31 am

Hi everybody,

How can i prevent users from seeing TopBar after logging in?

——————–


@tomashley
You’re awesome man ! Thank you for shared us.

Post count: 63
MamasLT
#196373
Oct 5, 2017 at 2:41 am

Hi there.
I have edited the code as it is in example above, I did get the Social login icons displayed in modal, but now when i press password recovery button or Create an account button, the modal does not show anything. It shows only the primary log in modal window, but nothing else. Any ideas here?

Also the URL of the code for mobile integration does not work. Could you please repost it?
Thanks!

Post count: 2
burakhundur
#201465
Nov 13, 2017 at 8:07 pm

Hi tomashley,

Can you please put the code for for mobile login, because the link is broken I think.

Viewing 13 posts - 1 through 13 (of 13 total)
The forum ‘Newspaper’ is closed to new topics and replies.
tomashley
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