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)

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

Quote:

Originally Posted by hydrostatic
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.

go to attachment manager and click on mp3 and for mime type put this Content-type: audio/mp3

thats what i did

MRs2 09-09-2006 04:41 PM

I have a question: would it be possible to install this two times on one board?
One installation for links, and a second installation for photo-album?

I think when I change the name in the xml, use different directories and change the table it'll work, but I'm not sure if two versions will collide.

At the moment I use this 3.6 add-on on my 3.5.4 board.

I am trying to get a good integrated photo album, but what it there has too many problems, and LDM has proven to work fine for links, so why not as photogallery.

Using one version has the disadvantages that gallery and links categories will be together, plus I would have to use one lay out etc for both.

GrendelKhan{TSU 09-10-2006 04:15 PM

doth my eye deceive me!?!?!

TAGCLOUD??!! sweeet!! when we gunna see some of that in action?? :D

ps. awesome stuff as usual andrew...been away but now I'm back...so I'd be happy to test stuff ;) :p

Neal-UK 09-10-2006 05:07 PM

Quote:

Originally Posted by Neal-UK
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....?

BUMP!

Rouzbeh1 09-10-2006 05:43 PM

hi,

installed! wunderful hack. thanks

Suggestion: are you planning to add a mirroring system to it? for files which could be downloaded from 2 or 3 different servers

GrendelKhan{TSU 09-11-2006 03:42 AM

Quote:

Originally Posted by Neal-UK
BUMP!

I think that's in the
Release >> Extras
folder of the zip.

Slave 09-11-2006 12:01 PM

Quote:

Originally Posted by GrendelKhan{TSU
doth my eye deceive me!?!?!

TAGCLOUD??!! Sweet!! when we gunna see some of that in action?? :D

ps. awesome stuff as usual andrew...been away but now I'm back...so I'd be happy to test stuff ;) :p

I'm rather hoping the tag cloud stuff will be in the next release once AndrewD gets back from his travels :)

obmob 09-13-2006 03:18 PM

oó and what is tag cloud?

well... i haven't upgraded to the latest and new vB is out >.<

WritersBeat 09-13-2006 07:28 PM

Seems interesting, thanks

WritersBeat 09-13-2006 08:03 PM

Wow this is amazing, should definitley attempt an easier interface though. :)

|oR|Greg 09-14-2006 02:06 PM

Andrew, Strange problem...

I use vBA CMPS, and the option to include modules on other vB pages. When I include my standard page now on the local_links.php, it disables my admin ability to change settings in individual categories.

I'm sure you'll need admin on my site to see the issue first hand, just let me know when is good for you?

Thanks.

Rouzbeh1 09-15-2006 05:40 PM

EDIT:
Question: is it possible to disply images instead of a text link in vBadvanced CMPS hot downloads box?
normally when there is a hot download, a text link will be shown. i want to show the text as title and the thumbnail for that download (linked to entry)....

thanks in advance

dholt 09-15-2006 10:51 PM

Noob Question but do I have to create folders for all uploads and if so do I enter the fulll path to it or just the URL. were does it store the files.

How should I set it up

root/forums/images/ldm_icons
root/LDM_Uploads
root/forums/images/file_icons_dir
root/forums/images/thumbs_dir

chkmd to 777

Also I am not sure of this sitting/ local_file_root_prefix

I'm not sure what to put in this box even after reading.

Thanks and sorry for being such a noob with this.

zooki 09-16-2006 04:30 PM

I updated my site and for some reason the CMPS module doesnt update the latest downloads

AndrewD 09-17-2006 08:34 AM

Quote:

Originally Posted by Neal-UK
BUMP!

It's is in the 'extras' subdirectory kill-LDM in the release zip file.

AndrewD 09-17-2006 08:44 AM

Quote:

Originally Posted by MRs2
I have a question: would it be possible to install this two times on one board?
One installation for links, and a second installation for photo-album?

I think when I change the name in the xml, use different directories and change the table it'll work, but I'm not sure if two versions will collide.

