Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

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
  #12  
Old 02-07-2002, 10:51 PM
dabean dabean is offline
 
Join Date: Oct 2001
Posts: 247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by fonzerelli_79
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
open php-odp.include.php

change
chdir("../forums/"); to contain the path to your forums directory
then change chdir("../odp/"); to the path you installed the hack to.
Reply With Quote
  #13  
Old 02-08-2002, 12:07 AM
DarkReaper DarkReaper is offline
 
Join Date: Oct 2001
Posts: 429
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Still doesn't work...

Warning: stat failed for /home/serioussam/cgi-bin/odp/cache/default (errno=2 - No such file or directory) in /home/serioussam/cgi-bin/odp/php-odp.php on line 144

Warning: fopen("/home/serioussam/cgi-bin/odp/cache/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
Reply With Quote
  #14  
Old 02-08-2002, 12:19 AM
dabean dabean is offline
 
Join Date: Oct 2001
Posts: 247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by DarkReaper
Still doesn't work...

Warning: stat failed for /home/serioussam/cgi-bin/odp/cache/default (errno=2 - No such file or directory) in /home/serioussam/cgi-bin/odp/php-odp.php on line 144

Warning: fopen("/home/serioussam/cgi-bin/odp/cache/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
"cache" has been chmod(755)'d?
Reply With Quote
  #15  
Old 02-08-2002, 01:18 AM
fonzerelli_79's Avatar
fonzerelli_79 fonzerelli_79 is offline
 
Join Date: Nov 2001
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanx dabean

the page appears but i am now getting the same error as DarkReaper

i get

Warning: fopen("./default","w") - Permission denied in /home/sites/site193/web/forums/odp/php-odp.php on line 318

Warning: Supplied argument is not a valid File-Handle resource in /home/sites/site193/web/forums/odp/php-odp.php on line 319

Warning: Supplied argument is not a valid File-Handle resource in /home/sites/site193/web/forums/odp/php-odp.php on line 320

the page does appear though
Reply With Quote
  #16  
Old 02-08-2002, 01:29 AM
dabean dabean is offline
 
Join Date: Oct 2001
Posts: 247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

fonzerelli the answer to the finnal problem is in post 8.
Reply With Quote
  #17  
Old 02-08-2002, 01:30 AM
fonzerelli_79's Avatar
fonzerelli_79 fonzerelli_79 is offline
 
Join Date: Nov 2001
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

also dabean(seeing as your online - ha ha) , i think im being a bit david dimple but the links dont work ie. they try and link to my server instead of opening up the page from dmoz

have i missed a step
Reply With Quote
  #18  
Old 02-08-2002, 01:36 AM
fonzerelli_79's Avatar
fonzerelli_79 fonzerelli_79 is offline
 
Join Date: Nov 2001
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i got it now, i chmoded the cache to 777 instead of 755

thats what it must have been
Reply With Quote
  #19  
Old 02-08-2002, 01:44 AM
dabean dabean is offline
 
Join Date: Oct 2001
Posts: 247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by fonzerelli_79
also dabean(seeing as your online - ha ha) , i think im being a bit david dimple but the links dont work ie. they try and link to my server instead of opening up the page from dmoz

have i missed a step
Not sure what you mean by this, but the hack is designed to rebrand the whole odp in the style of your site so links should point back in the form of php-odp.php?/some odp page/.

This is inaccordance with the ODP data license for "live data" sites.
Reply With Quote
  #20  
Old 02-08-2002, 01:49 AM
fonzerelli_79's Avatar
fonzerelli_79 fonzerelli_79 is offline
 
Join Date: Nov 2001
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i mean
when you click on for example shopping it goes to www.manutdchat.com/shopping instead of where ever

check out http://www.manutdchat.com/forums/odp/php-odp.php to see what i mean

p.s. cheers for the support
Reply With Quote
  #21  
Old 02-08-2002, 02:11 AM
DarkReaper DarkReaper is offline
 
Join Date: Oct 2001
Posts: 429
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

CHMOD 777 fixed the problem. I've got one other one though: In my header I use the "go" button. This appears as a nice red X...
Reply With Quote
Reply

Thread Tools

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 08:14 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.04599 seconds
  • Memory Usage 2,290KB
  • 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
  • (3)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
  • (3)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