The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
would it be possible....
...to pull a single post outta the db and have it displayed (just the post message not the whole postbit) on a non vB page?
|
#2
|
|||
|
|||
Why not?
PHP Code:
|
#3
|
||||
|
||||
thanks filburt and i wouldn't have to include anyfiles would i?
|
#4
|
||||
|
||||
no, you just must have the db access
|
#5
|
||||
|
||||
couldn't i just include the config.php to give it database access?
|
#6
|
||||
|
||||
nope, it's declared in global.php
|
#7
|
||||
|
||||
thanks xenon and filburt :nervous:
|
#8
|
||||
|
||||
sorry about this, but using
PHP Code:
|
#9
|
||||
|
||||
instead of:[code]mysql_fetch_array(mysql_query("SELECT pagetext FROM post WHERE postid = 60912"));[/php]
use PHP Code:
|
#10
|
||||
|
||||
i tried that and it gives me a parse error on that line
so then i tried defining $DB_site as PHP Code:
any ideas? |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|