![]() |
can some one post header here..
<if condition="$show['searchbuttons']">
<td><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td> <if condition="$show['member']"> <td><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td> <else /> <td><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td> </if> </if> i need to know if my header is correct. |
Just look at the default one
|
default one edited...
can you post original header here pls |
You did not state what version of vbulletin you are running, so the remedy I have given you is for any version. I am not sure we can post the full "header" template on the vbulletin.org. It might be against forum rules. All templates are stored in the "vbulletin-style.xml" file. Follow my simple instructions below and you will figure out the format.
Download your version of vbulletin from the vBulletin Members Area. Find file: "vbulletin-style.xml" Search from within that file for: <template name="header" There you find your version of the template. |
Unless you edited the Master Style while in debug mode, you should be able to see your default header template at any time. Either by creating a new default style with no parent or by looking at your template history.
|
Powered by vBulletin® Version 3.8.7
please pm to me default header if against the rule thanks for help... |
tbworlds instructions stand!, vbulletin states that we cannot reproduce the code either in part or in full, this would mean reproducing the header for you.
Either do as tbworld or Digital Jedi state or check the xml in any back up you have done. |
Quote:
|
When you look at the header in the style manager under the controls box you have the option to view original why dont you do this
|
1 Attachment(s)
Edit template, click Show Default.
https://vborg.vbsupport.ru/attachmen...1&d=1381169767 |
Thanks @Lynne, I am not that familiar with vb3.
In vb4 if you view history -- in debug mode -- on one of the master templates. Is the compare done against the original XML file? -- if you happen to know. :) Don't do any research, I can look through the code, if you do not know off hand. |
Quote:
|
I could tell you if my database hadn't went all wiggy today, since I had mine in admin only debug mode. But I can tell you that the last time I tried to revert a template in the Master Style, it just deleted it. So I don't think history is saved in the Master. But it seems unlikely the OP was editing his Master in debug mode. All your other styles will always keep the original, which is stored in the Master.
|
Thanks @digital_Jedi,
What brought on my question was @Lynne's picture. I figured vb4 had a similar feature and occasionally users alter their master templates. Thanks for the additonal input, always welcomed :) |
I think Lynne's picture is vB4. The {vb:variables} aren't in 3.
|
So I did a little research on this to make sure I knew what I was posting about. This is still rough folks.
From the original post, I should have told the vbulletin member to use history. Your first modification of a template, stores the default (template master) in the history stack. 1. In all cases this works, but in the master style it does not append the correct template version. It does work correctly in any user styles. [Minor Bug].Example: I accidentally edited a template in the master style. So in 'master style' I press 'Revert', to go back to the 'original' untouched master style template -- the same template that should reside in 'vbulletin-style.xml'. BOOM! - This will delete the master template from the database. [Bug]. So don't press 'Revert' in the 'Master Style'.Example: My master template styles have been modified from the vbulletin originals. In the new style that I have created, on a particular template, it turned out to be an abomination. (I know this has never happen to anyone.)** So I press 'Show Default', which shows me the current master template: so I can compare. This shows you the current 'default' master template. This does not show you vbulletin's 'original' template. This works correctly, in my opinion.Summery: 1.) Use 'Show Default' to compare to the current master template. 'View Original on 'controls block' works the same as 'Show Default' on template editor page, in all cases. 2.) Unless you save an 'original' master template in the history stack, you cannot be assured that a 'Original' compare version will be there. 3.) Do not try to revert a template in 'Master Style', you will delete the template. Thank you: @Lynne, @Digital_Jedi, @ForceHSS, @Simon_Lloyd |
All times are GMT. The time now is 09:08 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|