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-09-2002 12:48 PM

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.

fonzerelli_79 02-09-2002 01:17 PM

i changed it to shopping/ and still nothing

before i had /shopping/ and that didnt work either

centris 02-11-2002 08:51 PM

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?

dabean 02-13-2002 12:50 AM

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.

fonzerelli_79 02-13-2002 12:56 PM

dont know why dabean
its ok
thanks for all your help anyways

mood 03-02-2002 06:31 AM

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

JWB 06-09-2002 06:49 PM

Is this usuable without vbulletin? OR is there something similar(dmoz interpreter??) Im working on a site that doesnt use vbulletin...

dabean 06-09-2002 07:36 PM

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/

veedee 07-18-2006 04:46 PM

Would this work with the latest version of vB?

hollosch 06-27-2007 08:49 PM

Is there a similar mod for vB 3.6.x ???


All times are GMT. The time now is 01:42 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.01140 seconds
  • Memory Usage 1,735KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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