News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Recent posts

#1
I have the same problem, I installed it and it doesn't work, I'm really struggling with this site-map because I have some problems with Google, it doesn't recognize it.
#2
Modifications and Packages / Re: Topic Descriptions
Last post by smartmouse - Today at 04:39:54 AM
Quote from: Steve on October 11, 2023, 06:49:38 AMAfter installing, it redirects me to the mod configuration page which shows no options and errors are generated. In fact, every movement in the admin area generates errors as does trying to start a topic (which doesn't show a topic description box). This on my test installation that has no mods and no extra themes.

Quote from: LuciferMorningstar on December 25, 2023, 07:59:14 AMI'm having the same errors on SMF 2.1.4. One of them is "8: Undefined index: topic_descriptions".

The same here.

Any plan to fix it?
#3
Modifications and Packages / Re: SMF Links
Last post by vbgamer45 - Yesterday at 11:48:20 PM
 is_not_guest() only stops guests from editing any link. since that membergroup you can't check who owns what link.
#5
SMF 2.1.x Support / Re: Forbidden. You don't have ...
Last post by stoo23 - Yesterday at 08:40:41 PM
OK,.. well, thanks guys,....  :)  ::)

I must admit, my First thoughts, would not have been in That direction .... appreciated.

This can be 'Marked' as Solved.
#6
SMF 2.1.x Support / Re: Recaptcha error - Unable t...
Last post by StrykerX - Yesterday at 07:20:36 PM
Quote from: vbgamer45 on May 30, 2024, 10:38:35 AMTry to curl or wget hxxp:google.com [nonactive] and see what happens.

Both work fine
#8
Theme Site Themes / Re: NameX
Last post by Diego Andrés - Yesterday at 06:22:39 PM
The shoutbox dark mode will not be dependent of the theme mode because it has its own option.

You'd need to add the dark selectors of the shout box to your dark.css file if you wanted to have them work at the same time regardless of the shout box option.

:root[data-colormode="dark"] .shoutbox_dark_mode .shoutbox_row:nth-child(odd){
    background-color: #1e1e1e !important;
}
:root[data-colormode="dark"] .shoutbox_dark_mode .shoutbox_row:nth-child(even){
    background-color: #454545 !important;
}

You will need to do some testing to get it the way you expect it, the user would then not have an option to change the color of the shout box.
#9
Theme Site Themes / Re: NameX
Last post by jsx - Yesterday at 05:11:12 PM
I added this code with !important to app.css and now the row colors have changed, but the colors don't work when I change to dark mode of the theme.

.shoutbox_row:nth-child(odd){
    background-color: #f1f4f0 !important;
}
.shoutbox_row:nth-child(even){
    background-color: #cce8c9 !important;
}
.shoutbox_dark_mode .shoutbox_row:nth-child(odd){
    background-color: #1e1e1e !important;
}
.shoutbox_dark_mode .shoutbox_row:nth-child(even){
    background-color: #454545 !important;
}

I understand that in app.css I should create code like this:

.tp_shoutbody_layout2:nth-of-type(2n + 1), .tp_shoutbody_layout3:nth-of-type(2n + 1) {
    background: var(--tp_shout-bgodd) !important;
}
.tp_shoutbody_layout2:nth-of-type(2n), .tp_shoutbody_layout3:nth-of-type(2n) {
    background: var(--tp_shout-bgeven) !important;
}
.tp_shoutbody_layout2 > span, .tp_shoutbody_layout3 > span {
    color: var(--tp_shout-textcolor) !important;

To later add code in this style to dark.css so that the dark background for this shoutbox works when I turn on the dark mode of the theme.

    --shoutbox-bgodd: hsl(var(--windowbg-bg), 25%, 15%);
    --shoutbox-bgeven: var(--body-bg);
    --shoutbox-textcolor: var(--body-txt-color);

Can you help me with this?

***

In app.css I added this code:

.shoutbox_row:nth-of-type(odd) {
    background: var(--tp_shout-bgodd) !important;
}

.shoutbox_row:nth-of-type(even) {
    background: var(--tp_shout-bgeven) !important;
}

.shoutbox_row > span {
    color: var(--tp_shout-textcolor) !important;
}

In dark.css I added this code:

--shoutbox-bgodd: hsl(var(--windowbg-bg), 25%, 15%);
    --shoutbox-bgeven: var(--body-bg);
    --shoutbox-textcolor: var(--body-txt-color);

And it looks like it's working. I turned on the dark theme mode and SMFPacks Shoutbox has a dark theme too.
#10
SMF 2.1.x Support / Re: Theme only loads after rel...
Last post by Sir Osis of Liver - Yesterday at 04:47:42 PM
.htaccess in forum root -


# 301 REDIRECT HTTP TO HTTPS AND WWW TO NON-WWW
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} ^www\. [NC]
RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC]
RewriteRule ^ https://%1%{REQUEST_URI} [L,NE,R=301]
</IfModule>

Advertisement: