PDA


View Full Version : images problems (Followed FAQ + Pics)


Johnneke
05-21-2007, 12:32 AM
Hello, I'm setting up Vbadvanced on a new site I'm making but I'm having troubles with some images. A Screenshot says more then words:

http://img526.imageshack.us/img526/4818/problemvbaap6.jpg

The images that give problems: navbits_start.gif, collapse_tcat.gif, lastpost.gif.

Here is the code from the style manager of the involved template:

header:
<!-- begin Blue_1 header-->
<div align="center">
<table width="775" border="0" bgcolor="#142C4D" cellspacing="0" cellpadding="0" class="border">
<tr>
<td>
<table width="775" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td width="370" height="88" align="left" valign="top"><img src="/forum/Blue_1/misc/vb_2_header_ls.jpg" width="370" height="88" alt="" /></td>
<td width="405" height="88" valign="top"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="405" height="88" align="absmiddle">
<param name="movie" value="/forum/Blue_1/misc/nav_sound.swf" />
<param name="quality" value="high" />
<param name="SCALE" value="exactfit" />
<embed src="/forum/Blue_1/misc/nav_sound.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="405" height="88" scale="exactfit" align="absmiddle">
</embed>
</object></td>
</tr>
<tr>
<td colspan="2" height="19" align="left" valign="top"><img src="/forum/Blue_1/misc/header_btm.gif" width="775" height="19" alt="" /></td>
</tr>
</table>
<!-- end extrempixels.com Blue_1 header-->

<!-- content table -->
<table bgcolor="#142C4D" width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>

$spacer_open

$_phpinclude_output

headerinclude:
<meta http-equiv="Content-Type" content="text/html; charset=$stylevar[charset]" />
<meta name="generator" content="vBulletin $vboptions[templateversion]" />
<if condition="$show['threadinfo']">
<meta name="keywords" content="$threadinfo[title], $vboptions[keywords]" />
<meta name="description" content="<if condition="$pagenumber>1"><phrase 1="$pagenumber">$vbphrase[page_x]</phrase>-</if>$threadinfo[title] $foruminfo[title_clean]" />
<else />
<if condition="$show['foruminfo']">
<meta name="keywords" content="$foruminfo[title_clean], $vboptions[keywords]" />
<meta name="description" content="<if condition="$pagenumber>1"><phrase 1="$pagenumber">$vbphrase[page_x]</phrase>-</if>$foruminfo[description_clean]" />
<else />
<meta name="keywords" content="$vboptions[keywords]" />
<meta name="description" content="$vboptions[description]" />
</if>
</if>

<!-- CSS Stylesheet -->
$style[css]
<if condition="is_browser('opera') AND !is_browser('opera', '8.0.1')">
<style type="text/css">
ul, ol { padding-left:20px; }
</style>
</if>
<!-- / CSS Stylesheet -->

<script type="text/javascript">
<!--
var SESSIONURL = "$session[sessionurl_js]";
var IMGDIR_MISC = "/forum/Blue_1/misc";
var vb_disable_ajax = parseInt("$vboptions[disable_ajax]", 10);
// -->
</script>

<script type="text/javascript" src="clientscript/vbulletin_global.js?v=$vboptions[simpleversion]"></script>
<if condition="$show['popups']"><script type="text/javascript" src="clientscript/vbulletin_menu.js?v=$vboptions[simpleversion]"></script></if>
<if condition="$vboptions['externalrss']">
<link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] RSS Feed" href="external.php?type=RSS2" />
<if condition="$show['foruminfo'] OR $show['threadinfo']">
<link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] - $foruminfo[title_clean] - RSS Feed" href="external.php?type=RSS2&amp;forumids=$foruminfo[forumid]" />
</if>
</if>

footer:
<br />
<br />
<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="$stylevar[outertablewidth]" class="page" align="center">
<tr>
<td align="$stylevar[left]">
<div class="smallfont" align="left">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div></td>
<td align="$stylevar[right]"><div class="smallfont"><strong>

<a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a> |
<if condition="$vboptions['forumleaders']">
<a href="showgroups.php$session[sessionurl_q]" rel="nofollow">$vbphrase[view_forum_leaders]</a></if>

