![]() |
UserID in postbit_legacy
This little modification adds a field in postbit_legacy (the vertical/classic one) for the userID, under the posts number. If guest posting is allowed the field will not be displayed in the postbit at all for the guests. :)
Instructions: In the template postbit_legacy find: HTML Code:
<div> HTML Code:
<if condition="$post[userid]"> Let me know if you'd like the UserID somewhere else in the postbit. If you liked it and are using it don't forget to click INSTALL! :) |
Cool idea.
|
Oh man that's what I've been looking for. Thanks!
|
thank you very much!!!!
:D if i want to change "userID" whit something else how can i do? |
Quote:
You can also make it as a phrase by adding a phrase called (for example) "userid_postbit" in the GLOBAL group and then in the template instead of UserID put $vbphrase[userid_postbit]. Wou can name the phrase whatever you like, userid_postbit is just an example to show you how it works ;) Ask me if you have more questions :) |
My forum uses the horizontal how do i change it..?
It's ok i found it. |
thanks installed.
|
any ideas on how to put space between join date, posts, etc. cause it kinda looks stacked up ontop of eachother
|
Quote:
Anyway, most of the times tis can be done with an extra <br /> :) |
Beautiful. Nothing better than showing your members exactly where they stand in the n00b department.
Installed on 3.5.4 with no problems. |
very nice and great position of the id
|
I there. And what about using UserID in non-vertical postbit_legacy? Do you know how? Thanks.
|
Quote:
|
I thank you for your help, but could ou be more specific please? Place it where exactly? Sorry but i'm a zero in this issues.
|
Now that I think of it, search for the same exact code in template "postbit" and do the same thing. :)
|
Yes i've tryed that and didn't work. Any ideas?
|
Michelle?!
|
Problem solved. I think it was from a template rebuiuld but... Not shure. Thanks anyway.
|
thanx thats a good hacl...;)
|
cool stuff, thx!
|
will this work with 3.5.4 I installed however its was over to the right of member pic and ID what could i be doing wrong yes In new atthis let me check again
Hmm tired everything still going on the far right side pic on the left anyone here that can i help I sure would appreciate it.. Thanks |
Did not work in my 3.5.4 at all. I went back and triple checked I had it in the right place and all the code was there.
|
|
Hello
Have you got a update version for 3.5.4 please thank you. |
I added a condition so it only shows up for admins, but this should make my life a tad easier whenever I'm adding user-specific features to the templates.
Thanks. |
Quote:
|
I don't see how you would benefit by hiding the user id in the template to other usergroups... all a user needs to do is hover the mouse over the username or go to the users profile page and the user id is viewable in the url. However thats just my opinion.
|
Quote:
Code:
<if condition="$post[userid]"> Code:
<if condition="$post[userid] AND in_array($bbuserinfo[usergroupid], array(5,6))"> Quote:
There's no reason for a member to be able to see the userID that easily, where as an administrator such as myself would find it easier having the ID displayed in static text rather than having to hover my mouse over a link every time I need to referrence it. |
All times are GMT. The time now is 04:44 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:
|