![]() |
bbquote template
For my hack: https://vborg.vbsupport.ru/showthread.php?t=175282
I'm trying to get the font code to display within the quote box, but I can't get this to work. Here is my code within the bbcode_quote template: Code:
|
Lack of quotes here maybe?
<if condition="$userinfo[field10] Should be.. <if condition="$userinfo['field10'] What is it doing exactly? Nothing for the quotes at all? Or just some? Is it in the source code incorrectly or not at all? |
Quote:
Your css won't work right if the user doesn't provide all the fields. You might be able to try something like this but it will get complex. Code:
<div style=" |
Quote:
Yes the quotes did give me an error, I will try your suggestion though, thanks. |
Quote:
|
Ya I can't get it to work with either way. It seems it does not like variable $userinfo. $bbuserinfo works fine, but obvisously that just displays what the browsing user has entered in his/her profile NOT what the acually user that is displayed has selected. I don't know why that is, php works differently between each template.
|
Yeah $userinfo isn't a variable in the template system. Sorry didn't catch that.
$bbuserinfo contains all the userinfo. |
Quote:
So what variable could I use? $post doesn't work either :( |
When the quote is parsed in vB_BbCodeParser::handle_bbcode_quote, it only globalize these variables.
PHP Code:
|
Quote:
|
All times are GMT. The time now is 10:08 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|