vb.org Archive

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

D3m-fny 03-26-2010 02:57 PM

very good
thank you

angeljs 03-26-2010 03:05 PM

Quote:

Originally Posted by AndrewD (Post 2010530)
I think I know what is happening, but could you check - is the problem with internet explorer only, i.e does it work/fail with firefox?

Hi, it happens in both browsers, unfortunately :(

hydn 03-26-2010 04:04 PM

Marked as installed:up:

How can I rename the navbar link?

Thanks

obmob 03-26-2010 05:02 PM

Quote:

Originally Posted by hydn (Post 2010606)
Marked as installed:up:

How can I rename the navbar link?

Thanks

Search the phrase in the language manager :D

AndrewD 03-27-2010 06:27 AM

Quote:

Originally Posted by angeljs (Post 2010577)
Hi, it happens in both browsers, unfortunately :(

I've tried a number of tests on my system but everything seems to be working fine since I fixed the ie-related bug. I can't make any more progress without admin access to your site. Send me a PM if you want me to do this - am happy to try to sort this out.

hydn 03-28-2010 03:31 AM

How can I add the forumhome or cms sidebar to the Links and Downloads Manager?

The Links and Downloads Manager pages have no sidebar on the right. I'd like to have them.

Thanks

AndrewD 03-28-2010 04:29 AM

Quote:

Originally Posted by hydn (Post 2011402)
How can I add the forumhome or cms sidebar to the Links and Downloads Manager?

The Links and Downloads Manager pages have no sidebar on the right. I'd like to have them.

Thanks

All in due time :)

hydn 03-29-2010 08:34 AM

Thanks.

Is there an "if condition this_script" for the main page only?

I'd like to post a welcome message with suggested downloads on the main page only. I try to edit links_main but it shows it in all categories.

Any way around this?

I used this for the 3.8.5 vb with ldm 2.
Code:

        <if condition="$viewcatid==-1">bla bla</if>
Now im on vb 4.0.2 and ldm 3 and this does not work:
Code:

        <vb:if condition="$viewcatid==-1">bla bla</vb:if>
Thanks,

ffak 03-29-2010 08:45 AM

How do you make a module for vbadvanced that works with LDM?
I tried to add a php file module (ldm_new.php) but a get an error:

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: adv_portal_custom_ldm_new in [path]/includes/functions.php on line 3932


What do you think?

Thanks :)

AndrewD 03-29-2010 09:42 AM

Quote:

Originally Posted by ffak (Post 2012140)
How do you make a module for vbadvanced that works with LDM?
I tried to add a php file module (ldm_new.php) but a get an error:

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: adv_portal_custom_ldm_new in [path]/includes/functions.php on line 3932


What do you think?

Thanks :)

I have not rewritten the LDM vba modules to work with vbulletin 4, and I'm not sure when I will manage to do so. The error you report is related to the (quite fundamental) changes that have been made to vbulletin coding practices between vb3 and 4, so the starting point has to be to understand these changes (and also any changes in vbadvanced). If you want to try to code this yourself, you could try comparing the LDM releases 2.3.0 and 3.0.x.

AndrewD 03-29-2010 09:50 AM

Quote:

Originally Posted by hydn (Post 2012136)
Thanks.

Is there an "if condition this_script" for the main page only?

I'd like to post a welcome message with suggested downloads on the main page only. I try to edit links_main but it shows it in all categories.

Any way around this?

I used this for the 3.8.5 vb with ldm 2.
Code:

        <if condition="$viewcatid==-1">bla bla</if>
Now im on vb 4.0.2 and ldm 3 and this does not work:
Code:

        <vb:if condition="$viewcatid==-1">bla bla</vb:if>
Thanks,

Try
Code:

<vb:if condition="$LDM_catinfo['viewcatid']==-1">bla bla</vb:if>
:)

hydn 03-30-2010 05:11 AM

Quote:

Originally Posted by AndrewD (Post 2012159)
Try
Code:

<vb:if condition="$LDM_catinfo['viewcatid']==-1">bla bla</vb:if>
:)

worked thanks

abdelghani68 03-31-2010 09:11 AM

I think it will be very good if we can read the files pdf inline. I don't know if it's possible with an extra. maybe integrate scribd. But the inconviant we must upload the files in this site.

Jason92s 04-02-2010 03:26 PM

I need a little help hiding the tab so my users can't see it while I'm working on it. I found a post that said the following

"Sure - go to vb/admin/products and plugins/plugin manager and disable the plugin Links and Downloads Manager - Add LDM to main vBulletin menu. That will hide the tab except when you are already inside LDM."

Can someone tell me how to add LDM to the main vBulletin menu? Thank you!

AndrewD 04-03-2010 07:49 AM

Quote:

Originally Posted by Jason92s (Post 2014697)
I need a little help hiding the tab so my users can't see it while I'm working on it. I found a post that said the following

"Sure - go to vb/admin/products and plugins/plugin manager and disable the plugin Links and Downloads Manager - Add LDM to main vBulletin menu. That will hide the tab except when you are already inside LDM."

Can someone tell me how to add LDM to the main vBulletin menu? Thank you!

LDM should add itself automatically to the main vbulletin menu.

The LDM wiki (see sig, section Installing LDM) explains how to configure things so that only certain usergroups, etc, see this menu item.

KProjects 04-03-2010 10:48 AM

Thanks! I used this a couple years back on a vb3x site..

http://www.glockifieds.com

Jason92s 04-03-2010 03:00 PM

Thank you Andrew! Awesome mod and support!

Jason92s 04-05-2010 01:03 AM

Andrew, another issue has cropped up. I removed the tab from the menu as you suggested, but now I can't make any changes to LDM. When I go to my ACP and click on Settings in the Links and Downloads section, I get a screen that shows up and says "Only administrators can access this page". I am both an Administrator and the Super Admin. However, as soon as I make the tab visible again, I'm then able to make changed through ACP. Here's a pic of the screen I'm getting:

https://vborg.vbsupport.ru/external/2010/04/85.png

AndrewD 04-05-2010 08:55 AM

Quote:

Originally Posted by Jason92s (Post 2015900)
Andrew, another issue has cropped up. I removed the tab from the menu as you suggested, but now I can't make any changes to LDM. When I go to my ACP and click on Settings in the Links and Downloads section, I get a screen that shows up and says "Only administrators can access this page". I am both an Administrator and the Super Admin. However, as soon as I make the tab visible again, I'm then able to make changed through ACP. Here's a pic of the screen I'm getting:

Thanks for spotting this. To fix it, edit local_links_admin.php and find the line (about line 673)

Code:

// Main Administration Functions
and insert the following immediately before it:

Code:

ldm_map_perms_to_show(-1);
This fix will be included in the next release.

Jason92s 04-05-2010 02:28 PM

That fixed it so that I can run the admin part of LDM within ACP, but I can't add new categories. I'm no programmer, but it appears that when the link (mine is called Business Directory) is gone, so are the submenus that control being able to add new categories. See the two pictures below for examples:

https://vborg.vbsupport.ru/external/2010/04/61.jpg

https://vborg.vbsupport.ru/external/2010/04/62.jpg

Jason92s 04-06-2010 05:25 PM

I'd really like to get this working but can't without working on it while my users can view the tab. Anyone know if I can redirect the link so that it just takes them to the forums or something until I'm ready to go live? Thanks.

AndrewD 04-06-2010 05:50 PM

Quote:

Originally Posted by Jason92s (Post 2016191)
That fixed it so that I can run the admin part of LDM within ACP, but I can't add new categories. I'm no programmer, but it appears that when the link (mine is called Business Directory) is gone, so are the submenus that control being able to add new categories. See the two pictures below for examples:

https://vborg.vbsupport.ru/external/2010/04/61.jpg

https://vborg.vbsupport.ru/external/2010/04/62.jpg

Unfortunately, this problem is caused by the design of the underlying vbulletin code, not by LDM. I'm sympathetic to your problem, but I can't justify spending a considerable time rewriting their code. Can you not just disable your forums while you do what is necessary (vb/admincp)?

Jason92s 04-06-2010 07:35 PM

Thanks Andrew. Disabling is out of the question as we are getting just way too much traffic. What about a way to temporarily change the URL for the button itself?

Jason92s 04-06-2010 07:47 PM

1 Attachment(s)
One final question Andrew then I'll stop bugging you. Can you tell me what goes in the box that's shaded in the attached image? Is it just filler? Seems like it takes up quite a bit of space and I wanted to know if I could either put my own text in there or remove it completely? Thank you.

abdelghani68 04-06-2010 09:33 PM

1 Attachment(s)
I have a probleme with my style. no probleme with the default style. how can I resolve this problem please ?

thanks

AndrewD 04-07-2010 03:13 AM

1 Attachment(s)
Quote:

Originally Posted by abdelghani68 (Post 2017083)
I have a probleme with my style. no probleme with the default style. how can I resolve this problem please ?

thanks

You report that this only happens with Firefox. Attached is a screenshot from my PC viewing your site after performing in a search with no results. I have tried Firefox versions 3.5.9 and 3.6.3. You will see that everything seems ok. Which version of Firefox are you using?

AndrewD 04-07-2010 03:29 AM

Quote:

Originally Posted by Jason92s (Post 2017003)
One final question Andrew then I'll stop bugging you. Can you tell me what goes in the box that's shaded in the attached image? Is it just filler? Seems like it takes up quite a bit of space and I wanted to know if I could either put my own text in there or remove it completely? Thank you.

This box is used for two purposes - firstly (within categories but not at the top level) to contain the full category description, and secondly (at all levels) to contain information messages such as allowances, automatic thread announcement, required user actions, etc, all of which depend on what you have configured. If none of these apply, the box should be very narrow. The large size you are observing is caused by a bug which I somehow introduced during the conversion to vb 4. I will attempt to fix it.

I will be adding the facility for sites to add their own text to the box in the next release - several others have asked about this.

AndrewD 04-07-2010 03:37 AM

Quote:

Originally Posted by Jason92s (Post 2016996)
Thanks Andrew. Disabling is out of the question as we are getting just way too much traffic. What about a way to temporarily change the URL for the button itself?

