vb.org Archive

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

RikiB 04-28-2008 04:14 AM

I tried adding the slash to the 2nd part of the rule, unfortunately it didn't work.

I tried both in the site root and the forum root, does it matter which one the .htaccess file needs to be in?

What happens is I click on a category in the LDLM and it just says page not found.

AndrewD 04-28-2008 05:04 AM

Quote:

Originally Posted by RikiB (Post 1501208)
I tried adding the slash to the 2nd part of the rule, unfortunately it didn't work.

I tried both in the site root and the forum root, does it matter which one the .htaccess file needs to be in?

What happens is I click on a category in the LDLM and it just says page not found.

I'm at a bit of a loss with this - the rules I suggested (with the /) work for me in my httpd.conf file and for another user in his .htaccess file - without the slash it would only work in the httpd.conf. mod_rewrite is (as has been said) voodoo. Its behaviour does change depending on where the rules are being read, i.e. in which directory the .htaccess file is placed. One really needs access to its log file to sort out what is happening - I imagine you don't have this possibility?

I'll see if I can dig any further.

GrendelKhan{TSU 04-29-2008 10:34 AM

Quote:

Originally Posted by AndrewD (Post 1498912)
How exactly are entering the 'relative to forum' string?

Can you also check and let me know the setting of 'forum url' on your vb/admincp

I think you still have adminid on my board from last time. I'll pm you the info again if that's ok.

josiespencer 04-29-2008 06:36 PM

OK, I think I am misunderstanding the how the can_view_hidden setting works. I grant this permission to a user group. Then I hard code the link in a post like this:

PHP Code:

[COLOR=Blue][I][U][B][URL="http://uber-goober.com/forums/local_links.php?catid=1&linkid=3891"]AC020 Investment Management[/URL][/B][/U][/I][/COLOR

When a user in this group clicks on the hyperlink created by the above code, I expect them to be able to download the file. But they get this error message instead:

Quote:

Sorry - there is nothing here to show you (no permission, all entries hidden, etc)
How is this supposed to work? I don't want my users doing searches, I want every link to be hard coded in a post.

AndrewD 04-30-2008 04:54 AM

Quote:

Originally Posted by josiespencer (Post 1502595)
OK, I think I am misunderstanding the how the can_view_hidden setting works. I grant this permission to a user group. Then I hard code the link in a post like this:

PHP Code:

[COLOR=Blue][I][U][B][URL="http://uber-goober.com/forums/local_links.php?catid=1&linkid=3891"]AC020 Investment Management[/URL][/B][/U][/I][/COLOR

When a user in this group clicks on the hyperlink created by the above code, I expect them to be able to download the file. But they get this error message instead:



How is this supposed to work? I don't want my users doing searches, I want every link to be hard coded in a post.

As you say, wrong permission - entries can be 'hidden' (explicitly or e.g. by post-dating them) - and *can_view_hidden* controls whether the usergroup can see these hidden entries or not.

I think the permission to use is *can_access_link* (with 2.2.9, or - required with earlier versions - the forums based permissions system)

Also your url in the forum should be ..php?action=jump&... to take authorised users directly to the download and unauthorised users to an error. Otherwise, users without the permission will simply get to see the usual LDM page with an entry with no hyperlink.

Rouzbeh1 04-30-2008 10:21 AM

hi Andrew,
for some reason (which i don't know) i'm not able to edit any categories
getting this message:

Quote:

Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.
ADD: this happens also when i try to add a category

AndrewD 04-30-2008 10:54 AM

Quote:

Originally Posted by Rouzbeh1 (Post 1503184)
hi Andrew,
for some reason (which i don't know) i'm not able to edit any categories
getting this message:



ADD: this happens also when i try to add a category

have you got all the latest RC code and templates installed or have you patched any of the standard LDM templates?

The error is generated by the latest vbulletin code when a form does not have the correct CSRF security token. I added all these tokens in the latest templates.

Rouzbeh1 04-30-2008 11:17 AM

oh thank you
problem fixed

josiespencer 04-30-2008 03:34 PM

Thanks!

RikiB 04-30-2008 04:34 PM

For some reason my flv and xml links wont play in IE7, they only download when I click the link. Is there anything special I need to do to get it working in IE7? (works fine in FireFox)

Riki


All times are GMT. The time now is 01:04 PM.

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.03247 seconds
  • Memory Usage 1,754KB
  • 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_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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