PDA

View Full Version : Miscellaneous Hacks - Display Userid in Postbit/Postbit_Legecy & MemberInfo


Mastar
07-11-2006, 10:00 PM
Hope Other's Find This Useful.

Display a Clickable Userid in Postbit/Postbit_Legecy & MemberInfo For Admins and Mods (vBulletin 3.5 / 3.6)

Update: v1.01
Added permission for Smods & Mods.



Please Click Install (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=120964)

Mastar
07-12-2006, 02:01 AM
*Clicks Install!!*

Scooterpig
07-12-2006, 05:25 AM
Does this ID show for everyone or just for Admin please?

Pathor
07-12-2006, 09:32 AM
Only Admins.

Snake
07-12-2006, 01:19 PM
Thanks!

Scooterpig
07-13-2006, 10:12 AM
Thanks for that...installed..:)

Barteken
08-17-2006, 10:52 PM
reserved

acco
08-18-2006, 01:24 PM
Thanks installed :)

Could this hack be intergrated to show UserID in the members list?

ChaoticMageDDC
09-14-2006, 03:29 PM
Very useful thanks!

Mike-D
09-17-2006, 07:53 PM
Does this ID show for everyone or just for Admin please?Yep. Only Admins like Pathor said. Because of this...

<if condition="$bbuserinfo[usergroupid]==6">

Just in case if you're interested of <if condition...>... see Pathor's great Conditional Info (http://www.vbulletin-germany.com/forum/showthread.php?t=24195) and Tutorial :up: It's always worth a view! -Mike

oberheimhaven
09-18-2006, 06:02 PM
Installed
Thxs for the great hack very useful!!
MarkAnthony

Mastar
10-08-2006, 04:14 PM
Your welcome!

krazycivik
11-07-2006, 05:54 AM
awsome hack thank you installed..

Smoothie
11-07-2006, 03:04 PM
Just in case if you're interested of <if condition...>... see Pathor's great Conditional Info (http://www.vbulletin-germany.com/forum/showthread.php?t=24195) and Tutorial :up: It's always worth a view! -MikeWhere's the english version?

rjmjr69
02-02-2007, 08:19 AM
Can this be added with vb plaza installed? I looked at the code and found SOME of it in membersinfo. But the line doesn't match exactly

This is what I have that matches the most information

<if condition="$userinfo['usertitle']"><div class="smallfont" <if condition="$userinfo['titlestyle']">style="$userinfo[titlestyle]"</if>>$userinfo[usertitle]</div></if>
<!-- vbPlaza end -->

Mastar
02-03-2007, 12:59 PM
Can this be added with vb plaza installed? I looked at the code and found SOME of it in membersinfo. But the line doesn't match exactly

This is what I have that matches the most information

<if condition="$userinfo['usertitle']"><div class="smallfont" <if condition="$userinfo['titlestyle']">style="$userinfo[titlestyle]"</if>>$userinfo[usertitle]</div></if>
<!-- vbPlaza end -->


It probably can I don't use vb Plaza so there is no way of testing but you can insert the code there and see where it shows up and adjust to suite.

Mastar
02-08-2007, 05:40 PM
Thanks installed :)

Could this hack be intergrated to show UserID in the members list?


Yes, check it out here:
https://vborg.vbsupport.ru/showthread.php?p=1177703#post1177703

wpeloquin
02-12-2007, 12:41 AM
I changed
<!-- USERID -->
<if condition="$bbuserinfo[usergroupid]==6">
<a class="smallfont" href="admincp/user.php?do=edit&u=$post[userid]">$vbphrase[userid]:$post[userid]</a>
</if>
<!-- END USERID -->

to this:

<!-- USERID -->
<if condition="$bbuserinfo[usergroupid]==6">
<a class="smallfont" href="$admincpdir/user.php?do=edit&u=$post[userid]">$vbphrase[userid]:$post[userid]</a>
</if>
<!-- END USERID -->

for users who have changed the path of their admincp

Mastar
03-01-2007, 12:10 AM
I changed
<!-- USERID -->
<if condition="$bbuserinfo[usergroupid]==6">
<a class="smallfont" href="admincp/user.php?do=edit&u=$post[userid]">$vbphrase[userid]:$post[userid]</a>
</if>
<!-- END USERID -->

to this:

<!-- USERID -->
<if condition="$bbuserinfo[usergroupid]==6">
<a class="smallfont" href="$admincpdir/user.php?do=edit&u=$post[userid]">$vbphrase[userid]:$post[userid]</a>
</if>
<!-- END USERID -->

for users who have changed the path of their admincp

Thank you!

wpeloquin
03-03-2007, 05:29 PM
not a problem :)

