2012-05-05, 11:29 PM
2012-05-05, 11:33 PM
http://mods.mybb.com/view/user-id-uid-on-postbit
Doesn't support selected usergroups though.
Doesn't support selected usergroups though.
2012-05-05, 11:34 PM
(2012-05-05, 11:33 PM)Solidus Wrote: [ -> ]http://mods.mybb.com/view/user-id-uid-on-postbit
Doesn't support selected usergroups though.
i need it to support selected usergroups you dont even need that plugin
<strong>UID:</strong>{$memprofile['uid']}
but i want to select certain usergroups
2012-05-05, 11:38 PM
If you're using template conditionals, do this,
That would (I think) only show UID on registered group members.
http://mybbhacks.zingaburga.com/showthread.php?tid=464
<if $user['usergroup'] == 2 then>
<strong>UID:</strong>{$memprofile['uid']}</if>
That would (I think) only show UID on registered group members.
http://mybbhacks.zingaburga.com/showthread.php?tid=464
2012-05-05, 11:41 PM
(2012-05-05, 11:38 PM)Solidus Wrote: [ -> ]If you're using template conditionals, do this,
<if $user['usergroup'] == 2 then> <strong>UID:</strong>{$memprofile['uid']}</if>
That would (I think) only show UID on registered group members.
http://mybbhacks.zingaburga.com/showthread.php?tid=464
lets say add 2 how can i do more?
<if $user['usergroup'] == 2,1 then>
<strong>UID:</strong>{$memprofile['uid']}</if>
2012-05-06, 05:42 AM
I don't think {$memprofile['uid']} would work on postbit. Its a profile function and as far as I guess, you're recalling it on postbit which won't work, I believe.
2012-05-06, 03:24 PM
(2012-05-06, 05:42 AM)crazy4cs Wrote: [ -> ]I don't think {$memprofile['uid']} would work on postbit. Its a profile function and as far as I guess, you're recalling it on postbit which won't work, I believe.i done {$post['uid']} the if statement didnt work..
2012-05-06, 04:21 PM
Use plugin instead.
2012-07-26, 05:11 PM
I think it's always best to use php call manually that to use plugin that keep your space and slow down your board page loading.
I used: {$post['uid']} on the postbit_author_user template of the theme I use for my board and works pretty well with me and I didn't install any plugin. To make it show on the member_user (user profile) you use {$memprofile['uid']}
I used: {$post['uid']} on the postbit_author_user template of the theme I use for my board and works pretty well with me and I didn't install any plugin. To make it show on the member_user (user profile) you use {$memprofile['uid']}