<if condition="!$show['guest']">
<!-- member logout -->
| <a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a>
<!-- end member logout -->
</if>
</strong>
</div>
</td>
</tr>
</table>

$spacer_close

<form action="$vboptions[forumhome].php" method="get">

<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="$stylevar[outertablewidth]" class="page" align="center">
<tr>
<if condition="$show['quickchooser']">
<td class="tfoot">
<select name="styleid" onchange="switch_id(this, 'style')">
<optgroup label="$vbphrase[quick_style_chooser]">
$quickchooserbits
</optgroup>
</select>
</td>
</if>
<if condition="$show['languagechooser']">
<td class="tfoot">
<select name="langid" onchange="switch_id(this, 'lang')">
<optgroup label="$vbphrase[quick_language_chooser]">
$languagechooserbits
</optgroup>
</select>
</td>
</if>
<td class="tfoot" align="$stylevar[right]" width="100%">
<div class="smallfont">
<strong>
<if condition="$show['contactus']"><a href="$vboptions[contactuslink]" rel="nofollow">$vbphrase[contact_us]</a> -</if>
<if condition="$vboptions['hometitle']"><a href="$vboptions[homeurl]">$vboptions[hometitle]</a> -</if>
<if condition="$show['admincplink']"><a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a> -</if>
<if condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a> -</if>
<if condition="$vboptions['archiveenabled']"><a href="archive/index.php">$vbphrase[archive]</a> -</if>
<if condition="$vboptions[privacyurl]"><a href="$vboptions[privacyurl]">$vbphrase[privacy_statement]</a> -</if>
<a href="#top" onclick="self.scrollTo(0, 0); return false;">$vbphrase[top]</a>
</strong>
</div>
</td>
</tr>
</table>

<br />

<div align="center">
<div class="smallfont" align="center">
<!-- Do not remove this copyright notice -->
<br />
<em>vBulletin skin developed by:</em> <a href="http://www.extremepixels.com/" target="_blank"><strong>eXtremepixels</strong></a>
<br />
$vbphrase[powered_by_vbulletin]
<br />
<!-- Do not remove this copyright notice -->
</div>

<div class="smallfont" align="center">
<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->
$cronimage
<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->

$vboptions[copyrighttext]
</div>
</div>
<div class="spacer"></div>
<div class="spacer"></div>
</form>

<if condition="$show['dst_correction']">
<!-- auto DST correction code -->
<form action="profile.php?do=dst" method="post" name="dstform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="dst" />
</form>
<script type="text/javascript">
<!--
var tzOffset = $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff];
var utcOffset = new Date().getTimezoneOffset() / 60;
if (Math.abs(tzOffset + utcOffset) == 1)
{ // Dst offset is 1 so its changed
document.forms.dstform.submit();
}
//-->
</script>
<!-- / auto DST correction code -->

</if>
<script type="text/javascript">
<!--
// Main vBulletin Javascript Initialization
vBulletin_init();
//-->
</script>

</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- /content area table -->
<!-- / eXtremepixels.com vB 3.6.x release -->
</div>

Should you require more info just ask, the site is http://johnneke.phpnet.us

arcanium
05-21-2007, 12:54 AM
did you update your image pathways?

Johnneke
05-21-2007, 06:41 AM
did you update your image pathways?

I dont really understand

var IMGDIR_MISC = "/forum/Blue_1/misc";

If you mean this yes, this was set to a variable first and changing this fixed 1 image but not the others

Johnneke
05-21-2007, 08:11 AM
did you update your image pathways?

Now I know what you mean :p Whoops I overlooked that, it is fixed now. thank you

I have another problem though
1 template is not showing my header correctly in vba
when I look in the header it says:

<!-- begin header / logo is controlled via #logo in main CSS file -->
<div align="center"><div id="hdr"><div id="hdr_rs"></div><div id="logo"></div><div id="hdr_body_ls"></div></div></div>

Does anyone know how I can fix this header??

Brian
05-21-2007, 09:07 AM
What exactly is the problem with that template?

Johnneke
05-21-2007, 11:02 AM
It doesnt show the images from the header. I think it has something to do with the fact that the header/logo is controlled in main css? Everything works except header/logo

Brian
05-21-2007, 11:17 AM
If those 2 lines you posted above are the content from your header template, then there are no buttons in there in the first place...