Log in

View Full Version : vBulletin 4 Request - ThemeCrate: Debutant Theme Fixing Header


naveed.lodhi
08-22-2017, 05:01 AM
Hi,
I purchased Debutant vB Theme from ThemeCrate, but they are gone now. Can someone please help me fix the header menu.
https://vborg.vbsupport.ru/external/2017/08/6.png
ISSUES:
When I'm logged in, clicking my name doesn't give me dropdown/popup list for logout, profile etc.
Clicking Mail icon takes me to mail
Clicking Bell icon doesn't do anything
Clicking Search icon doesn't do anything
Clicking Gear icon takes me to Advanced search page.

Please help me fix this code from header.

Website URL is https://yopakistan.com

<div id="content-container">
<div id="main-content" class="clearfix">
<div class="menu">
<div class="wrapper">
<a href="javascript:void(0)" class="menu_button"></a>
<ul id="navtabs" class="navtabs floatcontainer<vb:if condition="$show['member'] AND $notifications_total"> notify</vb:if>">
{vb:raw template_hook.navtab_start}
{vb:raw navigation}
{vb:raw template_hook.navtab_end}
<li><a href="javascript:void(0)" class="navtab closemenu">Close menu</a></li>

</ul>

<ul class="usermenu <vb:if condition="$show['member']">user<vb:else />guest</vb:if>">

<vb:if condition="$show['member']">
<li class="user"><a href="javascript:void(0)"><span class="usermenu_user"></span>{vb:raw bbuserinfo.username}</a>
<ul>
<li><a href="{vb:link member, {vb:raw bbuserinfo}}">{vb:rawphrase your_profile}</a></li>
<li><a href="usercp.php{vb:raw session.sessionurl_q}">{vb:rawphrase user_control_panel}</a></li>
<li><a href="login.php?{vb:raw session.sessionurl}do=logout&amp;logouthash={vb:raw bbuserinfo.logouthash}" onclick="return log_out('{vb:rawphrase sure_you_want_to_log_out}')">{vb:rawphrase log_out}</a></li>
</ul>
</li>
<li>
<a class="usermenu_pm" href="private.php?" title="{vb:rawphrase private_messages}">
<vb:if condition="$newmessages">
<span>{vb:raw newmessages}</span>
</vb:if>
</a>

<ul>
<li><a href="private.php">{vb:rawphrase read_messages}<vb:if condition="$newmessages"><span> ({vb:raw newmessages})</span></vb:if></a></li>
<li><a href="private.php?do=newpm">{vb:rawphrase send_new_message}</a></li>
</ul>
</li>
<li>
<a class="usermenu_not" href="javascript:void(0)" title="{vb:rawphrase your_notifications}">
<vb:if condition="$notifications_total">
<span>{vb:raw notifications_total}</span>
</vb:if>
</a>

<ul>
<vb:if condition="$notifications_total">
{vb:raw notifications_menubits}
<vb:else />
<li><a href="javascript:void(0)"><span>{vb:rawphrase no_new_notifications}</span></a></li>
</vb:if>
</ul>
</li>
<vb:if condition="$vboptions['enablesearches']"><li>
<div class="search-wrap">
<form action="search.php?{vb:raw session.sessionurl}do=process" method="post" id="navbar_search">
<input type="text" name="query" value="{vb:rawphrase search}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="do" value="process" />
</form>
</div>
<a class="usermenu_search" href="javascript:void(0)" title="{vb:rawphrase search}"></a>
</li>
<li>
<li><a class="usermenu_advanced" href="search.php{vb:raw session.sessionurl_q}" title="{vb:rawphrase advanced_search}"></a></li>
</li>
</vb:if>
<vb:else />
<li><a class="loginbtn" name="login-dialog" href="#login-dialog">{vb:rawphrase log_in}</a></li>
<vb:if condition="$show['registerbutton']"><li><a class="registerbtn" href="register.php">{vb:rawphrase register}</a></li></vb:if>
<vb:if condition="$vboptions['enablesearches']"><li>
<div class="search-wrap">
<form action="search.php?{vb:raw session.sessionurl}do=process" method="post" id="navbar_search">
<input type="text" name="query" value="{vb:rawphrase search}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="do" value="process" />
</form>
</div>
<a class="usermenu_search" href="javascript:void(0)" title="{vb:rawphrase search}"></a>
</li>
<li>
<li><a class="usermenu_advanced" href="search.php{vb:raw session.sessionurl_q}" title="{vb:rawphrase advanced_search}"></a></li>
</li>
</vb:if>
</vb:if>
</ul>

