Uutiset:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu
Advertisement:

How do i remove header in blackrain v3........version 1.1.13

Aloittaja garylester777, huhtikuu 22, 2011, 08:42:50 AP

« edellinen - seuraava »

garylester777

I am designing my own website with limited I.T experience and have added a forum using the blackrain v3 theme by crip.I want to remove the header at the top of page where the logo blackrain is located how do i remove it please?........
Just the way i see it!......Take it or leave it!

Free bets uk - The UK`s favourite free bets website for Free bets and over £10000 of Free bet offers!

Illori

can you give us a link to your forum? it may help someone to determine what needs to be removed. can you attach a screenshot of the exact area you want deleted? i am going to move this to the graphics and templates board so you can get better help.

garylester777

#2
 my forum address is http://www.free-bets-uk.orgyou cannot miss the Blackrain logo in the header at the top of the page.I want to remove ALL the header with the Blackrain logo in it.I have been trying to remove it for 3 days lol......and i am pulling my hair out and about to give in!
Just the way i see it!......Take it or leave it!

Free bets uk - The UK`s favourite free bets website for Free bets and over £10000 of Free bet offers!

Illori

try this, but backup your index.template.php first as i have not tested this

Koodi (find and delete) [Valitse]
<div id="ob1">
<div id="ib1">
<table width="100%" cellpadding="0" cellspacing="0" border="0" id="content" class="content_wrap">
<tr>
<td align="center"><a href="'.$scripturl.'" title="', $context['forum_name'], '"><img src="', $settings['images_url'], '/logo.png" style="margin: 2px;" alt="', $context['forum_name'], '" /></a>
</td>
</tr>
</table>

<div class="tborder" ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' style="width: 100%;"' : '', '>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="catbg" height="32">';

if (empty($settings['header_logo_url']))
echo '
<span style="font-family: Verdana, sans-serif; font-size: 140%; ">', $context['forum_name'], '</span>';
else
echo '
<img src="', $settings['header_logo_url'], '" style="margin: 4px;" alt="', $context['forum_name'], '" />';

echo '
</td>
<td align="right" class="catbg">
<img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" />
</td>
</tr>
</table>';


also i would recommend you use a smaller fixed width as not everyone has their browser window as wide as 1290px.

garylester777

I have gone to EDIT THEME-INDEX.TEMPLATE.PHP.........but i cannot find that code you supplied anywhere on the page?..........i have got 7 boxes of code to choose from on the index.template.php page titled BEGINNING LINE 1,29,59,358,467,496,577...........But i cannot find the code you supplied anywhere in the 7 boxes?...........i am really frustrated and feeling like i want to top myself(with some hundreds and thousands lol)
Just the way i see it!......Take it or leave it!

Free bets uk - The UK`s favourite free bets website for Free bets and over £10000 of Free bet offers!

Illori

i would suggest you use ftp and download the file to your pc so you have a backup then do the changes. make sure you are looking at the file for your theme.

ARG01

Actually I believe that only this should be removed:

<table width="100%" cellpadding="0" cellspacing="0" border="0" id="content" class="content_wrap">
<tr>
<td align="center"><a href="'.$scripturl.'" title="', $context['forum_name'], '"><img src="', $settings['images_url'], '/logo.png" style="margin: 2px;" alt="', $context['forum_name'], '" /></a>
</td>
</tr>
</table>

<div class="tborder" ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' style="width: 100%;"' : '', '>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="catbg" height="32">';

if (empty($settings['header_logo_url']))
echo '
<span style="font-family: Verdana, sans-serif; font-size: 140%; ">', $context['forum_name'], '</span>';
else
echo '
<img src="', $settings['header_logo_url'], '" style="margin: 4px;" alt="', $context['forum_name'], '" />';

echo '
</td>
<td align="right" class="catbg">
<img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" />
</td>
</tr>
</table>';


This part should remain:
<div id="ob1">
<div id="ib1">


;)
No, I will not offer free downloads to Premium DzinerStuido themes. Please stop asking.

garylester777

I am still trying to find the lines of code you have supplied lol.........i am a self taught web designer lol........please bare with me.......im starting to get very confused
Just the way i see it!......Take it or leave it!

Free bets uk - The UK`s favourite free bets website for Free bets and over £10000 of Free bet offers!

Branko.

#8
garylester777,please consider.In this case you permanently lose the header.
Good solution is: Remove blackrain logo.If you, later, want to put your logo just insert new (same size,name and extension) in the same folder.
Your path:Themes/blackrainV3_12/images and find logo.png (logo BlackRain V3) and remove it.
Strong people don't put others down, they lift them up.
A clever person solves a problem. A wise person avoids it.

Illori

then you will fill your error log with errors that this file can not be found, that would not be the best idea.

garylester777

Thats what i would like to do.Permanently remove the header...............but im struggling to find the lines of code other members have supplied
Just the way i see it!......Take it or leave it!

Free bets uk - The UK`s favourite free bets website for Free bets and over £10000 of Free bet offers!

ARG01

#11
But if he just removes the logo image then it may show the dreaded white square with the red X in some browsers.

garylester777,  you probably cant post an attachment so can you email me your index.template.php file? syberwebz AT comcast.net

;)

No, I will not offer free downloads to Premium DzinerStuido themes. Please stop asking.

garylester777

Hi......i have managed to locate the code supplied by the 2 members and i have tried removing the code EXACTLY as the 2 members said but on each occasion after i SAVE the changes i get a message saying TEMPLATE PARSE ERROR.............What does that mean?.......am i supposed to write something in the code after deleting the lines code supplied by the members?.........i am very confused!
Just the way i see it!......Take it or leave it!

Free bets uk - The UK`s favourite free bets website for Free bets and over £10000 of Free bet offers!

Illori

this is why i suggested you take a backup first, which i hope you did. you should restore the old version back and wait for further suggestions.

ARG01

Lainaus käyttäjältä: ARG - huhtikuu 22, 2011, 10:00:22 AP

garylester777,  you probably cant post an attachment so can you email me your index.template.php file? syberwebz AT comcast.net

;)


No, I will not offer free downloads to Premium DzinerStuido themes. Please stop asking.

garylester777

I don`t mind reloading the SMF forum if i make a mistake.It doesnt take long using fantastico

As long as i can remove the header i will be really pleased.

Just the way i see it!......Take it or leave it!

Free bets uk - The UK`s favourite free bets website for Free bets and over £10000 of Free bet offers!

Illori

you dont need to reinstall your whole forum to fix this. you would just need to reset your theme to default with ?theme=1 added to your url, remove your theme completely using the admin panel then reinstall it from the zip. then please attach the file ARG wants to your next post before you do any further work.

ARG01

In index.template.php try changing this:
<div id="ob1">
<div id="ib1">
<table width="100%" cellpadding="0" cellspacing="0" border="0" id="content" class="content_wrap">
<tr>
<td align="center"><a href="'.$scripturl.'" title="', $context['forum_name'], '"><img src="', $settings['images_url'], '/logo.png" style="margin: 2px;" alt="', $context['forum_name'], '" /></a>
</td>
</tr>
</table>

<div class="tborder" ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' style="width: 100%;"' : '', '>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="catbg" height="32">';

if (empty($settings['header_logo_url']))
echo '
<span style="font-family: Verdana, sans-serif; font-size: 140%; ">', $context['forum_name'], '</span>';
else
echo '
<img src="', $settings['header_logo_url'], '" style="margin: 4px;" alt="', $context['forum_name'], '" />';

echo '
</td>
<td align="right" class="catbg">
<img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" />
</td>
</tr>
</table>';


To this:
<div id="ob1">
<div id="ib1">';
No, I will not offer free downloads to Premium DzinerStuido themes. Please stop asking.

Illori

i have a feeling the person wanting this change does not know how to edit files, nor how to use ftp. we might have to do a bit more work here.

garylester777

what does template parse error mean please?...........i am not familiar with all the coding language!
Just the way i see it!......Take it or leave it!

Free bets uk - The UK`s favourite free bets website for Free bets and over £10000 of Free bet offers!

Advertisement: