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)

AndrewD 08-10-2006 06:23 PM

Quote:

Originally Posted by AsianKid
Hello AndrewD.
I tried installing both RC and Beta on 3.6.0 Gold and I get the following error:
PHP Code:

WarningUnknown(includes/local_links_init.php): failed to open streamNo such file or directory in /admincp/plugin.php(1924) : eval()'d code on line 3

Fatal error: (null)(): Failed opening required '
includes/local_links_init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/user/public_html/admincp/plugin.php(1924) : eval()'d code on line 3 


Are you sure you are uploading all the code files into the correct directories?

The error is saying that it can't find local_links_init.php in your includes directory

AsianKid 08-10-2006 06:27 PM

Quote:

Originally Posted by AndrewD
Are you sure you are uploading all the code files into the correct directories?

The error is saying that it can't find local_links_init.php in your includes directory

Yup was only missing that.
Thanks,
Sonny

MoothMan 08-10-2006 07:15 PM

Everything appears to have installed correctly on my 3.6 board. When i try to add a category though, i get

"Parse error: syntax error, unexpected $end in /home/kayjay39/public_html/forum/forum/local_links.php on line 1717
"

Any ideas?

AndrewD 08-10-2006 07:20 PM

Quote:

Originally Posted by MoothMan
Everything appears to have installed correctly on my 3.6 board. When i try to add a category though, i get

"Parse error: syntax error, unexpected $end in /home/kayjay39/public_html/forum/forum/local_links.php on line 1717
"

Any ideas?

According to the error message, the php parser thinks that local_links.php is 1717 lines long. It's actually 1992 lines long, so I suspect your file upload died part way through the transfer.

MoothMan 08-10-2006 09:13 PM

Thanks, that was it :) :blush:

obmob 08-11-2006 02:43 PM

Quote:

Originally Posted by AndrewD
What a wonderful site!

I think the problem with over-writing the templates only happens when the add-in version number changes. As we are staying with version 2.2.5, you shoul dbe ok. But I'll check, just to be sure.

Thanks for your comments and care Andrew :)

BTW... i think it's time to make some translations :D

Hmm... what does that synch feature do? I guess it synchs something :p

AndrewD 08-11-2006 03:03 PM

Quote:

Originally Posted by obmob
Thanks for your comments and care Andrew :)

BTW... i think it's time to make some translations :D

Hmm... what does that synch feature do? I guess it synchs something :p

I discovered the problem with templates. When we moved from VB 3.0 to 3.5, templates were handled differently. I'd put some code in to clean out the old templates and forgotten to take it out. As a result, with every subsequent upgrade, people lost their customised templates. Ouch :D

Yes, time to begin the translations - almost ready to go gold.

The sync feature allows you to set up a category so that it will automatically keep track of the contents of a directory on your web site. Depending on how you set it up, it works recursively, so you can automagically keep everything in LDM in sync with part of your web site.

obmob 08-11-2006 03:08 PM

Great, thanks Andrew :)

OH, sync not synch... i knew it looked strange :p

OK, i'll start translating the new phrases :D

kylek 08-11-2006 10:40 PM

After a week spent trying to get vbjukebox working I am really glad I found this.

Have installed first time 2.2.5 RC on vb 3.6.0 and am so far blowed away by everything. Plan is to use it as a jukebox for now, where members can upload and download songs.

Only thing I can't get working is the pop up jukebox. When you click on the "play me" or song (file) title the pop up jukebox opens and says its ready but when the play button is pushed nothing happens. I have checked on Opera, Firefox, and will check on msn later but so far no go.

Settings are set so members can play and can save. When save is clicked on everything goes okay so I know the fires are okay.

Anything I might have overlooked?

AndrewD 08-12-2006 03:27 AM

Quote:

Originally Posted by kylek
After a week spent trying to get vbjukebox working I am really glad I found this.

Have installed first time 2.2.5 RC on vb 3.6.0 and am so far blowed away by everything. Plan is to use it as a jukebox for now, where members can upload and download songs.

Only thing I can't get working is the pop up jukebox. When you click on the "play me" or song (file) title the pop up jukebox opens and says its ready but when the play button is pushed nothing happens. I have checked on Opera, Firefox, and will check on msn later but so far no go.

Settings are set so members can play and can save. When save is clicked on everything goes okay so I know the fires are okay.

Anything I might have overlooked?

There are two problems that I've experienced. One is that Quicktime hijacks the browser. The second is a buffering problem on an individual PC. I've tried to register on your site to take a look, but am waiting for the confirmation email to complete the process. Happy to explore this with you.

kylek 08-12-2006 03:38 AM

Quote:

Originally Posted by AndrewD
There are two problems that I've experienced. One is that Quicktime hijacks the browser. The second is a buffering problem on an individual PC. I've tried to register on your site to take a look, but am waiting for the confirmation email to complete the process. Happy to explore this with you.

Thank you Andrew, just sent pm with admin login and password.

Kwak 08-12-2006 03:57 AM

Just budding in to say that the project is looking good. Thanks all to the beta testers and the developer himself.
Look forward to the gold release for v.3.6.0.

AndrewD 08-12-2006 04:38 AM

Quote:

Originally Posted by kylek
Thank you Andrew, just sent pm with admin login and password.

I've tried it - the three tracks you've installed play just fine for me through the jukebox, both when the embedded player is set to come up in the same window and when it's set to launch a new window (LDM->Admin->settings->launch in new window)

I tried with IE7, Firefox and Opera. They all worked. So I think the problem is on your PC. Try clearing your caches and logging out and in again.

Another point - you're not running your PC under Linux by any chance? The player doesn't work in Linux, but then it shouldn't load in the first place.

kylek 08-12-2006 04:43 AM

Quote:

Originally Posted by AndrewD
I've tried it - the three tracks you've installed play just fine for me through the jukebox, both when the embedded player is set to come up in the same window and when it's set to launch a new window (LDM->Admin->settings->launch in new window)

I tried with IE7, Firefox and Opera. They all worked. So I think the problem is on your PC. Try clearing your caches and logging out and in again.

Another point - you're not running your PC under Linux by any chance? The player doesn't work in Linux, but then it shouldn't load in the first place.


While you were checking things out I just grabbed my neighbours lap top and was able to play the 3 songs with no problems so as you mentioned it must be something with my pc. I am running XP no Linux. I will try what you mentioned clearing the caches.

Thanks a lot for taking the time to check things out, really appreciated!!

AndrewD 08-12-2006 09:12 AM

I have uploaded what I hope is the official release of LDM for VB36. The same code also works on VB35.

These are the fixes/changes between the RC and this version:

Add/Edit Link
Fields that are not available to user are not displayed
Protocols
Supports mms protocol
RSS2 feed
New 'extra' - old 'local_links_external' script withdrawn
User bandwidth/download allowances
New 'extras' which illustrate how to tie allowances to user reputation and to number of posts
Bugs fixed
- htmlspecialchars_uni used consistently, avoids messing up unicode fonts
- extra information added to admin info table to help debug
- Report of 'invalid email' when editing enties submitted by unregistered user
- No longer crashes when moderator accepts entry and email notification to user is turned on
- Additional tests within 'report link' and 'send to friend' to block spammers
- linkbit_short template fixed
- Product update no longer wipes out customised templates
- VB function cache_styles() copied into LDM because of problems on some sites

Partial translation into arabic provided in the development/phrases directory

If anyone experiences problems, please report them quickly!

AndrewD 08-12-2006 10:54 AM

Quote:

Originally Posted by Marsupilami
VB36 === VB36 ;)

Regards, Johan - Who will soon move to 3.6 now.

identical, indeed.

Marsupilami 08-12-2006 05:01 PM

Question/Request:

Can LDM be configured in such a way that file location if normally hidden, (force_redirect = 0), but certain remote, (off-site), downloads are retrieved with either a browser redirect, or a fully visible link?

Reason:
When downloading remotely stored items, the php-script gets terminated after (normally) 30 seconds, and thus giving an incomplete download.

Or is there a way around the PHP script termination cutting the remote download?

Maybe this could be done with a two step forms for retrieval of remote contents, that puts out some 1..2..3..4.. progress indicator while fetching the remote contents to a temporary (cache) storage, and thenafter initiating the download.

Application:
I want to store some of the archive items off-site. There are two reasons for this:
  1. Users may want to hide their location, but still host some categories
  2. I want to be able to have the site frontend on a high quality site - Which is quite expensive on storage. And thus i want to be able to store bulky archives on other sites that provide bigger and cheaper and possibly less reliable service

PS: I erased my propos post on the typo.

xadoa 08-12-2006 07:57 PM

Quote:

Originally Posted by AndrewD
I have uploaded what I hope is the official release of LDM for VB36. The same code also works on VB35.

These are the fixes/changes between the RC and this version:

Add/Edit Link
Fields that are not available to user are not displayed
Protocols
Supports mms protocol
RSS2 feed
New 'extra' - old 'local_links_external' script withdrawn
User bandwidth/download allowances
New 'extras' which illustrate how to tie allowances to user reputation and to number of posts
Bugs fixed
- htmlspecialchars_uni used consistently, avoids messing up unicode fonts
- extra information added to admin info table to help debug
- Report of 'invalid email' when editing enties submitted by unregistered user
- No longer crashes when moderator accepts entry and email notification to user is turned on
- Additional tests within 'report link' and 'send to friend' to block spammers
- linkbit_short template fixed
- Product update no longer wipes out customised templates
- VB function cache_styles() copied into LDM because of problems on some sites

Partial translation into arabic provided in the development/phrases directory

If anyone experiences problems, please report them quickly!

hi Andrew,

for the limit # of download per file basis doesn't seem to work for me.. i still can click as many time as I like on one files to be downloaded .. can u have a look ? or this is fixed in the Gold version? and how to upgrade this if i already have the database installed and running with the RC version ..

thanks
XD

Marsupilami 08-12-2006 08:21 PM

Are youdownloading as an administrator or normal user?
Quote:

Originally Posted by AndrewD
The limit-useraccess extra in the new LDM zip file includes a plugin, limitaccess-byreputation-plugin.xml, which modifies the download access according to the user's reputation....

...These changes do not apply to administrators...

https://vborg.vbsupport.ru/showpost....postcount=2361

Quote:

Originally Posted by xadoa
...for the limit # of download per file basis doesn't seem to work for me.. i still can click as many time as I like on one files to be downloaded .. can u have a look ? or this is fixed in the Gold version? and how to upgrade this if i already have the database installed and running with the RC version...


xadoa 08-12-2006 08:52 PM

one more question for AndrewD,

can you parse the code that we can enter the link as the following format?

http://password:user@www.urlweb.com/files.zip ? since the files.zip is located on a server which has the htaccess protected to the outsiders.
for the RC version, I tried with this format, i alwasy got an error as link failed

Thank you
XD

AndrewD 08-13-2006 04:34 AM

Quote:

Originally Posted by xadoa
one more question for AndrewD,

can you parse the code that we can enter the link as the following format?

http://password:user@www.urlweb.com/files.zip ? since the files.zip is located on a server which has the htaccess protected to the outsiders.
for the RC version, I tried with this format, i alwasy got an error as link failed

Thank you
XD

LDM handles this ok as a general format, from what I can see. However, it isn't something that I've ever tested, so there may be something I've missed. Either send me a PM with a valid url including user and pawd, or bear with me until I have the chance to set up an htaccess protected corner on our site.

AndrewD 08-13-2006 08:33 AM

Quote:

Originally Posted by xadoa
hi Andrew,

for the limit # of download per file basis doesn't seem to work for me.. i still can click as many time as I like on one files to be downloaded .. can u have a look ? or this is fixed in the Gold version? and how to upgrade this if i already have the database installed and running with the RC version ..

thanks
XD

I'm happy to take a look at your site - send me a PM with details of an admin username and pwd

To upgrade, you just re-upload the files from the /release/forum subdirectories and reinstall the product.xml file, telling VB to overwrite. You'll not lose anything.

AndrewD 08-13-2006 09:24 AM

Quote:

Originally Posted by xadoa
one more question for AndrewD,

can you parse the code that we can enter the link as the following format?

http://password:user@www.urlweb.com/files.zip ? since the files.zip is located on a server which has the htaccess protected to the outsiders.
for the RC version, I tried with this format, i alwasy got an error as link failed

Thank you
XD

Just for the record - isn't the format http://user:password@www.urlweb.com/files.zip rather than http://password:user@www.urlweb.com/files.zip

xadoa 08-14-2006 03:02 PM

Hi AndrewD,

sorry about the format, i had the username the same as the password, so i might mistype on the format, but it should be ok if it works.. I will PM you the test file of the site i'm working on this format of url.

thank you.

RaceJunkie 08-14-2006 03:50 PM

How do you get the thumbnails to show beside each link?

Like here.
http://www.eirma.org/devel/LDM/index...ontents.html&1

Quote:

thumbs_dir
Directory in which thumbnails are stored. NB: This must be within your website regardless of the setting of local_file_root, e.g. /images/thumbs, and must be writeable by the web server.
I have
forums/images/ldm_thumbs


What else do i need?

AndrewD 08-14-2006 03:56 PM

Quote:

Originally Posted by RaceJunkie
How do you get the thumbnails to show beside each link?

Like here.
http://www.eirma.org/devel/LDM/index...ontents.html&1



I have
forums/images/ldm_thumbs


What else do i need?

ldm/admin/settings

set link_imagesize to the size you want these thumbs to be displayed

RaceJunkie 08-14-2006 04:01 PM

Quote:

link_imagesize
0: No thumbnail displayed and data entry form does not offer image field. >0: Size in pixels of thumbnail image shown within linkbit. (Images are displayed at this size along the larger dimension)
I have 125 in the box

Quote:

link_imagemagsize
Size in pixels of enlarged thumbnail image created with magnifier. 0: Show image at full size.
300 in the box

AndrewD 08-14-2006 04:03 PM

Quote:

Originally Posted by RaceJunkie
I have 125 in the box



300 in the box

send me a pm with details of your site and an admin username and password - it's easier just to look...

RaceJunkie 08-14-2006 04:03 PM

doi havee to upload a thumb for each link? Or does it create one?

AndrewD 08-14-2006 04:09 PM

Quote:

Originally Posted by RaceJunkie
doi havee to upload a thumb for each link? Or does it create one?

If you've given link_image_size a non-zero value, the 'add link' data entry form includes an extra field for an image url or upload, which is used to create the thumb. If the main url is an image, LDM will use that automatically. Also, if you install the id3 'plugin' in the 'extras' directory, it will automatically grab the cover art from mp3 files if this exists.

RaceJunkie 08-14-2006 04:49 PM

Is there a way to change the Breadcrumb from
Forums
Links and Downloads Manager

To Just Links Manager?

RaceJunkie 08-14-2006 05:09 PM

Quote:

Originally Posted by RaceJunkie
Is there a way to change the Breadcrumb from
Forums
Links and Downloads Manager

To Just Links Manager?

Quote:

database_name
Name of database to use in navbar and browser title. Defaults to Links and Downloads Manager
Found it:)

blue6995 08-14-2006 05:24 PM

I uploaded the files and tried to install the product...all went well with the exception of the Settings and Permissions. Whenever I try and access it I receive the following messages:

Warning: main(/homepages/18/d121175559/htdocs/vBulletin/includes/local_links_misc.php): failed to open stream: No such file or directory in /local_links_admin.php on line 657

Fatal error: main(): Failed opening required '/homepages/18/d121175559/htdocs/vBulletin/includes/local_links_misc.php' (include_path='.:/usr/local/lib/php') in /homepages/18/d121175559/htdocs/vBulletin/local_links_admin.php on line 657

I was running the previous version with vBulletin 3.5 and I have recently upgraded to 3.6

AndrewD 08-14-2006 05:29 PM

Quote:

Originally Posted by blue6995
I uploaded the files and tried to install the product...all went well with the exception of the Settings and Permissions. Whenever I try and access it I receive the following messages:

Warning: main(/homepages/18/d121175559/htdocs/vBulletin/includes/local_links_misc.php): failed to open stream: No such file or directory in /local_links_admin.php on line 657

Fatal error: main(): Failed opening required '/homepages/18/d121175559/htdocs/vBulletin/includes/local_links_misc.php' (include_path='.:/usr/local/lib/php') in /homepages/18/d121175559/htdocs/vBulletin/local_links_admin.php on line 657


I was running the previous version with vBulletin 3.5 and I have recently upgraded to 3.6

Looks like you haven't uploaded all the code files, in particular local_links_misc.php into forums/include

blue6995 08-14-2006 06:13 PM

Quote:

Originally Posted by AndrewD
Looks like you haven't uploaded all the code files, in particular local_links_misc.php into forums/include

Andrew, many thanks. You were, of course, correct and I hadn't copied all the files across! It now appears to be working correctly

kylek 08-14-2006 08:26 PM

I am playing around trying to figure out the extra goodie auto create threads 2 way plugin and just can't get my head wrapped around this today. If I understand this right when a new file has been uploaded to the links manager this should then add a notice to which ever forum you want it in. What I can't see is how this happens? Is there somewhere that you need to add the forum id to?

Have uploaded the plugin, added the cat id's that I want to be added to the forum, but now stumped.

Hope this post makes sense.

Marsupilami 08-14-2006 09:55 PM

Quote:

Originally Posted by AndrewD
To upgrade, you just re-upload the files from the /release/forum subdirectories and reinstall the product.xml file, telling VB to overwrite. You'll not lose anything.

Confirmed! Works like a charm!

Slave 08-14-2006 11:30 PM

Hi AndrewD ..

Bit of a problem, not sure if it's a problem with the import system, or me :)

I've upgraded my 3.5.4 version forums to LDM 2.2.5 and things seemed to work ok. I then imported an exported LDM xml file and deleted some other cats and I've started to get the following on my vBadvanced front page when I have the new links module on ..

Code:

Fatal error: Cannot redeclare empty_category() (previously declared in /home/virtual/site101/fst/var/www/html/includes/functions_gallery.php:2047) in /home/virtual/site101/fst/var/www/html/includes/local_links_include.php on line 2935
For the moment I've turned off the vBa module. Any ideas?

AndrewD 08-15-2006 05:13 AM

Quote:

Originally Posted by Slave
Hi AndrewD ..

Bit of a problem, not sure if it's a problem with the import system, or me :)

I've upgraded my 3.5.4 version forums to LDM 2.2.5 and things seemed to work ok. I then imported an exported LDM xml file and deleted some other cats and I've started to get the following on my vBadvanced front page when I have the new links module on ..

Code:

Fatal error: Cannot redeclare empty_category() (previously declared in /home/virtual/site101/fst/var/www/html/includes/functions_gallery.php:2047) in /home/virtual/site101/fst/var/www/html/includes/local_links_include.php on line 2935
For the moment I've turned off the vBa module. Any ideas?

Whichever vba module is using functions_gallery.php is declaring a function called empty_category, and so is LDM. PHP does not allow this. So one of us will have to change the name of the code :) I will do so in the next upload. In the meantime, you can fix this by editing lines 1812 and 1815 of local_links_admin.php and lines 2935, 2997 and 3257 in includes/local_links_include.php

Just change empty_category to (e.g.) ldm_empty_category

AndrewD 08-15-2006 05:23 AM

Quote:

Originally Posted by kylek
I am playing around trying to figure out the extra goodie auto create threads 2 way plugin and just can't get my head wrapped around this today. If I understand this right when a new file has been uploaded to the links manager this should then add a notice to which ever forum you want it in. What I can't see is how this happens? Is there somewhere that you need to add the forum id to?

Have uploaded the plugin, added the cat id's that I want to be added to the forum, but now stumped.

Hope this post makes sense.

Yes, it makes sense. This part of LDM is a bit confusing.

The way LDM keeps its entries protected is by "associating" these with one of your site's forums. This is optional, and it can be done in two ways: by setting the default_forumid parameter (LDM admin settings), or when you add/edit categories or entries within those categories (specify Parent Forum).

Once a category is associated with a forum, it can only be seen by users who have 'Can View Forum' and 'Can View Others Threads' permission to that forum. Ditto entries in the forum, which will either pick up the category's setting or can have their own forum setting.

The 'auto thread create' feature tries to create the new thread in the corresponding forum. However, if you haven't associated a forum, there is nowhere to place the thread, so nothing happens.

Conclusion: auto_thread_create only works when the new entry has an associated forum, either explicitly, or implicitly from its category or implicitly from the setting of default_forumid.


All times are GMT. The time now is 08:58 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.02491 seconds
  • Memory Usage 1,900KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (29)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