News:

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

Main Menu

Custom Post Title

Started by SMFHacks.com Team, July 02, 2009, 02:53:11 PM

Previous topic - Next topic

SMFHacks.com Team

Link to Mod



Custom Post Title v1.2

For 1.1.x and 2.0.x


Link to Mod | Support and Comments

Like my mods?


Compatibility
1.1.x and 2.0.x
Note: When upgrading, simply install the new version, then delete the old package file from Package Manager.
Update only available for upgrading from v1.1 to v1.2

Introduction
Will display a custom message/title in place of post count.

Features
o Disable/Enable in AdminCP
  - SMF 2.0 (Admin -> Configuration -> Modifications -> Custom Post Title)
  - SMF 1.1.x (Admin -> Features and Options -> Layout Options)
o Set custom message to display.
o Set postcount at which to display message.

Future Options (When upgraded)
o Multiple post count messages.

Languages
- English (UTF-8)

Support
o Support Topic

Changelog

7/7/09 - v1.2
- Added option to show post count as well as post title.

7/3/09 - v1.1
- Added more options.

6/29/09 - v1.0
- Initial release
Disclaimer: SMFHacks.com Team is not affiliated with the SMF Team or the SimpleMachines NPO.
SMFHacks.com -  Paid Modifications for SMF
Latest Mods:
Community Suite
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

gbsothere

#1
Installed beautifully, enabled in Admin, but I'm still getting a post count beneath my own avatar, although I have more than enough posts and post count is enabled.    SMF 1.1.9

Hmmm.....



*going back to stare at it*

My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

[Core]


gbsothere

*sigh*


No....   can't get it to crank.



:-[
My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

JBlaze

Yea, It's only for 1 single post count.

I gotta enable more options for greater than #posts and less than #posts.

For now, it only pops up at a single post count
Jason Clemons
Former Team Member 2009 - 2012

gbsothere

Oh!   I'll just bookmark this thread and look for updates, then.

Great idea for a mod, by the way.
My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

vmgamer


JBlaze

Updated to v1.1

Added more options
Jason Clemons
Former Team Member 2009 - 2012

gbsothere

JBlaze, should I uninstall, first?

My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

JBlaze

Quote from: gbsothere on July 03, 2009, 09:23:34 AM
JBlaze, should I uninstall, first?



No need. Just install the new package. It includes an update. Then, once done, delete the old package (1.0) package from your package manager.

No need to uninstall anyhthing.
Jason Clemons
Former Team Member 2009 - 2012

gbsothere

My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

gbsothere

Since I have so many mods that use some of these files, I'm having to manually upgrade.  Using the upgrade-11x.xml, on the ModSettings.php, should I "replace" rather than place "after"?  I'm getting two sets of settings in Admin. 
My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

JBlaze

Quote from: gbsothere on July 03, 2009, 10:22:35 AM
Since I have so many mods that use some of these files, I'm having to manually upgrade.  Using the upgrade-11x.xml, on the ModSettings.php, should I "replace" rather than place "after"?  I'm getting two sets of settings in Admin. 

Yea, do a replace. I buggered up the package a bit. I re-uploaded it about 3 times, so I don't know which version you got.

If you try the new one, if you haven't already upgraded it, you can use that one.
Jason Clemons
Former Team Member 2009 - 2012

gbsothere

It's working!   8)

Great mod, my posters will like this.  Thanks!
My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

JBlaze

No probs :)

Keep an eye out for more updates :)
Jason Clemons
Former Team Member 2009 - 2012

ElectricSquid

I would like to keep the post count, plus have the function of this mod.
Is that possible?

JBlaze

Quote from: ∑£ℓ¢†®¡¢ §ợų¡đ on July 07, 2009, 08:40:42 AM
I would like to keep the post count, plus have the function of this mod.
Is that possible?

It's very possible.

SMF v1.1.9
/Themes/default/Display.template.php
Code (find) Select
      if (!empty($modSettings['custom_post_title_enable']) && $message['member']['posts'] >= $modSettings['custom_posts_moreNumber'])
        echo '
                ', $modSettings['custom_post_titleMore'], '<br />
                <br />';

elseif (!empty($modSettings['custom_post_title_enable']) && $message['member']['posts'] <= $modSettings['custom_posts_lessNumber'])
echo '
', $modSettings['custom_post_titleLess'], '<br />
<br />';

Code (replace with) Select
      if (!empty($modSettings['custom_post_title_enable']) && $message['member']['posts'] >= $modSettings['custom_posts_moreNumber'])
        echo '
                ', $modSettings['custom_post_titleMore'], '<br />
', $txt[26], ': ', $message['member']['posts'], '<br />
                <br />';

elseif (!empty($modSettings['custom_post_title_enable']) && $message['member']['posts'] <= $modSettings['custom_posts_lessNumber'])
echo '
', $modSettings['custom_post_titleLess'], '<br />
', $txt[26], ': ', $message['member']['posts'], '<br />
<br />';



SMF v2.0 RC1-1
/Themes/default/Display.template.php
Code (find) Select
if (!empty($modSettings['custom_post_title_enable']) && $message['member']['posts'] >= $modSettings['custom_posts_moreNumber'])
        echo '
            <li>', $modSettings['custom_post_titleMore'], '</li>';

elseif (!empty($modSettings['custom_post_title_enable']) && $message['member']['posts'] <= $modSettings['custom_posts_lessNumber'])
echo '
<li>', $modSettings['custom_post_titleLess'], '</li>';

Code (replace with) Select
if (!empty($modSettings['custom_post_title_enable']) && $message['member']['posts'] >= $modSettings['custom_posts_moreNumber'])
        echo '
            <li>', $modSettings['custom_post_titleMore'], '</li>
<li>', $txt['member_postcount'], ': ', $message['member']['posts'], '</li>';';

elseif (!empty($modSettings['custom_post_title_enable']) && $message['member']['posts'] <= $modSettings['custom_posts_lessNumber'])
echo '
<li>', $modSettings['custom_post_titleLess'], '</li>
<li>', $txt['member_postcount'], ': ', $message['member']['posts'], '</li>';



I may think about adding this as an option in the next update.
Jason Clemons
Former Team Member 2009 - 2012

JBlaze

Updated to include previous edit.

7/7/09 - v1.2
- Added option to show post count as well as post title.


Configurable in Admin
Jason Clemons
Former Team Member 2009 - 2012

gbsothere

*snagging this update, since this is one of the few mods that actually works for me, lately*

My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

qubbah

how can we change text to image?

Advertisement: