vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Miscellaneous Hacks - Display Userid in Postbit/Postbit_Legecy & MemberInfo (https://vborg.vbsupport.ru/showthread.php?t=120964)

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

Quote:

Just in case if you're interested of <if condition...>... see Pathor's great Conditional Info and Tutorial :up: It's always worth a view! -Mike
Where'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

Quote:

Originally Posted by rjmjr69 (Post 1172809)
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

Quote:

Originally Posted by acco (Post 1055031)
Thanks installed :)

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


Yes, check it out here:
https://vborg.vbsupport.ru/showthrea...03#post1177703

wpeloquin 02-12-2007 12:41 AM

I changed
Code:

<!-- 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:
Code:

<!-- 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

Quote:

Originally Posted by wpeloquin (Post 1180313)
I changed
Code:

<!-- 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:
Code:

<!-- 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 :)


All times are GMT. The time now is 05:09 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01046 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete