Recent Forum Topics on Board Index For 2.1.x

Started by Pipke, February 04, 2023, 01:07:56 PM

Previous topic - Next topic

EthanR

Sorry I should really start reading properly, I forgot to install your Avatar mod.. :-[

Just to confirm, the only settings available for the recent topics are the ones on the 9 dot button?

Pipke

Quote from: EthanR on February 27, 2023, 03:13:19 PMJust to confirm, the only settings available for the recent topics are the ones on the 9 dot button?

Yep, and the button to switch between boards and categories filter
"If something is wrong, fix it if you can. But train yourself not to worry: Worry never fixes anything."

Click here to view my mods for SMF

Hey 👋 Did i helped... you like what i do. You can now buy me a coffee! ☕

EthanR

 Thanks :)

Would you mind enabling the avatars on mobile view as well? (On mobile the thread icon is displayed, I think avatars would be nicer).

gevv

ElkArte is a modern, powerful community building forum software. https://www.elkarte.net/

Bugo


Gryzor

+1 for adding the avatar on mobile view if possible? 

Gryzor

#26
A user of mine complained that the avatars are smaller now (and indeed they are). I'm not sure if it's this mod (or the Avatar integration one) causing this?

[EDIT] ah found it, it's in the AvatarsDisplayIntegration.css .

Pipke

#27
updated mod, because it had a huge issue/bug, cant believe no one reported that yet ;)
Version 1.2 - Mar 15, 2023
- Fixed the constructpages

edit @Bugo, i've forgot to add your translation, i'll do it in next update.
"If something is wrong, fix it if you can. But train yourself not to worry: Worry never fixes anything."

Click here to view my mods for SMF

Hey 👋 Did i helped... you like what i do. You can now buy me a coffee! ☕

Speed King

I'm using 1.2 version on my test forum. Hidden boards are visible for guests:

Click =>

When guest click on "Recycle Bin", a message that board is restricted is appeared, but guests shouldn't see such boards at all.

Gryzor

Latest version works fine.

One question: after installing the mod, I installed a new theme. Seems like the mod tries to apply to that theme too, with disastrous results. Is it possible to disable it for a single theme? Again, I installed the theme *after* the mod, if it's got any significance...

Pipke

Quote from: Speed King on March 16, 2023, 12:46:21 AMI'm using 1.2 version on my test forum. Hidden boards are visible for guests:

Click =>

When guest click on "Recycle Bin", a message that board is restricted is appeared, but guests shouldn't see such boards at all.

That is a smf default setting and has nothing todo with this mod, you should uncheck the checkbox for that board the guest access in the admin center: Administration Center► Boards and Categories► Modify Boards, then settings Allowed Groups: Groups allowed to access this board.
"If something is wrong, fix it if you can. But train yourself not to worry: Worry never fixes anything."

Click here to view my mods for SMF

Hey 👋 Did i helped... you like what i do. You can now buy me a coffee! ☕

Pipke

Quote from: Gryzor on March 16, 2023, 04:54:09 AMLatest version works fine.

One question: after installing the mod, I installed a new theme. Seems like the mod tries to apply to that theme too, with disastrous results. Is it possible to disable it for a single theme? Again, I installed the theme *after* the mod, if it's got any significance...

if you have the theme already installed try to uninstall mod then install it agian (after the new theme) and see if that helps.
"If something is wrong, fix it if you can. But train yourself not to worry: Worry never fixes anything."

Click here to view my mods for SMF

Hey 👋 Did i helped... you like what i do. You can now buy me a coffee! ☕

Gryzor

Quote from: Pipke on March 16, 2023, 07:08:20 AM
Quote from: Gryzor on March 16, 2023, 04:54:09 AMLatest version works fine.

One question: after installing the mod, I installed a new theme. Seems like the mod tries to apply to that theme too, with disastrous results. Is it possible to disable it for a single theme? Again, I installed the theme *after* the mod, if it's got any significance...

if you have the theme already installed try to uninstall mod then install it agian (after the new theme) and see if that helps.
Hmm ok I'll try! So it isn't possible to not use the mod for a specific theme? 

Pipke

#33
Quote from: Gryzor on March 16, 2023, 07:41:29 AM
Quote from: Pipke on March 16, 2023, 07:08:20 AM
Quote from: Gryzor on March 16, 2023, 04:54:09 AMLatest version works fine.

One question: after installing the mod, I installed a new theme. Seems like the mod tries to apply to that theme too, with disastrous results. Is it possible to disable it for a single theme? Again, I installed the theme *after* the mod, if it's got any significance...

if you have the theme already installed try to uninstall mod then install it agian (after the new theme) and see if that helps.
Hmm ok I'll try! So it isn't possible to not use the mod for a specific theme?

This mod will work on other themes that are based of the smf default theme, so infact is the answer yes it does. However if themes have different setup on the default templates it can have strange behavior and it needs tweaks then.
"If something is wrong, fix it if you can. But train yourself not to worry: Worry never fixes anything."

Click here to view my mods for SMF

Hey 👋 Did i helped... you like what i do. You can now buy me a coffee! ☕

webtiryaki

Hi pipke, how can I remove the area codes I marked in the picture?

checkboxes

You cannot view this attachment.

webtiryaki

Quote from: webtiryaki on March 17, 2023, 02:30:17 AMHi pipke, how can I remove the area codes I marked in the picture?

checkboxes

You cannot view this attachment.

// Remove empty values
$ids = array_filter($ids);

return '<a href="' . $scripturl . '?'.$filter.'=' .(!empty($ids) ? implode(',', $ids) : 'clear'). ';'.$context['session_var'] . '=' . $context['session_id'] . '"><i class="rtbi-'.$icon.'" title="'.$txt['rtbi_forum_filter'].'"></i></a>';

Pipke

@webtiryaki if you want to remove the checkboxes, the user can no longer filter the boards, are you sure you want that??
"If something is wrong, fix it if you can. But train yourself not to worry: Worry never fixes anything."

Click here to view my mods for SMF

Hey 👋 Did i helped... you like what i do. You can now buy me a coffee! ☕

HelAu007

Thanks a lot for your great mod !
Is there a special reason why you've limited it to 10 entries ?
I would like to have more :)
I will provide german language later.

Regards
Helmut

Pipke

Quote from: HelAu007 on May 11, 2023, 03:22:27 PMThanks a lot for your great mod !
Is there a special reason why you've limited it to 10 entries ?
I would like to have more :)
I will provide german language later.

Regards
Helmut

glad you like it, you can easily change the number of topics

find in file Sources/RecentTopicsBoardIndex.php

            $rtbi['options']['per_page'] = $rtbi['options']['per_page'] == 5 ? 10 : 5;

replace the 10 with another number, note that the higher you set it... the more cpu the server has to load to fetch the data, this also depends on how many topics you have on your site, I would recommend not higher than 20
"If something is wrong, fix it if you can. But train yourself not to worry: Worry never fixes anything."

Click here to view my mods for SMF

Hey 👋 Did i helped... you like what i do. You can now buy me a coffee! ☕

HelAu007


Advertisement: