Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[1.6][1.4] MyTopPoster - Greet Your TopPoster
#1
This user has been denied support. This user has been denied support.
MyTopPoster
Now alert the user if he is today's top poster easily!

If you are/were looking for a way to Congratulate a member if he is a top poster, this this plugin opens the way for it!

Download:


.zip   mytopposter.zip (Size: 1.79 KB / Downloads: 156)
Mods Site: http://mods.mybb.com/view/my-top-poster-2

Feature listing

For now, it has some simple features:
  • Easy-to-use & Simple in installation
  • Provides a template for easy editing [tp_topposter] and that too in a separate group to make it easy for you to find it!
  • Light-Weight - No time taking queries!
  • Globally available - The variable [$postertop] is available globally throughout your forum! Use it anywhere!

Example Usage

By default, it will add the NOTIFICATION just beside the username of user in header_welcomeblock_member.

However, you can remove it from there and display it else where.

For example:
As a notification like the private messages:
1. Edit the template tp_topposter and replace it with:
<div id="pm_notice">You are today's top poster with {$user['poststoday']} Posts!</div>

Easy right?

As a notification like the private messages along with their USERNAME & PROFILE LINK:
<div id="pm_notice">Hey <a href="member.php?action=profile?uid={$user['uid']}">{$user['username']}</a>! You are today's top poster with {$user['poststoday']} Posts!</div>

Similarly you can derive your own ways of using it.

Installation instructions

1. Upload Plugin to folder [MYBBROOT/inc/plugins/]
2. Go to ACP -> Plugins -> Install & Activate MyTopPoster
Done!

I will for sure add more features to it! Soon!
Reply
#2
Approved!
[Image: fSGNVQj.png]
Reply
#3
Fatal error: Call to undefined function topposter_info() in /home/mydomain/public_html/inc/plugins/mytopposter.php on line 28
[Image: banner.jpg]
Reply
#4
This user has been denied support. This user has been denied support.
Fixed the error. Sorry for the inconvenience!
Reply
#5
Please how to show a message inside user post when it is a top poster postbit template?????

<if $post['uid'] = ($topposter->$user['uid']) then>TOP POSTER</if>
Reply
#6
After uploading it, my entire plugins page is going blank. :/ Any Fix?
Reply
#7
This user has been denied support. This user has been denied support.
(2014-02-05, 06:34 PM)marcus123 Wrote: Please how to show a message inside user post when it is a top poster postbit template?????

<if $post['uid'] = ($topposter->$user['uid']) then>TOP POSTER</if>

Ah, you don't need to do that.....

You just need to add this in member_welcomeblock_user template:

{$postertop}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)