![]() |
This works great except for one problem - it only pulls threads from my first forum (with forumid 24.) How do I get it to pull the last 10 threads from all my open forums?
http://www.optiboard.com/newsfeed.html |
em bah i made a mistake with the forum permissions, it only worked if you had access masks on. Reworked it and it now takes it from all forums. See attachment below.
Updated to connect to the database a different way. |
Hmmm.....I am getting a blank page except one time when it did work.
When I /usr/bin/lynx -dump http://url.com/to/activefeed.php it had NO error code and the .js script was touch with a new date but the page came up empty. This is after it worked the first time. I am using your latest version of the script as well. Any idea's? Thanks, Michael www.clublexus.com |
Thanks PPN! Works perfectly now.
One question though. Is there anyway to disable the cookie-setting when newsfeed.php is run? Running it even shows up in Who's Online. |
Looks quite interesting.
But is this possible without the cron facility ? Without the facility to run php from command line ? Any clues ? Thanks |
if you can't use lynx use this
change newsfeed.php to newsfeed.cgi and at the top add #!/usr/bin/php this is my presuming the path to your PHP then add the following cronjob /usr/bin/php -q /path/to/htdocs/newsfeed.cgi an alternative to cronjob would involve editing the vb php files, It shouldn't be to hard to do, all you would need to do it include the newsfeed.php where you want it to execute. |
PPN, do you know how to disable the cookie-setting?
|
instead of
PHP Code:
PHP Code:
|
Thanks, I'll give it a try!
|
It didn't work. It seems to have broken the newsfeed.php script altogether.
http://www.optiboard.com/newsfeed.html |
All times are GMT. The time now is 02:30 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|