Please see
this post to understand why I'm using a variable in the identifier.
Sabret00the, your code suggestion doesn't seem right.
style="$vbcollapse[collapseobj_my_table_$post[postid]">
There is a square bracket after $vbcollapse which must be closed.
I haven't touched any IF conditionals.
When I use my_table as the identifier I don't get any parse errors. However, the posts don't collapse. Each post must have a unique identifier which is why the postid is used. But it won't parse.
Looks like somebody else tried this a couple of years ago and had the same problem.
http://www.vbulletintemplates.com/mo...59&postcount=2
------------------------------------------------------------------
Okay, I managed to find a way to collapse both the member info and message text. They are two separate tables so each has to be collapsed individually. They both required different identifiers so I used postid for the message table and postcount for the user info table. Thanks to Mike Sullivan from
vBulletin.com for helping.
Additionally, the collapse state needs to be saved in a cookie somehow as it does for the collapsible tables elsewhere. Any help with this would be welcome. I've attached the
postbit template as an .rtf wordpad document so that the code additions could be highlighted in
bold and red.
You can visit my site as a guest to see how it works.