PDA

View Full Version : Conversation variables / Userinfo variables


sojobo
04-08-2013, 03:40 PM
Hey, I'm not really sure where to ask this so sorry if this is the wrong section

I'm trying to do some custom stuff with my conversation css based on usergroupid / displaygroupid - however I can't see to figure out how to get to these variables.

I've tried {vb:raw conversation.userinfo} and just about every variation of it, it seems that groupids are no where to be found though.

The template I'm trying to edit is display_contenttype_conversationreply_threadview_T ext

Any ideas?

Thanks a bunch!

marco_kellershoff
09-11-2013, 04:27 PM
I can confirm that. This is what we got:
array(144) {
["nodeid"]==> string(7) "1699259"
["routeid"]==> string(2) "85"
["contenttypeid"]==> string(2) "32"
["publishdate"]==> string(10) "1378807664"
["unpublishdate"]==> NULL
["userid"]==> string(5) "89108"
["groupid"]==> NULL
["authorname"]==> string(9) "user_zwei"
["description"]==> string(69) "Schau hier, ein tolles Foto, dass ich mit dir teilen m?chte!! :cool:"
["keywords"]==> NULL
["title"]==> string(8) "No Title"
["htmltitle"]==> string(8) "No Title"
["parentid"]==> string(7) "1699256"
["urlident"]==> string(8) "no-title"
["displayorder"]==> NULL
["starter"]==> string(7) "1699256"
["created"]==> string(10) "1378807664"
["lastcontent"]==> string(10) "1378807664"
["lastcontentid"]==> string(7) "1699259"
["lastcontentauthor"]==> string(9) "user_zwei"
["lastauthorid"]==> string(5) "89108"
["lastprefixid"]==> string(0) ""
["textcount"]==> string(1) "1"
["textunpubcount"]==> string(1) "0"
["totalcount"]==> string(1) "1"
["totalunpubcount"]==> string(1) "0"
["ipaddress"]==> string(12) "194.8.219.59"
["showpublished"]==> string(1) "1"
["oldid"]==> NULL
["oldcontenttypeid"]==> NULL
["nextupdate"]==> string(1) "0"
["lastupdate"]==> string(10) "1378807664"
["featured"]==> string(1) "0"
["CRC32"]==> string(10) "3628944149"
["taglist"]==> NULL
["inlist"]==> string(1) "1"
["protected"]==> string(1) "0"
["setfor"]==> string(1) "0"
["votes"]==> string(1) "1"
["hasphoto"]==> string(1) "0"
["hasvideo"]==> string(1) "0"
["deleteuserid"]==> NULL
["deletereason"]==> NULL
["open"]==> string(1) "1"
["showopen"]==> string(1) "1"
["sticky"]==> string(1) "0"
["approved"]==> string(1) "1"
["showapproved"]==> string(1) "1"
["viewperms"]==> string(1) "2"
["commentperms"]==> string(1) "1"
["nodeoptions"]==> string(3) "138"
["prefixid"]==> string(0) ""
["iconid"]==> string(1) "0"
["gallery_nodeid"]==> string(7) "1699259"
["caption"]==> NULL
["text_nodeid"]==> string(7) "1699259"
["previewtext"]==> NULL
["previewimage"]==> NULL
["previewvideo"]==> NULL
["imageheight"]==> NULL
["imagewidth"]==> NULL
["rawtext"]==> string(69) "Schau hier, ein tolles Foto, dass ich mit dir teilen m?chte!! :cool:"
["moderated"]==> NULL
["pagetextimages"]==> NULL
["pagetext"]==> NULL
["htmlstate"]==> string(3) "off"
["allowsmilie"]==> string(1) "0"
["showsignature"]==> string(1) "0"
["attach"]==> array(0) {
}
["infraction"]==> string(1) "0"
["reportnodeid"]==> string(1) "0"
["channelroute"]==> string(2) "84"
["channeltitle"]==> string(11) "Gyn�kologie"
["channelid"]==> string(2) "21"
["starterroute"]==> string(2) "85"
["startertitle"]==> string(20) "Hallo, wo ist user2?"
["starterauthorname"]==> string(8) "experte1"
["starterprefixid"]==> string(0) ""
["starteruserid"]==> string(5) "89110"
["starterlastcontentid"]==> string(7) "1699299"
["startertotalcount"]==> string(2) "21"
["starterurlident"]==> string(18) "hallo-wo-ist-user2"
["deleteusername"]==> NULL
["lastauthorname"]==> string(9) "user_zwei"
["edit_reason"]==> NULL
["edit_userid"]==> NULL
["edit_username"]==> NULL
["edit_dateline"]==> NULL
["hashistory"]==> NULL
["starternodeoptions"]==> string(3) "138"
["channelnodeoptions"]==> string(3) "138"
["contenttypeclass"]==> string(7) "Gallery"
["canview"]==> int(1)
["can_comment"]==> int(0)
["createpermissions"]==> bool(false)
["moderatorperms"]==> array(29) {
["caneditposts"]==> int(0)
["candeleteposts"]==> int(0)
["canopenclose"]==> int(0)
["caneditthreads"]==> int(0)
["canmanagethreads"]==> int(0)
["canannounce"]==> int(0)
["canmoderateposts"]==> int(0)
["canmoderateattachments"]==> int(0)
["canmassmove"]==> int(0)
["canmassprune"]==> int(0)
["canviewips"]==> int(0)
["canviewprofile"]==> int(0)
["canbanusers"]==> int(0)
["canunbanusers"]==> int(0)
["newthreademail"]==> int(0)
["newpostemail"]==> int(0)
["cansetpassword"]==> int(0)
["canremoveposts"]==> int(0)
["caneditsigs"]==> int(0)
["caneditavatar"]==> int(0)
["caneditpoll"]==> int(0)
["caneditprofilepic"]==> int(0)
["caneditreputation"]==> int(0)
["cansetfeatured"]==> int(0)
["canmoderatetags"]==> int(0)
["canaddowners"]==> int(0)
["canharddeleteposts"]==> int(0)
["canundeleteposts"]==> int(0)
["candeletethread"]==> int(0)
}
["channeltype"]==> string(5) "forum"
["canedit"]==> int(0)
["canmove"]==> int(0)
["candeleteposts"]==> int(0)
["candeletethread"]==> int(0)
["canopenclose"]==> int(0)
["canremove"]==> int(0)
["canharddeleteposts"]==> int(0)
["canundeleteposts"]==> int(0)
["moderate"]==> array(1) {
["candeleteposts"]==> int(0)
}
["canmoderate"]==> int(0)
["textcount_1"]==> int(2)
["totalcount_1"]==> int(2)
["allow_post"]==> int(1)
["moderate_comments"]==> int(0)
["approve_membership"]==> int(1)
["invite_only"]==> int(0)
["autoparselinks"]==> int(0)
["disablesmilies"]==> int(0)
["can_flag"]==> int(0)
["caninfract"]==> int(0)
["canviewnodeinfraction"]==> int(0)
["canseewholiked"]==> int(0)
["permissions"]==> array(9) {
["canedit"]==> int(0)
["canmoderate"]==> int(0)
["canvote"]==> int(0)
["canremove"]==> int(0)
["can_flag"]==> int(0)
["canviewthreads"]==> int(1)
["caninfract"]==> int(0)
["canviewnodeinfraction"]==> int(0)
["canseewholiked"]==> int(0)
}
["signature"]==> NULL
["musername"]==> string(9) "user_zwei"
["online"]==> string(7) "offline"
["reputation"]==> string(2) "10"
["showreputation"]==> int(0)
["reputationlevelid"]==> string(1) "5"
["reputationpower"]==> int(0)
["reputationimg"]==> array(3) {
["type"]==> string(3) "pos"
["level"]==> string(11) "reputation5"
["bars"]==> int(0)
}
["parents"]==> array(6) {
[0]==> array(15) {
["parent"]==> string(7) "1699259"
["child"]==> string(7) "1699259"
["depth"]==> string(1) "0"
["displayorder"]==> string(1) "0"
["publishdate"]==> string(10) "1378807664"
["nodeid"]==> string(7) "1699259"
["userid"]==> string(5) "89108"
["parentid"]==> string(7) "1699256"
["routeid"]==> string(2) "85"
["title"]==> string(8) "No Title"
["urlident"]==> string(8) "no-title"
["contenttypeid"]==> string(2) "32"
["unpublishdate"]==> NULL
["showpublished"]==> string(1) "1"
["starter"]==> string(7) "1699256"
}
[1]==> array(15) {
["parent"]==> string(7) "1699256"
["child"]==> string(7) "1699259"
["depth"]==> string(1) "1"
["displayorder"]==> string(1) "0"
["publishdate"]==> string(10) "1378806811"
["nodeid"]==> string(7) "1699256"
["userid"]==> string(5) "89110"
["parentid"]==> string(2) "21"
["routeid"]==> string(2) "85"
["title"]==> string(20) "Hallo, wo ist user2?"
["urlident"]==> string(18) "hallo-wo-ist-user2"
["contenttypeid"]==> string(2) "36"
["unpublishdate"]==> NULL
["showpublished"]==> string(1) "1"
["starter"]==> string(7) "1699256"
}
[2]==> array(15) {
["parent"]==> string(2) "21"
["child"]==> string(7) "1699259"
["depth"]==> string(1) "2"
["displayorder"]==> string(1) "0"
["publishdate"]==> string(10) "1365495047"
["nodeid"]==> string(2) "21"
["userid"]==> string(1) "1"
["parentid"]==> string(7) "1698952"
["routeid"]==> string(2) "84"
["title"]==> string(11) "Gyn�kologie"
["urlident"]==> string(12) "gyn?kologie"
["contenttypeid"]==> string(2) "29"
["unpublishdate"]==> string(1) "0"
["showpublished"]==> string(1) "1"
["starter"]==> string(1) "0"
}
[3]==> array(15) {
["parent"]==> string(7) "1698952"
["child"]==> string(7) "1699259"
["depth"]==> string(1) "3"
["displayorder"]==> string(1) "0"
["publishdate"]==> string(10) "1365666729"
["nodeid"]==> string(7) "1698952"
["userid"]==> string(1) "1"
["parentid"]==> string(1) "2"
["routeid"]==> string(3) "250"
["title"]==> string(15) "M�nner & Frauen"
["urlident"]==> string(14) "m?nner-frauen"
["contenttypeid"]==> string(2) "29"
["unpublishdate"]==> NULL
["showpublished"]==> string(1) "1"
["starter"]==> string(1) "0"
}
[4]==> array(15) {
["parent"]==> string(1) "2"
["child"]==> string(7) "1699259"
["depth"]==> string(1) "4"
["displayorder"]==> string(1) "0"
["publishdate"]==> string(10) "1321982542"
["nodeid"]==> string(1) "2"
["userid"]==> string(1) "1"
["parentid"]==> string(1) "1"
["routeid"]==> string(2) "41"
["title"]==> string(5) "Forum"
["urlident"]==> string(5) "forum"
["contenttypeid"]==> string(2) "29"
["unpublishdate"]==> string(1) "0"
["showpublished"]==> string(1) "1"
["starter"]==> string(1) "0"
}
[5]==> array(15) {
["parent"]==> string(1) "1"
["child"]==> string(7) "1699259"
["depth"]==> string(1) "5"
["displayorder"]==> string(1) "0"
["publishdate"]==> string(10) "1321982542"
["nodeid"]==> string(1) "1"
["userid"]==> string(1) "1"
["parentid"]==> string(1) "0"
["routeid"]==> string(1) "4"
["title"]==> string(4) "Home"
["urlident"]==> NULL
["contenttypeid"]==> string(2) "29"
["unpublishdate"]==> string(1) "0"
["showpublished"]==> string(1) "1"
["starter"]==> string(1) "0"
}
}
["canedittitle"]==> int(0)
["userinfo"]==> array(8) {
["userid"]==> string(5) "89108"
["username"]==> string(9) "user_zwei"
["rank"]==> NULL
["usertitle"]==> string(13) "Junior Member"
["joindate"]==> string(10) "1378800870"
["posts"]==> string(2) "11"
["customtitle"]==> string(1) "0"
["userfield"]==> array(4) {
["field1"]==> string(0) ""
["field2"]==> string(8) "Honolulu"
["field3"]==> string(0) ""
["field4"]==> string(0) ""
}
}
["photocount"]==> int(1)
["firstphoto"]==> array(38) {
["photoid"]==> string(1) "4"
["nodeid"]==> string(7) "1699260"
["filedataid"]==> string(2) "41"
["caption"]==> string(0) ""
["height"]==> string(1) "0"
["width"]==> string(1) "0"
["style"]==> NULL
["routeid"]==> string(2) "85"
["contenttypeid"]==> string(2) "33"
["publishdate"]==> string(10) "1378807664"
["unpublishdate"]==> NULL
["userid"]==> string(5) "89108"
["groupid"]==> NULL
["authorname"]==> string(9) "user_zwei"
["description"]==> NULL
["title"]==> string(0) ""
["htmltitle"]==> NULL
["parentid"]==> string(7) "1699259"
["urlident"]==> NULL
["displayorder"]==> NULL
["created"]==> string(10) "1378807664"
["lastcontent"]==> string(10) "1378807664"
["lastcontentid"]==> string(7) "1699260"
["lastcontentauthor"]==> string(9) "user_zwei"
["lastauthorid"]==> string(5) "89108"
["lastprefixid"]==> string(0) ""
["textcount"]==> string(1) "0"
["textunpubcount"]==> string(1) "0"
["totalcount"]==> string(1) "0"
["totalunpubcount"]==> string(1) "0"
["ipaddress"]==> string(12) "194.8.219.59"
["nextupdate"]==> string(1) "0"
["lastupdate"]==> string(10) "1378807664"
["showpublished"]==> string(1) "1"
["featured"]==> string(1) "0"
["starter"]==> string(7) "1699256"
["crc32"]==> string(10) "3628944149"
["startertitle"]==> string(20) "Hallo, wo ist user2?"
}
["photo"]==> array(1) {
[1699260]==> array(39) {
["photoid"]==> string(1) "4"
["nodeid"]==> string(7) "1699260"
["filedataid"]==> string(2) "41"
["caption"]==> string(0) ""
["height"]==> string(1) "0"
["width"]==> string(1) "0"
["style"]==> NULL
["routeid"]==> string(2) "85"
["contenttypeid"]==> string(2) "33"
["publishdate"]==> string(10) "1378807664"
["unpublishdate"]==> NULL
["userid"]==> string(5) "89108"
["groupid"]==> NULL
["authorname"]==> string(9) "user_zwei"
["description"]==> NULL
["title"]==> string(0) ""
["htmltitle"]==> NULL
["parentid"]==> string(7) "1699259"
["urlident"]==> NULL
["displayorder"]==> NULL
["created"]==> string(10) "1378807664"
["lastcontent"]==> string(10) "1378807664"
["lastcontentid"]==> string(7) "1699260"
["lastcontentauthor"]==> string(9) "user_zwei"
["lastauthorid"]==> string(5) "89108"
["lastprefixid"]==> string(0) ""
["textcount"]==> string(1) "0"
["textunpubcount"]==> string(1) "0"
["totalcount"]==> string(1) "0"
["totalunpubcount"]==> string(1) "0"
["ipaddress"]==> string(12) "194.8.219.59"
["nextupdate"]==> string(1) "0"
["lastupdate"]==> string(10) "1378807664"
["showpublished"]==> string(1) "1"
["featured"]==> string(1) "0"
["starter"]==> string(7) "1699256"
["crc32"]==> string(10) "3628944149"
["startertitle"]==> string(20) "Hallo, wo ist user2?"
["shortcaption"]==> bool(false)
}
}
["photopreview"]==> array(1) {
[1699260]==> array(39) {
["photoid"]==> string(1) "4"
["nodeid"]==> string(7) "1699260"
["filedataid"]==> string(2) "41"
["caption"]==> string(0) ""
["height"]==> string(1) "0"
["width"]==> string(1) "0"
["style"]==> NULL
["routeid"]==> string(2) "85"
["contenttypeid"]==> string(2) "33"
["publishdate"]==> string(10) "1378807664"
["unpublishdate"]==> NULL
["userid"]==> string(5) "89108"
["groupid"]==> NULL
["authorname"]==> string(9) "user_zwei"
["description"]==> NULL
["title"]==> string(0) ""
["htmltitle"]==> NULL
["parentid"]==> string(7) "1699259"
["urlident"]==> NULL
["displayorder"]==> NULL
["created"]==> string(10) "1378807664"
["lastcontent"]==> string(10) "1378807664"
["lastcontentid"]==> string(7) "1699260"
["lastcontentauthor"]==> string(9) "user_zwei"
["lastauthorid"]==> string(5) "89108"
["lastprefixid"]==> string(0) ""
["textcount"]==> string(1) "0"
["textunpubcount"]==> string(1) "0"
["totalcount"]==> string(1) "0"
["totalunpubcount"]==> string(1) "0"
["ipaddress"]==> string(12) "194.8.219.59"
["nextupdate"]==> string(1) "0"
["lastupdate"]==> string(10) "1378807664"
["showpublished"]==> string(1) "1"
["featured"]==> string(1) "0"
["starter"]==> string(7) "1699256"
["crc32"]==> string(10) "3628944149"
["startertitle"]==> string(20) "Hallo, wo ist user2?"
["shortcaption"]==> bool(false)
}
}
["nodeVoted"]==> string(1) "0"
["attachments"]==> array(1) {
[41]==> &array(20) {
["filedataid"]==> string(2) "41"
["nodeid"]==> string(7) "1699260"
["parentid"]==> string(7) "1699259"
["visible"]==> NULL
["counter"]==> string(1) "2"
["posthash"]==> NULL
["filename"]==> NULL
["reportthreadid"]==> NULL
["settings"]==> NULL
["height"]==> string(1) "0"
["width"]==> string(1) "0"
["style"]==> NULL
["caption"]==> string(0) ""
["userid"]==> string(5) "89108"
["extension"]==> string(3) "jpg"
["filesize"]==> string(5) "14936"
["dateline"]==> string(10) "1378807633"
["resize_filesize"]==> string(4) "6069"
["resize_dateline"]==> string(10) "1378807633"
["hasthumbnail"]==> bool(true)
}
}
["avatar"]==> array(2) {
["hascustom"]==> int(1)
["avatarpath"]==> string(50) "image.php?userid=89108&thumb=1&dateline=1378885056"
}
["avatar_last_poster"]==> array(2) {
["hascustom"]==> int(1)
["avatarpath"]==> string(50) "image.php?userid=89108&thumb=1&dateline=1378885056"
}
["isVisitorMessage"]==> int(0)
["subscribed"]==> int(0)
["joined"]==> bool(false)
["senderAvatar"]==> array(2) {
["hascustom"]==> int(1)
["avatarpath"]==> string(42) "image.php?userid=89108&dateline=1378885056"
}
["parsedSignature"]==> string(0) ""
}


probably you need to write a hook for this :(