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

Quote:
Originally posted by fonzerelli_79
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
ack, download the new fixed version.

DarkReaper you may want to move the .php files into your forums directory or make a new custom template to act a header for the hack with the links pointing to the correct places...

A custom header can be loaded by changing
$odp['header'] = $header;
to
$odp['header'] = gettemplate("my_template");
Reply With Quote
  #23  
Old 02-08-2002, 02:34 AM
fonzerelli_79's Avatar
fonzerelli_79 fonzerelli_79 is offline
 
Join Date: Nov 2001
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

now it isnt working at all

got these errors

Parse error: parse error in /home/sites/site193/web/forums/odp/php-odp.include.php on line 65

Warning: fopen("","r") - No such file or directory in /home/sites/site193/web/forums/odp/php-odp.php on line 161

Fatal error: Call to undefined function: gettemplate() in /home/sites/site193/web/forums/odp/php-odp.php on line 72
Reply With Quote
  #24  
Old 02-08-2002, 02:45 AM
dabean dabean is offline
 
Join Date: Oct 2001
Posts: 247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In php-odp.include.php find
if ($HTTP_SERVER_VARS['PHP_SELF']!="")

change it to
if ($HTTP_SERVER_VARS['PHP_SELF']!="") {

The zip file contains this change.
Reply With Quote
  #25  
Old 02-08-2002, 02:49 AM
fonzerelli_79's Avatar
fonzerelli_79 fonzerelli_79 is offline
 
Join Date: Nov 2001
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the page has no errors now and is displaying ok but it still doesnt link correctly

i think this is just something ive done because no one else seems to have this problem

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

thanx
Reply With Quote
  #26  
Old 02-08-2002, 02:57 AM
dabean dabean is offline
 
Join Date: Oct 2001
Posts: 247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by fonzerelli_79
the page has no errors now and is displaying ok but it still doesnt link correctly

i think this is just something ive done because no one else seems to have this problem

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

thanx
Can I have a look at your phpinfo.php output.. the script is included with vBulletin or you can make one by uploading a .php file containing just
PHP Code:
<?php

phpinfo
();

?>
oh and clean out the contents of your cache directory particularly the file called "default".
Reply With Quote
  #27  
Old 02-08-2002, 03:08 AM
fonzerelli_79's Avatar
fonzerelli_79 fonzerelli_79 is offline
 
Join Date: Nov 2001
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ive pmed you the info
thanx
Reply With Quote
  #28  
Old 02-08-2002, 03:18 AM
dabean dabean is offline
 
Join Date: Oct 2001
Posts: 247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by fonzerelli_79
ive pmed you the info
thanx
thank you but your version of php is only 4.0.3pl1 which is not compatible php4.0.5+ is required for the hack currently.

I will try and add support for your version of php in the next release of the hack (v1.2) due whenever I finish it.
Reply With Quote
  #29  
Old 02-08-2002, 03:26 AM
Zkast Zkast is offline
 
Join Date: Nov 2001
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I keep getting this no matter where I put the files. I've tried to go over the include file over and over but I'm obviously missing something

Parse error: parse error in /home/zkast/public_html/forums/odp/php-odp.include.php on line 65

Warning: fopen("","r") - Success in /home/zkast/public_html/forums/odp/php-odp.php on line 161

Fatal error: Call to undefined function: gettemplate() in /home/zkast/public_html/forums/odp/php-odp.php on line 72
Reply With Quote
  #30  
Old 02-08-2002, 03:30 AM
dabean dabean is offline
 
Join Date: Oct 2001
Posts: 247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Zkast
I keep getting this no matter where I put the files. I've tried to go over the include file over and over but I'm obviously missing something

Parse error: parse error in /home/zkast/public_html/forums/odp/php-odp.include.php on line 65

Warning: fopen("","r") - Success in /home/zkast/public_html/forums/odp/php-odp.php on line 161

Fatal error: Call to undefined function: gettemplate() in /home/zkast/public_html/forums/odp/php-odp.php on line 72
Your using the latest zip? "php_odp_vb1-1c.zip" as "php_odp_vb1-1b.zip" contains a typo which would give you that result see post 23 for the fix.
Reply With Quote
  #31  
Old 02-08-2002, 03:31 AM
fonzerelli_79's Avatar
fonzerelli_79 fonzerelli_79 is offline
 
Join Date: Nov 2001
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

why didnt i notice this
im an idiot - ha ha

its weird cos apart from the link thing, i got the hack working ok
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:00 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.05481 seconds
  • Memory Usage 2,307KB
  • 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
  • (1)bbcode_php
  • (4)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
  • (4)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