Jul 15, 2020, 12:35 AM

News:

Have you backed up YOUR database today


Recent posts

Pages1 2 ... 10
1
Desktops & Laptops / Re: Registry Trick to Block Wi...
Last post by Skhilled - Jul 05, 2020, 04:34 PM
First, you should make a backup in case you make a mistake or something goes wrong. Then you can always go back to where you were before your registry edit(s).
2
Desktops & Laptops / Re: Registry Trick to Block Wi...
Last post by Ronald - Jul 05, 2020, 03:35 PM
When windows 10 first came out, I did registry edits to stop windows 10 from updating.. Microsoft force it on the machine, to this day that machine is the worst thing going, always problems, freezes on updates. Only way to update the machine is to put the windows version on a ubs stick and install.

Editing he registry if difficult and will really mess you up.
3
SMF 2.1 / Re: Add Message
Last post by Ronald - Jul 05, 2020, 11:14 AM
Quote from: SychO on Jul 05, 2020, 09:24 AMThat's because in your text, you need to replace any single quotes with: anti-slash + single quote

so for example: today's politics becomes today\'s politics

Thanks it worked fine..
4
SMF 2.1 / Re: Add Message
Last post by Ronald - Jul 05, 2020, 11:08 AM
Here is the original code from where I got the message from.

   <li class="navbit lastnavbit"><span itemprop="title">Europe</span></li>

   </ul>
   

</div>

 
 


   <form action="https://www.debatepolitics.com/profile.php?do=dismissnotice" method="post" id="notices" class="notices">
      <input type="hidden" name="do" value="dismissnotice" />
      <input type="hidden" name="s" value="" />
      <input type="hidden" name="securitytoken" value="guest" />
      <input type="hidden" id="dismiss_notice_hidden" name="dismiss_noticeid" value="" />
      <input type="hidden" name="url" value="" />
      <ol>
         <li class="restore" id="navbar_notice_1">
   
   This is a political forum that is non-biased/non-partisan and treats every persons position on topics equally. This debate forum is not aligned to any political party. In today's politics, many ideas are  split between and even within all the political parties. Often we find ourselves agreeing on one platform but some topics break our mold. We are here to discuss them in a civil political debate. If this is your first visit to our political forums, be sure to check out the FAQ and RULES. Registering for debate politics is necessary before posting. Register today to participate and remove the ads  - it's free!
</li>
      </ol>
   </form>
5
Showcase / Re: SMF Review
Last post by Deaks - Jul 05, 2020, 09:26 AM
thanks :)
6
SMF 2.1 / Re: Add Message
Last post by SychO - Jul 05, 2020, 09:24 AM
That's because in your text, you need to replace any single quotes with: anti-slash + single quote

so for example: today's politics becomes today\'s politics
7
SMF 2.1 / Re: Add Message
Last post by Ronald - Jul 05, 2020, 08:54 AM
Thanks. I does work the way it sits.

But when I remove Notice Text, and put my own message in
QuoteThis is a political forum that is non-biased/non-partisan and treats every persons position on topics equally. This debate forum is not aligned to any political party.
In today's politics, many ideas are split between and even within all the political parties. Often we find ourselves agreeing on one platform but some topics break our mold.

It stops and gives my a blank page
8
SMF 2.1 / Re: Add Message
Last post by SychO - Jul 05, 2020, 06:13 AM
Try this, replace

if ($context['description'] != '' || !empty($context['moderators']))

with

$politicalBoards = array(1, 1, 1, 1);
if (in_array($context['current_board'], $politicalBoards))
echo '
    <div class="noticebox">Notice Text</div>';

if ($context['description'] != '' || !empty($context['moderators']))

fill politicalBoards array with your own board ids
9
SMF 2.1 / Re: Add Message
Last post by Ronald - Jul 04, 2020, 11:04 PM
Sorry doesn't work. unless I'm getting the page number wrong. Page mumber is 202.0
10
Showcase / Re: SMF Review
Last post by Skhilled - Jul 04, 2020, 09:21 PM
Sounds like a good idea for a site! :)

Good luck with it! :)
Pages1 2 ... 10