Author Topic: stop news  (Read 1538 times)

0 Members and 1 Guest are viewing this topic.

Offline cecilgoode

  • Anyone...Anywhere...
  • Sr. Member
  • *
  • Posts: 298
  • Karma: 7
  • Gender: Male
    • OneNightAnywhere
  • SMF Version: 1.5&2.0
stop news
« on: March 10, 2008, 07:51:18 PM »
not on the fader but above that to the left?
« Last Edit: March 11, 2008, 03:52:00 PM by bigguy »
Need Help?
onenightanywhere.com/Forum

Anyone...Anywhere...

Offline bigguy

  • Site Owner
  • Administrator
  • *
  • Posts: 13217
  • Karma: 269
  • Gender: Male
  • Get'r Done
    • P.C. Tweakr
  • SMF Version: 2.0 Gold
Re: stop news
« Reply #1 on: March 10, 2008, 08:39:32 PM »
You would have to remove the code from the index.template.php file.

Offline cecilgoode

  • Anyone...Anywhere...
  • Sr. Member
  • *
  • Posts: 298
  • Karma: 7
  • Gender: Male
    • OneNightAnywhere
  • SMF Version: 1.5&2.0
Re: stop news
« Reply #2 on: March 11, 2008, 10:34:38 AM »
would I still have the fader?
Need Help?
onenightanywhere.com/Forum

Anyone...Anywhere...

Offline bigguy

  • Site Owner
  • Administrator
  • *
  • Posts: 13217
  • Karma: 269
  • Gender: Male
  • Get'r Done
    • P.C. Tweakr
  • SMF Version: 2.0 Gold
Re: stop news
« Reply #3 on: March 11, 2008, 01:04:30 PM »
The fader code and the news code are separate so yes you should still have the fader.

Offline cecilgoode

  • Anyone...Anywhere...
  • Sr. Member
  • *
  • Posts: 298
  • Karma: 7
  • Gender: Male
    • OneNightAnywhere
  • SMF Version: 1.5&2.0
Re: stop news
« Reply #4 on: March 11, 2008, 01:48:11 PM »
Which code is that bigguy?
 
 
// Show the menu here, according to the menu sub template.
 echo '
 <div align="center"><p>';
 template_menu();
echo '
 </div></p>';
 echo '
 <div align="left" style="width: 450px; margin-left: 10px;">';
:
//Show a random news item? (or you could pick one from news_lines...)
 if (!empty($settings['enable_news']))
   echo '<span class="smalltext">[b]', $txt[/b][102], '[/b]: ', $context['random_news_line'], '</span>';
  echo ' 
</div>
';
 // The main content should go here.
 echo '
Need Help?
onenightanywhere.com/Forum

Anyone...Anywhere...

Offline bigguy

  • Site Owner
  • Administrator
  • *
  • Posts: 13217
  • Karma: 269
  • Gender: Male
  • Get'r Done
    • P.C. Tweakr
  • SMF Version: 2.0 Gold
Re: stop news
« Reply #5 on: March 11, 2008, 02:01:50 PM »
Try removing this from the index.template.php file.

:
    // Show a random news item? (or you could pick one from news_lines...)
    if (!empty($settings['enable_news']))
        echo '
                <td width="90%" class="titlebg2">
                    <span class="smalltext"><b>', $txt[102], '</b>: ', $context['random_news_line'], '</span>
                </td>';

Offline bigguy

  • Site Owner
  • Administrator
  • *
  • Posts: 13217
  • Karma: 269
  • Gender: Male
  • Get'r Done
    • P.C. Tweakr
  • SMF Version: 2.0 Gold
Re: stop news
« Reply #6 on: March 11, 2008, 02:02:25 PM »
Back up the file first.

Offline cecilgoode

  • Anyone...Anywhere...
  • Sr. Member
  • *
  • Posts: 298
  • Karma: 7
  • Gender: Male
    • OneNightAnywhere
  • SMF Version: 1.5&2.0
Re: stop news
« Reply #7 on: March 11, 2008, 03:47:52 PM »
Thank You thats it :victory
Need Help?
onenightanywhere.com/Forum

Anyone...Anywhere...

Offline bigguy

  • Site Owner
  • Administrator
  • *
  • Posts: 13217
  • Karma: 269
  • Gender: Male
  • Get'r Done
    • P.C. Tweakr
  • SMF Version: 2.0 Gold
Re: stop news
« Reply #8 on: March 11, 2008, 03:51:46 PM »
No problem. :righton

Offline Miaz

  • New Member
  • *
  • Posts: 4
  • Karma: 1
  • Gender: Female
    • ByteCollectors.com
  • SMF Version: SMF 1.1.8
Re: stop news
« Reply #9 on: February 09, 2009, 11:24:11 AM »
Try removing this from the index.template.php file.

:
    // Show a random news item? (or you could pick one from news_lines...)
    if (!empty($settings['enable_news']))
        echo '
                <td width="90%" class="titlebg2">
                    <span class="smalltext">', $txt[102], ': ', $context['random_news_line'], '</span>
                </td>';


lol ive tryed this too and it didnt work for me hehe back to the drawing board i will get there im sure

Offline bigguy

  • Site Owner
  • Administrator
  • *
  • Posts: 13217
  • Karma: 269
  • Gender: Male
  • Get'r Done
    • P.C. Tweakr
  • SMF Version: 2.0 Gold
Re: stop news
« Reply #10 on: February 09, 2009, 01:26:28 PM »
Did you refresh your cache when you did it. ??? (ctrl + f5)

Offline ccbtimewiz

  • Dreamer
  • Guru
  • *
  • Posts: 1304
  • Karma: 2100
  • Gender: Male
  • $info->close();
    • Dream Portal
  • SMF Version: SMF 2.0 RC4
Re: stop news
« Reply #11 on: February 09, 2009, 02:50:18 PM »
Um...

Just disable it.

Admin > Current Theme > Enable news? <= Do not check this.

Offline Miaz

  • New Member
  • *
  • Posts: 4
  • Karma: 1
  • Gender: Female
    • ByteCollectors.com
  • SMF Version: SMF 1.1.8
Re: stop news
« Reply #12 on: February 09, 2009, 03:06:05 PM »
yeah refreshed page etc, ty knocked it off as advised above lol ty  :grin


hmm but now ive got a different problem i cant edit the news item i have as theres nothing there so how do i change the text in the news fader now guys? lol
 
« Last Edit: February 09, 2009, 03:15:52 PM by Miaz »

Offline Smoky

  • who, me?
  • Guru
  • *
  • Posts: 3980
  • Karma: 1450
  • Gender: Female
  • It's all in your HEAD!
    • HangOutSpot
  • SMF Version: 2.0 ??
Re: stop news
« Reply #13 on: February 09, 2009, 05:59:30 PM »
hmm link to your forum please..  :)
Oh wow, guess who dropped by! Im still on secondlife.. but will respond to im's *waves