News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

[Depreciated]

Started by Depreciated, August 20, 2010, 02:57:57 AM

Previous topic - Next topic

Depreciated

Link to the mod


Disable 'Recent Posts' for Guests v1.5
~{By PaulpBaker}~

Link to Mod | My Mods | Support Topic

Compatibility
Version independent so should work on ALL 2.x versions of SMF!

Description
Disables the 'Recent Posts' on board index for guests.

Have some suggestions to make this mod better? Please let me know in the support topic.

Notes
You must have 'Number of recent posts to display on board index' enabled in 'Administration Center > Configuration > Current Theme' for this to work.

Installation
Any previous versions of this mod MUST be uninstalled BEFORE installing this version.

Install the package on the SMF Default 'Curve' Theme ONLY. Other themes will need manual edits.

Useful Links
SMF Package Parser
Manual Installation Of Mods
How Do I Modify Files?

Support
Please use the modification thread for support with this modification.
(Please don't ask me to do the edits for you)

Changelog
v1.5 - 23rd August 2010: Added admin options to enable/disable mod.
v1.0 - 8th August 2010: Initial Version

RVD

Hi,

I installed the mod but cannot find where to turn it on or off in the admin panel. Please help.

Thank you!!


Depreciated

Quote from: RVD on August 23, 2010, 11:57:42 AM
Hi,

I installed the mod but cannot find where to turn it on or off in the admin panel. Please help.

Thank you!!



there isn't one atm but there will be in v1.1 that i'll be putting out soon

RVD

Ok...

I was under the impression this mod works for  v.1.1. Thank you for clearing that up, I am anxious to the one that works for it.

Thank you for the fast reply. Please keep up the hard work, Any idea on a release date?

Depreciated

Quote from: RVD on August 23, 2010, 12:20:18 PM
Ok...

I was under the impression this mod works for  v.1.1. Thank you for clearing that up, I am anxious to the one that works for it.

Thank you for the fast reply. Please keep up the hard work, Any idea on a release date?

sorry you seem to have misunderstood me this mod DOES work for smf v1.1.x and smf v2.x

what i was talking about was an updated version of this mod (v1.1) that had an admin option to enable/disable this mod

anyway to clarify this DOES work on all version of smf but there isn't any options to enable/disable until the next release of this mod (sometime later today)

RVD

I installed it and thought I enabled it...

But it doesn't seem to do anything?

Any help you can give would be great.

Thank you.

Depreciated

Quote from: RVD on August 23, 2010, 12:30:46 PM
I installed it and thought I enabled it...

But it doesn't seem to do anything?

Any help you can give would be great.

Thank you.

again there is no enable option is this version of the mod lol it's enabled by default...

to test it's working log out and view your forum as a guest and the 'recent posts' section at the bottom of the forum will no longer be viewable to guests IF you have 'Number of recent posts to display on board index' enabled in 'Administration Center > Configuration > Current Theme' that is

RVD

I was mistaken,

I thought this mod removed "View the most recent posts on the forum."

Does anyone make a mod for this?

Thank you

Depreciated

As far as I know there isn't a mod for that but I'll make one for you later today and will let you know when it's out ;)

RVD

Quote from: PaulpBaker on August 23, 2010, 01:08:46 PM
As far as I know there isn't a mod for that but I'll make one for you later today and will let you know when it's out ;)

That's just awesome...

THANK YOU!

Depreciated

v1.5 - 23rd August 2010: Added admin options to enable/disable mod.

RVD

Morning Paul,

Any luck with the new mod?

Just checking. Thank you!

Depreciated

Quote from: RVD on August 25, 2010, 12:25:53 PM
Morning Paul,

Any luck with the new mod?

Just checking. Thank you!

will start working on it for you now... will report back soon :)

Depreciated

also are you wanting this to be disabled for everyone or just guests?

RVD

It would be just for guests. Membership should have it's benefits  ;D

Thank you!!


Depreciated

Quote from: RVD on August 25, 2010, 03:42:42 PM
It would be just for guests. Membership should have it's benefits  ;D

Thank you!!

having a little problem with making this mod and i can't seem to get any help with it so i'm going to have to abandon making you the mod sorry

RVD


Depreciated


Rain Forest

I love this mod! Thanks! :)

EDIT: It is giving me a failure at BoardIndex.template.php.

Find:
// This is the "Recent Posts" bar.
if (!empty($settings['number_recent_posts']) && (!empty($context['latest_posts']) || !empty($context['latest_post'])))


Replace with:
// This is the "Recent Posts" bar.
if (!$modSettings['enable_disable_recent_posts_mod'] || (!$context['user']['is_guest']) && !empty($settings['number_recent_posts']) && (!empty($context['latest_posts']) || !empty($context['latest_post'])))


Please help..


Rain Forest


Advertisement: