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)

obmob 09-24-2008 05:24 PM

So... we've been busy lately? :D

Thanks for the bug fixes :)

AndrewD 09-24-2008 07:08 PM

Quote:

Originally Posted by josiespencer (Post 1629387)
I got this PM from a user today:



OK, how do we fix it?

Noted = please delete this post.

Please send me a PM with full admin access to your site. There is an allowance check in place to stop what is being reported.

AndrewD 09-24-2008 07:11 PM

Quote:

Originally Posted by ShawnV (Post 1629398)
Andrew,

First let me say that LDM is very complex, well written, documented and infinitely useful, thank you for all your time developing this MOD.

I am using vBulletin 3.7.3 Patch Level 1)and LDM 2.3.0 alpha, and seem to have a few minor errors.

On the home category page I am getting an error in (EI 7 32bit (Vista 64)

line 12
Char 1604
Error: unexpected call to method or property access
Code: 0
ULR: http://www.koww.net/forum/local_links.php

This error does not reproduce once you navigate into a category or sub category, any suggestions?

It's a javascript error message, but it does not show up on a clean installation of LDM. There must be some interaction between the different pieces on your site. I will try to debug.

Quote:

Originally Posted by ShawnV (Post 1629398)
Also, I noticed a lightbox plugin in the extras folder, is it possible and why not just use vBulletin lightbox function that is built into VB for quick display of attached image thumbnails so they look and funtion the same as the ones in the forum and the rest of the site?

It's on my list to do. LDM had the lightbox extra quite a long time before vbulletin incorporated it. I haven't got round to replacing it with the now-standard vb code.

AndrewD 09-24-2008 07:13 PM

Quote:

Originally Posted by abdelghani68 (Post 1629281)
If i have got for exemple 100 audio in LDM. Has I necessarily edite and validate every entry one to one for that the attibuts of idtag are displays ?

How to do for the idtag are display in every audio without having to edit and validate all of entries please ?

thanks

I will try to give you a complete answer to this and your previous question, but it will probably be the weekend before I can do so.

AndrewD 09-24-2008 07:37 PM

Quote:

Originally Posted by ShawnV (Post 1629398)
Andrew,
I am using vBulletin 3.7.3 Patch Level 1)and LDM 2.3.0 alpha, and seem to have a few minor errors.

On the home category page I am getting an error in (EI 7 32bit (Vista 64)

line 12
Char 1604
Error: unexpected call to method or property access
Code: 0
ULR: http://www.koww.net/forum/local_links.php

This error does not reproduce once you navigate into a category or sub category, any suggestions?

Ignore my previous message - I think this is related to the use of the cat_desc_popup option on the LDM/admin/settings page. Will investigate.

ShawnV 09-24-2008 08:26 PM

Quote:

Originally Posted by AndrewD (Post 1629469)
It's a javascript error message, but it does not show up on a clean installation of LDM. There must be some interaction between the different pieces on your site. I will try to debug.



It's on my list to do. LDM had the lightbox extra quite a long time before vbulletin incorporated it. I haven't got round to replacing it with the now-standard vb code.

Awesome, that will be so nice, thanks.

Quote:

Originally Posted by AndrewD (Post 1629494)
Ignore my previous message - I think this is related to the use of the cat_desc_popup option on the LDM/admin/settings page. Will investigate.

Yes, it was, turned it off and error is gone. :)

_V

vbboarder 09-25-2008 02:00 AM

Quote:

Originally Posted by AndrewD (Post 1629470)
I will try to give you a complete answer to this and your previous question, but it will probably be the weekend before I can do so.

Quote:

If i have got for exemple 100 audio in LDM. Has I necessarily edite and validate every entry one to one for that the attibuts of idtag are displays ?

How to do for the idtag are display in every audio without having to edit and validate all of entries please ?
.
I will try to save you some time, Andrew. Feel free to correct me if I'm wrong. It's a 2 steps process - you do not need to do the 2nd step IF you have not added any media entries after installing the ID3 tags extra plugin.

Step 1: Find LDM - Interpret ID3 tags (ldm_addlink_preinsert) in the Plugin Manager. Click that link and and find variables looking like "$entitytags['title']" and change the word inside the bracket to whatever you want. Make sure that your new word is enclosed with single quotes, like so $entitytags['myTitle']. DO NOT change the words of any other variable, otherwise the plugin code will not work and you'll get errors!

Step 2 (if you added entries after installing the ID3 tags plugin): You must manually edit the local_linksentities table and change the names in the entityname column. Make sure to backup the table first in case you'll do something wrong and need to restore your original table.

Hope that helps ;)

vbboarder 09-25-2008 02:03 AM

Andrew, is there a LDM function I can call from a plugin to determine the filetype of an entry? If so, can you tell me what's the function and in what file? Thanks.

AndrewD 09-25-2008 05:04 AM

Quote:

Originally Posted by vbboarder (Post 1629696)
Andrew, is there a LDM function I can call from a plugin to determine the filetype of an entry? If so, can you tell me what's the function and in what file? Thanks.

I tend to use the vbulletin function file_extension($filename), which is in functions.php. If you want to check if a filetype is defiend in the attachments table, i.e. a recognised ldm upload/download, then use ldm_known_filetype($type) in includes/local_links_includes.php.

Your info on id3 entities is accurate. I'm irritated at myself for ignoring one of the golden rules of database design - don't drop information about field names into multiple database records. I will sort this out.

vbboarder 09-25-2008 04:59 PM

Quote:

Originally Posted by vbboarder (Post 1627913)
In LDM Settings > Jukebox, when setting the musicbox_default_sort_order to hits 30 days, hits 7 days, or hits 24 hours, LDM reports an SQL error:
Note: setting it to "hits overall" works fine though.

Sorry, I wasn't detailed about exactly where the SQL error occurred. After saving the setting (ie: to "Hits 30 days"), go and view a single entry that is played in an embedded player. (ie: local_links.php?action=play....). On that page, instead of listing the Hits, it shows the SQL error:
Quote:

MySQL Error : Unknown column 'linkrecenthits' in 'order clause'
Andrew, are you able to reproduce that error?


All times are GMT. The time now is 12:55 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.03171 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
  • (12)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