vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   DMOZ / ODP addon (https://vborg.vbsupport.ru/showthread.php?t=34855)

dabean 02-08-2002 02:23 AM

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");

fonzerelli_79 02-08-2002 02:34 AM

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

dabean 02-08-2002 02:45 AM

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.

fonzerelli_79 02-08-2002 02:49 AM

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

dabean 02-08-2002 02:57 AM

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

fonzerelli_79 02-08-2002 03:08 AM

ive pmed you the info
thanx

dabean 02-08-2002 03:18 AM

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.

Zkast 02-08-2002 03:26 AM

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

dabean 02-08-2002 03:30 AM

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.

fonzerelli_79 02-08-2002 03:31 AM

why didnt i notice this
im an idiot - ha ha

its weird cos apart from the link thing, i got the hack working ok


All times are GMT. The time now is 01:23 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02234 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete