The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Query in postbit
I am trying to make a query inisde ta plugin with the location:postbit_display_complete but when i put $db->query_read or $vbulletin->db->query_read then you get:
Quote:
|
#2
|
|||
|
|||
It's in a class, so try:
PHP Code:
|
#3
|
|||
|
|||
now i have:
PHP Code:
|
#4
|
|||
|
|||
I have the same problem.
How can I query my DB in a postbit_display_complete location plug-in? --------------- Added [DATE]1218810281[/DATE] at [TIME]1218810281[/TIME] --------------- With: $this->registry->db->query_read(" SELECT COUNT(*) AS numerolibri FROM tab_mylib WHERE myl_userid = '1' "); $testo_libri .= "$this[numerolibri]"; I obtain this error: Quote:
|
#5
|
|||
|
|||
Try:
PHP Code:
|
#6
|
|||
|
|||
Yeahhhh now it works!
I add some keywords for future searches: query postbit postbit plugin query postbit_display_complete |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|