<div class="clear"></div>
</div>
</div>

Max Taxable
08-22-2017, 06:17 PM
I have Debutant and it works just fine, needed no adjustments for these functions.

I visited your site via both PC and mobile and none of the drop-down menus work, and neither does anything else that relies on AJAX. On any of your styles. So here's a suggestion.

Go: AdminCP>vBulletin Options>General Settings and scroll to the bottom, and see if your AJAX is enabled for the site. You should have "Enable All AJAX Features" selected. If not, make it so and then see if this fixes your issue.

I can think of only this reason for all of your styles to be having this same issue.

RichieBoy67
08-23-2017, 01:14 AM
Good to see you, Max. Great advice.

I usually recommend keeping it set to Disable Problematic Features. :)

Max Taxable
08-23-2017, 01:21 AM
Good to see you, Max. Great advice.

I usually recommend keeping it set to Disable Problematic Features. :)If I ever had a problem with any, I might do that too. :)

Thanks Richie, good to see you too. But, it's only good advice if it solves the problem. :D

RichieBoy67
08-23-2017, 01:25 AM
You do have a point! lol

I guess we will see!

naveed.lodhi
08-23-2017, 03:16 AM
I have Debutant and it works just fine, needed no adjustments for these functions.

I visited your site via both PC and mobile and none of the drop-down menus work, and neither does anything else that relies on AJAX. On any of your styles. So here's a suggestion.

Go: AdminCP>vBulletin Options>General Settings and scroll to the bottom, and see if your AJAX is enabled for the site. You should have "Enable All AJAX Features" selected. If not, make it so and then see if this fixes your issue.

I can think of only this reason for all of your styles to be having this same issue.

Thank you for reply Max. It is already on Enable All AJAX Features. I tried switching to others but still it is not working. I have tried on other browsers same issue. Even Javascript in Chrome is allowed for my website.

If it is possible can you email me the original theme files. I'll try replacing the files, may be it will fix the issue. I'll be more than grateful. It is a pity that I didn't saved a copy of theme files as a backup. I never thought they would shutdown their website.
I'll PM you my email.

Max Taxable
08-23-2017, 04:42 AM
Thank you for reply Max. It is already on Enable All AJAX Features. I tried switching to others but still it is not working. I have tried on other browsers same issue. Even Javascript in Chrome is allowed for my website.You are having the issue on all of your styles. I now suggest creating a new style from default, and see if these issues appear with it as well. If so this will prove it is caused by something other than coding of the templates.

naveed.lodhi
08-23-2017, 06:03 AM
I checked, the issue is only with Debutant Theme. Default theme and other themes work fine. But obviously they are not responsive. I replaced the piece of header code with default theme headermenu. The dropdown works. But not in case of debutant headermenu

naveed.lodhi
08-26-2017, 03:00 AM
So can anyone please help me? ::sad::

Max Taxable
08-26-2017, 03:25 PM
ISSUES:
When I'm logged in, clicking my name doesn't give me dropdown/popup list for logout, profile etc.
Clicking Mail icon takes me to mail
Clicking Bell icon doesn't do anything
Clicking Search icon doesn't do anything
Clicking Gear icon takes me to Advanced search page.
On my version of this theme, when using a desktop the options appear on HOVER, not on click. Are you saying nothing happens when you hover? On mobile, the options appear on click. I have learned to click and hold, to freeze the menu and keep it from taking me to where I had clicked - this is a issue with the theme itself and I have no idea how to fix. Likely this is the problem you're talking about.

Check mine here: http://www.dallascowboysuniverse.com/forum.php?styleid=63

naveed.lodhi
08-27-2017, 04:47 AM
This is the video for it. Can you please share the xml file for your theme. I sent you my email via PM.

https://www.youtube.com/watch?v=mb9pwAE1Fi8

Max Taxable
08-27-2017, 05:00 PM
Take that ticker out of your header template, see if that's what's causing the issue. No, I am not sending a XML file of the style.

MarkFL
08-27-2017, 05:09 PM
...No, I am not sending a XML file of the style.

Aw, Max...you're no fun! :eek:

Max Taxable
08-27-2017, 07:30 PM
Aw, Max...you're no fun! :eek:Might have come across as rude but didn't mean to.

MarkFL
08-27-2017, 09:01 PM
Might have come across as rude but didn't mean to.

Rude? No...firm, perhaps, but understandably so. ;)

Max Taxable
08-28-2017, 01:11 AM
Rude? No...firm, perhaps, but understandably so. ;)Just, matter of fact. Not even firm.

If firm I would have raised suspicion about where the OP's XML of this style is, since he bought it.

naveed.lodhi
08-28-2017, 06:31 AM
Take that ticker out of your header template, see if that's what's causing the issue.

Removed the ticker but still same issue. I tried disabling all Ads and even disabled some plugins to check, but same issue.

Thank you for taking time to help me.

No, I am not sending a XML file of the style.
No problem Sir. I understand your view (Just a thought crossed my mind, that I'm from Pakistan, that is why you might have replied like that. I'm used to this now, when people treat me like this, for being a Pakistani).

Only if the ThemeCrate (http://themecrate.com) developer hadn't closed the website I would never have asked you to help me in the first place to send the XML only.

Seven Skins
08-28-2017, 09:41 AM
Line 51 in your javascript may be causing error .. /themecrate/debutant/clientscript/core.js

Edit ... width: 150px, to width: 150,

Don't know if it will work as but no harm in trying.

naveed.lodhi
08-28-2017, 10:13 AM
Line 51 in your javascript may be causing error .. /themecrate/debutant/clientscript/core.js

Edit ... width: 150px, to width: 150,

Don't know if it will work as but no harm in trying.

THANK YOU SO MUCH MAN... YOU ARE AN ANGEL :up::up::up::up::up:
It worked like a charm. :D:D:D:D:D:D:D

Seven Skins
08-28-2017, 10:31 AM
You are welcome, I am glad I could help out.

Max Taxable
08-28-2017, 03:52 PM
(Just a thought crossed my mind, that I'm from Pakistan, that is why you might have replied like that. I'm used to this now, when people treat me like this, for being a Pakistani). And in my case that's a dumb thought. I don't care if you're from Mars. I've worked with developers from all over the world for many years, in fact Pakistanis are some of my favorite people.

I have not found it common among them however, to insult people just for not giving them a XML file. So maybe you're different. Maybe it's just you, playing the victim card.

Only if the ThemeCrate developer hadn't closed the website I would never have asked you to help me in the first place to send the XML only.And as I knew and as it turned out, it would not have helped you. Line 51 in your javascript may be causing error .. /themecrate/debutant/clientscript/core.js

Edit ... width: 150px, to width: 150,

Don't know if it will work as but no harm in trying.
Haha! You know for sure the LAST thing I am ever going to do is study the javascript file! Nice work!

That's not the XML file or even related remotely to it, for those who might be interested.

naveed.lodhi
08-29-2017, 05:27 AM
And in my case that's a dumb thought. I don't care if you're from Mars. I've worked with developers from all over the world for many years, in fact Pakistanis are some of my favorite people.

I have not found it common among them however, to insult people just for not giving them a XML file. So maybe you're different. Maybe it's just you, playing the victim card. And as I knew and as it turned out, it would not have helped you.

That's not the XML file or even related remotely to it, for those who might be interested.

I apologize. It feels good to know that people respect despite of countries or race.

Haha! You know for sure the LAST thing I am ever going to do is study the javascript file! Nice work!

Lol I should also learn it :D

Max Taxable
08-30-2017, 11:39 PM
I apologize. It feels good to know that people respect despite of countries or race.Yes one cannot have a positive life and a negative mind.:D



Lol I should also learn it :DI did learn it - it's how I also learned not to be reading it unless in dire need to do so. :)