Postbit tweak
Anyone know a script that can handle the postbit icons in a fashion similar to the product Icons here? We're looking to setup a system where we can give people "Supporter badges" for a given year when they donate to the site and have them show up in the postbit. Looking at the way GM seems to work here by promoting purchasers into special user groups gave me the basic idea.
I've dug around over on .org and found a couple sorta/kinda matches like YAAS, but they all seem to be either overkill or incompatible with 3.6.4. Any ideas? Thanks in advance for any suggestion... James and Susan |
All I do here is create a usergroup affiliated with the product, then in the postbit, do a simple <if condition="is_member_of(usergroupid, $bbuserinfo)">image here</if>
Its not perfect, but it does the trick :) |
That's pretty much what we're looking at...
Quote:
Thanks for the info! So many little "bits" to get a handle on;). James and Susan |
Its just a parameter the function expects. However that actually is the userinfo for WHO is reading the post - I forgot I had to write a plugin for it.
Here is is: Title: Thing location: postbit_display_start code: PHP Code:
|
Oops... Forgot to reply!
Just realized that I never said thank you!
I really appreciate your willingness to help with such a tangential issue ;). So *ahem* THANKS! This'll help out as we implement phase 1 of our supporter recognition system... James and Susan |
One more question?
Now that I've got our testbed up, I'm actually implementing the first stage of our member recognition system. So I'm pretty sure I follow the plugin you listed, and that doesn't match up with the:
<if condition="is_member_of(usergroupid, $bbuserinfo)">image here</if> So what do you add in the postbit? Just $secondary_icons wherever you want the icons dropped in? James and Susan |
$secondary_icons are already there :)
|
All times are GMT. The time now is 09:43 AM. |
Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.