News:

Wondering if this will always be free?  See why free is better.

Main Menu

Recent Forum Topics on Boardindex For 2.0.x

Started by Pipke, May 05, 2014, 09:37:08 AM

Previous topic - Next topic

Pipke

"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


Cola-Coca

Is it possible to increase the number "Number of Recent Forum Topics per page: 10" to 15 ?
I LOVE SMF

GL700Wing

Quote from: Cola-Coca on September 17, 2024, 10:25:01 PMIs it possible to increase the number "Number of Recent Forum Topics per page: 10" to 15 ?
You should be able to change the value in the mod's settings ...
https://custom.simplemachines.org/index.php?action=download;mod=3856;attach=265461;image
Life doesn't have to be perfect to be wonderful ...

Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Cola-Coca

Quote from: GL700Wing on September 17, 2024, 10:40:44 PM
Quote from: Cola-Coca on September 17, 2024, 10:25:01 PMIs it possible to increase the number "Number of Recent Forum Topics per page: 10" to 15 ?
You should be able to change the value in the mod's settings ...
https://custom.simplemachines.org/index.php?action=download;mod=3856;attach=265461;image

The maximum number is 10 that's why I'm asking.
I LOVE SMF

GL700Wing

Quote from: Cola-Coca on September 17, 2024, 10:48:47 PMThe maximum number is 10 that's why I'm asking.
Aah - ok.

The following edits to two mod-specific files will give you the option to choose a number between 11 and 15 (and also enable you to delete the mod without the edits causing any errors).


In ./Sources/Subs-RecentForumTopics.php
Find:
array('select', 'rft_numbertopics', array('3' => $txt['rft_3'],'4' => $txt['rft_4'],'5' => $txt['rft_5'],'6' => $txt['rft_6'],'7' => $txt['rft_7'],'8' => $txt['rft_8'],'9' => $txt['rft_9'],'10' => $txt['rft_10'],)),
Replace With:
array('select', 'rft_numbertopics', array('3' => $txt['rft_3'],'4' => $txt['rft_4'],'5' => $txt['rft_5'],'6' => $txt['rft_6'],'7' => $txt['rft_7'],'8' => $txt['rft_8'],'9' => $txt['rft_9'],'10' => $txt['rft_10'],'11' => $txt['rft_11'],'12' => $txt['rft_12'],'13' => $txt['rft_13'],'14' => $txt['rft_14'],'15' => $txt['rft_15'],)),
In ./Themes/default/languages/RecentForumTopics.english.php and ./Themes/default/languages/RecentForumTopics.english-utf8.php
Find:
$txt['rft_10'] = '10 ';
Add After:
$txt['rft_11'] = '11 ';
$txt['rft_12'] = '12 ';
$txt['rft_13'] = '13 ';
$txt['rft_14'] = '14 ';
$txt['rft_15'] = '15 ';

Life doesn't have to be perfect to be wonderful ...

Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Cola-Coca

I have member color link installed, does anyone know how to implement member color link inside this mode ?
I LOVE SMF

Pipke

Quote from: Cola-Coca on September 19, 2024, 10:39:00 AMI have member color link installed, does anyone know how to implement member color link inside this mode ?

Can you point out wich mod you exactly mean, post the link to the mod.
"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! ☕

GL700Wing

Quote from: Pipke on September 20, 2024, 04:05:14 PM
Quote from: Cola-Coca on September 19, 2024, 10:39:00 AMI have member color link installed, does anyone know how to implement member color link inside this mode ?

Can you point out wich mod you exactly mean, post the link to the mod.
Member Color Link - Cola-Coca also sent me a PM about this request and I suggested they ask in the support topic for that mod or use the Simple Colorizer mod: https://github.com/SMFTricks/SimpleColorizer/releases/tag/v1.3
Life doesn't have to be perfect to be wonderful ...

Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Pipke

"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! ☕

Cola-Coca

I LOVE SMF

Diego Andrés


SMF Tricks - Free & Premium Responsive Themes for SMF.

Cola-Coca

I LOVE SMF

Diego Andrés

Just use the other MOD they linked you, it uses hooks so you won't have any issues with file edits.

SMF Tricks - Free & Premium Responsive Themes for SMF.

Advertisement: