Version: 1.00, by dabean
Developer Last Online: Dec 2003
Version: 2.2.x
Rating:
Released: 02-06-2002
Last Update: Never
Installs: 12
No support by the author.
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 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
This modification may not be copied, reproduced or published elsewhere without author's permission.
fonzerelli, controling entrypoints is easy
just set
$odp['entrypoint'] = "";
to
$odp['entrypoint'] = "Computers/Internet/";
if you want to open the computers/internet section.
When specifying entrypoints leading slashes should be removed.
MarkB, yes read the entrypoint description I've provided above, a slightly shorter version is included in the readme too.
JJR512 755 should work depending on how your apache configuration is set, but 777 should also work.
After the feedback it seems 777 is more successful for the bulk of people so I'll alter the instructions acordingly, 755 was selected based on the assumption that the cache directory would be "owned" by the same user as apache/php. I had forgotten that this is not typical on shared/semi dedicated/multisite servers.
In fact 666 would be even better as it doesn't give execution permission.
I set it up for my Board name like this;
$odp['title'] = "$bbtitle - Open Directory";
That link looks for the file above in red, which does not seem to exist? I changed this in the template to read the correct path to odp/php-odp.php and it links back to the OD main page - I am a bit confused on this issue.
2. Any way that I can stop non-registered members using the Open Directory on my site?
centris yes the default template contains errors that was accidental, as for point 2 not currently.
fonzerelli not sure why it doesn't work for you on the three different php installation's i've tested $odp['entrypoint'] = "shopping/"; will open shopping as the defualt unless a session hash is appended to the url.
Originally posted by JWB Is this usuable without vbulletin? OR is there something similar(dmoz interpreter??) Im working on a site that doesnt use vbulletin...