Announcement

Collapse
No announcement yet.

4.2.1: What changed for {userinfo.userid}?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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:
    search.php?do=finduser&userid={bbuserinfo.userid}&contenttype=vBForum_Post&starteronly=1

    or

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

  • #2
    Also: {options.xxx} becomes {vboptions.xxx} 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

    Comment


    • #3
      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 30th Aug '13, 7:32pm.

      Comment

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