Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Aiheen aloitti: Dave J - marraskuu 19, 2019, 12:38:25 IP

Otsikko: Warning panel
Kirjoitti: Dave J - marraskuu 19, 2019, 12:38:25 IP
Evening all,

Could someone tell me how I managed to install/code the Warning! box you see in the attachment please? As you can see it on the main site login page

I have searched all my posts for recent years and I cannot find how I did that...and i can't find a mod that did it either.

Any help is much appreciated.

PS: I have done a text search through all the sites backup files and still cant find the text in any template.
Otsikko: Re: Warning panel
Kirjoitti: Shambles - marraskuu 19, 2019, 12:44:53 IP
Lainaus käyttäjältä: davejo...i can't find a mod that did it either ...

So what mods do you have?
Otsikko: Re: Warning panel
Kirjoitti: Arantor - marraskuu 19, 2019, 12:44:53 IP
Not even in Login.template.php ?
Otsikko: Re: Warning panel
Kirjoitti: Dave J - marraskuu 19, 2019, 02:23:11 IP
Thanks for the quick replies guys

Well the odd thing is it's actually a part of an SMF template...but which one I have no idea. I don't know why but I thought it was in a language file...it still might be yet.

The way you would see it is if you go into Admin, Features & Options, General

Then untick 'Allow guests to browse the forum' the help next to it says

LainaaUnchecking this box will stop guests from doing anything but very basic actions - login, register, password reminder, etc. - on your forum. This is not the same as disallowing guest access to boards.

So when you untick the box then logout you are presented with the Warning box.

So I found that but not where the text is.

Otsikko: Re: Warning panel
Kirjoitti: Illori - marraskuu 19, 2019, 02:26:04 IP
as stated above, it should be in the Login.template.php file unless a mod was installed that somehow changed this. of course it could also be in a language file depending on how it was added.
Otsikko: Re: Warning panel
Kirjoitti: nidec - marraskuu 19, 2019, 05:08:05 IP
Try Admin, membergroups,  edit membergroup
Otsikko: Re: Warning panel
Kirjoitti: Illori - marraskuu 19, 2019, 05:12:10 IP
Lainaus käyttäjältä: nidec - marraskuu 19, 2019, 05:08:05 IP
Try Admin, membergroups,  edit membergroup

that has nothing at all to do with the issue the op is talking about.
Otsikko: Re: Warning panel
Kirjoitti: Sir Osis of Liver - marraskuu 19, 2019, 05:50:31 IP
It's in Login.english.php.
Otsikko: Re: Warning panel
Kirjoitti: Dave J - marraskuu 20, 2019, 12:23:37 AP
Thanks everyone forvthe replies
Otsikko: Re: Warning panel
Kirjoitti: Dave J - marraskuu 20, 2019, 11:46:41 AP
Lainaus käyttäjältä: Sir Osis of Liver - marraskuu 19, 2019, 05:50:31 IP
It's in Login.english.php.

Yep thats where I found it, thank you Sir Osis