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)

abdelghani68 10-18-2008 08:18 AM

when I clic on the image for send an entrie to a friend, the link is wrong : it is a link for the categorie and not for the entrie as I want...

thanks

AndrewD 10-18-2008 09:42 AM

Quote:

Originally Posted by abdelghani68 (Post 1647536)
when I clic on the image for send an entrie to a friend, the link is wrong : it is a link for the categorie and not for the entrie as I want...

thanks

Thanks - will fix in 2.3.0 beta 1 (expect the upload later today :))

webchills 10-18-2008 02:40 PM

First of all thanks for this great mod.
I' m using 2.2.9 and everything is working fine, but I can't get the links in the navabr working properly.
I have renamed local_links to downloads as the mod is used for downloads only.
In the navbar for example under "Show" "New entries" ends up in a link like this:
downloads_search.php?action=find&catid=-8
The result is the message that you have insufficient rights to perform this operation. Even when you are logged in as Admin.
"Show" "New Ratings" ends up in a link like
downloads_search.php?action=find&catid=-13
Same result.
Any idea where these strange links with negative category numbers do come from and how to fix that?
All other links in the navbar (Add link, Category, Moderate, ...) are working fine by the way.

Sandgrinder 10-18-2008 04:01 PM

Got some problems with my LDM, first of all, a normal member can't see the additional attributes and yes, I've checked the permissions.

The second thing is that my download index looks a bit messed up, can't really find what's wrong. - http://crinale.com/forums/local_links.php

AndrewD 10-18-2008 11:52 PM

Quote:

Originally Posted by webchills (Post 1647696)
First of all thanks for this great mod.
I' m using 2.2.9 and everything is working fine, but I can't get the links in the navabr working properly.
I have renamed local_links to downloads as the mod is used for downloads only.
In the navbar for example under "Show" "New entries" ends up in a link like this:
downloads_search.php?action=find&catid=-8
The result is the message that you have insufficient rights to perform this operation. Even when you are logged in as Admin.
"Show" "New Ratings" ends up in a link like
downloads_search.php?action=find&catid=-13
Same result.
Any idea where these strange links with negative category numbers do come from and how to fix that?
All other links in the navbar (Add link, Category, Moderate, ...) are working fine by the way.

Have you renamed the top level scripts consistently with the way you have edited includes/local_links_init.php?

The navbar is pointing towards downloads_search.php because you've set:
Code:

define('SEARCH_SCRIPT', 'downloads_search');
in includes/local_links_init.php

Script local_links_search.php should have been renamed downloads_script.php, etc, matching these definitions.

The negative category ids are used to specify special searches, i.e. -8 = new entries, etc

Let me know if I'm missing the point

AndrewD 10-19-2008 12:09 AM

Quote:

Originally Posted by Sandgrinder (Post 1647739)
Got some problems with my LDM, first of all, a normal member can't see the additional attributes and yes, I've checked the permissions.

Check the attribute types and display orders - 'hidden' types and display orders (group and attributes) that are set to zero or negative are only shown to users who have 'can_view_hidden' permission

Quote:

Originally Posted by Sandgrinder (Post 1647739)
The second thing is that my download index looks a bit messed up, can't really find what's wrong. - http://crinale.com/forums/local_links.php

I don't understand what you mean - it looks ok to me?

webchills 10-19-2008 06:15 AM

Quote:

Originally Posted by AndrewD (Post 1648003)
The negative category ids are used to specify special searches, i.e. -8 = new entries, etc
Let me know if I'm missing the point

Hi Andrew,
I have renamed consequently the local_links_xxx.php to downloads_xxx.php as set in local_links_init.php
The links are working, but the point is, that noone has permission to view these negative category ids. What permissions are responsible for that?

AndrewD 10-19-2008 06:41 AM

Quote:

Originally Posted by webchills (Post 1648143)
Hi Andrew,
I have renamed consequently the local_links_xxx.php to downloads_xxx.php as set in local_links_init.php
The links are working, but the point is, that noone has permission to view these negative category ids. What permissions are responsible for that?

Without looking in detail at your site (which I'm happy to do if you send me a pm with details and an admin account), I can only guess.

The code that is executed for script?action=find&catid=-NN carries out a check for valid values of NN, using a set of definitions that are pulled in from includes/local_links_include.php. It gives a 'no permission' error in two situations:

- if someone without "can_moderate_links" permission is trying to execute one of the 'moderator' based 'find' commands (which only show up on the menu if you have those permissions in the first place

- if the value NN is not in the valid range

I would suspect that somehow it is the second condition, but I can't see (without checking your site) how that can be.

Sandgrinder 10-19-2008 07:19 AM

Quote:

Originally Posted by AndrewD (Post 1648009)
Check the attribute types and display orders - 'hidden' types and display orders (group and attributes) that are set to zero or negative are only shown to users who have 'can_view_hidden' permission



I don't understand what you mean - it looks ok to me?

I'm don't understand to 100% but it looks like this at the moment:
http://img252.imageshack.us/img252/8281/69381540wa8.jpg

About the Downloads index it looks like this:
http://img443.imageshack.us/img443/2000/81952230xp5.jpg

I want it to look like a forum category, not splitted up. =)

Many thanks again!

Simon Lloyd 10-19-2008 08:33 AM

Hi Andrew, i have just looked at my profile (vb3.7.3 PL1) and in the "About me" tab it shows Recent LDM hits & Entries, i have had hits and entries but they dont show (shows N/A), if i click the pencil (edit section) icon a box pops up saying "if you want to keep private then...." theres nothing in it if i then click save i get presented with "The server failed to respond in time. Please try again.", any ideas?

I have the upload folder outside of my forum and root (you helped with this), it is properly referenced as i can view/download files.


All times are GMT. The time now is 06:29 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.03702 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
  • (1)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
  • (5)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