![]() |
Can someone please convert these for me?
Code:
$spacer_open |
Quote:
{vb:raw spacer_open} {vb:raw spacer_close} unless 4.x has a different mechanism. Double check the brackets, I'm not sure if they are correct. |
Nope.. they aren't correct. I already tried that before posting here :)
|
Quote:
HTML Code:
{vb:raw spacer_open} PHP Code:
|
Quote:
|
Hi everyone
i have a php file that contain some variable and i tried to connect them together like a URL (link) $folder = $folders = $vbulletin->options['folder']; $subfolder = $folders = $vbulletin->options['subfolder']; $file = $folders = $vbulletin->options['file']; $url = $folder/$subfolder/$file; then i got an error like Warning: Division by zero in E:\xampp\htdocs\test\test.php on line 184 note: those code on line 184 any help or suggestion will be appreciated or with those variable how can i put them in my template {vb:var folder}/{vb:var subfolder}/{vb:var file} within $templater->register(''); is it correct ? thanks, |
Quote:
|
thank you very much TalkVirginia
it works |
Quote:
|
The template hook, $template_hook['showthread_above_posts'] for example, is the variable you want to populate to display your data. The hook location, showthread_complete for example, is the hook in the php file that you use to load the template variable with your data by rendering a template for instance. You can select these hook locations in the plugin manager drop down when you create a new plugin.
|
All times are GMT. The time now is 03:18 PM. |
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:
|