Quote:
I looked at it twice without noticing, it was only after going back and reading the part where you said the footer string was OK that I thought it had to be something to do with the template. |
I followed all the directions and got this to work for me! Yay! One question that's only indirectly related - on this custom page I've just created, I don't want to display ads. We have ads on the other parts of the forum, but I can't figure out how to tell vBulletin NOT to display ads on museumlinks.php, the page I just created.
|
I have the page working, thanks!
I'd like to know how to pull RSS from certain forums to different custom pages as well if someone can help me. I've searched google, found something but it doesn't work with vb4. Any help would be appreciated. |
See these threads for methods to pull threads via javascript:
[HowTo] Display your latest threads on an external page using an RSS2 feed [HowTo] Display your latest threads on an external page using an XML feed [HowTo] Display your latest threads on an external page using an RSS feed You may need to change the html output a bit. |
Quote:
Nothing says what to do from there, so I'm kind of clueless on how to get the actual feed to show. What do I need to wrap around the echo $rss_output;? I placed it inside of the following code, but I'm no expert on this. HTML Code:
<h2 class="blockhead">Popular Games</h2> |
Quote:
PHP Code:
Thread addendum: Suppose you wanted to feed a $_SERVER variable into the template? Is there a native vBulletin function I could use to clean it prior to feeding it to $templater->register()? |
Quote:
|
Hmm, doesn't seem like I can. I had already discovered clean_gpc in the developer's guide; tried it with 'r' and 'p' ... null string result. And 's' is also null.
Guess I'll need to hunt down the location of clean_gpc (obviously in the input class ... wherever that is) and see what I can figure out. |
Quote:
|
Indeed, it does.
I just wasn't thinking inside the framework ;) PHP Code:
|
All times are GMT. The time now is 11:15 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|