![]() |
Help with a header plugin...
Hi all! I'm trying to create a random quote plugin for my board's header.
So far, i created the following plugin on global_bootstrap_init_start: Code:
if ($result = $vbulletin->db->query_first Code:
<div class="text">{vb:raw text}</div> Code:
<div id="header_randomquote">{vb:raw randomquote}</div> |
Change your else to actually spit something out in $randomquote so you can see which path it is taking (if or else).
|
Quote:
Your missing a closing brace on your IF/ELSE block in your plugin |
All times are GMT. The time now is 05:25 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:
|