Well, obviously $statar is an array. I have no idea how you set it up, but just as you can't do echo $array in PHP, you can't just use {vb:raw array}. In PHP you would do echo $array['key'] to output the value. In the template you need to use {vb:raw array.key} accordingly.
Just as described in the first chapter of the article. |
Appreciate it Cellarius.
I looked through some of the other vbulletin, so I had to do something like. while yada yada { something = something['']} And everything started working. Mental error on my part. The only thing now is trying to complete a new mod for vbulletin. |
If anyone is able to guide me, I am trying to hack the Post Thanks Plugin so I can pass a variable to a template as a conditional.
Here is the function I need to create a conditional for: PHP Code:
HTML Code:
<vb:if condition="$post['can_thank_post']">Button code here</vb:if> |
LW (linkworth ) has given me a php file to include in the navigation bar. It will show rotating ads via rss feed. How can I include that file
I wrote the following code in global_start PHP Code:
Also the code in the rss_reader.php is : PHP Code:
|
I'm just curious if registering the navbar is always necessary if you're creating a template for your own vB page, and if so, should the first post be updated to illustrate this?
And where the hell is the documentation on things like this: Quote:
|
You won't stumble on to that anywhere in the files. ;)
|
Pls help me :(
https://vborg.vbsupport.ru/showthread.php?t=282142 |
If I have this:
PHP Code:
Code:
{vb:raw my_array} Code:
Array |
{vb:raw my_array.0} = 1
{vb:raw my_array.1} = 2 |
Quote:
PHP Code:
Quote:
|
All times are GMT. The time now is 02:04 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|