News:

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

Main Menu

Repulse

Started by Diego Andrés, March 01, 2023, 02:33:27 PM

Previous topic - Next topic

Cola-Coca

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.



I LOVE SMF

Diego Andrés

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.

SMF Tricks - Free & Premium Responsive Themes for SMF.

Cola-Coca

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 LOVE SMF

Cola-Coca

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.

I LOVE SMF

Diego Andrés

You have to edit Repulse/scripts/custom/main.js

Code (Search) Select
$('#info_center_blocks').tabs();
Code (Replace) Select
$('#info_center_blocks').tabs({ active: 3});
That should do it.

SMF Tricks - Free & Premium Responsive Themes for SMF.

Cola-Coca

Quote from: Diego Andrés on February 15, 2025, 07:21:13 PMYou have to edit Repulse/scripts/custom/main.js

Code (Search) Select
$('#info_center_blocks').tabs();
Code (Replace) Select
$('#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

EDIT:
I replaced number 3 with 2 and it works.
I LOVE SMF

Cola-Coca

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
I LOVE SMF

Diego Andrés

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 in the other support topic.

SMF Tricks - Free & Premium Responsive Themes for SMF.

MF30

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.

Diego Andrés

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.

SMF Tricks - Free & Premium Responsive Themes for SMF.

MF30

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.



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.

Diego Andrés

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;
}

SMF Tricks - Free & Premium Responsive Themes for SMF.

MF30

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!

MF30

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?

Diego Andrés

I'm not sure what you're referring to, can you post a screenshot of this issue?

SMF Tricks - Free & Premium Responsive Themes for SMF.

MF30

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.

Diego Andrés

1.2.3 - 9 April 2025
  • Improvement Updated FontAwesome to version 6.7.2.
  • Bug Fix Fixed issue with sceditor popovers size.
  • Bug Fix Fixed issues some dropdown menus positioning.
  • Bug Fix Fixed the correct loading order for the main CSS file.
  • Bug Fix Minor fixes, code formatting and cleanup.
  • Bug Fix Fixed issue with theme modes causing undefined errors.
  • Bug Fix Prevent sceditor from loading empty styles files.
  • Bug Fix Added additional checks for certain JS events.
  • Bug Fix Fixed typos for some icons selectors.
  • Bug Fix Fixed minor styling and color issues.
  • Improvement Added a 'download/s' icon.
  • Translation Updated translations.
  • New Feature Added Threads and BlueSky social options.
Full Changelog: v1.2.2...v1.2.3


SMF Tricks - Free & Premium Responsive Themes for SMF.

Diego Andrés

Quote from: MF30 on April 09, 2025, 07:20:32 PM
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.

I will check later today and see if I can reproduce it.

SMF Tricks - Free & Premium Responsive Themes for SMF.

Diego Andrés

1.2.4 - 12 April 2025
  • Bug Fix Fixed layout issues in Who's Online list.
Full Changelog: v1.2.3...v1.2.4

SMF Tricks - Free & Premium Responsive Themes for SMF.

Diego Andrés

Quote from: MF30 on April 09, 2025, 07:20:32 PM
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.

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);
}

SMF Tricks - Free & Premium Responsive Themes for SMF.

Advertisement: