vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - Links and Downloads Manager (https://vborg.vbsupport.ru/showthread.php?t=119041)

AndrewD 02-25-2007 05:27 AM

Quote:

Originally Posted by SteveC (Post 1189891)
For most users it works fine but for at least one, he can view the files but when he clicks on one, he gets sent to a login screen for vbulletin or gets an error that he doesn't have persmission to access the files. But his settings are the same as all my other vb members.

Is he in exactly the same combination of usergroups as your other users? This sounds like LDM discovering that the user has permission to view but not to save.

Mupetz 02-25-2007 04:26 PM

AndrewD, the mod_rewrite (admin settings field), what is supposed to do ?
If the seo friendly option is enabled and the rewrite conditions are given to the .htaccess file or directly to http.conf file ; what mod_rewrite field should do ?

I deleted all other .htaccess rules (from vbseo , etc) to see if it is a conflict or not. It doesn't work even with the proper rules you quoted ; so it must be the script/commands.

Does anybody made it work with .htaccess rules ?
Please anwser.

Magma 02-25-2007 05:04 PM

I am getting a really weird problem...I installed, didnt really change to much on the config just yet but my site is mystic-panda.com I also have another site which is mysticmagma.com

I added some categories and stuff to the site ok easy, added a link now I went back to my forums and clicked the link to one of the categories and it comes out with the link http://www.mysticmagma.com/local_links.php?catid=2 not http://mystic-panda.com/forums/local_links.php?catid=2 anyone know why??


EDIT: Its ok I figured out the problem it was left over in my settings from when I updated to the new VB

AndrewD 02-26-2007 04:19 AM

Quote:

Originally Posted by Mupetz (Post 1190444)
AndrewD, the mod_rewrite (admin settings field), what is supposed to do ?
If the seo friendly option is enabled and the rewrite conditions are given to the .htaccess file or directly to http.conf file ; what mod_rewrite field should do ?

I deleted all other .htaccess rules (from vbseo , etc) to see if it is a conflict or not. It doesn't work even with the proper rules you quoted ; so it must be the script/commands.

Does anybody made it work with .htaccess rules ?
Please anwser.

Sorry, we're going round in circles with this.

For me, the SEO features of LDM work fine with the htaccess rules I sent you (and which are now in the Wiki), and also works with (very similar) rules in http.conf.

The SEO features work at two levels:
- you tell LDM to generate SEO-friendly links (i.e. yoursite/forum/local_links/link/12/3 instead of yoursite/forum/local_links.php?catid=12&linkid=3) by setting the seo_friendly option on the LDM admin page
- you tell Apache how to process these links by the rules in http.conf/.htaccess.

It seems your problem is in step 2. The only way to get to the bottom of it is by step-by-step debugging of your Apache setup. The easiest way is with a combination of RewriteLog and RewriteLogLevel commands (see apache documentation). But maybe you cannot do this on your server, in which case, it's a matter of trial and error - add one line at a time until you discover what breaks.

The LDM admin setting "mod_rewrite" is confusing things, I think. This has absolutely nothing to do with search engine optimisation - turn it off - you should not be using it. It was added to LDM to implement a few of the functions of the Apache module. Its purpose is explained in the Wiki (see http://www.eirma.org/wikis/index.php/Hacking_LDM). It modifies 'on the fly' the hidden urls that are stored in your LDM database, at the instant before someone tries to visit one of them. Suppose (for example) you've set up a lot of LDM entries pointing to files at http://site1 and they've all moved temporarily to http://site2. Instead of editing your whole database, you can just turn on LDM's mod_rewrite, with a rule to translate site1 to site 2. As I said, turn it off, you don't need it.

GrendelKhan{TSU 02-26-2007 07:31 AM

whoa. been a while.

just finally upgraded and love the improvements. still have to delve in more..but so far admin set up is sooo much better and easier to use. great job! (as usual)

will let u know if any other questions.

and as a little token of appreciation, here's a MP3 gif I use that everyone is free to use as well. I think its a bit more leet / pro looking, imo.

GrendelKhan{TSU 02-26-2007 07:49 AM

ps. I am trying to enable the seo friendly options...

but for the option:

Quote:

or create an .htaccess file like this:
RewriteRule (.*)local_links/links/([^0-9]+)$ /$1$2 [L]
RewriteRule (.*)local_links/links/([0-9]+)/([0-9]+)$ /$1local_links.php?catid=$2&linkid=$3 [L]
RewriteRule (.*)local_links/links/([0-9]+)$ /$1local_links.php?catid=$2 [L]
RewriteRule (.*)local_links/jump/([0-9]+)/([0-9]+)$ /$1local_links.php?action=jump&id=$2&catid=$3 [L]
RewriteRule (.*)local_links/jump/([0-9]+)$ /$1local_links.php?action=jump&id=$2 [L]
RewriteRule (.*)local_stream/([0-9]+)$ /$1local_stream.php?action=stream&id=$2 [L]
where would need to put the htaccess file? root? forum root? ldm root folder?



and / or what is the http.config file? or where is it? couldnt' find it.
(I'm a n00b. :()

Quote:

Edit http.conf and include lines like these to process those urls:

GrendelKhan{TSU 02-26-2007 09:07 AM

also, tried installing the vbCMPS ldm_new_thumb.module ... but it gets the url to the link wrong.

ie: links to

Code:

www. site.com/local_links-blahblah
instead of

Code:

www. site.com/FORUMS/local_links-blahblah
*ie: doesn't pick up the right folder.

any suggestions? I think this would be a cool module otherwise.

AndrewD 02-26-2007 10:26 AM

Quote:

Originally Posted by GrendelKhan{TSU (Post 1190966)
also, tried installing the vbCMPS ldm_new_thumb.module ... but it gets the url to the link wrong.

ie: links to

Code:

www. site.com/local_links-blahblah
instead of

Code:

www. site.com/FORUMS/local_links-blahblah
*ie: doesn't pick up the right folder.

any suggestions? I think this would be a cool module otherwise.

Noted, will fix in final 2.2.7

AndrewD 02-26-2007 10:27 AM

Quote:

Originally Posted by GrendelKhan{TSU (Post 1190946)
ps. I am trying to enable the seo friendly options...

but for the option:



where would need to put the htaccess file? root? forum root? ldm root folder?



and / or what is the http.config file? or where is it? couldnt' find it.
(I'm a n00b. :()

httpd.conf is the Apach configuration file, assuming your server is running Apache.. Not a good idea to try to get SEO working unless you understand Apache and higher incantations. It's voodoo.

GrendelKhan{TSU 02-26-2007 11:27 AM

Quote:

Originally Posted by AndrewD (Post 1190993)
httpd.conf is the Apach configuration file, assuming your server is running Apache.. Not a good idea to try to get SEO working unless you understand Apache and higher incantations. It's voodoo.

ok cool...but then where do I put the htaccess file then? I have some set already in different folders from vbseo and other configurations I've done.

and ps..again.. great job with the improvements. love the new inline media player and features.


All times are GMT. The time now is 08:16 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.04480 seconds
  • Memory Usage 1,757KB
  • 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
  • (4)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)pagenav_pagelinkrel
  • (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