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)

dawn100 12-14-2007 01:51 PM

Quote:

Originally Posted by AndrewD (Post 1400792)
If you can wait a few days until the Christmas break, I will gladly explain/help you get things running.

Whenever you have time, I will be ready!

thanks so much!!

AndrewD 12-14-2007 02:27 PM

Quote:

Originally Posted by Rouzbeh1 (Post 1400977)
Hi Andrew,
i have a problem with cache_style redeclaration when i enable vb Ad Management 4.x

just wanted to report it here too and ask howlong it would take to fix this....

btw. will LDM be available for vb3.7?

thanks in advance

This was already reported - it's a trivial fix - edit includes/local_links_include.php and find three mentions of *cache_styles*

- line 1120
- line 1145
- line 1157

change *cache_styles* to *ldm_cache_styles*

I expect that any changes for vb 3.7 will be minor, and do plan to support this, but must wait to see the code.

Alfa1 12-14-2007 09:25 PM

Some members are experiencing this error with ldm_new.php:
Quote:

Fatal error: Call to undefined function fetch_unallowed_forums() in /home/mysite/domains/mydomain.com/public_html/forum/modules/ldm_new.php on line 15
I have checked the cat id's listed, but all catID's seem fine.
Here is line 15:
PHP Code:

$limitfids fetch_unallowed_forums(array($vbulletin->bf_ugp_forumpermissions['canview'], $vbulletin->bf_ugp_forumpermissions['canviewothers'])); 

I assume that this is a member group permissions problem.
How can I fix this?

pspcrazy 12-14-2007 11:48 PM

Andrew is there any way we can get the actual downloads to be on their own page? Like for instance they click the link or picture and instead of downloading it sends them to the download's OWN page vs it being a instant download type thing.

Like for instance it only shows the first 50 characters on the category page of the description, and then it shows the full description in it's own page with possibly a larger image, and the download link is in it's own page vs on a page with all the downloads for it's category.

Rouzbeh1 12-15-2007 01:03 AM

Quote:

Originally Posted by AndrewD (Post 1401005)
This was already reported - it's a trivial fix - edit includes/local_links_include.php and find three mentions of *cache_styles*

- line 1120
- line 1145
- line 1157

change *cache_styles* to *ldm_cache_styles*

I expect that any changes for vb 3.7 will be minor, and do plan to support this, but must wait to see the code.

thanks for the fix and also for good news about this product being supported on 3.7 ;)

AndrewD 12-15-2007 05:16 AM

Quote:

Originally Posted by pspcrazy (Post 1401246)
Andrew is there any way we can get the actual downloads to be on their own page? Like for instance they click the link or picture and instead of downloading it sends them to the download's OWN page vs it being a instant download type thing.

Like for instance it only shows the first 50 characters on the category page of the description, and then it shows the full description in it's own page with possibly a larger image, and the download link is in it's own page vs on a page with all the downloads for it's category.

You can set the category linkbit (-> category -> edit category -> control settings) to use, e.g. the photo or title plus thumb linkbit. Set the template altbit to be, e.g. the modern linkbit. Then, you will get a page layout of category entries and when you select one, you will be taken to a page with only that entry shown.

As far as I recall, there is not the possibility of having a trimmed version of the text on the first page - this is something that I had been asked to add in the next release.

AndrewD 12-15-2007 05:21 AM

Quote:

Originally Posted by Alfa1 (Post 1401182)
Some members are experiencing this error with ldm_new.php:

I have checked the cat id's listed, but all catID's seem fine.
Here is line 15:
PHP Code:

$limitfids fetch_unallowed_forums(array($vbulletin->bf_ugp_forumpermissions['canview'], $vbulletin->bf_ugp_forumpermissions['canviewothers'])); 

I assume that this is a member group permissions problem.
How can I fix this?

Which version of LDM are you using - 2.2.8? It looks as if you're still running the 2.2.7 version of the ldm_new vba module.

maroceve 12-15-2007 11:46 AM

Yup applied the php changes....fixed hte problem.

Thanks

Alfa1 12-15-2007 12:01 PM

Yes, I am using LDM 2.2.8
I just deleted the ldm_new.php and imported the module again. This worked. The error is now gone and modules are working for all member groups.
But what should be links is showing up as plain text (no link). And this differs per member group: Guests just only see text, while admins see on text line and the rest links.

I assume this has to do with permissions: guests can not access links to files, so links to entries and comments in LDM are not displayed either on LDM_new? The rest of LDM does show links to entries and comments to guests.

That admins can not see the first link, but text instead is strange, but i guess this is due to the permissions being overridden by the parent forum. What do I need to change in the permissions of the parent forum to fix this?

On another note: How do I display moderators of each section of LDM?

AndrewD 12-15-2007 02:27 PM

Quote:

Originally Posted by Alfa1 (Post 1401493)
Yes, I am using LDM 2.2.8
I just deleted the ldm_new.php and imported the module again. This worked. The error is now gone and modules are working for all member groups.
But what should be links is showing up as plain text (no link). And this differs per member group: Guests just only see text, while admins see on text line and the rest links.

I assume this has to do with permissions: guests can not access links to files, so links to entries and comments in LDM are not displayed either on LDM_new? The rest of LDM does show links to entries and comments to guests.

That admins can not see the first link, but text instead is strange, but i guess this is due to the permissions being overridden by the parent forum. What do I need to change in the permissions of the parent forum to fix this?

It's also related to whether the link is live or broken. If LDM thinks the url is broken, then the ldm_new module shows just the title text.


Quote:

Originally Posted by Alfa1 (Post 1401493)
On another note: How do I display moderators of each section of LDM?

This would require a bit of coding. The permission can be picked up in two ways - from LDM's own *can_moderate_links* permission (which is set on a per-usergroup basis) and from the vbulletin forum moderators for the associated forum (if any). LDM already works out whether the current user is allowed to moderate in the category she's viewing, but doesn't keep a full list of all the users who have this permission.


All times are GMT. The time now is 12:16 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.03757 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
  • (2)bbcode_php_printable
  • (8)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