If the only feature you are missing when the menu is disabled is "add category" you can get round this by going directly to the following url:

yoursite/forum/local_links.php?action=addcat&catid=NN

Replace NN as follows:

-1 if you want to add to the base category
the category id (e.g. 4) if you want to add a subcategory to category 4

You can always find out the category id by hovering the mouse over the relevant category name link

abdelghani68 04-07-2010 08:07 AM

Quote:

Originally Posted by AndrewD (Post 2017210)
You report that this only happens with Firefox. Attached is a screenshot from my PC viewing your site after performing in a search with no results. I have tried Firefox versions 3.5.9 and 3.6.3. You will see that everything seems ok. Which version of Firefox are you using?

I use Firefox 3.6.3.

Now, there isn't the problem. I don't know what I have do for I have this problem.

thanks

KProjects 04-07-2010 11:29 PM

Is there a way to change the nav tab to say "Links" instead of "Links/Downloads" ?

AndrewD 04-08-2010 02:08 AM

Quote:

Originally Posted by KProjects (Post 2017700)
Is there a way to change the nav tab to say "Links" instead of "Links/Downloads" ?

Use the vb/admincp/languages and phrases/search in phrases

Search for the phrase called ldm_vbmenu_ldm (remember to check the box Phrase Variable Name Only).

Edit the phrase contents as you wish and save

That's it...

KProjects 04-08-2010 11:32 AM

Quote:

Originally Posted by AndrewD (Post 2017741)
Use the vb/admincp/languages and phrases/search in phrases

Search for the phrase called ldm_vbmenu_ldm (remember to check the box Phrase Variable Name Only).

Edit the phrase contents as you wish and save

That's it...

Thanks Andrew!

Rik Brown 04-10-2010 12:31 PM

This looks like an excellent product. If someone has developed an fairly extensive "links only to external site" format (no downloads), could you please advise the URL (PM is fine) so that I can see what the layout might look like?

Also, if you use it as a links directory, is it possible to load links directly via mysql or would they need some sort of processing by the product before they are usable?

Thanks. -- Rik

AndrewD 04-10-2010 02:05 PM

Quote:

Originally Posted by Rik Brown (Post 2018898)
This looks like an excellent product. If someone has developed an fairly extensive "links only to external site" format (no downloads), could you please advise the URL (PM is fine) so that I can see what the layout might look like?

Also, if you use it as a links directory, is it possible to load links directly via mysql or would they need some sort of processing by the product before they are usable?

Thanks. -- Rik

PM sent.

It's quite possible to preload the database via mysql, or equally by an xml file. Obviously you need to get the format/table structure correct.

Rik Brown 04-11-2010 12:31 AM

Quote:

Originally Posted by AndrewD (Post 2018933)
PM sent.

It's quite possible to preload the database via mysql, or equally by an xml file. Obviously you need to get the format/table structure correct.

Thanks for the PM and your reply here. Great! -- Rik

airheadairbrush 04-13-2010 01:06 PM

Andrew sense upgrading to VB4.03 the permission system stopped working in LDM.
No longer works the way it was set up in 4.0.2

Anyone else have this problem?

Bobbo 04-13-2010 04:42 PM

1 Attachment(s)
Quote:

Originally Posted by airheadairbrush (Post 2020521)
Andrew sense upgrading to VB4.03 the permission system stopped working in LDM.
No longer works the way it was set up in 4.0.2

Anyone else have this problem?

I just upgraded my dev system from 4.02 to 4.03 and I am not seeing any permissions problems. Can you be a little more specific about what isnt working for you?


On a different note, I just noticed after upgrading to 4.03 that in IE8, the LDM navigation menus are not 'on top'. Appears to be fine in Firefox and Chrome....



Bah... I figured it out. Thanks again Microsoft... Compatibility mode strikes again. Made sure IE Compatibility mode didn't invoke for my 'intranet" sites. That resolved the funky layering issue.

airheadairbrush 04-13-2010 04:54 PM

I PM Andrew the spec.

Categories in LDM are set to forum-based permissions system
sense upgrading it no longer works, I've gone over it ten times can't get it to work like it did

members who should have access based on forum-based permissions don't have access

m_elsweify 04-18-2010 09:51 PM

after upgrade, Allowances system not work fine
i can set Allowances by Bytes, but when set it by files
say 1 file for Registered Users every day ,when i Press go button to apply my setting
its back unchecked and not work.
then i upgrade to 3.2 pl1 and same problem.
help plz
thx




https://vborg.vbsupport.ru/external/2010/04/37.jpg

derandechser 04-21-2010 12:51 PM

Hi,
i like this mod, think it?s a very good one, but a little bit to complicate for me. So i uninstalled and now, i?m getting errors like this, when i try to change group-permissions:

Quote:

Unknown column 'bfc_download' in 'field list'
I uploaded kill LDM, it said all database-tables were removed, but what about this error?

Hope, somebody can help me,

greetings,
Peter


All times are GMT. The time now is 09:28 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.01815 seconds
  • Memory Usage 1,849KB
  • 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
  • (8)bbcode_code_printable
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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