I upgraded from 5.1.9 to 5.2.1 on Win 2008 and PHP 5.4.45 and now the password reset link doesn't work. I have the openssl extension enabled. The problem occurs when the password reset link is emailed to someone. Clicking the link just goes back to the log in page and the password is never reset. Isn't the link supposed to create a temp password? Am I missing something about this new process?
5.2.1 with PHP 5.4.45 password reset problem
Collapse
X
-
Is this a modified style?
The password reset link should take them to directly to a page where they can enter in a new password.Translations provided by Google.
Wayne Luke
The Rabid Badger - a vBulletin Cloud demonstration site.
vBulletin 5 API -
I have modified templates. Looking at my updated templates following the upgrade I can see a few changes to my default template failed to merge. Should I revert these?
css_global.css
Default Template Updated in vBulletin 5.2.1 Alpha 4 by vBulletin Solutions
Your Custom Template Last Edited in vBulletin 5.1.5 by rnedelkow
The attempted merge failed due to conflicts
display_Topics_item
Default Template Updated in vBulletin 5.2.1 Release Candidate 2 by vBulletin Solutions
Your Custom Template Last Edited in vBulletin 5.1.5 by rnedelkow
The attempted merge failed due to conflicts
footer
Default Template Updated in vBulletin 5.2.1 Alpha 3 by vBulletin Solutions
Your Custom Template Last Edited in vBulletin 5.1.5 by rnedelkow
The attempted merge failed due to conflicts
header
Default Template Updated in vBulletin 5.2.1 Alpha 4 by vBulletin Solutions
Your Custom Template Last Edited in vBulletin 5.1.9 by System
The attempted merge failed due to conflicts
widget_register
Default Template Updated in vBulletin 5.1.11 Alpha 2 by vBulletin Solutions
Your Custom Template Last Edited in vBulletin 5.2.1 by System
Changes were automatically merged into this templateComment
-
You should resolve all the conflicts.
All your changes to css_global.css should be migrated to css_additional so that you can revert to original css_global and avoid these merge issues.
For display_Topics_item and footer templates, I don't know what changes you made. But the changes could probably be converted to template hooks. This should also avoid these merge issues.
Changes to existing templates are not recommended due to these potential merge conflicts. This is a maintenance nightmare as you will have to do these kinds of stuff every time you upgrade.Comment
-
Our messages crossed. But regardless of the main issue, you should have resolved the conflicts and not reverted them. Now you lost all your custom changes.Comment
-
I should add that when I reverted the header template, it grayed out the login link and I couldn't enter my credentials. I re-added my old header template and I could log in but the password reset link still doesn't work so it looks like I found the culprit. Any suggestions on next steps?Comment
-
Here's my original header that grays out the login part of the page. Does anything stick out?
Code:<vb:if condition="$page['noindex'] AND $page['nofollow']"> <meta name="robots" content="noindex, nofollow" /> <vb:elseif condition="$page['noindex']" /> <meta name="robots" content="noindex" /> <vb:elseif condition="$page['nofollow']" /> <meta name="robots" content="nofollow" /> </vb:if> {vb:action googleVerificationTag, bbcode, getGoogleVerificationTag} <vb:if condition="!empty($googleVerificationTag)"> {vb:raw googleVerificationTag} </vb:if> {vb:action bingVerificationTag, bbcode, getBingVerificationTag} <vb:if condition="!empty($bingVerificationTag)"> {vb:raw bingVerificationTag} </vb:if> <link rel="canonical" href="{vb:raw baseurl}{vb:var page.url}" /> <vb:comment>responsive:markup:meta tag:added viewport for iPhone</vb:comment> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1, maximum-scale=1" /> <vb:if condition="!empty($page['nodeid']) AND !empty($page['channelid'])"> {vb:set nodeid, {vb:var page.nodeid}} {vb:rawdata conversation, node, getNodeContent, {vb:var nodeid}} <vb:if condition="!isset($conversation['errors']) AND !empty($conversation[$nodeid]['starter'])"> {vb:rawdata conversationStarter, node, getNode, {vb:var conversation[$nodeid]['starter']}} <vb:if condition="isset($conversationStarter['errors'])"> {vb:set conversationStarter, 0} </vb:if> <vb:else /> {vb:set conversationStarter, 0} </vb:if> {vb:data conversationRoute, route, getChannelConversationRoute, {vb:var page.channelid}} <vb:else /> {vb:set nodeid, 0} {vb:set conversationStarter, 0} </vb:if> {vb:set sb_state_cookie, {vb:raw cookie_prefix}} {vb:strcat sb_state_cookie, 'sitebuilder_active'} <vb:if condition="!$skipSitebuilder AND $user['can_use_sitebuilder']"> {vb:set useSitebuilder, 1} </vb:if> <title> <vb:if condition="$page['channelid'] != $nodeid AND !empty($conversationStarter) AND isset($conversationStarter['htmltitle']) AND !empty($conversationStarter['htmltitle'])"> {vb:raw conversationStarter.htmltitle} - <vb:elseif condition="isset($page['title'])" /> <vb:if condition="!empty($page['titleprefix'])"> {vb:raw page.titleprefix} - </vb:if> {vb:var page.title} - <vb:comment>We have a page, not a channel. We don't allow html in page titles at the moment.</vb:comment> </vb:if> {vb:var vboptions.bbtitle} </title> <meta name="description" content="{vb:var page.metadescription}" /><vb:comment>We don't want any html in the description to break the metadescription</vb:comment> <script type="text/javascript"> if (location.hash) { document.write('<style type="text/css"> a.anchor { display:none;} <\/style>'); } var uploadUrlTarget = "{vb:raw baseurl}/uploader/url"; var pageData = { "baseurl": "{vb:raw baseurl}", "baseurl_path": "{vb:raw baseurl_path}", "baseurl_login": "{vb:raw baseurl_login}", "baseurl_core": "{vb:raw baseurl_core}", "pageid": "{vb:var page.pageid}", "pagetemplateid": "{vb:var page.pagetemplateid}", "channelid": "{vb:var page.channelid}", "nodeid": "{vb:var nodeid}", "userid": "{vb:var user.userid}", "textDirLeft": "{vb:stylevar left}", "textDirRight": "{vb:stylevar right}", "textdirection": "{vb:stylevar textdirection}", "can_use_sitebuilder": "{vb:raw user.can_use_sitebuilder}", "cookie_prefix": "{vb:raw cookie_prefix}", "cookie_path": "{vb:raw vboptions.cookiepath}", "cookie_domain": "{vb:raw vboptions.cookiedomain}", "sb_state_cookie": "{vb:raw sb_state_cookie}", "inlinemod_cookie_name": "inlinemod_nodes", <vb:if condition="isset($page['pagenum']) AND $page['pagenum']"> "pagenum": "{vb:var page.pagenum}", <vb:else /> "pagenum": "1", </vb:if> "styleid": "{vb:raw user.styleid}", <vb:if condition="!empty($user['languageid'])"> "languageid": "{vb:raw user.languageid}", <vb:else /> "languageid": "{vb:raw vboptions.languageid}", </vb:if> "threadmarking": "{vb:raw vboptions.threadmarking}", "lastvisit": "{vb:raw user.lastvisit}", "phrasedate": "{vb:var page.phrasedate}", "optionsdate": "{vb:var page.optionsdate}", {vb:data current_server_datetime, content_text, getTimeNow} "current_server_datetime": "{vb:raw current_server_datetime}", "simpleversion": "v={vb:var vboptions.simpleversion}", {vb:data showhv_post, hv, fetchRequireHvcheck, 'post'} "showhv_post": "{vb:raw showhv_post}", <vb:if condition="!empty($page['routeInfo']['queryParameters']['adminAction'])"> adminAction: "{vb:var page.routeInfo.queryParameters.adminAction}", </vb:if> {vb:data nextcron, cron, nextRun}"nextcron": "{vb:raw nextcron}", "securitytoken": "{vb:raw user.securitytoken}" } </script> {vb:template head_include} {vb:hook 'header_head'} </head> <vb:if condition="!$user OR $user['userid'] < 1">{vb:set isLoggedout, ' logged-out'}</vb:if> <vb:comment>page.state appears to be set and only used in the vB5_ApplicationAbstract::showMsgPage function based on the results of the state api checkBeforeView function. It's not clear what purpose adding this class serves, but none of the values should contain anything that would be harmed by escaping html</vb:comment> <vb:if condition="!empty($page['state'])">{vb:set state, ' '}{vb:strcat state, {vb:var page.state}}<vb:else />{vb:set state, ''}</vb:if> {vb:set bodySchema.itemscope, 1} {vb:set bodySchema.itemtype, {vb:var page.pageSchema}} <!--[if gte IE 9]> <body id="vb-page-body" class="l-desktop page{vb:var page.pageid} vb-page ie ie9 view-mode{vb:raw isLoggedout}{vb:var state}" {vb:schema {vb:raw bodySchema}}> <![endif]--> <!--[if IE 8]> <body id="vb-page-body" class="l-desktop page{vb:var page.pageid} vb-page ie ie8 view-mode{vb:raw isLoggedout}{vb:var state}" {vb:schema {vb:raw bodySchema}}> <![endif]--> <!--[if lte IE 7]> <body id="vb-page-body" class="l-desktop page{vb:var page.pageid} vb-page ie ie7 view-mode{vb:raw isLoggedout}{vb:var state}" {vb:schema {vb:raw bodySchema}}> <![endif]--> <!--[if !IE]><!--> <body id="vb-page-body" class="l-desktop page{vb:var page.pageid} vb-page view-mode{vb:raw isLoggedout}{vb:var state}" {vb:schema {vb:raw bodySchema}}> <!--<![endif]--> {vb:hook 'header_after_body_begin'} <div id="main-navbar-wrapper" class="noselect"> <div id="main-navbar" class="h-clearfix"> <vb:if condition="$useSitebuilder AND ($_COOKIE[$sb_state_cookie] == '1')"> <ul class="main-nav h-left"> {vb:template admin_sitebuilder_menu, page={vb:raw page}, state=' h-disabled'} </ul> <vb:else /> <ul class="main-nav h-left h-hide"></ul> </vb:if> <ul class="secondary-nav h-right h-disabled"> {vb:hook 'header_navright'} <vb:if condition="$user['userid'] > 0"> <vb:if condition="$useSitebuilder"> <li class="config-site-menu-item"><div class="divider"></div></li> <li class="sb-menu config-site-menu-item"> <a href="#" class="js-config-site">{vb:phrase configure_site}</a> </li> </vb:if> {vb:data unreadCount, content_privatemessage, getUnreadInboxCount} {vb:data canUsePmSystem, content_privatemessage, canUsePmSystem} <li><div class="divider"></div></li> <li class="notifications-container"> <vb:if condition="$canUsePmSystem"> {vb:set urlInfo.action, 'index'} <a href="{vb:url 'privatemessage', {vb:raw urlInfo}}">{vb:phrase messages_header}<span class="notifications-count <vb:if condition="empty($unreadCount)"> h-hide-imp</vb:if>">{vb:number {vb:raw unreadCount}}</span></a> <vb:else /> {vb:data folders, content_privatemessage, fetchSummary} {vb:set folderlist, {vb:raw folders.folders}} {vb:set folder, {vb:raw folderlist.notifications}} {vb:set routeInfo.folderid, {vb:raw folder.folderid}} {vb:set routeInfo.action, 'notification'} <a href="{vb:url 'privatemessage', {vb:raw routeInfo}}">{vb:phrase messages_header}<span class="notifications-count <vb:if condition="empty($unreadCount)"> h-hide-imp</vb:if>">{vb:number {vb:raw unreadCount}}</span></a> </vb:if> </li> <li><div class="divider"></div></li> {vb:set data.userid, {vb:raw user.userid}} <vb:comment> the classes username-container and label and the ids lnkUsernameMenu, idLoginIframeContainer, and idLoginIframe exist only for automated unit testing. The will be removed in a future release and should not be depended on. Use the js- classes instead. </vb:comment> <li class="username-container js-menu__dropdown b_menu__dropdown"> <span id="lnkUsernameMenu" class="b_menu__dropdownbutton"> {vb:data avatar, user, fetchAvatar, {vb:raw user.userid}, true} <vb:if condition="$avatar AND $avatar['avatarpath']"> <img src="{vb:raw baseurl_corecdn}/{vb:raw avatar.avatarpath}" class="h-left b-menu__username-avatar avatar-{vb:raw user.userid}" alt="{vb:raw user.username}"/> <vb:else /> <img src="{vb:raw baseurl_corecdn}/images/default/default_avatar_thumb.png" class="h-left b-menu__username-avatar avatar-{vb:raw user.userid}"/> </vb:if> <span class="b-menu__username-label label h-left">{vb:raw user.username}</span> <span class="h-left js-menu__username-iconcontainer b-menu__username-iconcontainer vb-icon--middle expand"><span class="vb-icon vb-icon-username-toggle"></span></span> </span> <ul class="submenu js-menu__dropdown-submenu b-menu__dropdown-submenu b-menu__username-submenu"> <li><a class="b-menu__username-submenu-link" href="{vb:url 'profile', {vb:raw data}}"><span>{vb:phrase my_profile}</span></a></li> <vb:comment>POST SEARCH</vb:comment> <li><a class="b-menu__username-submenu-link" href="search?searchJSON=%7B%22authorid%22%3A%5B%22{vb:raw user.userid}%22%5D%2C%22view%22%3A%22topic%22%2C%22channel%22%3A%222%22%2C%22exclude_type%22%3A%5B%22vBForum_PrivateMessage%22%5D%7D"><span>{vb:phrase my_recent_posts}</span></a></li> <vb:comment>END POST SEARCH </vb:comment> {vb:set settingsRouteInfo.tab, 'profile'} <li><a class="b-menu__username-submenu-link" href="{vb:url 'settings', {vb:raw settingsRouteInfo}}"><span>{vb:phrase user_settings}</span></a></li> <li class="last-child"><a class="b-menu__username-submenu-link" href="{vb:raw baseurl}/auth/logout?logouthash={vb:raw user.logouthash}"><span>{vb:phrase log_out}</span></a></li> </ul> </li> <vb:if condition="$useSitebuilder"> <vb:if condition="$_COOKIE[$sb_state_cookie] == '1'"> {vb:set editstate, 'on'} <vb:else /> {vb:set editstate, 'off'} </vb:if> <li class="switch-container edit-switch-container"> <label class="h-left">{vb:phrase edit_site}:</label> <div class="switch-control {vb:raw editstate}"> <span class="switch-label off">{vb:phrase off}<span class="switch-handle"></span></span> <span class="switch-label on">{vb:phrase on}<span class="switch-handle"></span></span> </div> </li> </vb:if> <vb:else /> <li class="username-container h-right js-menu__dropdown b_menu__dropdown"> <span id="lnkLoginSignupMenu" class="b_menu__dropdownbutton">{vb:phrase login_or_sign_up}</span> <ul class='js-menu__dropdown-submenu b-menu__dropdown-submenu'> <li id="idLoginIframeContainer" class="b-menu__login-iframe-container"> <iframe id="idLoginIframe" class="js-menu__login-iframe b-menu__login-iframe" src="{vb:raw baseurl_login}/auth/login-form" ></iframe> </li> <li id="externalLoginProviders" class="b-menu__login-external"> <span class="b-menu__login-external-title h-margin-left-xl">{vb:phrase you_can_also_login_as}</span> <vb:comment> The span is to avoid some unfortunate styling on the "a" element placed by the menu css. It should be removed (and the classes transfered back to the "a" element) when the menu css is refactored to avoid this </vb:comment> <vb:if condition="$vboptions['facebookactive']"><a href="#" id="lnkFacebookLogin" class="b-menu__login-external-link h-margin-left-s" title="{vb:phrase facebook}"><span class="vb-icon vb-icon-login-facebook">{vb:phrase facebook}</span></a></vb:if> </li> </ul> </li> </vb:if> </ul> </div> </div> <div id="sitebuilder-wrapper" class="noselect h-clearfix"> <vb:if condition="$useSitebuilder"> {vb:template admin_configuresite} {vb:js js/file-upload-rollup.js} <vb:if condition="empty($_COOKIE[$sb_state_cookie]) OR $_COOKIE[$sb_state_cookie] != '1'"> <vb:comment>We need these files for the quick setup panel when sitebuilder is NOT activated</vb:comment> {vb:js js/jquery/jquery.tinyscrollbar.custom.min.js} {vb:js js/admin-sbpanel-style.js} </vb:if> {vb:js js/config-site.js} {vb:cssExtra css_sitebuilder.css} </vb:if> </div> <div class="main-navbar-bottom-line"></div> <div class="main-navbar-bottom-line2"></div> <!--[if IE 8]> <div id="outer-wrapper"> <div id="wrapper"> <![endif]--> <!--[if !IE 8 ]><!--> <div id="outer-wrapper"> <div id="wrapper"> <!--<![endif]--> <div id="header-axd" class="header-edit-box axdnum_{vb:raw vboptions.headeradnum}"> <vb:if condition="$user['can_admin_ads']"> <div class="admin-only"> <div> {vb:phrase display}: <label><input type="radio" name="adnum" class="axdnum" value="1"<vb:if condition="$vboptions['headeradnum'] == 1"> checked="checked"</vb:if> /> {vb:phrase one_header_ad}</label> <label><input type="radio" name="adnum" class="axdnum" value="2"<vb:if condition="$vboptions['headeradnum'] == 2"> checked="checked"</vb:if> /> {vb:phrase two_header_ads}</label> </div> </div> </vb:if> <div class="axd-container axd-container_header"> <div class="admin-only"> <vb:if condition="$user['can_admin_ads']"> <div>{vb:phrase header_ad_html_module} <div class="axd-edit-button button primary" data-location="header">{vb:phrase edit}</div></div> </vb:if> </div> <div class="axd axd_header"> {vb:template ad_header} </div> </div> <div class="axd-container axd-container_header2"> <div class="admin-only"> <vb:if condition="$user['can_admin_ads']"> <div>{vb:phrase header_ad_html_module} 2 <div class="axd-edit-button button primary" data-location="header2">{vb:phrase edit}</div></div> </vb:if> </div> <div class="axd axd_header2"> {vb:template ad_header2} </div> </div> </div> <div id="header" class="noselect"> <div class="header-cell"> <vb:if condition="$useSitebuilder"> <div class="admin-only"> {vb:phrase site_logo} <div class="edit button primary">{vb:phrase edit}</div> </div> </vb:if> <div class="site-logo header-edit-box"> <a href="{vb:raw baseurl}/"><img src="{vb:stylevar titleimage}" data-orig-src="{vb:stylevar titleimage}" alt="{vb:phrase logo}" title="{vb:phrase powered_by_vbulletin_title}" /></a> </div> </div> <div class="toolbar"> <ul class="h-right"> {vb:hook 'header_toolbar'} {vb:data searchperm, user, hasPermissions, forumpermissions, cansearch} <vb:if condition="$searchperm AND $vboptions['enablesearches']"> <li class="search-container"> <form id="searchForm" action="{vb:url 'search'}" class="h-left" method="GET"> <div class="h-left"> <div class="search-box search-btn-inside-box"> <input type="text" name="q" id="q" placeholder="{vb:phrase search}" class="textbox search-term" autocomplete="off" /> <button type="submit" id="btnSearch" class="search-btn" title="{vb:phrase search}"><span class="vb-icon vb-icon-search"></span></button> <div class="vertical-divider-left"></div> <div id="searchPopupControl" title="{vb:phrase filter_search}"><span class="vb-icon vb-icon-arrow-down-small"></span></div> <div id="searchPopupContent">{vb:template search_popup, page={vb:raw page}, user={vb:raw user}}</div> </div> </div> </form> </li> </vb:if> </ul> </div> <vb:if condition="$useSitebuilder"> <div class="disable-overlay"></div> </vb:if> </div> <div id="channel-tabbar" class="h-clearfix noselect"> <ul class="h-left"> <vb:comment>responsive:markup:move and rebuild search</vb:comment> <li id="mobile-main-menu" class="mobile sections"> <div id="mobile-main-menu-sections"> <div class="main-menu-control-sections collapsed"> <span class="sections-menu-icon"><span class="icon h-left collapsed" ></span></span> <span class="sections-title collapsed">{vb:phrase sections}</span> <span class="sections-icon"><span class="icon h-left collapsed"></span></span> </div> </div> <div id="mobile-main-menu-search"></div> <span class="mobile-search"><span class="icon h-right"></span></span> </li> <vb:if condition="!empty($page['channelid'])"> {vb:set navbarCurrentChannelId, {vb:var page.channelid}} <vb:elseif condition="!empty($page['nodeid'])" /> {vb:set navbarCurrentChannelId, {vb:var page.nodeid}} <vb:else /> {vb:set navbarCurrentChannelId, 0} </vb:if> {vb:data navbarItems, 'site', 'loadHeaderNavbar', '1', {vb:raw _SERVER.REQUEST_URI}, 0, {vb:var navbarCurrentChannelId}} <vb:each from="navbarItems" value="navbarItem"> {vb:set navbarTitle, {vb:raw navbarItem.title}} {vb:set normalizedUrl, {vb:raw navbarItem.normalizedUrl}} <vb:if condition="$targetAttr = !empty($navbarItem['newWindow']) ? ' target=\'_blank\'' : ''"></vb:if> <vb:if condition="!empty($navbarItem['attr'])"> {vb:strcat targetAttr, ' '} {vb:strcat targetAttr, {vb:raw navbarItem.attr}} </vb:if> <vb:if condition="$itemUrl = $navbarItem['isAbsoluteUrl'] ? $normalizedUrl : ($baseurl . '/' . $normalizedUrl)"></vb:if> <vb:if condition="$atCurrentItem = !empty($navbarItem['current'])"></vb:if> <vb:if condition="$currentClass = $atCurrentItem ? 'current' : ''"></vb:if> <vb:if condition="$atCurrentItem">{vb:set subnavItems, {vb:raw navbarItem.subnav}}</vb:if> <li class="{vb:raw currentClass} section-item"> <a{vb:raw targetAttr} href="{vb:raw itemUrl}" class="h-left {vb:var navbarTitle}">{vb:phrase {vb:raw navbarTitle}}</a> <span class="mobile dropdown-icon"><span class="icon h-right"></span></span> </li> </vb:each> {vb:hook 'header_tabbar'} </ul> </div> <div id="channel-subtabbar" class="h-clearfix {vb:if empty($subnavItems), h-hide}"> <ul class="h-left"> <vb:each from="subnavItems" value="navbarItem"> {vb:set navbarTitle, {vb:raw navbarItem.title}} {vb:set normalizedUrl, {vb:raw navbarItem.normalizedUrl}} <vb:if condition="$targetAttr = !empty($navbarItem['newWindow']) ? ' target=\'_blank\'' : ''"></vb:if> <vb:if condition="!empty($navbarItem['attr'])"> {vb:strcat targetAttr, ' '} {vb:strcat targetAttr, {vb:raw navbarItem.attr}} </vb:if> <vb:if condition="$itemUrl = $navbarItem['isAbsoluteUrl'] ? $normalizedUrl : ($baseurl . '/' . $normalizedUrl)"></vb:if> <vb:if condition="$atCurrentItem = !empty($navbarItem['current'])"></vb:if> <vb:if condition="$currentClass = $atCurrentItem ? 'current' : ''"></vb:if> <li class="{vb:raw currentClass}"><a{vb:raw targetAttr} href="{vb:raw itemUrl}" class="{vb:var navbarTitle}">{vb:phrase {vb:raw navbarTitle}}</a></li> </vb:each> </ul> </div> <vb:if condition="$page['channelid'] != $nodeid AND !empty($conversationStarter) AND !empty($conversationStarter['title'])"> {vb:set conversation_detail_page, 1} </vb:if> <vb:if condition="$page['crumbs']"> {vb:set breadcrumbSchema.itemprop, breadcrumb} <ul id="breadcrumbs" class="h-clearfix" {vb:schema {vb:raw breadcrumbSchema}}> <li class="crumb ellipsis"><a class="crumb-link" href="{vb:raw baseurl}/">{vb:phrase home}</a></li> <vb:each from="page.crumbs" value="crumb"> <vb:if condition="isset($crumb['phrase']) AND !empty($crumb['phrase'])"> {vb:set crumbTitle, {vb:rawphrase {vb:raw crumb.phrase}}} <vb:else /> <vb:comment><!-- Since we don't want phrase placeholders to be escaped, we escape user titles here. --></vb:comment> {vb:set crumbTitle, {vb:raw crumb.title}} </vb:if> <li class="vb-icon separator"></li> <li class="crumb ellipsis"><vb:if condition="$crumb['url']"><a class="crumb-link" href="{vb:raw baseurl}{vb:raw crumb.url}">{vb:raw crumbTitle}</a><vb:else />{vb:raw crumbTitle}</vb:if></li> </vb:each> </ul> <vb:else /> <vb:comment> We still need the #breadcrumbs element (even though empty) to avoid having multiple CSS rules to deal with different scenarios where adjacent elements - breadcrumbs, channel-subtabbar, notices, announcements are available, visible, hidden or empty. Used div instead of ul to prevent having an empty ul which is invalid in XHTML 1.0 Strict (though valid in HTML5). Though we are currently using HTML5 doctype, using an emtpy div will ensure that this will validate even if we change the doctype in the future. </vb:comment> <div id="breadcrumbs"></div> </vb:if> <vb:if condition="$page['headlinks']"> <vb:each from="page.headlinks" value="link"> <vb:comment> Ideally we should be able to extend this logic to any kind of headlinks on every page but limitting to display only the ones declared as rss link </vb:comment> <vb:if condition="$link['rsslink'] == 1"> {vb:set linkurl, {vb:raw baseurl}} {vb:strcat linkurl, {vb:raw link.href}} {vb:headlink rel={vb:var link.rel}, title={vb:var link.title}, type={vb:var link.type}, href={vb:raw linkurl}} </vb:if> </vb:each> </vb:if> <vb:if condition="$user['is_admin'] AND !$vboptions['bbactive']"> <div class="forum_disabled warning">{vb:rawphrase alert_board_off}</div> </vb:if> {vb:template notices, page={vb:raw page}} {vb:hook 'header_before_content'} <script type="text/javascript" src="{vb:raw jqueryurl}"></script> <script type="text/javascript">window.jQuery || document.write('<script type="text/javascript" src="{vb:raw baseurl}/js/jquery/jquery-{vb:raw jqueryversion}.min.js"><\/script>');</script> <div id="content"> <div class="canvas-layout-container js-canvas-layout-container">
Comment
-
What's the URL of your forum again? If the Login link is grayed out, it means there's a Javascript error.Comment
-
Comment
-
You put an extra script (Google Tag Manager) that contains <noscript></noscript> and <script></script> tags in the Google Analytics option in AdminCP and that causes Javascript errors and breaks the site. That option will be enclosed inside <script></script> tags in the template so you should only put actual code without the tags, otherwise you would have nested script tags which is not allowed in HTML.
To solve this you have to remove the Google Tag Manager from Google Analytics option and create a template hook in footer_before_body_end hook location and then create a new template and paste the Google Tag Manager script. If you don't know how to create a template hook, go to one of my free mods in my signature below and follow the similar instructions.
Last edited by glennrocksvb; Wed 20 Apr '16, 8:32am.Comment
-
I think it partially works in that the header is still grayed out but I can click the Messages link now. The Quick Setup link only reloads the page and I still can't click my username.
Here's what I tried:- remove the Google Tag Manager from Google Analytics option
- create a template hook in footer_before_body_end
- create a new template in default them and paste the Google Tag Manager script
- reverted to the default header for 5.2.1
Comment
-
I can't see the issues as I don't have login credentials to your site. But as a guest, I can see the Login or Sign Up button working and not grayed out. I can also see that you moved the Google Tag Manager script correctly as a template hook. Though I don't see the Google Analytics code anymore. You should keep the Google Analytics code inside the Google Analytics option if you still need it.Comment
Related Topics
Collapse
-
by FBlack-HPathWhen we upgraded from 5.1.3x to 5.1.5, suddenly none of our users can log into the site. The login box no longer appears (pops up when they try to click login).
We do have customized templates,...-
Channel: Support Issues & Questions
-
Comment