The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I have added the following lines to my phpinclude template in VB3.0.0:
PHP Code:
If I try and place $sidepoll in the footer template, as I want this to appear on every page, I get a very strange problem... the page appears as if it is only sidepoll.php. None of the rest of the page is displayed, ONLY sidepoll.php. Any ideas why it might be doing this? It is driving me crazy! |
#2
|
||||
|
||||
![]()
I haven't played too much with PHP's output buffering but what are you getting the contents of? Don't you have to pass an arguement to the ob_get_contents function
![]() |
#3
|
|||
|
|||
![]()
I'm afraid you've lost me there mate
![]() I thought that this would grab the parsed output of the sidepoll.php file, and then store that in place of the $sidepoll variable? i.e then I can echo the $sidepoll at a later stage? |
#4
|
||||
|
||||
![]()
Oh right - well I didn't know that was how it works
![]() ![]() Btw your signature is in violation with our rules. Please refer to here: [nosig]The prices and ads link is commercial.[/nosig] |
#5
|
|||
|
|||
![]()
OK, sorry there
![]() I'll change it now! I have just managed to get the script working by modifying the actual sidepoll.php itself, it turns out the problem was in there ![]() |
#6
|
||||
|
||||
![]()
Ok glad you resolved your problem - your sig's fine now
![]() |
#7
|
|||
|
|||
![]()
Hmm, there is one problem I am having with the script though, I dont know how to select the latest poll thread from a particular forum.
I want the threadid of the latest poll in forumid x. I have tried this, but I know it isnt quite right, any chance you can spot what is wrong? (I am a PHP novice!): PHP Code:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|