View Single Post
Old 14 Sep 2016, 02:09
ia7 ia7 is offline
Join Date: Feb 2010
Unhappy What variables are available to the activity stream?

Hey there, I have been having a play around trying to learn the basics of modifying vBulletin. Making custom templates and pages and generally breaking things more than making them work. One thing that has got me nearly jumping out the window though is, how to get variables such as $foruminfo and $threadinfo for use in the activity stream.

For example: showing a prefix next to the title and then having it link to the forum the thread resides in with the url containing the ?prefixid=PREFIX is something that has me bouncing off the walls. Then why I try and mash a plugin together and see if values are passed it seems to not accept them. When I have a look into the activity related files I can see the use of these values but that is about the scope of my understanding with it.

Also is there a way to use the {vb:link} syntax to create the link and append values such as the prefix within a {vb:rawphrase} ? Or just create a {vb:link} with the prefixid=PREFIX filled in?

Apologies if this is very wrong but I'm not much of a coder but I do like to jump in and (try and) learn by breaking things.

Thanks to anyone who even looks at the above.
Reply With Quote