At the moment I use this 3.6 add-on on my 3.5.4 board.

I am trying to get a good integrated photo album, but what it there has too many problems, and LDM has proven to work fine for links, so why not as photogallery.

Using one version has the disadvantages that gallery and links categories will be together, plus I would have to use one lay out etc for both.

It is possible to install this more than once, but it needs some care and I have not tried the process myself. Basically, you will need to make a copy of each of the php files and give the copy a new name. You will then edit the copy of the file local_links_init.php to set up a new database table prefix and to point all the main control pages at the copied php scripts. Finally, you will need to edit all the copies of the main php scripts and check all the 'include', 'include_once', 'require' and 'require_once' statements.

There is an easier way to achieve what you want...

Most of the layout settings (linkbit, category style, etc) can be set on a per-category basis as well as globally. Basically, these settings are 'inherited' from parent to child, so each category either uses its own settings or looks to its parent.

So set up a new branches in your LDM, e.g. with a top level called 'photos'. On the add/edit category page for 'photos' choose the second tab (Control Settings) and define the layout that you want for this category and its children. E.g. tell LDM to use the photo linkbit.

AndrewD 09-17-2006 08:56 AM

Quote:

Originally Posted by hydrostatic
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.

Did you manage to get this working?

The first step is that each filetype that you want to work in the jukebox must have a 'Content-type' entry in the VB admin attachments table - I think someone else has posted that message.

Then take a look at http://www.eirma.org/wikis/index.php...DM#The_Jukebox

AndrewD 09-17-2006 09:01 AM

Quote:

Originally Posted by lovevn
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

You should not need to make any changes to LDM.

If you have any LDM entries that point to files held on the local server (your own or uploads), check that these are still working correctly - there should be no problems.

AndrewD 09-17-2006 09:06 AM

Quote:

Originally Posted by sNator
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?

Nothing's wrong with what you are doing. I had never deal with this possibility, so LDM does not check the VB 'enabled/disabled' setting. Probably it should - I will take a look.

There is no need to disable before upgrading. However, if you want to stop your users from seeing LDM while you do the upgrade, switch off VB (VB admincp).

AndrewD 09-17-2006 09:11 AM

Quote:

Originally Posted by Hades-1
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?


Most of the items on the link add/edit form can be disabled by setting/unsetting the various permissions on the LDM/Admin/Permissions page.

I understand your previous points about LDM looking complex at first -- this is a consequence of providing the flexibility that people have asked for. I agree that we now need a 'first time' admin script to set up the basics. It's just a matter of finding the time to provide it.

AndrewD 09-17-2006 09:15 AM

Quote:

Originally Posted by dkny
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

I imagine you are having problems with mouse left clicks? I also assume that you are using IE?

Can you check that mouse right click/save as work ok with force_redirect=0.

The problem that you are reporting seems to happen when another piece of software has 'taken control' of your browser's downloads. The garbage you are seeing on the screen is almost certainly the contents of the mp3 file. A usual culprit is QuickTime.

There is a minor change available to LDM to force downloads to work properly, which I can describe if necessary.

AndrewD 09-17-2006 09:25 AM

Quote:

Originally Posted by maroceve
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 ?

Yes, sorry about this. Recent versions of LDM used the same function names as the gallery hack in some of its code. The problem only appear within the vbadvanced interface. It is fixed in the 2.2.6 code.

AndrewD 09-17-2006 09:28 AM

Quote:

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

The vbux author discussed this with me in June, but I haven't heard anything more from him. It isn't a change that I can easily make by myself.

AndrewD 09-17-2006 09:50 AM

Quote:

Originally Posted by EasyTarget
I just upgraded my forums to 3.6 and upgraded the ldm to 2.6. beta1 and I reported this error to vbulletin.comI 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

I rolled back to 2.2.5 and it works fine.

I think I know where the problem may be, but I will need to see your site to confirm this. If I'm right, it's a case of fixing one problem (people having difficulties with their database connection timing out) but introducing another. Can you reinstall 2.2.6 and send me a PM with details of your site and how to trigger the problem?

Slave 09-17-2006 06:20 PM

Welcome back AndrewD! .. I hope you had a good trip :)

MRs2 09-17-2006 07:05 PM

Quote:

Originally Posted by AndrewD
It is possible to install this more than once, but it needs some care and I have not tried the process myself. Basically, you will need to make a copy of each of the php files and give the copy a new name. You will then edit the copy of the file local_links_init.php to set up a new database table prefix and to point all the main control pages at the copied php scripts. Finally, you will need to edit all the copies of the main php scripts and check all the 'include', 'include_once', 'require' and 'require_once' statements.

There is an easier way to achieve what you want...

Most of the layout settings (linkbit, category style, etc) can be set on a per-category basis as well as globally. Basically, these settings are 'inherited' from parent to child, so each category either uses its own settings or looks to its parent.

So set up a new branches in your LDM, e.g. with a top level called 'photos'. On the add/edit category page for 'photos' choose the second tab (Control Settings) and define the layout that you want for this category and its children. E.g. tell LDM to use the photo linkbit.


I hope you had good holidays (if you had holidays). So many questions to answer...

Thanks, I never even saw that possibility :o.
I already had a copy with every script, table and reference renamed, but was waiting for you to return. Glad I did.

I just made two main categories Links and Photoalbum, and changed the navbar template to refer to them from different buttons.

Have to get some photo's in to see if it works, but I don't doubt that at all. I already thought this is a great add-on, but I now even think better of it :)

.

|oR|Greg 09-17-2006 10:15 PM

Andrew, I searched the code from the 3.5 version. I'm looking for the piece for the autocreate-threads plugin that adds the thumbnail image during the autocreate-threads process?

I have also upgraded to the latest beta, and I'm still having an issue with getting my settings working if I include the vBA CMPS page. It used to work, not with the latest though.

AndrewD 09-18-2006 04:14 AM

Quote:

Originally Posted by |oR|Greg
Andrew, I searched the code from the 3.5 version. I'm looking for the piece for the autocreate-threads plugin that adds the thumbnail image during the autocreate-threads process?

Including the thumbnail is built into the autocreate-threads plugin. If the entry has an associated image, the plugin will include this in the new thread. The actual layout of the new thread is defined in the phrase <ldm_thread_create_body>. If you look at that phrase, you'll see that it takes five parameters - these refer to the link name, link description, a url jump that takes the user to the entry, the name of your LDM and the image link.

Quote:

Originally Posted by |oR|Greg
I have also upgraded to the latest beta, and I'm still having an issue with getting my settings working if I include the vBA CMPS page. It used to work, not with the latest though.

I'm going to need a bit more information on this - I briefly noticed your post - can you send me a PM with fuller informaton, so that IO can work out what is happening/not happening.

zooki 09-18-2006 12:21 PM

No New Downloads.. for some reason everything new that i add is dated: 01-01-1970

I have recently upgraded vb to 3.6 and i upgraded the LDM 2.2.5 .. i have uninstalled and installed LDM 2.25 twice now.. including removing all files and replacing with new ones and overwriting the product with new installation xml.

So how do i fix this???

xadoa 09-18-2006 04:19 PM

Quote:

Originally Posted by AndrewD
The vbux author discussed this with me in June, but I haven't heard anything more from him. It isn't a change that I can easily make by myself.

Hi AndrewD,

I hope you had a good trip. and welcome back to the busy ground :)

I don't think joining with vbux is a good idea for LDM, since as my opion vbux is a mess for now, it taking a big part into the VB database, creating the forum slow down, they still need a lot of works done .. For a small forum, i think vbux is doing fine, but for a busy forum, i think it's not a good idea to put vbux into it I've had installed vbux 4 times, and uninstalled it as many times.. if so, LDM will stand as one spot if LDM integrated into vbux .. i think it's much better for LDM to stand alone for now.. the LDM design is much stronger as it is now (such as DBs <-- mainly and codes).. and I don't think it will be if it integrated with vbux.

obmob 09-18-2006 04:48 PM