pollon
03-08-2007, 06:31 PM
hi!
I would like other usergroups to see the user ID. so i want the user ID not to link anywhere.
how can I do it?

aquariumpros
03-08-2007, 06:37 PM
hi!
I would like other usergroups to see the user ID. how can I do it?

Add the usergroups to this line :

<if condition="$bbuserinfo[usergroupid]==6">

MThornback
03-09-2007, 12:23 AM
Can this be added with vb plaza installed? I looked at the code and found SOME of it in membersinfo. But the line doesn't match exactly

This is what I have that matches the most information

<if condition="$userinfo['usertitle']"><div class="smallfont" <if condition="$userinfo['titlestyle']">style="$userinfo[titlestyle]"</if>>$userinfo[usertitle]</div></if>
<!-- vbPlaza end -->


All that bit you posted does is allow VBPlaza to apply colour and font changes etc... if you add this authors code after <!-- vbPlaza end --> it should appear as intended without a problem providing there are no open template conditions above it to interfere :)

rjmjr69
03-09-2007, 01:37 AM
All that bit you posted does is allow VBPlaza to apply colour and font changes etc... if you add this authors code after <!-- vbPlaza end --> it should appear as intended without a problem providing there are no open template conditions above it to interfere :)

Thank you. Got it figured out and did it exactly how you exlained. But with the recent security issues I had to uninstall the plaza for now.

rolfw1
05-20-2007, 08:41 AM
Very useful, thanks very much. :)

changed the postbit code slightly to centre the text (for appearance sake)

@ aquariumpros. Thanks for that, now use <if condition="is_member_of($bbuserinfo, 2, 7, 10)"> and gives access to mods and a special group. :)

Mastar
05-20-2007, 12:27 PM
Thanks!

rolfw1
05-23-2007, 08:14 PM
Thanks again, just added the update, now lets the mods view the member information. Is it possible to point the mods to the complete mod cpanel page with the user loaded, as at the moment it only points to the user information and no sidebar with function controls, so even if they get there, they can't do anything with the information.

Mastar
05-23-2007, 08:23 PM
Thanks again, just added the update, now lets the mods view the member information, is it possible to point the mods to the complete mod cpanel page, as at the moment it only points to the user information and no sidebar with function controls, so even if they get there, they can't do anything with the information.

Gonna look into it, thanks!

Andyucs
05-30-2007, 05:30 PM
Clicks Installed

Nice 1

dannylin3000
06-03-2007, 01:07 AM
i have a custom field for my users to enter their nickname - was wondering if you know how to show their nickname instead of their username?

periphrastic
09-22-2007, 03:56 AM
installed & thank you - however, when i click on the ID, i'm taken to a 'page not found' screen ? could you advise on this? thanks

Mastar
09-22-2007, 04:05 AM
installed & thank you - however, when i click on the ID, i'm taken to a 'page not found' screen ? could you advise on this? thanks

Try changing this line:

<a class="smallfont" href="$admincpdir/user.php?do=edit&u=$post[userid]">$post[userid]</a>

<a class="smallfont" href="admincp/user.php?do=edit&u=$post[userid]">$post[userid]</a>

Assuming you are logged in as an admin.