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)

MissKalunji 09-06-2008 04:19 PM

Quote:

Originally Posted by MissKalunji (Post 1615817)
how would i be able to ADD an image to the upload?

in case you missed?

derfelix 09-06-2008 05:08 PM

Quote:

AndrewD
Hooks for Multi-language category titles
Wow.. as soon as i get hold of the copy i will get the product out for the multilanguage stuff...


btw.. i'm not being ungratefull.. because you are doing great work.. but as i am trying to test everything.. stumbled into another one:

if you go to the comment page.. you have a button "return" and it takes you back to the link... usually it works fine.. but:

If you did a search.. and within the search results you go to the comment page.. when you click the return from there.... it takes you back to the ldm homepage.. ie: the category list

Felix
PS: I'm leaving in a couple of hours for south of france.. and wont be online for 10 days...

AndrewD 09-06-2008 06:03 PM

Quote:

Originally Posted by MissKalunji (Post 1615817)
how would i be able to ADD an image to the upload?

ldm/admin/settings -> set link_imagesize to the size you want the images to display

then, the ldm/add entry menu command and entry/edit entry button will take you to a form which includes fields for an image url/an image upload

AndrewD 09-06-2008 06:04 PM

Quote:

Originally Posted by derfelix (Post 1615994)
Wow.. as soon as i get hold of the copy i will get the product out for the multilanguage stuff...


btw.. i'm not being ungratefull.. because you are doing great work.. but as i am trying to test everything.. stumbled into another one:

if you go to the comment page.. you have a button "return" and it takes you back to the link... usually it works fine.. but:

If you did a search.. and within the search results you go to the comment page.. when you click the return from there.... it takes you back to the ldm homepage.. ie: the category list

Felix
PS: I'm leaving in a couple of hours for south of france.. and wont be online for 10 days...

Enjoy...

I'm not ungrateful at all - so much code, so many routes through it - bound to be bugs.

IR15H 09-06-2008 06:37 PM

Quote:

Originally Posted by AndrewD (Post 1615650)
Actually, it does have a prefix, just a different one by default, and it can be changed.

See includes/local_links_init.php, around line 48:

Code:

// Database Table Prefix
define('THIS_TABLE', 'local_');
// Uncomment this to use the standard VB table prefix...
// define ('THIS_TABLE', TABLE_PREFIX);

You can either change 'local_' to be what you want or you can remove the comment symbols (the //) from the second define statement to use the same prefix as vb (I would not recommend that because you might end up with one database table trying to serve two different masters)

Of course, if you change this in a live system, you will need to use a tool like phpmyadmin to rename your existing tables.

Apologies for my error, and thanks for the info.

MissKalunji 09-07-2008 02:45 AM

Quote:

Originally Posted by AndrewD (Post 1616031)
ldm/admin/settings -> set link_imagesize to the size you want the images to display

then, the ldm/add entry menu command and entry/edit entry button will take you to a form which includes fields for an image url/an image upload

:)( Thank you something else

How would i go around to post the LINK of the download itself in the thread? like what i'm trying to do is

when you upload (example) an mp3 that it post a new thread with the LINK itself to the mp3 and that i would be able to embed it so if someone just want to view ONLY the thread without going to the download section itself just to listen example

i'm not sure if you get what i mean?

tekguru 09-07-2008 02:25 PM

Still running the 'post1' version at the moment, is it worthwhile upgrading yet?

AndrewD 09-07-2008 04:34 PM

Quote:

Originally Posted by MissKalunji (Post 1616300)
:)( Thank you something else

How would i go around to post the LINK of the download itself in the thread? like what i'm trying to do is

when you upload (example) an mp3 that it post a new thread with the LINK itself to the mp3 and that i would be able to embed it so if someone just want to view ONLY the thread without going to the download section itself just to listen example

i'm not sure if you get what i mean?

I think I understand.

Depending on what you want to do, this either requires a simple code edit or is quite difficult :)

If you *always* want to trigger a download/open a remote url, then edit includes/local_links_forumsinterface.php and find the line

Code:

        $gotolink = ldm_make_filename($vbulletin->options['bburl'], LINKS_SCRIPT.'.php?linkid='.$linkid.'&catid='.$linkcatid);
Change it to:
Code:

        $gotolink = ldm_make_filename($vbulletin->options['bburl'], LINKS_SCRIPT.'.php?action=jump&linkid='.$linkid.'&catid='.$linkcatid);
If you *always* want to open the file in the LDM jukebox, then change that line to
[code]
Change it to:
Code:

        $gotolink = ldm_make_filename($vbulletin->options['bburl'], LINKS_SCRIPT.'.php?action=play&linkid='.$linkid.'&catid='.$linkcatid);
If you want the code to be smart about the file type (i.e. play media files, download others), that would require more extensive changes in that file.

Note that these edits will not change any announcements that have already been created in your forums.

AndrewD 09-07-2008 04:35 PM

Quote:

Originally Posted by tekguru (Post 1616636)
Still running the 'post1' version at the moment, is it worthwhile upgrading yet?

Depends on whether you've been hit by any of the bugs that are fixed in post-2 and post-3. I've not had reports of new problems with these releases.

2.3.0 is coming quite soon, but will be in alpha/beta for a couple of months, I imagine.

MissKalunji 09-08-2008 01:12 AM

thank you :)

one more thing : links_playerbit_WimpyButton uncached


All times are GMT. The time now is 09:08 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.02788 seconds
  • Memory Usage 1,756KB
  • 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
  • (4)bbcode_code_printable
  • (8)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