:) Welcome Andrew! Hope you had a nice time.

AndrewD 09-18-2006 05:42 PM

Quote:

Originally Posted by obmob
:) Welcome Andrew! Hope you had a nice time.

Thanks! We had a great time, including the pleasure of your country (we were in the Pyrenees for the first week).

zooki 09-18-2006 06:00 PM

Andrew, I realise you are busy, please help .

The problem is stated few posts above, have been trying to get it to work. My new downloads which are scanned in from local directory are dated 01-01-1970 If i edit the filename and change the date, then it does show up as the latest download!

But, how do i get it to automatically give the file latest date?

Im on latest Vb3.6 and also ldm 2.25
thanks..... :)

AndrewD 09-18-2006 06:22 PM

Quote:

Originally Posted by zooki
Andrew, I realise you are busy, please help .

The problem is stated few posts above, have been trying to get it to work. My new downloads which are scanned in from local directory are dated 01-01-1970 If i edit the filename and change the date, then it does show up as the latest download!

But, how do i get it to automatically give the file latest date?

Im on latest Vb3.6 and also ldm 2.25
thanks..... :)

I thought you had probably used the admin scan function. The date setting is broken in that function in 2.2.5. It's fixed in 2.2.6.

zooki 09-18-2006 08:53 PM

Quote:

Originally Posted by AndrewD
I thought you had probably used the admin scan function. The date setting is broken in that function in 2.2.5. It's fixed in 2.2.6.

Ok thanks, I really appreciate the mod you have made :cool:

WritersBeat 09-18-2006 10:27 PM

AndrewD I have a problem when submitting links.

When submitted it says "this page is not meant to be accessed directly" or something by the text of that. Can you help me fix this?

AndrewD 09-19-2006 03:47 AM

Quote:

Originally Posted by WritersBeat
AndrewD I have a problem when submitting links.

When submitted it says "this page is not meant to be accessed directly" or something by the text of that. Can you help me fix this?

I can certainly take a look - send me a PM with details of your board + a username with VB admin privs and I will see what I can find.

chorton 09-19-2006 04:12 PM

I am trying to get the genres to show in vbadvanced. Everything is working fine on our test board. In the wikis you state
"By default, the ldm_hot and ldm_new modules do not show the name of the category in which the entries appear. If you want to display this, edit the modules and change $show_catname to 1 "

I can not find that code in either file. Is there a certain spot i need to add this too?

AndrewD 09-19-2006 06:38 PM

Quote:

Originally Posted by chorton
I am trying to get the genres to show in vbadvanced. Everything is working fine on our test board. In the wikis you state
"By default, the ldm_hot and ldm_new modules do not show the name of the category in which the entries appear. If you want to display this, edit the modules and change $show_catname to 1 "

I can not find that code in either file. Is there a certain spot i need to add this too?

Sorry about that - this facility was introduced in version 2.2.6, and I suppose you are running 2.2.5.

As far as I can tell, it's straightforward to patch the change back into 2.2.5. I attach the two vba module files from 2.2.6 (the assignment to show_catname is on line 10 of the two files), and give below the modified version of the links_vbalinks template.


Code:

<tr>
<td class="alt1">
<div style="float:right"><span class="smallfont">$linkhits</span></div>
<span class="smallfont">$linktypebit<if condition="$show_catname"> $linkcatname </if><if condition="$linkstatus<=0">$linkname<else />$linkurllink</if></span>
</td>
</tr>


WritersBeat 09-19-2006 06:50 PM

Quote:

Originally Posted by AndrewD
I can certainly take a look - send me a PM with details of your board + a username with VB admin privs and I will see what I can find.

Is it absolutely nessecary for admin access? Sorry a little protective. If so yes, but before I do let me give you more details.

It happens after I click "submit" and the ajax form shows up with please wait or something (the text) then the page local_link_actions.php loads with the text "this page is not supposed to be accessed directly".

And that's what happens.


All times are GMT. The time now is 08:39 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.03524 seconds
  • Memory Usage 1,863KB
  • 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_code_printable
  • (24)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