![]() |
Thanks. nice and easy! :)
|
/me clicks install.
This is pretty cool, thanks! |
That's a lot simpler for members now
Thank you:D Install |
I've changed this from a template hack to a plugin. (Because I'm calling the little template elsewhere too now).
Possibly easier to manage in upgrades etc. |
I like this but is there a way so that it only appears for certain usergroups?
Will this work on 3.5.3 ? Thanks |
^ ^
Sure. I'm not making a whole admin interface for this, but if you surround the 'usercp_ownpostsbit' template or the $usercp_ownpostsbit entry with: <if condition="$bbuserinfo[usergroupid] == X"> $usercp_ownpostsbit </if> Where x is the usergroup id. There's a slightly different conditional if you want to define multiple groups. This works with 3.5.anything |
Thank you Borgs8472
For the update its a lot easier now :) |
^ ^
I'm glad you think so, cause it was 100 times harder to code! :D |
i would love to add this for multiple usergroups, could you give me the conditional you mentioned and a sample of where to add it?
thanks! Quote:
|
Wrap
Code:
<if condition="is_member_of($bbuserinfo, X, Y, Z)"> $usercp_ownpostsbit you're adding Code:
<if condition="is_member_of($bbuserinfo, X, Y, Z)"> |
All times are GMT. The time now is 02:10 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|