![]() |
Synopsis
This hack allows webmaster to provide syndicated VB content to other webmasters such as Latest topics, Latest Polls or calendar entries to other webmasters for inclusion on their websites. The webmasters using the feeds do NOT need PHP, PERL, MYSQL, ASP just a javascript enabled browser. Requirements * Crontab * The ability to run PHP via the command line Example http://cpfc.org/news/newsfeed.html Please note the documentation is sketchy and if your aren't savvy with hacking code yourself then maybe you should wait until the documentation is up to speed. |
don't use the txt file
use this |
This looks really interesting Dave. I'm looking forward to trying this out. Good job! :)
|
I'm doing something wrong. I get these errors when trying to run activefeed.php from the command line:
Code:
./activefeed.php: ?: No such file or directory |
Steve when executing your php file from the command line (telnet/SSH) you must specify the location of php binary
Ie for me /usr/local/php/bin/php -q /path/to/php/file |
if you can't get that to work you can do the following
/usr/bin/lynx -dump http://url.com/to/script.php |
Dave this is very cool. Looking forward to play with it.
|
Schleet :)
|
Invoking it with the path to php gives me this error now:
Code:
bash:~/www/forums$ /usr/bin/php -q activefeed.php mysql_select_db($dbname); |
you might need to add
#!/usr/local/bin/php at the top of your file. If you are running php as cgi mode. |
All times are GMT. The time now is 08:39 AM. |
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:
|