![]() |
|
Article Options |
#31
|
|||
|
|||
Originally Posted by noppid
OK, that helps a lot. Now, next question. What if I want to render into my own private variable and display as part of the "postbit_legacy" template? For example, if I wanted to render as follows:![]()
$MyVar = $templater->render(); ... I registered my PHP code at postbit_display_start. Then inside of "postbit_legacy" -- replace {vb:raw post.message} with {vb:raw MyVar}. There appears to be a variable scope problem, or I'm not accessing $MyVar correctly inside of postbit_legacy. When I render into one of the hooks, the rendered display does show up correctly -- so I know the mechanics of what I'm doing are all correct. No members have liked this post.
|
#32
|
||||
|
||||
I agree and this definitely helps cement by decision to never upgrade to vb4.
__________________
-Joe Former vb.org Moderator. Retired. @BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic Note - I no longer making new VB mods, sorry. No members have liked this post.
|
#33
|
|||
|
|||
Does anyone know the usergroup HTML markup variable names?
To be clear, I'm not looking to use {vb:raw post.musername}, I want to get the HTML markup without the username. No members have liked this post.
|
![]() |
«
Previous Article
|
Next Article
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Article Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 13:34.