MyBB Community Forums

Full Version: Template's not refreshing, AdminCP shows old template.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
To start with: http://forum.tf2lottery.com

See the bar "Home - Forums - Members - Private Messages"?

When I search for it in the templates, I get this result:

Quote:Searching For "private message" in Blue Lust Templates:

Found in header

When I attempt to edit it, it shows this:

<div id="container">
		<a name="top" id="top"></a>
		<div id="header">

			<div class="menu">
				<ul>
					<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />{$lang->toplinks_search}</a></li>
					<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$theme['imgdir']}/toplinks/memberlist.gif" alt="" title="" />{$lang->toplinks_memberlist}</a></li>
					<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$theme['imgdir']}/toplinks/calendar.gif" alt="" title="" />{$lang->toplinks_calendar}</a></li>
					<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$theme['imgdir']}/toplinks/help.gif" alt="" title="" />{$lang->toplinks_help}</a></li>
				</ul>
			</div>
			<hr class="hidden" />
			<div id="panel">
				{$welcomeblock}
			</div>
		</div>
		<hr class="hidden" />
		<br class="clear" />
		<div id="content">
			{$pm_notice}
			{$bannedwarning}
			{$bbclosedwarning}
			{$unreadreports}
			{$pending_joinrequests}
			<navigation>
			<br />

The problem is... Where exactly is the "private messages" text? I added this myself IN the header template yesterday, and I completely wiped out the image logo header code, YET the image still shows on the main forums. How can the AdminCP find the "private message" code in the header, but not showing up in the header when I attempt to edit it?

Even if I wipe the whole header template, the forums still show perfectly fine with no problems.

Is this a cache issue? And before you ask, I already checked with multiple browsers including deleting my own cache. I'm afraid it hasn't solved anything.
If i'm not mistaken go here to edit pm message text:

ACP > LANGUAGES > OPTIONS, EDIT LANGUAGE VARIABLES > private.lang.php
I don't wish to edit the private message text through the language file. The private message text on the main forum page is something I added myself on the navbar. For people to get easier in the private message box.

The main problem is.. The text itself, the code that I added is not in the header. It's showing a, I don't know.. a pre-made/default header, with none of my changes in it. While it can find my changes IN the header when I search for the words, but doesn't show any of the changes when I look in the header file.
Oh....sorry for the confusion. What do you have as your header template?
Are you sure you're looking at the correct template set?
My header is within my post above under code tags, I added that when I created this thread.\

(2012-01-14, 12:20 PM)Alan Shepperson Wrote: [ -> ]Are you sure you're looking at the correct template set?
Yes, I'm sure. I'm using the Blu lust template, and when I search for "private messages" it can only find the text that I added in the header in only 1 template. When I wish to edit that template, my modifications/custom text I added isn't there.
What you've posted above is the default header template, your theme's header template should look nothing like that.
Here's 2 images:

http://tf2lottery.com/images/mybb_1.jpg
http://tf2lottery.com/images/mybb_2.jpg

Number 1 showing what I found, number 2 showing what I'm editing.

And this one, showing that I'm actually editing the correct header:

http://tf2lottery.com/images/mybb_3.jpg
Here is the default lust header template:
<div class="topbar"><navigation></div>
<div id="header">
<div id="panel">
{$welcomeblock} 
</div>

<div class="logo"><a href="{$mybb->settings['bburl']}"><img src="images/lust/logo.png"/></a></div>


</div>
<div class="menu">
<ul>
<li><a href="{$mybb->settings['bburl']}/search.php">Search</a></li>
<li><a href="{$mybb->settings['bburl']}/memberlist.php">Members</a></li>
<li><a href="{$mybb->settings['bburl']}/calendar.php">Calendar</a></li>
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help">Help</a></li>
</ul>
</div>

<div id="container">
		<a name="top" id="top"></a>
			<hr class="hidden" />
		<hr class="hidden" />
		<br class="clear" />
		<div id="content">
			{$pm_notice}
			{$bannedwarning}
			{$bbclosedwarning}
			{$unreadreports}<!-- ProfileComments -->
			{$comments_alert}<!-- /ProfileComments -->{$unreadpmreports}
			{$pending_joinrequests}
			<br />

FYI: you seem to have removed the theme owners link and replaced it with your own? You should put it back.
I did what? The theme owners link is at the bottom on the footer:

Quote:Skin by Jason L. of Synthd.

And I replaced it with my own? Such as what? I don't even see the owners link in the default header you provided.
Pages: 1 2