The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
using Plugin to display SQL result in postbit
All I need is to display a value return from SQL in the Postbit.
I use a plugin to hook into the postbit_display_start using <?php $post_reps=$db->query_first("SELECT COUNT(userid) as countrep FROM " . TABLE_PREFIX . "reputation WHERE postid = " . $postid ); $rep_given = $post_reps['countrep']; eval('print_output("' . fetch_template('postbit') . '");'); ?> but the page is totally blank. Can anyone please help me? Thanks problem temporary solved. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|