vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Member Number Under Avatar (https://vborg.vbsupport.ru/showthread.php?t=323538)

bazookajoe 09-28-2016 03:23 PM

Member Number Under Avatar
 
Id like to display each member's number somewhere under their avatar, like maybe just above or below their join date. A lot of older members like to brag on being member 23 or 150 or whatever and I dont mind that they are proud of that. Is there such a mod or is anyone willing to make one?

Example:

Member Number: 12756

Paul M 09-28-2016 03:28 PM

Ive never seen one, but it would just be a pretty simple template edit, no code would be required.

Dragonsys 09-28-2016 03:32 PM

You should be able to add the below to your postbit template

Code:

Member Number: {vb:raw postinfo.userid}

4ngeluxpunk 09-28-2016 03:38 PM

Quote:

Originally Posted by bazookajoe (Post 2576376)
Id like to display each member's number somewhere under their avatar, like maybe just above or below their join date. A lot of older members like to brag on being member 23 or 150 or whatever and I dont mind that they are proud of that. Is there such a mod or is anyone willing to make one?

Example:

Member Number: 12756

This Mod will serve much: https://vborg.vbsupport.ru/showthrea...hlight=user+id

Dragonsys 09-28-2016 03:48 PM

Quote:

Originally Posted by 4ngeluxpunk (Post 2576381)

Nice, but that just gives the template edit information, which I posted above. It does have you use a phrase though, which is better

bazookajoe 09-28-2016 03:58 PM

Thanks, will use this mod.

MarkFL 09-28-2016 04:35 PM

1 Attachment(s)
I have attached a simple product that will add the userid at the top of the userinfo section of postbits, for legacy and horizontal postbits. This way it will work for all of your installed styles with no template hacks.

You will find the descriptor of the field in the phrase "markfl_membernumber".

https://vborg.vbsupport.ru/attachmen...1&d=1475087555

Download and import the .XML product file. There are no settings, once you import it, it's active. :)

bazookajoe 09-28-2016 05:18 PM

Installed but not working...not sure why?

MarkFL 09-28-2016 05:21 PM

Quote:

Originally Posted by bazookajoe (Post 2576390)
Installed but not working...not sure why?

Did you try your default style? It could be your custom style templates have been hacked and the template auto-edit won't work?

edit: It works on my local dev site where I developed it of course, but I just tried it on one of the live sites I help admin, and it worked there as well.

bazookajoe 09-28-2016 09:18 PM

Works great Mark, thanks much for your help.


All times are GMT. The time now is 11:45 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
  • Page Generation 0.03923 seconds
  • Memory Usage 1,730KB
  • 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
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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