The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
this is my plugin hook at global_start (but I also tried to global_setup_complete)
Code:
function AD_Open($type) { $result_AD=$db->query_first("SELECT css from mytable WHERE id ='$type'"); $csscode = $result_AD['css']; return $csscode; } $dom_css = AD_Open(2); why? |
#2
|
|||
|
|||
![]()
Are you sure the query is working? Maybe try setting $dom_css to a constant and see what happens (maybe you already tried that, based on your question in the other thread).
|
#3
|
|||
|
|||
![]() Quote:
i have vBulletin v3.8.7 Patch Level --------------- Added 20 Mar 2012 at 16:38 --------------- I have also tried to set $dom_css to a constant Code:
$dom_css ='#test_css{display:none;}'; |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|