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)

obmob 08-26-2006 01:03 AM

:p can i ask for an additional image field?

I mean, i can enter a url for my thumbnail, and i would like to have also one field for a mid sized image.

This way, i could use smaller thumbs and in case i want to show a file description... well, in that page i'd display the mid sized image.

Pleeeease, please!!! :D

zellvnn 08-26-2006 01:11 AM

I will wait for the next version.........Thanks for ur hardwork.......

AndrewD 08-26-2006 06:26 AM

Some good news and some perhaps not so good news for you...

The first beta release of version 2.2.6 is now available. I believe it fixes the reported bugs and problems with 2.2.5 and it also includes a number of relatively obscure changes to deal with special situations that some of you have requested. These changes are described in the first post to this thread, and also in the online wiki.

I have tested this quite thoroughly, but it is certainly possible that there are new bugs...

The not-so-good news is that I am going on vacation tomorrow and will not be back until mid September, when - for a while - I will have only limited time to deal with this hack.

So, if anyone finds anything serious with 2.2.6 beta 1, it would be a good idea to tell me today, ideally before bed time :)

AndrewD 08-26-2006 06:36 AM

Quote:

Originally Posted by obmob
:p can i ask for an additional image field?

I mean, i can enter a url for my thumbnail, and i would like to have also one field for a mid sized image.

This way, i could use smaller thumbs and in case i want to show a file description... well, in that page i'd display the mid sized image.

Pleeeease, please!!! :D


With 2.2.6, you can use urls like this to display the images any size you want (up to the size of the original picture):

http://yoursite/yourforum/local_resi...id=56&size=250

Inside the linkbit template, the linkid is available in the variable $linkid, so you can easily edit the template to display the image at a different size. Just put in an <img> tag pointing to this url.

AndrewD 08-26-2006 06:38 AM

Quote:

Originally Posted by Jaxel
Hey Andrew... any possibility for an extra profile field for links? Just an extra field where I can store an additional piece of information, but not part of the description? So I can call this extra piece of information in a template somewhere?

I'll put this on the wish list. I'd like to do this cleanly, so that it doesn't become a problem later on when people start wanting to modify things...

Erwin 08-26-2006 06:38 AM

I was using vBA 2.1.0 and Links 2.2.1 with no problems.

I upgraded vBA to 2.2.0 and then Links to 2.2.5 - I get this error on vBa index:
=======================================
Unexpected critical failure
Critical Error: Links and Downloads Manager v.2.2.5 requires VBulletin version 3.5
=======================================

Any ideas?

Code Monkey 08-26-2006 06:39 AM

Enjoy your vacation.

AndrewD 08-26-2006 06:40 AM

Quote:

Originally Posted by Jaxel
Hey Andrew, I noticed you fulfilled my request and set the hits grab at the beginning of a download instead of at the end, thus letting the "hits" system work for shared servers that how a low wait_timeout... However, I noticed that the system still holds a sustained connection in which I get an error report after 20 seconds (my wait_timeout setting). If the hits grab is now at the beginning of the file, is there still a need to sustain the connection which is killed off by wait_timeout?

Should be corrected in 2.2.6

Erwin 08-26-2006 06:44 AM

Should I try upgrading to 2.2.6 to see if that helps?

AndrewD 08-26-2006 06:47 AM

Quote:

Originally Posted by Erwin
I was using vBA 2.1.0 and Links 2.2.1 with no problems.

I upgraded vBA to 2.2.0 and then Links to 2.2.5 - I get this error on vBa index:
=======================================
Unexpected critical failure
Critical Error: Links and Downloads Manager v.2.2.5 requires VBulletin version 3.5
=======================================

Any ideas?

Check that you've uploaded the latest includes/local_links_init.php. This has the following code to select the VB version:

PHP Code:

if (isset($GLOBALS['vbulletin']->db)) {
    
$vb_version substr($vbulletin->options['templateversion'], 03);
    if (
$vb_version == "3.5") {
        
define('VALID_VB_VERSION'"3.5");
    } elseif (
$vb_version == "3.6") {
        
define('VALID_VB_VERSION'"3.6");
    }


If that's installed correctly, then your site must be behaving differently than mine, and we need to get to the bottom of this.

Erwin 08-26-2006 06:48 AM

Yup, I upgraded to 2.2.6 and it works. Thanks. All files were upgraded to the latest version at all times - I checked manually. Anyway, it's working now.

AndrewD 08-26-2006 06:49 AM

Quote:

Originally Posted by Jaxel
Okay Andrew, I got another interesting request for you...

Lets say I do a directory scan to add a batch of files. Simple right? However, these files are .AVI files and it is a major pain to edit each and every one to add the thumbnails for them...

Considering one file, when it is added to the database, it has the following info:
$Name: wld.060812.mbac.Matrix.vs.LeoGeo
$Desc: trawled during scan of /matchvids/wld.060812
$URL: /matchvids/wld.060812/wld.060812.mbac.Matrix.vs.LeoGeo.avi

Would it be possible to slightly change all this?
So that when I add a file do the database using the batch method it adds the following:
$Name: wld.060812.mbac.Matrix.vs.LeoGeo
$Desc: /matchvids/wld.060812 (just the $dir)
$URL: /matchvids/wld.060812/wld.060812.mbac.Matrix.vs.LeoGeo.avi
$IMG: /matchvids/wld.060812/wld.060812.mbac.Matrix.vs.LeoGeo.gif (thats $dir/$name.gif)

http://www.crookedjester.com/local_links.php

There's a new 'extra' sample_avi in the 2.2.6 release which should do the trick

Slave 08-26-2006 07:09 AM

Downloading the beta now AndrewD .. I'll let you know if i find anything.

Thanks and I hope you have a good holiday :)

Jaxel 08-26-2006 05:00 PM

Thanks Andrew... heres an idea for when you get back from your vacation...

Ratings and Comments should be seperated. I want to be able to let users rate links, but I dont want to let them be able to comment...

xadoa 08-26-2006 06:18 PM

Hi AndrewD,

i've upgraded to the 2.2.6B1, but it seem like the attachment into the new thread is not working yet. just want to know if you modified the autocreate-2way-plugin.xml to have the image attached when create the new thread.

thanks
XD

AndrewD 08-26-2006 06:33 PM

Quote:

Originally Posted by xadoa
Hi AndrewD,

i've upgraded to the 2.2.6B1, but it seem like the attachment into the new thread is not working yet. just want to know if you modified the autocreate-2way-plugin.xml to have the image attached when create the new thread.

thanks
XD

As far as I can tell, it works fine on my test site for new submissions. It will not retroactively create the image for old submissions. Also, it will not work if you have set local_file_root.

xadoa 08-26-2006 06:51 PM

Hi AndrewD,

i have set all value as default, there is not local_root file set . the most value i set were those template values.

i only have 1 products and 2 plugin installed, the ldm and limitaccess by hits, and autocreate-2way plugin. and the follow is my 2 attached files.. not sure i've done it the right way.

the link is the file link, and the images that will be attached into the new thread is the image url below ? .. and can we have another prompt so we can browse the image from out local desktop and upload it to attach to the new thread once the link is submited ?

P.S: sorry the images link should be ended with "jpg" not avi ..

thank you
XD

xadoa 08-26-2006 06:58 PM

sorry, one more thing, the Force to accept, when I set to "Yes" .. the screen does appear, but when people click on "Accept" the screen stay the same on that "Accept" Decline" screen .. only when u click "Decline" then the screen go to the Decline Screen .. "saying.. u've decline to accept .. etc.." ..

I love this feature as well, since don't want people to use download manager to download files in a batch. with this feature i hope that will solve the problem ..

thank you
XD

AndrewD 08-26-2006 07:00 PM

Quote:

Originally Posted by xadoa
Hi AndrewD,

i have set all value as default, there is not local_root file set . the most value i set were those template values.

i only have 1 products and 2 plugin installed, the ldm and limitaccess by hits, and autocreate-2way plugin. and the follow is my 2 attached files.. not sure i've done it the right way.

the link is the file link, and the images that will be attached into the new thread is the image url below ? .. and can we have another prompt so we can browse the image from out local desktop and upload it to attach to the new thread once the link is submited ?

P.S: sorry the images link should be ended with "jpg" not avi ..

thank you
XD

Sorry, we're talking at cross purposes. You are trying to get the avi->lpg auto imager to work, I think.

You need to install the extra "sample-avi-image". This will spot when you create a new entry in which:

- the url itself has an avi file type (xxx.avi), and
- the image field is blank

If both conditions apply, it will set the associated image to be (xxx.jpg).

If you've also got the auto thread create plugin, they should cascade smoothly.

Sorry, but I'm out of time now, and am leaving on vacation.

xadoa 08-26-2006 07:20 PM

Quote:

Originally Posted by AndrewD
Sorry, we're talking at cross purposes. You are trying to get the avi->lpg auto imager to work, I think.

You need to install the extra "sample-avi-image". This will spot when you create a new entry in which:

- the url itself has an avi file type (xxx.avi), and
- the image field is blank

If both conditions apply, it will set the associated image to be (xxx.jpg).

If you've also got the auto thread create plugin, they should cascade smoothly.

Sorry, but I'm out of time now, and am leaving on vacation.

Hi AndrewD,

I will wait till u back from your vacation, thank you for your time.

it's not the sample-avi that work on what we were talking about. it's eaither avi,zip or any type of files. when you submit a new link and create a new thread, an image should be attached to that new thread. the images that you can browse directly from your computer which you haven't got a prompt for it yet on your "Add Entry" form. or a prompt to put in an url of an image that you want to attach (like upload from url)

by using your function of creating new thread once the link is add, normally there is no images attached to that thread (not the link on the ldm) you can also attach a separate image into that new thread by using the same function (in autocreate-2wayplugin.xmL ?) like create a new thread with an attachment.

Hope you got what i meant :)

thanks
XD
PS: what i meant of a newthread should appeared like below image.. one with the image attached.

xd

jluerken 08-26-2006 11:19 PM

Hi Andrew,

can you fix a small template issue coming up when the description is very long?

In the modern view first and second column should get align="top"

See here
http://www.clanforums.com/gallery/files/3-links226.jpg

lovevn 08-27-2006 03:12 AM

Hi

I have one question:

I am using LDM in my forum as the following structure

www.mysite.com/forum/local_links.php

Now I want to move my forum to

www.mysite.com/portal/forum

(www.mysite.com/portal/forum/local_links.php)

Is this possible ? Do i have to change settining or do I have to reinstall LDM?

Thanks

Ipuck 08-27-2006 04:06 PM

Hello Andrew:

I just upgrade to 2.2.6 and every time some one is using the LDM I get a e-mail with the following error:

Quote:

Database error in vBulletin 3.6.0:

Invalid SQL:

UPDATE vb_session
SET lastactivity = 1156697276, location = '', inforum = 0, inthread = 0, incalendar = 0, badlocation = 0
WHERE sessionhash = '';
The links work but I get the message.

Thanks!

TheHeartSmasher 08-27-2006 06:31 PM

When I try to save LDM settings I get prompted to download the page instead.

Also when people click on links to download they get a white page and it takes forever to download or they get an error message.

Zia 08-28-2006 03:32 AM

is there any chane to have LDM ,intigrated with vbux ?

obmob 08-28-2006 09:46 PM

Quote:

Originally Posted by AndrewD
With 2.2.6, you can use urls like this to display the images any size you want (up to the size of the original picture):

http://yoursite/yourforum/local_resi...id=56&size=250

Inside the linkbit template, the linkid is available in the variable $linkid, so you can easily edit the template to display the image at a different size. Just put in an <img> tag pointing to this url.

OH, sweet, thaks Andrew, i'll try this weekend... well, i wish you have a great vacation... maybe you don't realize, but you have had the best support i've seen in any vB mod, thank you. :bunny:

Quote:

Originally Posted by Zia
is there any chane to have LDM ,intigrated with vbux ?

Hmm.. i think this was in to do list. :)

EasyTarget 08-29-2006 01:37 PM

I just upgraded my forums to 3.6 and upgraded the ldm to 2.6. beta1 and I reported this error to vbulletin.com
Quote:

One of the products which I have installed is called the Links and Downloads manager. The product works fine, however when I am finished downloading a file and click on the forum link on the navbit I get the following error:

Warning: mysql_real_escape_string(): 6 is not a valid MySQL-Link resource in /includes/class_core.php on line 648

Warning: mysql_real_escape_string(): 6 is not a valid MySQL-Link resource in /includes/class_core.php on line 648

Warning: mysql_real_escape_string(): 6 is not a valid MySQL-Link resource in /includes/class_core.php on line 648

Warning: mysql_real_escape_string(): 6 is not a valid MySQL-Link resource in /includes/class_core.php on line 648

Warning: mysql_real_escape_string(): 6 is not a valid MySQL-Link resource in /includes/class_core.php on line 648

Warning: mysql_real_escape_string(): 6 is not a valid MySQL-Link resource in /includes/class_core.php on line 648

Warning: mysql_query(): 6 is not a valid MySQL-Link resource in /includes/class_core.php on line 354

Warning: mysql_error(): 6 is not a valid MySQL-Link resource in /includes/class_core.php on line 828

Warning: mysql_errno(): 6 is not a valid MySQL-Link resource in /includes/class_core.php on line 846

Database error in vBulletin 3.6.0:

Invalid SQL:

UPDATE session
SET lastactivity = 1156835672, location = '', inforum = 0, inthread = 0, incalendar = 0, badlocation = 0, useragent = ''
WHERE sessionhash = '';

MySQL Error :
Error Number :
Date : Tuesday, August 29th 2006 @ 12:14:33 AM
Script : http://www.troc.us/forum/downloads.p...p&id=9&catid=4
Referrer : http://www.troc.us/forum/downloads.php?catid=4&linkid=9
IP Address :
Username : EasyTarget
Classname : vB_Database

HTTP/1.1 200 OK Date: Tue, 29 Aug 2006 07:21:52 GMT Server: Apache/1.3.33 (Unix) mod_throttle/3.1.2 DAV/1.0.3 mod_fastcgi/2.4.2 mod_gzip/1.3.26.1a PHP/4.4.2 mod_ssl/2.8.22 OpenSSL/0.9.7e Cache-Control: private Content-Encoding: gzip Pragma: private X-Powered-By: PHP/5.1.2 Content-Length: 8870 Keep-Alive: timeout=5, max=89 Connection: Keep-Alive Content-Type: text/html; charset=ISO-8859-1

I use avant browser and confirmed that I receive this error in Internet Explorer as well (Avant is based on IE), however when using Firefox the error does not occur.
I reported it to them because when I searched the thread I found another error based on class_core.php and you asked the person to report it to them as it had something to do with unset array elements in the vB code. The support people said this was more or less correct but that
Quote:

The error is from third party code not correctly using vBulletin classes and functions.
I rolled back to 2.2.5 and it works fine.

maroceve 08-29-2006 02:53 PM

guys i have this problem :

Fatal error: Cannot redeclare empty_category() (previously declared in /home/maroceve/public_html/forums/includes/functions_gallery.php:2069) in /home/maroceve/public_html/forums/includes/local_links_include.php on line 2935

any ideas ?

Hades-1 08-31-2006 02:18 AM

did i get the wrong idea of what this does?

i thought it would show users attachments, but so far it does not....

Hades-1 08-31-2006 04:42 PM

ok so i uploaded an mp3, i clcik on play and the pop up windows opens but nof ile plays, then if i go to download the mp3 it tries to download a php file?

whats wrong with this thing?

also whats the point of linking forums to categories? i posted an mp3 in the audio cat and then went to the forum it was linked to and nothing was there, should there be?

EasyTarget 08-31-2006 04:54 PM

he's on a business trip right now

Hades-1 08-31-2006 04:58 PM

ok, well i figure other users might be able to help also.

after setting the correct mime type people can now download the mp3 just fine, but it still does not play

dkny 09-01-2006 04:54 AM

First of great hack, beautiful job!

I do have 1 problem, when I select force_redirect to 0 (hidden Link) and I try to download (save) am MP3 (didn't try other formats) I get another browser window and garbage on the screen. When I select force_redirect = 1 then I get the mp3 to download with no problem but I dont want the link to be visiable. Would you know what could be the problem? I'm running vb3.6 with LD 2.2.6beta1

obmob 09-02-2006 02:21 AM

Quote:

Originally Posted by Hades-1
ok, well i figure other users might be able to help also.

after setting the correct mime type people can now download the mp3 just fine, but it still does not play

WEll... haven't used the jukebox, but it's strange that you can't download the file, you should try reading the tutorial first, and configure the program as you want it to perform.

Hades-1 09-05-2006 02:58 PM

when somone goes to add a file it shows alist of forums for them to choose

somethinga bout permissions? an entry doesnt show up in the forum so i guess its just for permissions.

However i dont want this box displayed, then user should nto be able to pick.

Can anyone tell me how to do that?

Hades-1 09-05-2006 03:04 PM

nevermind i got it :) and i got mp3s to work inthe jukebox

IMHO this is way to advanced it should be made with a simpler interface, however if you have the patients to figure it out its really a nice system.

Hades-1 09-05-2006 03:08 PM

ok 1 last question i think

i let people upload images, thats the main purpose, however it asays upload file then upload image, i belive image is suppose to be a screenshot of what your uploading but if its an image why do you need a screenshot?

So i want to remove that upload form because its not needed, how can i do this?

sNator 09-07-2006 06:07 PM

Version 2.1.0 with 3.5.2

I can't deactive the product.

I have tried to disable under "Installed products" and also unchecked "active" under "Plugin System" but I can still use it.

I would like to solve this before I upgrade to the latest.
What could be wrong?

hydrostatic 09-08-2006 12:33 AM

How did you get the jukebox to work? I've messed around with it for long enough and I cannot get the jukebox to start playing music files >_< It always downloads instead. And when I click on the mp3 icon, it doesn't work and says Sorry - link is not currently available

If someone can help me, that would be greatly appreciated. Thanks.

Neal-UK 09-08-2006 04:36 PM

When I uninstall it says I must run local_links_kill to remove completely. How do I do this as I can't find the file in any zip....?


All times are GMT. The time now is 08:35 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.04306 seconds
  • Memory Usage 1,859KB
  • 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_php_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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