The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
sidebar php problems ... ???
Hey All
I'm trying to create a custom sidebar block in my forum. the text and html options work fine, however when trying to use the php option, it displays the text at the very top of the page and not in the sidebar ... ? i.e if i create a new php block containing : echo "hello world!"; then this is displayed at the very top of the page and not in the side bar.... What am i doing wrong ??? Cheers A |
#2
|
||||
|
||||
This is the default text for that widget:
PHP Code:
WRONG: PHP Code:
PHP Code:
|
#3
|
|||
|
|||
Thank you Lynne, very much appreciated !
Do you know how to easily display an rss feed in the side bar ? I'd like to display my recent articles from my wordpress site.... It's proving very difficult !! A |
#4
|
||||
|
||||
Try looking in the mods forums. You could probably do it with javascript if there isn't something in the mods forums.
|
#5
|
|||
|
|||
Thanks Lynne...
Nothing in the mod forums that I could see, however I've adapted a php script which will parse the rss feed and output html... however I'm still having the same issue of the text appearing at the top of the page when i try to include the script in the side bar. my script is here : http://www.kitesbuggiesandboards.com...kbbrssfeed.php which outputs just what i need... when using : $output=include "http://www.kitesbuggiesandboards.com/kbbrss/kbbrssfeed.php"; or just : include "http://www.kitesbuggiesandboards.com/kbbrss/kbbrssfeed.php"; in the block it puts the text at the top, not in the block.... ? When i paste in the code you provide above, nothing appears in the block ?? What am I missing ?? Cheers A |
#6
|
||||
|
||||
also a code like this seem to do not work correctly,but it should:
PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|