News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

WhiteBox

Started by Crip, July 06, 2011, 11:38:56 AM

Previous topic - Next topic

Crip

I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

Celebhdforum

hey can anyone help me i have tried a couple of things over the past weeks and cant get to work.

i am trying to remove the news post and the search bar.

I want to keep everything else and so it just moves up.

Picture is in attachment

ARG01

I am not at my comp to test this but try removing this in index.template.php. Back up your file before making changes!!!

echo '
<div id="searcharea">
<form action="', $scripturl, '?action=search2" method="post" accept-charset="', $context['character_set'], '">
  <input class="inputbox" type="text" name="search" value="', $txt['search'], '..." onfocus="this.value = \'\';" onblur="if(this.value==\'\') this.value=\'', $txt['search'], '...\';" /> ';

// Search within current topic?
if (!empty($context['current_topic']))
echo '
<input type="hidden" name="topic" value="', $context['current_topic'], '" />';

// If we're on a certain board, limit it to this board ;).
  elseif (!empty($context['current_board']))
  echo '
<input type="hidden" name="brd[', $context['current_board'], ']" value="', $context['current_board'], '" />';
  echo '
  </form>
</div>';

  // Show a random news item? (or you could pick one from news_lines...)
if (!empty($settings['enable_news']))
{
echo '
  <div id="news">
  <b>', $txt['news'], ':</b> ', $context['random_news_line'], '</div>';
}


Note: Since these are both "id"s you may also need to remove a following "</div>" or two. I am not positive since again, I am not at my comp to test this.  ;)
No, I will not offer free downloads to Premium DzinerStuido themes. Please stop asking.

Crip

thnks ARG,

yep, remove Both those divides , tis it may shift upwards a-bit...
I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

Celebhdforum

Many thanks

That working perfect first time much appreciated.


Also could you tell me is it easy to remove the top link tree off on every page?



Crip

Prolly so , but i dunno how..?

QuoteAlso could you tell me is it easy to remove the top link tree off on every page?
I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

margarett

Just comment out the function call to the linktree in index.template.php ;)
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Crip

I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

deansmar

I have been using this theme for many years.. and would now like to update my four...

A litter question out of the blue.. ;)

Will there be an update of this theme, in the near future, to accommodate SMF 2.1.4 ..?

Kindred

No. Crip is no longer here.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Arantor

Wasn't someone looking after his themes, IchBin and/or Skhilled?

lurkalot

Quote from: Arantor on February 05, 2024, 08:41:42 AMWasn't someone looking after his themes, IchBin and/or Skhilled?

Yep, Skhilled is looking after them. You can ask him here https://www.jpr62.com/theme/index.php

deansmar

Thanks for your answers, yes I know that Crip, is no longer with us.. sad..

I have Tryed registering on that website, i seam to be having problems with the captcha.

Steve

Quote from: deansmar on February 05, 2024, 01:06:30 PMi seam to be having problems with the captcha.
Did you click the link underneath it to listen the letters?
DO NOT pm me for support!

deansmar

Yes I have tried that and almost everything else... that I can think of..

deansmar

I was hoping that Skhilled would be watching this thread..

I did not want to PM him directly. .

Arantor

@Skhilled - please can you fix your reCAPTCHA key, it's not working.

Steve

Quote from: deansmar on February 06, 2024, 12:30:37 AMI did not want to PM him directly.
I did that for you at another of his forums giving him the link to this topic.
DO NOT pm me for support!

deansmar

Quote from: Steve on February 06, 2024, 07:53:49 AM
Quote from: deansmar on February 06, 2024, 12:30:37 AMI did not want to PM him directly.
I did that for you at another of his forums giving him the link to this topic.

Thank you very much..

Skhilled

#99
PM sent, deansmar. :)

We are upgrading the themes to 2.1.4. Just put in a request and we will add it to the list. :)

EDIT: And thanks for the PM, Steve. ;)

Advertisement: