Docskillz

The Good Stuff => SMF Forum Help => Topic started by: Ronald on May 29, 2018, 08:18:29 PM

Title: Text Notice in post reply
Post by: Ronald on May 29, 2018, 08:18:29 PM
I was on another forum smf of course, and when answering a post, I seen this text notice in red.

I would like to know just how to do this, is it a mod or and code added to a template.

See my image as to what I mean:
Title: Re: Text Notice in post reply
Post by: lurkalot on May 30, 2018, 03:43:41 AM
You use Simpleportal, same as that site, so you should be able to add this text in a top block.  I know I can do this in Tinyportal.

Think there is a mod for this on the SMF modsite too, but would have to find it.
Title: Re: Text Notice in post reply
Post by: Skhilled on May 30, 2018, 07:25:44 AM
I don't recall a mod for that but I haven't look at the mods in awhile. Yes, you should be able to do as Mick says and it should work. You could also custom code it.
Title: Re: Text Notice in post reply
Post by: Ronald on May 30, 2018, 11:51:33 AM
Thanks guys.. I checked  and checked last night, found a mod to do what I wanted:  http://custom.simplemachines.org/mods/index.php?mod=1484  (posting announcement)

I also use SP block to do one on the forum's face page..

Wasted a lot of time trying to code a Box with a line around it and also with a colour background..ended up using a SP block and it's just a plain message..
Title: Re: Text Notice in post reply
Post by: lurkalot on May 30, 2018, 06:22:56 PM
Quote from: Oldcrow on May 30, 2018, 11:51:33 AM

Wasted a lot of time trying to code a Box with a line around it and also with a colour background..ended up using a SP block and it's just a plain message..

Perhaps stick this in a portal html block,  You can change the colours easily.

<style>
#textbox1 {
    border: 3px solid black;
    padding: 15px;
    background: #eed3d3;
    background-clip: border-box;
}
</style>

<div id="textbox1">
<p style="color:black" >Add your announcement message here. </p>
</div>
Title: Re: Text Notice in post reply
Post by: Ronald on May 30, 2018, 08:19:45 PM
Thanks for this, I'll copy and save this for future.. I did more searching and found what I need.. Have a look:  https://seniorsworldwide.net/index.php