No announcement yet.

4.2.1: What changed for {userinfo.userid}?

  • Time
  • Show
Clear All
new posts
  • MikeF
    Senior Member
    • Jan 2006
    • 172

    4.2.1: What changed for {userinfo.userid}?

    Using {userinfo.userid} in the Navigational Menu system outputs nothing, as it was previously used to help members isolate their own Threads and Posts. It now seems to output a blank. Is there an equivalent definition or why was this eliminated? Answer: Use {bbuserinfo.userid} instead.

    Example for My Threads:


    Example for My Posts:
    search.php?do=finduser&userid={bbuserinfo.userid}&contenttype=vBForum_Post&sho wposts=1
    Last edited by MikeF; Wed 24 Apr '13, 11:06am.
  • AusPhotography
    Senior Member
    • Nov 2007
    • 1552

    Also: {} becomes {} in vB4.2.1 where xxx is an options variable

    Eg: {vboptions.bburl}
    environment: Centos 6.9, Apache v2.4.25, PHP 5.6.30/xCache, MariaDB 10.22 -- vB5 Connect Licensed

    AusPhotography - Australia's Premier Photographic Forum vB4.2.3
    Rick (site owner) and Kym (site tech) sharing this account


    • Hackers Paradise
      New Member
      • Oct 2008
      • 29
      • 4.2.X

      Just figured I would metion this for anyone else, in the original post for "My Posts" there is a space near the end

      search.php?do=finduser&userid={bbuserinfo.userid}&contenttype=vBForum_Post&sho wposts=1

      it should be:

      search.php?do=finduser&userid={bbuserinfo.userid}&contenttype=vBForum_Post&sho wposts=1(apparently it automatically puts a space in)
      Last edited by Hackers Paradise; Fri 30 Aug '13, 7:32pm.


      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.