Link to the theme (https://custom.simplemachines.org/index.php?theme=3024)
(https://custom.simplemachines.org/index.php?action=download;theme=3024;attach=285936;image;thumb)
(https://smftricks.com/logos/logo.png) (https://smftricks.com/)
Free & Premium Themes for SMF
RepulseDeveloped by: Diego Andrés (https://smftricks.com/index.php?action=profile;u=1)Based on Pulse (hhttps://custom.simplemachines.org/index.php?theme=2343) by MLM (https://www.simplemachines.org/community/index.php?action=profile;u=261314)(https://img.shields.io/github/v/release/SMFTricks/Repulse.svg?style=flat&logo=github&color=green) (https://github.com/SMFTricks/Repulse) (https://img.shields.io/badge/License-MIT-248049) (https://img.shields.io/badge/SMF-2.1-3f73a0) (https://img.shields.io/badge/Color%20Variants-Yes-6041a3) (https://img.shields.io/badge/Dark%20Mode-Yes-4d827f) (https://img.shields.io/badge/RLT%20Support-Yes-bf9d73)
Preview:
(https://raw.githubusercontent.com/SMFTricks/Repulse/main/_assets/preview.gif)
Demo Online (http://demo21.smftricks.com/index.php?theme=6)
☑️ Features- FontAwesome
- Social Networks
- Logo URL
- Forum Width
- Separate sticky topics
- Avatars
- Boards
- Topics
- Online Users
- Recent Posts
- Memberlist
- Menu Customization
- Disable Menu Icons
- Add Log out, Log in and Sign up buttons
- Remove Specific Menu
- Community Button for Grouping
- Select CDN for Fonts
📦 InstallationIt is installed as a traditional SMF Theme for SMF 2.1.x, just grab the latest release of the package and go to:
Admin > Configuration > Themes and Layout > Install a New Theme > From an Archive > Select File > Upload.
You can find detailed instructions and/or more documentation about the process in Installation - How do I install a theme (https://wiki.simplemachines.org/smf/Installation_-_How_do_I_install_a_theme).
🌐 LocalizationTranslations are all based off the
Theme Customs (https://github.com/SMFTricks/Theme-Customs) strings, and you can contribute directly on
Crowdin (https://crowdin.com/project/smf-theme-customs).
🔨 ChangelogReview the changes and patches from the different releases/versions of the package in the Changelog (https://github.com/SMFTricks/Repulse/blob/main/CHANGELOG.md)
Awesome theme is awesome!
There are two packages at the theme site with the same name. Are they the same?
Yes.
Removed the other one
Very nice job! 8)
I like the style let's try it :D good diego :)
It's good that Diego you created another interesting theme for SMF 2.1. Thanks. :)
1.0.1 - 10 June 2023
- (https://camo.githubusercontent.com/2b4ab97b0305c84fe3d563f95de3f5eaa7019a88172cd590e0d0ffbb681f2cf1/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f7461672d2d70656e63696c2e706e67) (https://camo.githubusercontent.com/2b4ab97b0305c84fe3d563f95de3f5eaa7019a88172cd590e0d0ffbb681f2cf1/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f7461672d2d70656e63696c2e706e67) SMF 2.1.4 patch updates.
- Updated icons.css and coloris (js & css).
- Minor changes that won't affect theme at all.
No changelog.
1.0.2 - 31 July 2023
- (https://camo.githubusercontent.com/2b4ab97b0305c84fe3d563f95de3f5eaa7019a88172cd590e0d0ffbb681f2cf1/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f7461672d2d70656e63696c2e706e67) (https://camo.githubusercontent.com/2b4ab97b0305c84fe3d563f95de3f5eaa7019a88172cd590e0d0ffbb681f2cf1/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f7461672d2d70656e63696c2e706e67) Improved stats pie colors.
- (https://camo.githubusercontent.com/2b4ab97b0305c84fe3d563f95de3f5eaa7019a88172cd590e0d0ffbb681f2cf1/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f7461672d2d70656e63696c2e706e67) (https://camo.githubusercontent.com/2b4ab97b0305c84fe3d563f95de3f5eaa7019a88172cd590e0d0ffbb681f2cf1/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f7461672d2d70656e63696c2e706e67) Improved displaying users online in info center.
- (https://camo.githubusercontent.com/2b4ab97b0305c84fe3d563f95de3f5eaa7019a88172cd590e0d0ffbb681f2cf1/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f7461672d2d70656e63696c2e706e67) (https://camo.githubusercontent.com/2b4ab97b0305c84fe3d563f95de3f5eaa7019a88172cd590e0d0ffbb681f2cf1/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f7461672d2d70656e63696c2e706e67) Added aria-label for social icons.
Full list of changes (https://github.com/SMFTricks/Repulse/compare/v1.0.1...v1.0.2)
As always, you only need to manually update the files that you edited (based on the changes above), any other files can be safely replaced, specially the
themecustoms folder.
Thanks again Diego. :)
1.0.3 - 05 August 2023
- (https://camo.githubusercontent.com/5ba14cc5b307fd7683ab0b95737b5548d492d0029f2ce6f42c7cda8cc1c90fb9/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6275672d2d6d696e75732e706e67) (https://camo.githubusercontent.com/5ba14cc5b307fd7683ab0b95737b5548d492d0029f2ce6f42c7cda8cc1c90fb9/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6275672d2d6d696e75732e706e67) Fixes for styles in wysiwyg mode.
- (https://camo.githubusercontent.com/2b4ab97b0305c84fe3d563f95de3f5eaa7019a88172cd590e0d0ffbb681f2cf1/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f7461672d2d70656e63696c2e706e67) (https://camo.githubusercontent.com/2b4ab97b0305c84fe3d563f95de3f5eaa7019a88172cd590e0d0ffbb681f2cf1/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f7461672d2d70656e63696c2e706e67) Improved styling for some sceditor elements.
Full list of changes (https://github.com/SMFTricks/Repulse/compare/v1.0.2...v1.0.3)
Hey Diego,
How do I get rid of these rows without turning the news fader off?
news.jpg
Also, at the bottom of the main index page, how can I make it stay on the tab if I choose one, (stats for example) leave the main page and then navigate back to it. It always defaults to the first tab.
Isn't the icon at the top? How did you get that space?
Beats me. Shows that way in both Firefox and Chrome.
Edit: And Edge.
I'm not seeing such thing, can't reproduce it.
Screenshot 2023-08-07 203836.png
By some random chance
@Steve, does this problem go away if you disable the forum width mod that you have installed?
I didn't have a value set in the forum width setting. I uninstalled the mod and the issue remains. Either of you are free to take a look. :(
No clue I guess ...
None.
Would need the url to check it out.
url removed by me
Try this:
css/custom/app.css
.forum_news {
background-color: var(--forumnews-bg);
display: grid;
grid-template-columns: 45px 1fr;
grid-template-rows: 1fr 1fr;
flex-wrap: wrap;
align-items: flex-start;
border-radius: 5px;
margin: 0 0 1em;
border-style: solid;
border-width: 0 0 0 3px;
border-color: var(--catbg-bg);
box-shadow: 2px 2px 1px 0px rgba(0, 0, 0, 0.1);
min-height: 90px;
align-items: center;
}
.forum_news {
background-color: var(--forumnews-bg);
display: grid;
grid-template-columns: 45px 1fr;
grid-template-rows: auto 1fr;
align-items: flex-start;
border-radius: 5px;
margin: 0 0 1em;
border-style: solid;
border-width: 0 0 0 3px;
border-color: var(--catbg-bg);
box-shadow: 2px 2px 1px 0px rgba(0, 0, 0, 0.1);
min-height: 90px;
}
Or you can just add it to css/custom/custom_edits.css
.forum_news {
grid-template-rows: auto 1fr;
align-items: flex-start;
}
Heading out for the morning. Will give those a try this afternoon. And thanks.
Quote from: Diego Andrés on August 09, 2023, 10:14:35 AMTry this:
css/custom/app.css
.forum_news {
background-color: var(--forumnews-bg);
display: grid;
grid-template-columns: 45px 1fr;
grid-template-rows: 1fr 1fr;
flex-wrap: wrap;
align-items: flex-start;
border-radius: 5px;
margin: 0 0 1em;
border-style: solid;
border-width: 0 0 0 3px;
border-color: var(--catbg-bg);
box-shadow: 2px 2px 1px 0px rgba(0, 0, 0, 0.1);
min-height: 90px;
align-items: center;
}
.forum_news {
background-color: var(--forumnews-bg);
display: grid;
grid-template-columns: 45px 1fr;
grid-template-rows: auto 1fr;
align-items: flex-start;
border-radius: 5px;
margin: 0 0 1em;
border-style: solid;
border-width: 0 0 0 3px;
border-color: var(--catbg-bg);
box-shadow: 2px 2px 1px 0px rgba(0, 0, 0, 0.1);
min-height: 90px;
}
Or you can just add it to css/custom/custom_edits.css
.forum_news {
grid-template-rows: auto 1fr;
align-items: flex-start;
}
That fixes it
@Steve . *I made the edit via the inspect tool to test.*
Which fixes it? The find and replace code or the last bit of code to add to custom_edits.css?
Either will do.
Since I don't have a css/custom/custom_edits.css file (unless that's something I would need to create) I went with the find and replace option and it worked perfectly.
Thanks
@Diego Andrés and
@TwitchisMental. ;D
Yes, for future reference, the custom_edits.css file is manually created so admins can keep their edits safe when updating files of the theme.
That's a great idea!
Quote from: Steve on August 09, 2023, 03:24:50 PMWhich fixes it? The find and replace code or the last bit of code to add to custom_edits.css?
Whichever is easier for you. They are both doing the same thing.
If you do the second, when updates come around any of your personal touches won't be messed with.
Quote from: TwitchisMental on August 09, 2023, 03:41:21 PMIf you do the second, when updates come around any of your personal touches won't be messed with.
Is that true for all 2.1.4 themes?
Quote from: Steve on August 09, 2023, 03:43:56 PMQuote from: TwitchisMental on August 09, 2023, 03:41:21 PMIf you do the second, when updates come around any of your personal touches won't be messed with.
Is that true for all 2.1.4 themes?
That is just one of the neat features Diego has added to his theme.
Although technically it can be done to any theme. Just add a custom.css, call it from index.template.php and then add your changes there instead of changing the index.css.
Cool. Thanks Twitch and Diego.
Fixed it on GH it did seem like an issue. I applied slightly different changes.
I won't update package until I have a new release, this is rather small at this time.
At the bottom of the main index page, is there a way to make the last tab I've chosen stay open when I navigate away from the index and then back to the main page? It always defaults to the first tab (Calendar in my case).
Or am I missing a setting somewhere?
It's not a feature at this time.
Okay, thanks. I'll put it on my wish list. ;D
Looks great. Thanks
@Diego Andrés
1.0.4 - 10 September 2023
- (https://camo.githubusercontent.com/2b4ab97b0305c84fe3d563f95de3f5eaa7019a88172cd590e0d0ffbb681f2cf1/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f7461672d2d70656e63696c2e706e67) (https://camo.githubusercontent.com/2b4ab97b0305c84fe3d563f95de3f5eaa7019a88172cd590e0d0ffbb681f2cf1/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f7461672d2d70656e63696c2e706e67) Theme Settings tabs now go back to the same tab after saving.
- (https://camo.githubusercontent.com/5ba14cc5b307fd7683ab0b95737b5548d492d0029f2ce6f42c7cda8cc1c90fb9/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6275672d2d6d696e75732e706e67) (https://camo.githubusercontent.com/5ba14cc5b307fd7683ab0b95737b5548d492d0029f2ce6f42c7cda8cc1c90fb9/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6275672d2d6d696e75732e706e67) Fixed minor layout issues.
Full list of changes (https://github.com/SMFTricks/Repulse/compare/v1.0.3...v1.0.4)
1.0.5 - 01 October 2023
- (https://camo.githubusercontent.com/2b4ab97b0305c84fe3d563f95de3f5eaa7019a88172cd590e0d0ffbb681f2cf1/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f7461672d2d70656e63696c2e706e67) (https://camo.githubusercontent.com/2b4ab97b0305c84fe3d563f95de3f5eaa7019a88172cd590e0d0ffbb681f2cf1/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f7461672d2d70656e63696c2e706e67) Minor layout improvements for boards layout.
- (https://camo.githubusercontent.com/2b4ab97b0305c84fe3d563f95de3f5eaa7019a88172cd590e0d0ffbb681f2cf1/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f7461672d2d70656e63696c2e706e67) (https://camo.githubusercontent.com/2b4ab97b0305c84fe3d563f95de3f5eaa7019a88172cd590e0d0ffbb681f2cf1/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f7461672d2d70656e63696c2e706e67) Theme Settings tabs minor tweaks.
Full list of changes (https://github.com/SMFTricks/Repulse/compare/v1.0.4...v1.0.5)
Hi, how do i remove the "repulse" text from the logo area. I want to use my site name text and not a logo. I cant figure out how to remove the "repulse" text. I have changed all the theme settings in admin config but it still will not remove the "repulse" text.
Thanks Dave
You'll need to edit it in the index.template.php
Themes/Repulse/index.template.php
<h1 class="forumtitle">
<a id="top" href="', $scripturl, '">', empty($context['header_logo_url_html_safe']) ? '<span class="theme-logo">' . themecustoms_icon('fa fa-bolt') . $settings['theme_name']. '</span>' : '<img src="' . $context['header_logo_url_html_safe'] . '" alt="' . $context['forum_name_html_safe'] . '">', '</a>
</h1>
<h1 class="forumtitle">
<a id="top" href="', $scripturl, '">', empty($context['header_logo_url_html_safe']) ? '<span class="theme-logo">' . $context['forum_name']. '</span>' : '<img src="' . $context['header_logo_url_html_safe'] . '" alt="' . $context['forum_name_html_safe'] . '">', '</a>
</h1>
You can also adjust the font-size in css/custom/app.css
header h1.forumtitle
Or create a new file in Themes/Repulse/css/custom/custom_edits.css
And add it there to preserve the theme files. For example:
header h1.forumtitle {
font-size: 2.2em;
}
Awesome, mod worked perfect... 1.2em was a perfect size. Thank you for the quick reply, really appreciate it. This is my first experience with SMF forum install (comming from phpbb - old days) Great support thanks again. :)
Hi, just wanted to share that i added titles to the userprofile - messages - and notifications icons in the header inside the anchor tag for each
Starting at line 214 and ending at line 242 in index.template.php
// If the user is logged in, display some things that might be useful.
if ($context['user']['is_logged'])
{
echo '
<li>
<a href="', $scripturl, '?action=profile"', !empty($context['self_profile']) || $context['current_action'] == 'unread' || $context['current_action'] == 'unreadreplies' ? ' class="active"' : '', ' id="profile_menu_top" title="User Profile">
', $context['user']['avatar']['image'], '
</a>
<div id="profile_menu" class="top_menu"></div>
</li>';
// Secondly, PMs if we're doing them
if ($context['allow_pm'])
echo '
<li>
<a href="', $scripturl, '?action=pm"', !empty($context['self_pm']) ? ' class="active"' : '', ' id="pm_menu_top" title="Messages">
', themecustoms_icon('fa fa-inbox'), !empty($context['user']['unread_messages']) ? ' <span class="amt">' . $context['user']['unread_messages'] . '</span>' : '', '
</a>
<div id="pm_menu" class="top_menu scrollable"></div>
</li>';
// Thirdly, alerts
echo '
<li>
<a href="', $scripturl, '?action=profile;area=showalerts;u=', $context['user']['id'], '"', !empty($context['self_alerts']) ? ' class="active"' : '', ' id="alerts_menu_top" title="Notifications">
', themecustoms_icon('fa fa-bell'), !empty($context['user']['alerts']) ? ' <span class="amt">' . $context['user']['alerts'] . '</span>' : '', '
</a>
<div id="alerts_menu" class="top_menu scrollable"></div>
</li>';
You might want to do it differently on your next version if you decide to add them. Just wanted to share. :)
Great theme, it caught my eye when i first loaded the themes page and i have not been disappointed. A few small changes but compared to my experience with other scripts this was a breeze to work with. I have not yet figured out how to do a review but if i figure that i will give it 5 starts.
Theme - wonderful
Support - fast and informative
Happy custom - yes
Will use other products of developer - yes
here is my current custom css file to share for others. Not very much in here which speaks wonders for the theme, :)
/* changes the title text size */
/* this is on a per case basis depending on how you want your forum to look*/
/* and if you use a image logo or not */
header h1.forumtitle {
font-size: 1.2em;
}
/* just changed the border from line to ridge */
/* looks better with ridge */
.sub_bar {
border: 1px ridge #730d0d;
}
[id^=category][id$=boards]{
border-top: 1px ridge #730d0d;
}
/* removed the cat_bar from view *
/* that annoying text that is above each category */
/* its even on the default out of the box theme - dont like it */
div.cat_bar {
display: none;
}
/* change font awesome icons to grey (default was white) *
/* grey looks better */
.fa, .fa-brands, .fa-classic, .fa-regular, .fa-sharp, .fa-solid, .fab, .far, .fas {
color: #5a5b5c;
}
FYI i did modify the text font but it is on a case by case basis i wanted it bigger and different but that is just up to you and your particular taste of your forum. But if you want the same effect i just did this. Just remember that i also did the logo edit to the core code (scroll up on this forum to see that mod from a few days ago)
.theme-logo {
font-family: "Brush Script MT", cursive;
font-size: 2.5em;
font-style: normal;
font-variant: normal;
font-weight: 700;
line-height: 2.5em;
margin-left: 0.50em;
}
Screenshot
forum_screenshot.jpg
Thank you, appreciate your comments and happy to see you like it!
You are very welcome, i toss up a screen shot too just to let others see the red style :)
Hi, oops i totally forgot about mobile side of things. I was able to fix title by doing this
@media(max-width: 45em) {
header h1.forumtitle,
.theme-logo {
font-family: "Brush Script MT", cursive;
font-size: 0.259em;
transform: scaleY(2.2);
margin-top: 0.50em;
line-height: 0.75em;
margin-left: 0;
white-space: nowrap;
}
}
However, i think i found a bug in your release, not sure. The captcha seems to be too wide on mobile.
So i tried to fix it, its working in the console emulator but not on mobile live. Can you tell me what it should be please.
My attempt is not working yet, help :)
@media(max-width: 45em) {
div#rc-anchor-container.rc-anchor-normal {
width: 13em;
}
}
pic
captchasample.jpg
Might be an SMF bug actually.
Try this:
https://dev.to/connectaryal/how-to-make-the-google-recaptcha-responsive-1fod
Perfect thanks... yep 70 works
@media(max-width: 45em) {
.g-recaptcha {
transform:scale(0.70);
transform-origin: 0 0;
}
}
I'm not seeing your screenshots, all I get is a broken image marker.
me either... hmmmmm ok ill see whats going on there
i was using dropbox and in some sections of this forum in order to post using the img bbcode i had to copy the url from the image itself on dropbox that is why the url is so long. It did show when i posted it. But i cant edit the post anymore. But i see the drag and drop so i must have used that here... not sure yet it was late when i did those.
If i figure out why, maybe a moderator can replace the url for me on those posts.
ill be back..
I may have an answer here, i wonder if when i uploaded the image i used the dropbox dir on my pc rather than the actual image file. hmmmm ...
Question: how do i get a moderator to help me posting the right images, just find one and message them ?
You can report the post with the info you want to change, or add the new info/changes to a new post and we later delete it.
Ok thanks i will do that....
New topic..
I did add a welcome back code to the theme template
index.template.php on or about line 232
// If the user is logged in, display some things that might be useful.
if ($context['user']['is_logged'])
{
//dave mod for welcome username
echo '<li class="welcome_back">Welcome Back ['. $context['user']['name']. ']</li>';
//end dave mod
and css - default is white anyway but just in case
not sure if it looks better in white or black, i guess maybe white because the other stuff on the line is grey. Not sure..
li.welcome_back {
color: #ffffff;
}
pic..
welcomeback.jpg
Thoughts if any ?
Quote from: durangod on December 13, 2023, 04:03:42 PMThoughts if any ?
White is probably fine since on dark or light it keeps the topbar colored. Though with some colors it definitely rules out having the text black.
Added a logout button to the second menu above the logo this one i struggled with the css for over an hour.. whewwww...
php right after the close foreach context
//dont forget to add $scripturl to the global line in the template_menu function
</ul>';
}//close if 2nd level
echo '
</li>';
}//close foreach context
//mod by dave to add logout button above logo
// If the user is logged in display the logout button
if ($context['user']['is_logged'])
{
echo '<li></li>
<li class="top_logout">
<a href="', $scripturl, '?action=logout;', $context['session_var'], '=', $context['session_id'], '"><i class="fa fa-logout"></i>Logout</a>
</li>';
}//close if logged in
//close mod by dave logout button
echo '
</ul>
</div>
</div>
</div>
</div>
</nav><!-- .menu_nav -->';
}//close function template_menu
css
nav#main_nav ul.menu_nav li.top_logout {
position: absolute;
right: 1em;
}
pic
top_logout_button.jpg
You can do this easier:
Repulse/themecustoms/Init.php
public static $_likes_quickbutton = false;
public static $_likes_quickbutton = false;
public static $_settings = [
'login_main_menu' => true,
];
That'll add both buttons to the main menu.
If you're using the 'community button' setting, you'll want to add those actions to the exclude setting.
I'll probably add a new setting in the next release to make it easier to toggle.
Thanks appreciate it... i am old school (like before the web, before email) , i really dont understand these new framwork environments. I figured it would be a breeze for you to do but i had no clue.... im learning slowly.... :)
No worries, it seems like I just keep adding settings to them :laugh:
Thank you for taking the time to create this theme! Love the Theme. Very Unique to most! But i face an issue. Board/Topics are not showing up. No text nothing just a icon and Cat Div. I prefer this over other themes. If you could point me in correct direction to attempt to fix this i can try :D I'm pretty new to SMF.
(https://cdn.discordapp.com/attachments/1183274332919693452/1185150207965528106/image.png?ex=658e9024&is=657c1b24&hm=308839ace66eaff5b21d5c5994d3f90352ccdf37fe1707cc68c10446533623c5&)
Hi, have you checked the user and topic permisions to be sure the topic is viewable. Also make sure you actually have a topic, cats with topics dont usually show up.
I cant really tell by the image, is that from the admin login view?
I do have a topic, a few boards. And permissions are set to guest viewable. When i set theme to Default Everything reappears. I am logged into Admin. Would that cause that tho? I wouldnt think it would hide the topics or boards like that. I dont know tho, i am new.
Image is of Default theme set to all users.(https://cdn.discordapp.com/attachments/1150149488430813234/1185164542985109565/image.png?ex=658e9d7e&is=657c287e&hm=9dc5a5a983098bd7c52ce0aab6bf531f6a993e2710a29406f7663459020686f9&)
Ok good info thanks for sharing. I wanted to know if you were looking at it as admin because admin should not be blocked from anything, so i wanted to make sure.
Diego is really good about replying here quickly. I will noodle over this and see if i can think of a reason why. But in any case he should be along soon to help you, he is a really good developer.
Is that your domain name, if not do you want to share your domain name in a PM and i can tell you what i see.
Oh, that makes sense, Tho being admin didnt help :D
Oh Well More the marrier. I dont mind waiting for replies, lol isn't that what forums are for.
as for domain. the first link i sent was my domain yes. But just incase https://forum.yifftech.org
Need the Traffic anyways :laugh:
Edit: I had thought i sent a link. my bad!
Ok, i see you have a actuall add on domain with qualified dns ie forum.example.com
However i am thinking that if that was a problem with that, the site would not load...
I have never seen a forum load but not show topics.... interesting... as long as the default settings are there and all you did was load the template then it should show.. because it shows with default loaded... hmmmm
did you check the error logs? via admin and on the server as well it should be a file named error_log in the root domain
Also just so you know.... if you just post example.com it wont show up as a link in the text, just leave out http and www so you dont have to put the hxxt either :)
hey i found something, click on that image you see where the topic should be... the topic shows up Something is going on with that image... remove it and see if it works then...
I havent checked the Error log in Files. Nothing pops on the logs in SMF. So Idk, Ill take a look at Log in files, maybe it will give a clue.
That Paw i assume your speaking of. Its the Custom Board Icons thingy. I Uninstalled it thinking the same. but nothing seems to work.
It seems to auto redirect to Unread Topics, I have no idea why, nor can i locate the setting to stop it :laugh:
i was testing my social login link thingy. Created a new "member" account. And it shows same. I changed to light theme to show that no text is being displayed(https://cdn.discordapp.com/attachments/1183274332919693452/1185182249348513882/image.png?ex=658eadfb&is=657c38fb&hm=6bbc73cfd72326aa251c561c1f18ecedf61eb3692c5ea94593d112878b77b68b&)
i think it might url related. try forum.yifftech.org/general vs forum.yifftech.org/index.php#c1
/general loads, but /index.php#c1 doesnt
Yeah that shows up fine... you may have to do a 301 perm redirect via your panel unless you know how to code one in your domain htaccess file by hand.
That is one reason i never liked official addon domains with dns they are kind of funky to deal with. When i add on a domain i just make a folder for it and done.. so that it is example.com/forum and not forum.example.com
Im sure that full dns add on domains are easy for those that do them all the time, but i never did them all the time...
But yeah i think we are on to something here. I need some sleep so ill check back in a few hours to see if anyone helped you :)
I can code, just not well lol. Still learning. But Ive played with htaccess before. So thats not to much an idea.
Yea, i would have done that but I have Concrete CMS on the main domain, Tried but Addon. And it just died everytime. No idea why.
Its possible. Hope you get some well rested sleep =3 Hopefully ill hear from Diego in a while or anyone lol.
Thank you for attempting to point me in the right direction! :D
Do you have any mods installed?
Any errors in your log?
I have a few mods installed. I've uninstalled all of them to test if it was any of them, didn't change anything.
I Get a Discord Whos Online Error, Tho i dont think that would cause what is going on. other then that no errors via SMF Error log.
I'm honestly baffled. Never encountered a bug like this. tho I just found some possible error lines at the bottom for the theme. I didnt really take long to look. I attached the Error log i found in root domain.
Durango, there are several better ways to add menu items rather than hacking the template like that... especially because your hack ONLY affects the one theme. If you offer multiple themes, or change the theme later, your hack won't affect the other theme.
I think i found the root of the issue. idk
#0 /home/username/public_html/.subdomain/forum.yifftech.org/Themes/Repulse_v1.0.5/themecustoms/templates/board.template.php(24): template_bi_cbi_icon(Array)
#1 /home/username/public_html/.subdomain/forum.yifftech.org/Themes/Repulse_v1.0.5/BoardIndex.template.php(104): themecustoms_board_icon(Array)
#2 /home/username/public_html/.subdomain/forum.yifftech.org/Sources/Load.php(2778): template_main()
#3 /home/username/public_html/.subdomain/forum.yifftech.org/Sources/Subs.php(4183): loadSubTemplate('main')
#4 /home/username/public_html/.subdomain/forum.yifftech.org/index.php(199): obExit(NULL, true, true)
#5 {main}
thrown in /home/username/public_html/.subdomain/forum.yifftech.org/Sources/Subs-CBI.php on line 151
[14-Dec-2023 07:09:16 America/New_York] PHP Fatal error: Uncaught Error: Call to undefined function template_bi_board_icon() in /home/username/public_html/.subdomain/forum.yifftech.org/Sources/Subs-CBI.php:151
Yes it's the CBI mod then.
It's not properly supported at this time from this theme, I will see if I can improve that this weekend.
Custom Board Icons? That was the first one i uninstalled in my test. hmm Alright, Still slightly baffling. Though Root Cause was found.
If i knew this code base as well as i knew C# then i could prob fix it myself. In due time lol, I found SMF like 2 days ago, very new to it still. :laugh:
Uninstalled, clear cache, etc. Seems to show text again. Tho Im unsure what is with the icons. Is this normal?(https://cdn.discordapp.com/attachments/1183274332919693452/1185233110204420196/image.png?ex=658edd5a&is=657c685a&hm=9e5ee88c25fba9858ec50132b0466eee395285bd78dcd53ede3d5ca4bfce32a7&)
Not normal unless you edited it, try disabling minimization of files in the forum settings and enabling it again.
It's located in features and options section.
Quote from: unstablekitsune on December 15, 2023, 09:51:16 AMCustom Board Icons? That was the first one i uninstalled in my test. hmm Alright, Still slightly baffling. Though Root Cause was found.
If i knew this code base as well as i knew C# then i could prob fix it myself. In due time lol, I found SMF like 2 days ago, very new to it still. :laugh:
Have fun :laugh:
There aren't many mods changing boards things or layout so there are definitely things I can improve in the theme to ensure compatibility.
Quote from: Diego Andrés on December 15, 2023, 10:01:38 AMHave fun :laugh:
There aren't many mods changing boards things or layout so there are definitely things I can improve in the theme to ensure compatibility.
from what i can tell, its similar to concrete cms. idk, need to read more guide lol.
So im Unable to locate Minimization of files under Features - Options. And i haven't touched any files outside of Admin UI, I draw bugs to me, so i like to stay out of code if possible lol. Kinda why it took so long to reply. is it suppose to be @ Admin > Features and Options > General?
It has a slightly different name: Minimize CSS and JavaScript files.
Hope it helps, otherwise might need to investigate what happened.
Thank you, I was blind looking for the wrong word.
Found it, I Disabled it & Saved, Then Cleared Cache(just because i guess), & I Reenabled it & Saved.
Sadly it didn't fix the icon issue. No idea what's that about. Ill see if i can track it down with some of my coding tools. Maybe ill get lucky.
Either way, You did fix the main issue! And i Greatly Thank you for the guidance through this. :D
Quote from: Kindred on December 15, 2023, 09:24:17 AMDurango, there are several better ways to add menu items rather than hacking the template like that... especially because your hack ONLY affects the one theme. If you offer multiple themes, or change the theme later, your hack won't affect the other theme.
Are there any resource links you can share to help teach me how to do that? I do plan on sticking with just one theme and not offereing any more.
Quote from: unstablekitsune on December 15, 2023, 10:35:34 AMSadly it didn't fix the icon issue. No idea what's that about. Ill see if i can track it down with some of my coding tools. Maybe ill get lucky.
Either way, You did fix the main issue! And i Greatly Thank you for the guidance through this. :D
If you have a link to see it online, I could also give it a try to help you find the issue.
Diego here is his link forum.yifftech.org
Looks like it's caused by FA Board icons MOD?
Could fix it with this
Quote from: Diego Andrés on August 05, 2023, 06:04:00 PMAdd to Repulse/css/custom/custom_edits.css (if it doesn't exist, create one).
.boardindex_table div.up_contain:not(.b_board, .b_redirect) .board_icon a::before { display:none;}
Quote from: Diego Andrés on December 15, 2023, 12:34:20 PMLooks like it's caused by FA Board icons MOD?
Sorry for late reply, Got lost in QR Codes lol. I uninstalled FA Board Icons, Well It fixed it!
I don't understand how, as i started with board altering mods first on my uninstall test. 0.o weird.
Either Way Thank you so much everyone for the help with that =3. So much appreciation for everything!!! Can't Thank you all Enough =3
Quote from: durangod on December 15, 2023, 11:17:07 AMQuote from: Kindred on December 15, 2023, 09:24:17 AMDurango, there are several better ways to add menu items rather than hacking the template like that... especially because your hack ONLY affects the one theme. If you offer multiple themes, or change the theme later, your hack won't affect the other theme.
Are there any resource links you can share to help teach me how to do that? I do plan on sticking with just one theme and not offereing any more.
that's fine for you.... but you keep posting code edits which could confuse or screw up someone who did it and didn't have the same needs.
https://wiki.simplemachines.org/smf/Buttons_-_How_do_I_add_buttons_to_SMF_2.0
and regarding the login/logout button, Diego listed a better way
https://www.simplemachines.org/community/index.php?msg=4165367
Quote from: Kindred on December 15, 2023, 01:31:41 PMQuote from: durangod on December 15, 2023, 11:17:07 AMQuote from: Kindred on December 15, 2023, 09:24:17 AMDurango, there are several better ways to add menu items rather than hacking the template like that... especially because your hack ONLY affects the one theme. If you offer multiple themes, or change the theme later, your hack won't affect the other theme.
Are there any resource links you can share to help teach me how to do that? I do plan on sticking with just one theme and not offereing any more.
that's fine for you.... but you keep posting code edits which could confuse or screw up someone who did it and didn't have the same needs.
https://wiki.simplemachines.org/smf/Buttons_-_How_do_I_add_buttons_to_SMF_2.0
and regarding the login/logout button, Diego listed a better way
https://www.simplemachines.org/community/index.php?msg=4165367
I agree however that is why i made sure to fully explain what i was doing and why including pictures showing the result. I understand there are those that just edit things they see posted by someone else without any regard for what they are doing and then ask for help fixing it because they edited something that did not work for them or their needs. I hope those are few and far between but those people would mess up anything its just a matter of time so what i did would not matter they would mess it up anyway.
Gladly most people that edit are experiences admins that know what they are doing and can do it understanding the risk.
So yes if there is a better way i will do it eventually and diego has been great about his support. Actually everyone has even the one they call "the mean one" hee hee :)
Thanks :)
But you have to admit, my mods look gooooood :) lol
selfmods.jpg
Quote from: unstablekitsune on December 15, 2023, 01:26:16 PMEither Way Thank you so much everyone for the help with that =3. So much appreciation for everything!!! Can't Thank you all Enough =3
No worries, I'll see what I can do to improve the compatibility with such MODs.
And I'll also make the menu thing a setting!
Quote from: durangod on December 14, 2023, 12:38:26 AMnav#main_nav ul.menu_nav li.top_logout {
position: absolute;
right: 1em;
}
You probably need to add position: relative; to the menu_nav, to prevent this item you added from escaping the area you expect it to be.
nav#main_nav ul.menu_nav {
position: relative;
}
If you resize your screen, you might see the difference.
Good eye, Good call Diego. thanks :)
Diego i added the logout button as you said in that earlier post. i remove my other mod and the css
thanks works great... :)
Quote from: Diego Andrés on December 15, 2023, 02:53:21 PMNo worries, I'll see what I can do to improve the compatibility with such MODs.
And I'll also make the menu thing a setting!
Both are done.
New package will be released early next week.
Thank you very much Diego, more appreciated that i can say here.. It means alot. :]
One last thing, can i move the logout button to the far right. I would like users to see it as a seperate element and not part of the menu even though it is part of the menu. I would just like it to be by itself..
Possible? I am not as experience in using flex as you are and i tried but it wont move.
Your css would still work for that, it would just need to change the class used in the selector, and of course remove the index.template edit you used since the button would already be there.
1.1.0 - 18 December 2023
- (https://camo.githubusercontent.com/dabbb7cab40c66b82cb563365d644a1f098f665bf28cef0616f69a1a0f25084e/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f7461672d2d706c75732e706e67) (https://camo.githubusercontent.com/dabbb7cab40c66b82cb563365d644a1f098f665bf28cef0616f69a1a0f25084e/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f7461672d2d706c75732e706e67) Added new menu setting to enable logout, login and signout buttons.
- (https://camo.githubusercontent.com/5ba14cc5b307fd7683ab0b95737b5548d492d0029f2ce6f42c7cda8cc1c90fb9/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6275672d2d6d696e75732e706e67) (https://camo.githubusercontent.com/5ba14cc5b307fd7683ab0b95737b5548d492d0029f2ce6f42c7cda8cc1c90fb9/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6275672d2d6d696e75732e706e67) Fixed layout issues.
- (https://camo.githubusercontent.com/2b4ab97b0305c84fe3d563f95de3f5eaa7019a88172cd590e0d0ffbb681f2cf1/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f7461672d2d70656e63696c2e706e67) (https://camo.githubusercontent.com/2b4ab97b0305c84fe3d563f95de3f5eaa7019a88172cd590e0d0ffbb681f2cf1/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f7461672d2d70656e63696c2e706e67) Improved board layout compatibility.
- (https://camo.githubusercontent.com/33b5ae016b1a4c742049dc443886d242b5129207264c7d76586052d316646876/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6c616e67756167652e706e67) (https://camo.githubusercontent.com/33b5ae016b1a4c742049dc443886d242b5129207264c7d76586052d316646876/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6c616e67756167652e706e67) Turkish translation.
- (https://camo.githubusercontent.com/33b5ae016b1a4c742049dc443886d242b5129207264c7d76586052d316646876/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6c616e67756167652e706e67) (https://camo.githubusercontent.com/33b5ae016b1a4c742049dc443886d242b5129207264c7d76586052d316646876/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6c616e67756167652e706e67) Dutch translation.
Full list of changes (https://github.com/SMFTricks/Repulse/compare/v1.0.5...v1.1)
Update went flawless, great job... no issues and running great!
I was going to add this to the previous post but i missed the edit deadline :(
Anyway if someone wants to add a icon with a link that goes directly to their rules page (this may allow registrants to view it quicker than trying to find it in the forum) in the top head section with the other icons here is how you can do it. '
I did it this way because its such a special custom code needed to do it.
First go to your board rules topic page and copy the url, it will look something like this
//yours is going to be different because the topic id is going to be different
//so this example shows topic,4.0.html that is my rules topic
//if you look close you will see that after the word topic there is a comma (,)
//dont forget that if you edit that url
https://example.com/index.php/topic,4.0.html
next inside of the this theme index.template.php about line #271 (original theme no other edits)
you will see this code
// Add the mode selector
template_theme_darkmode();
// And now we're done.
echo '
</ul>';
right after that echo ' and before the </ul>'; is where this code goes
be sure to use your rules page url starting with https://
<li>
<a href="your rules page url goes here"><i class="fa-solid fa-scale-balanced" title="Rules"></i></a>
</li>
so to show you the whole section it should look like this
// And now we're done.
//dave mod added rules icon and link to top header
//this echo is original code - leave it
echo '
<li>
<a href="https://example.com/index.php/topic,x.x.html"><i class="fa-solid fa-scale-balanced" title="Rules"></i></a>
</li>
</ul>'; //this close ul is original code - leave it
//end dave mod
no custom css required.... hope that helps...
here is how it looks
rulesicon_mod.jpg
Here is a new message icon if you ever wanted to use it. Just thought i would share just in case someday you want it.. :)
messages_icon.png
and here is the photoshop file
messages_icon.psd
and here is what it looks like
Are you actually using those silly .html extensions? I think that's a mistake.
Those are legacy from 15 years ago
Are you talking about using png rather than sprites or SVG... yes because its only a few icons and the load time wont suffer. Besides i too am legacy... are you trying to say im old... well you are correct lol hee hee
15 years isnt that about the same time that SMF came out with its last major update hee hee :) (thats the word on the street so i hear)
No, i mean the ancient "sef" checkbox that adds .html to your URLs-- leftover from when search engines couldn't deal with dynamic URLs
Quote from: Kindred on December 21, 2023, 06:54:15 PM"sef" checkbox
Maybe i am brain dead for the day but i have no idea what they is. Can you point it out to me please.
Quotehttps://example.com/index.php/topic,4.0.html
Or was that something the was there that you just quoted...
Quote from: Kindred on December 21, 2023, 07:54:02 PMQuotehttps://example.com/index.php/topic,4.0.html
Or was that something the was there that you just quoted...
i just quoted it , that was the format of the url that showed
Yes, Kindred is referring to this option: Search engine friendly URLs. It's not really recommended or useful anymore.
Quote from: Diego Andrés on December 21, 2023, 09:19:34 PMYes, Kindred is referring to this option: Search engine friendly URLs. It's not really recommended or useful anymore.
Have never used those and never got into them when they were popular, no wonder i had no clue what it was lol
I did not even know i had that turned on in my admin area, i disabled it.
Hi,
Are you aware of anything that changing these values might break in your theme of SMF?
Dont go researching i just thought you might know something off the top of your head, i dont want you to have to go testing this.. If something does happen i will let you know.
I had to change these to auto because i coded a GDPR banner and the editor and tool bar where indexing above the toolbar. I tried just changing the z-index on the tool bar but the editor still took over. Its not the first time i have had a editor do this, i had the same issue with tinymce awhile back.
I really hate to use important but nothing else worked.
/* this is to keep the editor from displaying above the GDPR banner */
.sceditor-container,
.sceditor-container div,
div.sceditor-dropdown,
div.sceditor-dropdown div {
z-index: auto !important;
}
div.sceditor-container:not(.sceditor-maximize) {
z-index: auto;
}
You should probably change the values of the other thing instead.
Quote from: Diego Andrés on December 22, 2023, 07:53:55 AMYou should probably change the values of the other thing instead.
I did and it worked for everything other than the editor, thats not surprising, its a common thing with editors wanting to take over everything.
This was an issue in the past for the default theme because on mobile the menus would be under the editor, you'll have to verify it.
will do... do you show a home button on your version ,
i mean on mobile
No, default menu.
Ok thanks, my mobile version shows logout, search, members there is no way for me to get back to home unless i add the url back to the logo... or pushing the back arrow
so you have the full menu on your mobile... i am trying to figure out if i messed up or not lol
Regarding the z-index auto, i see no issues on mobile for that so far,
Well it's supposed to be there, nothing changed in the theme.
It does have an option to remove buttons but you would've had to add them yourself in the setting.
Ok thanks, that means somewhere i messed up, because its not there.... thanks for checking.... ill go find out where i messed up :)
Yep i messed up, the home link was there but because of my css change the logout button was on top of it hiding it. Glad that is resolved :) Thanks for being understanding :)
See here :)
https://www.simplemachines.org/community/index.php?topic=587868.0
Done :)
/* this changes the color of the LOADING banner background and text color for page loading */
#ajax_in_progress {
background: #340909;
color: #ffffff;
border-bottom: 4px solid #730d0d;
}
Will have a look next week.
Quote from: durangod on December 27, 2023, 09:20:19 PMSee here :)
https://www.simplemachines.org/community/index.php?topic=587868.0
Done :)
/* this changes the color of the LOADING banner background and text color for page loading */
#ajax_in_progress {
background: #340909;
color: #ffffff;
border-bottom: 4px solid #730d0d;
}
Busy month. I've just added this.
Included in latest release, but not mentioned.
1.1.1 - 08 February 2024
- (https://camo.githubusercontent.com/e77f40facddb324ba922a56fccaaf2295baa5580bb07afe716713277d3ea1709/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6c616e67756167652e706e67) (https://camo.githubusercontent.com/e77f40facddb324ba922a56fccaaf2295baa5580bb07afe716713277d3ea1709/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6c616e67756167652e706e67) Updated translations.
I've started testing and adjusting this theme. It's my favourite as far as SMF 2.1 is concerned.
However, I have a few issues to discuss.
The first one is only the idea :)
1. Is it possible to have a different logo for light and different for dark version?
I guess most forums have a graphic logo which is difficult to adjust for both light and dark themes at the same time. It would be nice to have this option that logo changes when you switch to a different version of the forum - light/dark.
There rest are some issues with reponsiveness of this theme. I checked them on my mobile and with Google Chrome on PC so I guess they are global.
1. I don't know why but when a user has an image in signature something crashes a layout of the forum.
https://i.imgur.com/BXC1HnT.png
2. In the list of topics I have something like this. I don't know if it's the matter of the theme or Polish translation but it would be great to have it in one straight line.
https://i.imgur.com/yeonABo.png
3. I think there is a problem with your board icons too or the mod "smf fa board icons". On PC, mobile it's great but on TV where we have a huge resolution despite using the mod with different icons, there are still present the default circles. I know that noone is using a forum on TV but I wanted to check how this theme works on it.
I used this code from your previous hint, that's why the circles are full inside but without it the situation is the same but with empty circles inside.
.boardindex_table div.up_contain:not(.b_board, .b_redirect) .board_icon a::before { display:none;}
4. Finally it's not a problem but what does this icon stand for and how can I get rid of it?
https://i.imgur.com/7dYYtQE.png
Thanks for any help :)
Hello.
Quote from: bod22 on February 16, 2024, 10:38:19 AM1. Is it possible to have a different logo for light and different for dark version?
I guess most forums have a graphic logo which is difficult to adjust for both light and dark themes at the same time. It would be nice to have this option that logo changes when you switch to a different version of the forum - light/dark.
Yes but only changing the image manually.
For instance, you'd need to add the image as a background image for a new div or container, and possibly define the path in a new CSS variable, and then change the value for dark.css
So if you don't mind having to manually replace your logo every now and then, I could provide you some code for this.
Quote from: bod22 on February 16, 2024, 10:38:19 AM1. I don't know why but when a user has an image in signature something crashes a layout of the forum.
https://i.imgur.com/BXC1HnT.png
I might've seen this issue on the default theme too... I'll look into it.
Quote from: bod22 on February 16, 2024, 10:38:19 AM3. I think there is a problem with your board icons too or the mod "smf fa board icons". On PC, mobile it's great but on TV where we have a huge resolution despite using the mod with different icons, there are still present the default circles. I know that noone is using a forum on TV but I wanted to check how this theme works on it.
I used this code from your previous hint, that's why the circles are full inside but without it the situation is the same but with empty circles inside.
.boardindex_table div.up_contain:not(.b_board, .b_redirect) .board_icon a::before { display:none;}
This might not work anymore as I updated the theme, not sure if you updated it too recently? I'll have a look later and let you know if the CSS rule needs to be changed.
Quote from: bod22 on February 16, 2024, 10:38:19 AM4. Finally it's not a problem but what does this icon stand for and how can I get rid of it?
https://i.imgur.com/7dYYtQE.png
This is part of the legend icons that appear below the topics list. That specific icon means the user has previously participated in the topic.
Do you want to remove all of those hints?
Quote from: Diego Andrés on February 16, 2024, 10:54:04 AMYes but only changing the image manually.
For instance, you'd need to add the image as a background image for a new div or container, and possibly define the path in a new CSS variable, and then change the value for dark.css
So if you don't mind having to manually replace your logo every now and then, I could provide you some code for this.
Great, it would be nice. I think I'll manage to do it manually on my own.
Quote from: Diego Andrés on February 16, 2024, 10:54:04 AMI might've seen this issue on the default theme too... I'll look into it.
Thank you.
Quote from: Diego Andrés on February 16, 2024, 10:54:04 AMThis might not work anymore as I updated the theme, not sure if you updated it too recently? I'll have a look later and let you know if the CSS rule needs to be changed.
I use the last version 1.1.1 and as I said I noticed it only when showing on TV.
Quote from: Diego Andrés on February 16, 2024, 10:54:04 AMThis is part of the legend icons that appear below the topics list. That specific icon means the user has previously participated in the topic.
Yes, I'd like to get rid of this icon. To to be precise the one in a circle.
(https://i.imgur.com/eZQdgA4.png)
And what about number 2?
"2. In the list of topics I have something like this. I don't know if it's the matter of the theme or Polish translation but it would be great to have it in one straight line.
(https://i.imgur.com/yeonABo.png)
The icon in your red circle can be gotten rid of this way:
Make copy of MessageIndex.template.php from Default theme (If Repulse doesn't already have one.):
Delete:
', $topic['is_posted_in'] ? '<span class="main_icons profile_sm"></span>' : '', '
Quote from: bod22 on February 16, 2024, 10:38:19 AM1. I don't know why but when a user has an image in signature something crashes a layout of the forum.
https://i.imgur.com/BXC1HnT.png (https://i.imgur.com/BXC1HnT.png)
Can't reproduce, what's the signature content?
Quote from: bod22 on February 16, 2024, 01:55:34 PMI use the last version 1.1.1 and as I said I noticed it only when showing on TV.
I just tested this but I'm not sure what are the changes you made, are you using a MOD or what exactly did you change to add your icon?
Dos it work if you change the CSS to this?
.boardindex_table div.up_contain .board_icon a::before { display:none;}
Quote from: Steve on February 16, 2024, 05:37:05 PMThe icon in your red circle can be gotten rid of this way:
Make copy of MessageIndex.template.php from Default theme (If Repulse doesn't already have one.):
Delete:
', $topic['is_posted_in'] ? '<span class="main_icons profile_sm"></span>' : '', '
Works perfectly. Thanks.
Quote from: Diego Andrés on February 16, 2024, 07:18:46 PMCan't reproduce, what's the signature content?
These are usually some images with different profiles. Here the example.
[URL=http://psnprofiles.com/G-R-Z-E-C-H][img width=338 height=100]http://card.psnprofiles.com/1/G-R-Z-E-C-H.png[/img][/URL]
Perhaps the problem is not with the theme but these set dimensions of images? I should edit them manually?
Quote from: Diego Andrés on February 16, 2024, 07:18:46 PMI just tested this but I'm not sure what are the changes you made, are you using a MOD or what exactly did you change to add your icon?
Dos it work if you change the CSS to this?
I used FA Board Icons. Now it works great with your code. Thanks.
1.1.2 - 19 February 2024
- (https://camo.githubusercontent.com/7105233284f12b43575ce677d04770202bc59b3e8c82040bd9b2ae76d045ccae/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6275672d2d6d696e75732e706e67) (https://camo.githubusercontent.com/7105233284f12b43575ce677d04770202bc59b3e8c82040bd9b2ae76d045ccae/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6275672d2d6d696e75732e706e67) Fixed last poster layout issue.
- (https://camo.githubusercontent.com/7105233284f12b43575ce677d04770202bc59b3e8c82040bd9b2ae76d045ccae/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6275672d2d6d696e75732e706e67) (https://camo.githubusercontent.com/7105233284f12b43575ce677d04770202bc59b3e8c82040bd9b2ae76d045ccae/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6275672d2d6d696e75732e706e67) Fixed issues with dark mode or color variants when forum is closed to guests or in maintenance.
Full Changelog: v1.1.1...v1.1.2 (https://github.com/SMFTricks/Repulse/compare/v1.1.1...v1.1.2)
Is it OK that while zooming site avatars overlap the space with messages counter?
(https://i.imgur.com/PECw3r8.png)
You can check it in 110% view, 120% view etc.
Zooming screws up all sorts of layouts
1.2 - 30 June 2024
- (https://camo.githubusercontent.com/fbfc68987b8b78efac4529f002f4c3def955bd6e1a4af301721b0df48568896e/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f7461672d2d706c75732e706e67) (https://camo.githubusercontent.com/fbfc68987b8b78efac4529f002f4c3def955bd6e1a4af301721b0df48568896e/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f7461672d2d706c75732e706e67) Changed the memberlist layout.
- (https://camo.githubusercontent.com/7105233284f12b43575ce677d04770202bc59b3e8c82040bd9b2ae76d045ccae/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6275672d2d6d696e75732e706e67) (https://camo.githubusercontent.com/7105233284f12b43575ce677d04770202bc59b3e8c82040bd9b2ae76d045ccae/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6275672d2d6d696e75732e706e67) Fixed not loading font locally when set in the settings.
- (https://camo.githubusercontent.com/d67bffe1a5f2e4fc46cd52a5f626082e625548a02e20135afb234dfe3c26c762/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f7461672d2d70656e63696c2e706e67) (https://camo.githubusercontent.com/d67bffe1a5f2e4fc46cd52a5f626082e625548a02e20135afb234dfe3c26c762/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f7461672d2d70656e63696c2e706e67) Replaced 'Auto' color mode with 'System'.
- (https://camo.githubusercontent.com/d67bffe1a5f2e4fc46cd52a5f626082e625548a02e20135afb234dfe3c26c762/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f7461672d2d70656e63696c2e706e67) (https://camo.githubusercontent.com/d67bffe1a5f2e4fc46cd52a5f626082e625548a02e20135afb234dfe3c26c762/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f7461672d2d70656e63696c2e706e67) Code improvements for 'Theme Customs'
Full Changelog: v1.1.2...v1.2 (https://github.com/SMFTricks/Repulse/compare/v1.1.2...v1.2)
Due to the outrageous size of the fonts folder, I've included an additional package suffixed '_nofonts' for those that don't want them (why wouldn't you though). This is because the limitation in uploads sometimes is around 2MB. My recommendation is to give it a try and hope there is no timeout, or upload via FTP with the fonts.
Note: The update is essentially improvements to the code. You can take your time updating, no need to do it right away as there were many changes. As always, remember that the /themecustoms folder can be replaced in it's entirety.
Most files can be certainly replaced without issue if you didn't edit them or no MODs affected them. Only observations for those interested:
- The data-attributes for variants and dark mode changed:
- data-themecolor is now data-variant
- data-colormode is now data-mode (and now you need to use both :root[data-mode="dark"] and :root[data-mode="system"] to target dark styles.
Start out by saying thanks for the clean modern theme! Fresh install with no edits and PHP 8.2. The menu background is missing on windows chrome but is there for android chrome. The theme color does not save. Saves for drop down but not for preview or live site. Wasn't sure if this is a bug in new update. Your demo site looks fine. Thanks again for the great theme!
I will check the menu issue you have later today.
For the variant selection, did you have any visible error or issue? I will add to this, as an admin you're always allowed to change your variant, at least that's what I remember doing.
Did you check your profile to make sure it matches your selection? Keep in mind that if you used the URL directly without JS, it will keep that color selected in your session for longer.
Hello , always when i activate this Theme i got this
Parse error: syntax error, unexpected 'object' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /srv/users/webserver/apps/webserver/public/tests/smf_21/Themes/Repulse_v1.2/themecustoms/Theme/Integration.php on line 20
no mods or something else installed
Quote from: erkman77 on August 09, 2024, 10:18:04 AMHello , always when i activate this Theme i got this
Parse error: syntax error, unexpected 'object' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /srv/users/webserver/apps/webserver/public/tests/smf_21/Themes/Repulse_v1.2/themecustoms/Theme/Integration.php on line 20
no mods or something else installed
You need at least PHP 8.0 to use the theme.
oh, thanks
Quote from: Diego Andrés on August 09, 2024, 08:37:25 AMI will check the menu issue you have later today.
For the variant selection, did you have any visible error or issue? I will add to this, as an admin you're always allowed to change your variant, at least that's what I remember doing.
Did you check your profile to make sure it matches your selection? Keep in mind that if you used the URL directly without JS, it will keep that color selected in your session for longer.
Thanks for the reply. Hope this isnt to confusing!
With Default theme variant in admin setting saved as yellow, yellow never shows anywhere until user does it in profile or color changer (saves here per #7).
Wouldn't Default theme variant in theme settings/color settings be the color a non registered and registered user would start on by default until they change it with color changer or settings in profile? They see light blue no matter what.
If I clear all history, forum always goes back to light blue when logged out.
------------
Placed this in forum root index.php to display errors in php on fly. No error in entire process.
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
1 - Cleared All history, ALL Checked in Brave, Chrome and Edge. (Clear Everything)
2 - Logged in admin with Brave. Changed Theme Settings/Color Settings/Default theme variant to Yellow and save. Everything still default light blue other than drop down says yellow.
3 - Log out with brave and refresh. Brave still shows default light blue. Clean Chrome and Edge also light blue.
4 - Registered new user with Chrome and logged in still default light blue.
5 - With Brave admin and Chrome New User profile look and layout Select Color Variant both say default.
6 - With Brave admin and Chrome New User profile look and layout Select Color Variant change to dark blue. Everything now dark blue on both. (Setting worked in profile and clolor chooser in header).
7 - Logout on both, both back to defulat light blue. Loaded Edge and was light blue. Logged in new user and it changed to dark blue at per setting in profile set with Chrome.
------------
Thanks for your help!
Okay, there are indeed some silly bugs I left in the code and are causing issues.
In additon, I'm always as confused as the users by this functionality because I always forget to mention the member options.
Essentially this will be the new description for the default variant setting:
If the user selection is disabled, this will be the default and locked mode. Admins can still change their preference.
This does not affect the default values for the users, for that you can use the Member Options section.
I will be releasing a new package shortly, addressing the issues.
Thanks for the update on the menu. Will be waiting for the update. I still might be confused on color change. Its not that big of deal anyhow. Default light blue works. Thanks again!
Log in as admin and set Default theme variant: Default and Disable user variant selection: Checked. Log out and theme is default light blue as it should.
Log in as admin and set Default theme variant: Yellow and Disable user variant selection: Checked. Log out and theme is default light blue not yellow like I would think. Now error below is logging. If I uncheck Disable user variant selection: the error goes away.
/Themes/Repulse_v1.2/themecustoms/Color/Variants.php (Line 56)
Undefined array key "default_variant"
With Default theme variant: Yellow and Disable user variant selection: Checked the user would only be able to see the default light blue never yellow.
Extra edit:
Default theme variant: Yellow and Disable user variant selection: Checked.
Configure guest and new user options for this theme: Changed to yellow.
Change current options for all members using this theme: Changed to yellow.
After logout stayed yellow but changed to light background. Alot going on with background and colors. Like I said no biggie can work around. Just adding some info. Thanks again!
Quote from: robrahn123 on August 09, 2024, 05:10:52 AMStart out by saying thanks for the clean modern theme! Fresh install with no edits and PHP 8.2. The menu background is missing on windows chrome but is there for android chrome.
Can't reproduce this issue, it's not supposed to have any background in the menu.
1.2.1 - 10 August 2024
- (https://camo.githubusercontent.com/d67bffe1a5f2e4fc46cd52a5f626082e625548a02e20135afb234dfe3c26c762/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f7461672d2d70656e63696c2e706e67) (https://camo.githubusercontent.com/d67bffe1a5f2e4fc46cd52a5f626082e625548a02e20135afb234dfe3c26c762/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f7461672d2d70656e63696c2e706e67) HTML attributes definition.
- (https://camo.githubusercontent.com/7105233284f12b43575ce677d04770202bc59b3e8c82040bd9b2ae76d045ccae/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6275672d2d6d696e75732e706e67) (https://camo.githubusercontent.com/7105233284f12b43575ce677d04770202bc59b3e8c82040bd9b2ae76d045ccae/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6275672d2d6d696e75732e706e67) Fixed issues with the defaults for Variants and Dark Mode.
- (https://camo.githubusercontent.com/7105233284f12b43575ce677d04770202bc59b3e8c82040bd9b2ae76d045ccae/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6275672d2d6d696e75732e706e67) (https://camo.githubusercontent.com/7105233284f12b43575ce677d04770202bc59b3e8c82040bd9b2ae76d045ccae/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6275672d2d6d696e75732e706e67) Fixed issues with the data attributes for the Variants and Dark Mode.
Full Changelog: v1.2...v1.2.1 (https://github.com/SMFTricks/Repulse/compare/v1.2...v1.2.1)
Quote from: Diego Andrés on August 10, 2024, 02:01:10 AMQuote from: robrahn123 on August 09, 2024, 05:10:52 AMStart out by saying thanks for the clean modern theme! Fresh install with no edits and PHP 8.2. The menu background is missing on windows chrome but is there for android chrome.
Can't reproduce this issue, it's not supposed to have any background in the menu.
Thanks for the update! Installed v1.2.1 on fresh forum. Colors are working great and guest now show correct color with no errors.
The menu background I am talking about is in attachments. First one is your demo site and second is my site on php 8.2. Still happening with v1.2.1.
What is the URL of your site?
Quote from: Diego Andrés on August 10, 2024, 03:14:06 AMWhat is the URL of your site?
ezstreamers .com/test/
Fresh install only setting change - Default Theme Mode: Dark
Ok I see the issue.
It's another unfortunate typo.
I will fix it later today, thanks for the report.
1.2.2 - 10 August 2024
- (https://camo.githubusercontent.com/7105233284f12b43575ce677d04770202bc59b3e8c82040bd9b2ae76d045ccae/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6275672d2d6d696e75732e706e67) (https://camo.githubusercontent.com/7105233284f12b43575ce677d04770202bc59b3e8c82040bd9b2ae76d045ccae/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6275672d2d6d696e75732e706e67) Fixed issue with minification of CSS and JS files.
Full Changelog: v1.2.1...v1.2.2 (https://github.com/SMFTricks/Repulse/compare/v1.2.1...v1.2.2)
Looks like v1.2.2 did the trick. Looks way better. Glad it wasn't just me. Thanks again!
Hi Friends,
I'm the co-admin of a super small website (https://www.inkscapefriends.com/) and forum (https://www.inkscapefriends.com/smf/index.php) that just opened. Even though we finally opened them, we are still developing them, somewhat. We offer 2 theme choices for our SMF forum (default and Repulse). And it's version 2.1.4
Some time ago I created an image to use as the header for our forum. (We use the same image for both themes.) In the Repulse theme, and logged into my admin account, it links back to our main website. In my regular user account, it does not link back to our site. In the default theme, it does not link to the website, no matter which account I'm logged into.
In the back of my mind, I seem to recall that the 2 themes function differently in a few ways, but I don't remember exactly how. And now for the life of me, I cannot find the setting where I made the Repulse theme logo image link back to our website.
It seems like there must be a setting somewhere, because how could the software have guessed? Or is it possible I might have made a custom edit to a theme file or template? (If I did that, I do still have the original file, but it's on a different computer that is not with me at the moment.)
Could you all remind me how you're supposed to make the logo image into a link, in the Repulse theme? :-[ :-[
Thank you very much!
The logo/title has a link to the home page of the forum (index.php)
You set the logo from Admin > Current theme.
If you made custom edits to the link, that would be in Themes/Repulse/index.template.php
Are you saying that any logo image automatically links to the homepage of the forum?
And are you saying there is no other way to make it link somewhere else, except to edit the template that you mentioned?
I wonder why it only works when I'm logged into my admin account?
I will have to get to my old computer and dig up my old files. There's every chance that I did it wrong, haha. I will post back again after I find them.
Thanks.
Correct, $scripturl is what it should have by default, which is the forum URL.
Ok, I finally sorted this out -- more or less. I did indeed edit index.template.php. But I'm not sure if I edited correctly. I must have made a live edit, because otherwise I would have saved before and after files, and I can't find any files.
Was I supposed to edit every instance of
$scripturl
?
Because it looks like I only replaced it once.
Also, if I want to change the link for the logo image in the default theme, can you all tell me how to do that here? I thought once I figured out how I did it in the Repulse theme, I would do something similar for the default. But I cannot find similar codes in the default index.template.php file (at least not in the one place where I changed it).
Or should I post a message in the main 2.1 board?
Thanks again :)
It would be very similar. You can use your browser's developer tools, right click on an element > inspect element. You will see the HTML/DOM and it can help you identify tags or elements in the different SMF templates.
For instance, in the default theme you will notice the h1 tag, so if you search for that in the index.template.php you can find what you're looking for:
<h1 class="forumtitle">
<a id="top" href="', $scripturl, '">', empty($context['header_logo_url_html_safe']) ? $context['forum_name_html_safe'] : '<img src="' . $context['header_logo_url_html_safe'] . '" alt="' . $context['forum_name_html_safe'] . '">', '</a>
</h1>
Specifically you will be interested in the anchor element, for replacing the link:
href="', $scripturl, '"
Hhmm....I'm still worried that I might have edited the file wrongly, in the Repulse theme a few years ago.
Because here's what that line looks like now, from a freshly downloaded copy of Repulse theme.
<a id="top" href="', $scripturl, '">', empty($context['header_logo_url_html_safe']) ? '<span class="theme-logo">' . themecustoms_icon('fa fa-bolt') . $settings['theme_name']. '</span>' : '<img src="' . $context['header_logo_url_html_safe'] . '" alt="' . $context['forum_name_html_safe'] . '">', '</a>
And here's what my old Repulse file looks like, from a few years ago (same line).
<a href="http://www.inkscapefriends.com/" target="_blank"', $scripturl, '">', empty($context['header_logo_url_html_safe']) ? $context['forum_name'] : '<img src="' . $context['header_logo_url_html_safe'] . '" alt="' . $context['forum_name'] . '" />', '</a>
Are those differences attributable to backwards compatibility? I'm thinking it's more likely I did not edit it properly, in the first place.
Oooohhh!! Now that I re-read your message for the nth time, I think I see what to do. The line in Repulse should be this:
<a id="top" href="http://www.inkscapefriends.com/">', empty($context['header_logo_url_html_safe']) ? '<span class="theme-logo">' . themecustoms_icon('fa fa-bolt') . $settings['theme_name']. '</span>' : '<img src="' . $context['header_logo_url_html_safe'] . '" alt="' . $context['forum_name_html_safe'] . '">', '</a>
Right???
And if that's right, then I think I can get the default theme right too.
Yup, my last message was about the default theme though :D
Quote from: brynn on January 26, 2025, 10:44:14 AMAre those differences attributable to backwards compatibility? I'm thinking it's more likely I did not edit it properly, in the first place.
Could also be from an update (not very likely to edit that area), as the theme has had various updates on the past year.
There was also a post somewhere about removing the styles from the title so perhaps you also applied those.
Oh yes, I realize your last message was about the default theme. But it was the color in your text that allowed me to put it all together.
Thank you so much for all your help and patience!
I'm a little on the tired side at the moment, but the next time I'm back online fresh, I'll be able to make those edits. ;D
Does anyone know how to put in this theme 'tidy-child-boards' ?
Means it looks like the picture below :
(https://i.imgur.com/yCWOW6x.png)
Well, I'm back again. We decided not to change those links after all (re my recent posts just above). So I reinstalled the original index.template.php file. But ever since I did that, I'm getting a lot of errors in the error log regarding the index.template.php file for the Repulse theme.
When I look at that PHP file, it appears to be the same as a freshly downloaded copy of Repulse -- except it looks like there might be some indents in my copy, in the line just after the $scripturl edit. I'm not sure how that happened, or if it could be the problem.
I'm also not sure what I need to show you. Maybe the error messages? Do I click that Backtrace box, to copy the error message?
Or maybe it would be easier to just reinstall the theme? I'm just not sure how to do that. I remember how to install a theme, but I don't remember how to uninstall.
Quote from: brynn on February 06, 2025, 07:11:28 AMI'm also not sure what I need to show you. Maybe the error messages? Do I click that Backtrace box, to copy the error message?
Or maybe it would be easier to just reinstall the theme? I'm just not sure how to do that. I remember how to install a theme, but I don't remember how to uninstall.
Posting the error would be helpful indeed, the file causing the error and the line.
To "reinstall" you could just overwrite the Repulse folder with a fresh set. This theme has many additional files. You can also check the theme version in admin > theme settings. That will give you an indicator of whether your theme is outdated or not, compared to the current version in the theme site.
Error:
/home/deb97310n2/domains/inkscapefriends.com/public_html/smf/Themes/Repulse_v1.0/index.template.php (Line 32)
and
2: Array to string conversion
The backtrace shows even more lines.
QuoteTo "reinstall" you could just overwrite the Repulse folder with a fresh set. This theme has many additional files. You can also check the theme version in admin > theme settings. That will give you an indicator of whether your theme is outdated or not, compared to the current version in the theme site.
It looks like we might be a bit behind in versions. You mean I can just download the current version, and overwrite it live in Filezilla? Even if it's a different version? If you do it that way, does the SMF Admin > Config > Themes and Layout > Theme settings catch up automagically?
Quote from: brynn on February 06, 2025, 01:31:22 PMYou mean I can just download the current version, and overwrite it live in Filezilla? Even if it's a different version? If you do it that way, does the SMF Admin > Config > Themes and Layout > Theme settings catch up automagically?
Correct. The version is displayed by the Theme only.
SMF doesn't actually track themes like the package manager does.
Hhmm, I don't think I've ever done anything exactly like this. I started the upload, but it was not overwriting the old version. It was just uploading it beside the old version. I guess that's because the folder names are not identical.
So I guess I could either rename the folders so they match. Or would it be better to open the folders and upload/override all the contents? Because those folder and file names are the same. Is one way more proper or safe than the other?
I'm writing "how to" notes for myself, so I won't forget how to upgrade themes next time. ;)
Maybe I'm getting too old for this.... But you know what they say 'use it or lose it' ;D
Thanks for your patience.
And the Default/Curve2 theme, that gets upgraded whenever the forum is upgraded. Right?
Quote from: brynn on February 06, 2025, 06:22:56 PMAnd the Default/Curve2 theme, that gets upgraded whenever the forum is upgraded. Right?
Yes, with official SMF patches.
Quote from: brynn on February 06, 2025, 06:22:56 PMSo I guess I could either rename the folders so they match. Or would it be better to open the folders and upload/override all the contents? Because those folder and file names are the same. Is one way more proper or safe than the other?
Indeed, I actually meant that you should drop the files into the existing Repulse folder in your server, overwriting the old ones.
If you never had any customization you could've also just deleted the theme and installed it again.
QuoteIndeed, I actually meant that you should drop the files into the existing Repulse folder in your server, overwriting the old ones.
Are you saying that just putting the files and folders from the Repulse_v1.2.2 folder, into the older Repulse_v1.0 folder automatically overwrites them -- without right-click > upload/overwrite?
Otherwise, I think we're saying the same thing. It's just that I'm still learning the correct terminology, so I might not use the words in the best way.
Does anyone know how to put in this theme 'tidy-child-boards' ?
Means it looks like the picture below :
(https://i.imgur.com/yCWOW6x.png)
Quote from: brynn on February 06, 2025, 08:28:54 PMAre you saying that just putting the files and folders from the Repulse_v1.2.2 folder, into the older Repulse_v1.0 folder automatically overwrites them -- without right-click > upload/overwrite?
Otherwise, I think we're saying the same thing. It's just that I'm still learning the correct terminology, so I might not use the words in the best way.
Yes we are on the same page ;D
Coca-Cola, I'm not sure if I can help very much. But here is the online manual page about how to install mods: https://wiki.simplemachines.org/smf/SMF2.1:Package_manager (this is if your SMF version is 2.1 - if it's different, use the blue buttons at the top of the first paragraph to find your version) It looks like a lot of technical details on that page are out of date. But at least you can learn the basics there.
I had to do some searching to find a mod called Tidy Child Boards, because it looks like it's made by the SMF Hacks website: https://www.smfhacks.com/index.php It looks like they have a forum where you might get help, if you are having Test Failed when you try to install it.
As far as the Repulse theme (or any theme) as far as I understand it, ideally you should have the theme already installed before you install the mod. I don't think anything special should be needed, to install a mod in a particular theme. Not unless you are getting the red Failed Test when you try to install. If you get the Failed Test, I would ask for help in SMF Hacks forum, since they created the Tidy Child Boards mod.
I wish I could help more. But good luck!
Edit
Actually there's a manual page about what to do if you get the red Failed Test. Let's see if I can find it.... Ah-ha! Here it is: https://wiki.simplemachines.org/smf/Error_in_mod_installation But I'm sure you can post in the forum if you still need more help. (It's all very confusing for me....)
Thanks Diego Andres!
Ok then, let's see if I can manage this simple task.... I'll be back shortly ;D
Edit
It looks like I managed to upgrade the theme. And I've cleared the Error Log. So I'll keep an eye on it, to make sure the errors have stopped.
Cross fingers ::)
Quote from: Cola-Coca on February 06, 2025, 09:42:23 PMDoes anyone know how to put in this theme 'tidy-child-boards' ?
Means it looks like the picture below :
(https://i.imgur.com/yCWOW6x.png)
Try this in css/custom/app.css or custom/custom_edits.css
.board_children > strong,
.board_children > p > span::after {
display: none;
}
.board_children > p {
display: grid;
grid-template-columns: repeat( auto-fit, minmax(50%, 1fr) );
flex: 1;
}
Oops, I waited to long to be able to edit my last post.
I just wanted to say that everything looks good! No more error messages, and I have all the nice, new current theme version features.
Also, unless it's vital issue, there will be no more code editing for me, hahaha!! :laugh:
Thanks again Diego Andres!!
Oh no, now I have another problem.
I think I accidentally moved the Repulse theme on the server, in Filezilla. But I don't know exactly how it happened. I've been trying to drag and drop it back into place, but that does not seem to be working. I don't see any cut/paste option, like in a regular file manager.
Can you have pity on me, and tell me how to get it back where it was? The red arrow shows where it was originally -- on the same level as core and default.
Oh dear.... I see there is some kind of error message at the top of the Filezilla window. When I try the drag and drop, this shows up in that running commentary at the top
Command: RNFR Repulse_v1.0
Response: 550 Repulse_v1.0: No such file or directory
Oh no, now it disappeared completely!! What happened?? I didn't touch anything.
Oh, I am so over with code editing!!!
How can I fix this? It's just completely gone. Honestly, I don't know how this happened.
I'm afraid to look at the forum, because I imagine it's gone too.... :-[
I suppose just reinstalling it using the admin panel would be too easy?
srvr1.png
PS - or if this kind of help is not appropriate for this thread, could we use PMs?
OH!! I found it. Somehow it got moved into Themes/default/fonts. Thank goodness!
How can I move it back into place without making a bigger mess?
I'm afraid to try drag and drop....unless that's the only way....
Well, this is probably very simple for you all. But for me, since trying to drag and drop seems to have caused this problem, I don't want to try to fix it that way.
After taking a break to try and clear my mind, and being so simple-minded about this, the only thing I can think to do, is download it. Then upload it back to it's original position.
Is there some reason why I should not do that?
After I have uploaded it back to its proper place, can I just delete the one that still is in the fonts folder?
Or have I caused a huge mess and just moving the folder back won't fix it?
Thanks for your patience.
Did you try dragging it into the 'Themes' folder? When I use FileZilla that's how I move files to folders.
I think that's how I got into trouble in the first place. I think when I tried to click on the Repulse folder, I accidentally dragged the mouse a little, and that deposited it in the wrong place.
I made several attempts to drag it back, but it would not go. Then it disappeared....
But if that's an ok way to do it, I will try again. Maybe if I make the box bigger, so I have more room to work....
Why doesn't Filezilla allow you to copy/paste the files? Can you do it with keyboard shortcuts?
Well, I'll try again. Be right back....
Oh no, the same thing happened. It just disappeared!
Let me try and find it again....
Edit
Oh, I think it might be back in the right place! At least it looks right. Let me check if the forum is working....
The forum looks ok.
Ok, I'm closing Filezilla, and I may never open it again! :P
Rats, it won't let me close it yet. It must be still moving files.
Thank you so very much Diego Andres!! You are a life saver. Thank you so much for having so much patience with me. Hopefully I will not need this kind of help in the future.
No worries!
Quote from: Diego Andrés on February 06, 2025, 11:14:07 PMQuote from: Cola-Coca on February 06, 2025, 09:42:23 PMDoes anyone know how to put in this theme 'tidy-child-boards' ?
Means it looks like the picture below :
(https://i.imgur.com/yCWOW6x.png)
Try this in css/custom/app.css or custom/custom_edits.css
.board_children > strong,
.board_children > p > span::after {
display: none;
}
.board_children > p {
display: grid;
grid-template-columns: repeat( auto-fit, minmax(50%, 1fr) );
flex: 1;
}
Thanks!
Question about avatar. Avatars are round by default, can they be made square?
They would look better to me if they are squared.
(https://i.imgur.com/iKFgJCo.png)
(https://i.imgur.com/F0hwd9h.png)
check the CSS for the avatar....
Quote from: Cola-Coca on February 12, 2025, 10:07:04 PMQuestion about avatar. Avatars are round by default, can they be made square?
They would look better to me if they are squared.
(https://i.imgur.com/iKFgJCo.png)
(https://i.imgur.com/F0hwd9h.png)
In css/custom/custom_edits.css you can add the following:
:root {
--avatar-border-radius: 0;
}
You can ignore the :root wrapper if you already declared something before.
Another alternative, not update friendly is changing it directly in the css/custom/theme_colors.css
--avatar-border-radius: 50%;
I have a question regarding when I make a new post. The space for writing is too small for me, I would like to make it larger, I searched in app.css but couldn't find the part it refers to. (Number 1 in the img.)
Number 2 in the img., I wish I could expand the box it's written in a lot more, it's very short.
(https://i.imgur.com/9IkV5tE.png)
That would be the same behavior as the default theme, nothing changes in Repulse.
You can however, try this MOD: https://custom.simplemachines.org/index.php?mod=4332
It might help with your request.
Quote from: Diego Andrés on February 15, 2025, 02:00:56 AMThat would be the same behavior as the default theme, nothing changes in Repulse.
You can however, try this MOD: https://custom.simplemachines.org/index.php?mod=4332
It might help with your request.
Thanks for the reply, this mode should be by default in the next SMF version.
I have one last question and I won't bother you anymore :D
How do I get this to show up in the statistics by default when someone joins the forum or views the first page?
Otherwise it shows new posts by default. This means that by default, users online are shown, not new posts.
(https://i.postimg.cc/qR3RZTP2/Screenshot-2.png)
You have to edit Repulse/scripts/custom/main.js
$('#info_center_blocks').tabs();
$('#info_center_blocks').tabs({ active: 3});
That should do it.
Quote from: Diego Andrés on February 15, 2025, 07:21:13 PMYou have to edit Repulse/scripts/custom/main.js
$('#info_center_blocks').tabs();
$('#info_center_blocks').tabs({ active: 3});
That should do it.
I changed it and got 4 columns, I think something is wrong.
Img:(https://i.postimg.cc/7ZRxzLhw/Screenshot-3.png)
https://i.postimg.cc/7ZRxzLhw/Screenshot-3.png
EDIT:I replaced number 3 with 2 and it works.
I installed the 'Scrolling Buttons' mod.. the problem is that the down button doesn't work.
Mod: https://custom.simplemachines.org/index.php?mod=3433
... I guess I have to change something in the index.template.php. The top button works but the scrolling down button doesn't work.
I saw here that one person had a similar problem only with the top button:
https://www.simplemachines.org/community/index.php?topic=483671.msg4116165#msg4116165
Quote from: Cola-Coca on March 02, 2025, 11:40:41 PMI installed the 'Scrolling Buttons' mod.. the problem is that the down button doesn't work.
Mod: https://custom.simplemachines.org/index.php?mod=3433
... I guess I have to change something in the index.template.php. The top button works but the scrolling down button doesn't work.
I saw here that one person had a similar problem only with the top button:
https://www.simplemachines.org/community/index.php?topic=483671.msg4116165#msg4116165
It would seem Bugo has provided the workaround (https://www.simplemachines.org/community/index.php?msg=4186753) in the other support topic.
Hello Diego Andrés,
First of all, thanks alot for the effort you put on this great theme! It is my favorite from yours and Im currently testing this one and NameX. I like Repulse more than NameX. However, I found Repulse doesn't work well with the very popular mod Ad Management.
The main issue is when I try to show ads between posts, simply doesn't show anything. With Namex everything works.
Can you update this theme in order to work fully with Ad Management, or can you guide me on what I have to edit in order to show ads between posts?
Thanks in advance for your support.
Did you install the MOD before the theme?
Ad management makes edits to the Display.template.php file so you will need to make those edits manually, or; uninstall the mod and reinstall selecting the theme.
Repulse theme doesn't have any unconventional edits to that file, it's almost vanilla.
Quote from: Diego Andrés on April 08, 2025, 09:31:33 AMDid you install the MOD before the theme?
Ad management makes edits to the Display.template.php file so you will need to make those edits manually, or; uninstall the mod and reinstall selecting the theme.
Repulse theme doesn't have any unconventional edits to that file, it's almost vanilla.
I found the problem! When I installed the Ad Management mod I forgot to select to apply the changes to the Repulse theme. :-\
Now it works, but there is an extra tab on my index.
(https://i.imgur.com/CM8QO9B.png)
That isn't supposed to be there I think.
When I installed the mod it showed one error on the index.template.php but I ignored and continued with the installation.
It's not really compatible with what Ad management does with the tags, not sure how up to date it is.
You can try this fix:
Create or edit a file in Themes/Repulse/css/custom/custom_edits.css
Add at the end of the file:
#boardindex_table .main_container:not(:has(.up_contain.b_board)) {
margin-block: 0;
}
#boardindex_table .main_container:not(:has(.up_contain.b_board)) div.cat_bar {
min-height: unset;
border: none;
}
Quote from: Diego Andrés on April 08, 2025, 08:20:08 PMIt's not really compatible with what Ad management does with the tags, not sure how up to date it is.
You can try this fix:
Create or edit a file in Themes/Repulse/css/custom/custom_edits.css
Add at the end of the file:
#boardindex_table .main_container:not(:has(.up_contain.b_board)) {
margin-block: 0;
}
#boardindex_table .main_container:not(:has(.up_contain.b_board)) div.cat_bar {
min-height: unset;
border: none;
}
Thanks alot, it solved the issue!
Also I found another small problem... When I use the option "tower ads on left and right" the theme has a strange behavior like I can select all the elements in the page. Is there a way to fix this?
I'm not sure what you're referring to, can you post a screenshot of this issue?
Quote from: Diego Andrés on April 09, 2025, 03:54:14 PMI'm not sure what you're referring to, can you post a screenshot of this issue?
It's hard to explain even with screenshot, but basically, When I hover the mouse over anything the forum starts flashing. That kind of flash that's seen when you pass the mouse over the boards on the Index of the forum. On the post page that shouldn't happen.
This happens when I enable the "Display ads on every page as a tower on the left side", for example.
I will explain better if you didn't get my point.
1.2.3 - 9 April 2025
- (https://camo.githubusercontent.com/4aeb2d31d99d8146f3989640e020bd04a807a80a460a31a66a05bebbcf4c24f5/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f7461672d2d70656e63696c2e706e67) (https://camo.githubusercontent.com/4aeb2d31d99d8146f3989640e020bd04a807a80a460a31a66a05bebbcf4c24f5/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f7461672d2d70656e63696c2e706e67) Updated FontAwesome to version 6.7.2.
- (https://camo.githubusercontent.com/113afb2e7f9d4d8b36379c0a92880d3a837c1b2d96b7119d910211e674d40ac7/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6275672d2d6d696e75732e706e67) (https://camo.githubusercontent.com/113afb2e7f9d4d8b36379c0a92880d3a837c1b2d96b7119d910211e674d40ac7/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6275672d2d6d696e75732e706e67) Fixed issue with sceditor popovers size.
- (https://camo.githubusercontent.com/113afb2e7f9d4d8b36379c0a92880d3a837c1b2d96b7119d910211e674d40ac7/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6275672d2d6d696e75732e706e67) (https://camo.githubusercontent.com/113afb2e7f9d4d8b36379c0a92880d3a837c1b2d96b7119d910211e674d40ac7/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6275672d2d6d696e75732e706e67) Fixed issues some dropdown menus positioning.
- (https://camo.githubusercontent.com/113afb2e7f9d4d8b36379c0a92880d3a837c1b2d96b7119d910211e674d40ac7/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6275672d2d6d696e75732e706e67) (https://camo.githubusercontent.com/113afb2e7f9d4d8b36379c0a92880d3a837c1b2d96b7119d910211e674d40ac7/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6275672d2d6d696e75732e706e67) Fixed the correct loading order for the main CSS file.
- (https://camo.githubusercontent.com/113afb2e7f9d4d8b36379c0a92880d3a837c1b2d96b7119d910211e674d40ac7/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6275672d2d6d696e75732e706e67) (https://camo.githubusercontent.com/113afb2e7f9d4d8b36379c0a92880d3a837c1b2d96b7119d910211e674d40ac7/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6275672d2d6d696e75732e706e67) Minor fixes, code formatting and cleanup.
- (https://camo.githubusercontent.com/113afb2e7f9d4d8b36379c0a92880d3a837c1b2d96b7119d910211e674d40ac7/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6275672d2d6d696e75732e706e67) (https://camo.githubusercontent.com/113afb2e7f9d4d8b36379c0a92880d3a837c1b2d96b7119d910211e674d40ac7/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6275672d2d6d696e75732e706e67) Fixed issue with theme modes causing undefined errors.
- (https://camo.githubusercontent.com/113afb2e7f9d4d8b36379c0a92880d3a837c1b2d96b7119d910211e674d40ac7/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6275672d2d6d696e75732e706e67) (https://camo.githubusercontent.com/113afb2e7f9d4d8b36379c0a92880d3a837c1b2d96b7119d910211e674d40ac7/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6275672d2d6d696e75732e706e67) Prevent sceditor from loading empty styles files.
- (https://camo.githubusercontent.com/113afb2e7f9d4d8b36379c0a92880d3a837c1b2d96b7119d910211e674d40ac7/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6275672d2d6d696e75732e706e67) (https://camo.githubusercontent.com/113afb2e7f9d4d8b36379c0a92880d3a837c1b2d96b7119d910211e674d40ac7/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6275672d2d6d696e75732e706e67) Added additional checks for certain JS events.
- (https://camo.githubusercontent.com/113afb2e7f9d4d8b36379c0a92880d3a837c1b2d96b7119d910211e674d40ac7/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6275672d2d6d696e75732e706e67) (https://camo.githubusercontent.com/113afb2e7f9d4d8b36379c0a92880d3a837c1b2d96b7119d910211e674d40ac7/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6275672d2d6d696e75732e706e67) Fixed typos for some icons selectors.
- (https://camo.githubusercontent.com/113afb2e7f9d4d8b36379c0a92880d3a837c1b2d96b7119d910211e674d40ac7/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6275672d2d6d696e75732e706e67) (https://camo.githubusercontent.com/113afb2e7f9d4d8b36379c0a92880d3a837c1b2d96b7119d910211e674d40ac7/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6275672d2d6d696e75732e706e67) Fixed minor styling and color issues.
- (https://camo.githubusercontent.com/4aeb2d31d99d8146f3989640e020bd04a807a80a460a31a66a05bebbcf4c24f5/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f7461672d2d70656e63696c2e706e67) (https://camo.githubusercontent.com/4aeb2d31d99d8146f3989640e020bd04a807a80a460a31a66a05bebbcf4c24f5/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f7461672d2d70656e63696c2e706e67) Added a 'download/s' icon.
- (https://camo.githubusercontent.com/e39594ab8f8dce89b7a68ae58d8239fa8cc41f689deb411cdb77ef025f066415/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6c616e67756167652e706e67) (https://camo.githubusercontent.com/e39594ab8f8dce89b7a68ae58d8239fa8cc41f689deb411cdb77ef025f066415/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6c616e67756167652e706e67) Updated translations.
- (https://camo.githubusercontent.com/f49e4ad186a192663bf6f69388f46ad575628144d8114c977fa4606e7c02a2ba/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f7461672d2d706c75732e706e67) (https://camo.githubusercontent.com/f49e4ad186a192663bf6f69388f46ad575628144d8114c977fa4606e7c02a2ba/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f7461672d2d706c75732e706e67) Added Threads and BlueSky social options.
Full Changelog: v1.2.2...v1.2.3 (https://github.com/SMFTricks/Repulse/compare/v1.2.2...v1.2.3)
Quote from: MF30 on April 09, 2025, 07:20:32 PMQuote from: Diego Andrés on April 09, 2025, 03:54:14 PMI'm not sure what you're referring to, can you post a screenshot of this issue?
It's hard to explain even with screenshot, but basically, When I hover the mouse over anything the forum starts flashing. That kind of flash that's seen when you pass the mouse over the boards on the Index of the forum. On the post page that shouldn't happen.
This happens when I enable the "Display ads on every page as a tower on the left side", for example.
I will explain better if you didn't get my point.
I will check later today and see if I can reproduce it.
1.2.4 - 12 April 2025
- (https://camo.githubusercontent.com/113afb2e7f9d4d8b36379c0a92880d3a837c1b2d96b7119d910211e674d40ac7/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6275672d2d6d696e75732e706e67) (https://camo.githubusercontent.com/113afb2e7f9d4d8b36379c0a92880d3a837c1b2d96b7119d910211e674d40ac7/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6275672d2d6d696e75732e706e67) Fixed layout issues in Who's Online list.
Full Changelog: v1.2.3...v1.2.4 (https://github.com/SMFTricks/Repulse/compare/v1.2.3...v1.2.4)
Quote from: MF30 on April 09, 2025, 07:20:32 PMQuote from: Diego Andrés on April 09, 2025, 03:54:14 PMI'm not sure what you're referring to, can you post a screenshot of this issue?
It's hard to explain even with screenshot, but basically, When I hover the mouse over anything the forum starts flashing. That kind of flash that's seen when you pass the mouse over the boards on the Index of the forum. On the post page that shouldn't happen.
This happens when I enable the "Display ads on every page as a tower on the left side", for example.
I will explain better if you didn't get my point.
This is an issue with the ad management mod, it should not be using tables anymore for page layout.
You can reset hover background on the theme with something like this:
table tbody tr:is(:hover, :focus, :focus-within) {
background: var(--windowbg-bg);
}
Quote from: Diego Andrés on April 12, 2025, 02:31:56 PMQuote from: MF30 on April 09, 2025, 07:20:32 PMQuote from: Diego Andrés on April 09, 2025, 03:54:14 PMI'm not sure what you're referring to, can you post a screenshot of this issue?
It's hard to explain even with screenshot, but basically, When I hover the mouse over anything the forum starts flashing. That kind of flash that's seen when you pass the mouse over the boards on the Index of the forum. On the post page that shouldn't happen.
This happens when I enable the "Display ads on every page as a tower on the left side", for example.
I will explain better if you didn't get my point.
This is an issue with the ad management mod, it should not be using tables anymore for page layout.
You can reset hover background on the theme with something like this:
table tbody tr:is(:hover, :focus, :focus-within) {
background: var(--windowbg-bg);
}
Works perfectly! Using that option will also change the background to a kind of dark gray, is there a way to maintain the black color?
(https://i.imgur.com/HlXtwJq.png)
(https://i.imgur.com/w1tjqCO.png)