Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: 1.00, by dabean dabean is offline
Developer Last Online: Dec 2003 Show Printable Version Email this Page

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 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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 02-09-2002, 12:48 PM
dabean dabean is offline
 
Join Date: Oct 2001
Posts: 247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #43  
Old 02-09-2002, 01:17 PM
fonzerelli_79's Avatar
fonzerelli_79 fonzerelli_79 is offline
 
Join Date: Nov 2001
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i changed it to shopping/ and still nothing

before i had /shopping/ and that didnt work either
Reply With Quote
  #44  
Old 02-11-2002, 08:51 PM
centris's Avatar
centris centris is offline
 
Join Date: Nov 2001
Location: Scotland
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well it works fine, thanks a lot. Two questions though, in the template;

Quote:
<!-- breadcrumb -->
<table border="0" width="100%" cellpadding="0" cellspacing="0"><tr>
<td width="100%"><img src="dmoz.gif" align="middle"> <normalfont><b><a href="php_dmoz.php? s=$session[sessionhash]">$odp[bbtitle]</a> &gt; Open Directory Project</b></normalfont></td></tr></table>
<!-- /breadcrumb -->
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?
Reply With Quote
  #45  
Old 02-13-2002, 12:50 AM
dabean dabean is offline
 
Join Date: Oct 2001
Posts: 247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #46  
Old 02-13-2002, 12:56 PM
fonzerelli_79's Avatar
fonzerelli_79 fonzerelli_79 is offline
 
Join Date: Nov 2001
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

dont know why dabean
its ok
thanks for all your help anyways
Reply With Quote
  #47  
Old 03-02-2002, 06:31 AM
mood mood is offline
 
Join Date: Feb 2002
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Addon! Works like a charm only thing which si strange is that its not showing my buttons.

I'm sort of a newbie on VB- seems its not recognizing my "theme"

Would somebody point me where to look into to solve this?

Thanks!

Mood
Reply With Quote
  #48  
Old 06-09-2002, 06:49 PM
JWB JWB is offline
 
Join Date: Nov 2001
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this usuable without vbulletin? OR is there something similar(dmoz interpreter??) Im working on a site that doesnt use vbulletin...
Reply With Quote
  #49  
Old 06-09-2002, 07:36 PM
dabean dabean is offline
 
Join Date: Oct 2001
Posts: 247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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...
No but I suppose you can always modify it. Hotscripts lists a number of dmoz scripts. http://www.hotscripts.com/PHP/Script...ctory_Project/
Reply With Quote
  #50  
Old 07-18-2006, 04:46 PM
veedee veedee is offline
 
Join Date: Oct 2001
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would this work with the latest version of vB?
Reply With Quote
  #51  
Old 06-27-2007, 08:49 PM
hollosch's Avatar
hollosch hollosch is offline
 
Join Date: Nov 2005
Location: Germany
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a similar mod for vB 3.6.x ???
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:09 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04859 seconds
  • Memory Usage 2,305KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete