The Arcive of vBulletin Modifications Site. |
|
Details »»
|
|||||||||||||||||||||||||
This hack allows you to add dmoz.org / Open Directory Project live data to your site.
Requirements: - PHP4.0.0+ - vBulletin 2.2.x (the hack has not been tested on vBulletin 2.0.x) Recommended - PHP 4.0.5+ For a demo go and look @dmoz.org you get a customised version of that ![]() The included readme.html outlines installation instructions. The hack features high level customisation, no database changes are required. Updated 08/02/2002 08:23PM GMT - Version 1.2 - Added PHP 4.0.0+ support - Better documentation - "Entrypoint" support. Entrypoint allows you to open the ODP at any particullar category by default. - Experimental Category blocking. (read php-odp.include.php to discover how to enable this feature) Updated 08/02/2002 4:47AM GMT. - fixed Typo Updated 08/02/2002 4:13AM GMT. - Improved documentation - Corrected url bug - Improved caching Updated 07/02/2002 9:56PM GMT. - Added caching support - By default the main page is cached however it is possible to cache categories and to cache descriptions. - Cache time can be set Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Awesome hack, thanks!
|
|
#3
|
||||
|
||||
|
This is cool, i'll be installing it later today.
|
|
#4
|
||||
|
||||
|
Great, gonna install this one later. Thanks
|
|
#5
|
||||
|
||||
|
OK, i've just installed this hack http://bbs.ofdan.net/php-odp.php it was nice and easy to install, and run, the only problem I find with it is that it takes a while for the front page to load up, which is a shame because I should image that it's going to be the most used page...
If you can find a way of speeding this up (even if you just use static html for the front page) I would apprechate it. |
|
#6
|
|||
|
|||
|
Hack has been updated to include caching.
To upgrade just replace the new versions of php-odp.php and php-odp.include.php To configure the caching support please study the new vars contained inside php-odp.include.php, by default only the main page will be cached for 1 day this maybe altered however. |
|
#7
|
|||
|
|||
|
Warning: stat failed for ./default (errno=2 - No such file or directory) in /home/serioussam/cgi-bin/odp/php-odp.php on line 144
Warning: fopen("./default", "w") - Permission denied in /home/serioussam/cgi-bin/odp/php-odp.php on line 318 Warning: Supplied argument is not a valid File-Handle resource in /home/serioussam/cgi-bin/odp/php-odp.php on line 319 Warning: Supplied argument is not a valid File-Handle resource in /home/serioussam/cgi-bin/odp/php-odp.php on line 320 http://dynamic3.gamespy.com/~serioussam/odp/php-odp.php |
|
#8
|
|||
|
|||
|
Quote:
$odp['cache']['base_dir'] = "./"; to contain the path to the directory you want to use to hold the cached files eg $odp['cache']['base_dir'] = "/home/<blah>/cache"; |
|
#9
|
||||
|
||||
|
im getting this error
Warning: ChDir: No such file or directory (errno 2) in /home/sites/site193/web/forums/odp/php-odp.include.php on line 11 what could this be |
|
#10
|
||||
|
||||
|
oh and great hack
i requested this hack last week on phpportals good timing |
![]() |
|
|