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)

ArnyVee 09-09-2008 02:04 AM

Wow, this is the first time that I've looked at possibly adding this mod and it seems like there are a lot of adjustments and changes that have to be made to get it to work.

Is it easier than it seems because there seems to be a lot of detail to get through on these 72 pages :D

Any tips or pointers to a beginner with this mod? I'm off to read the Wiki again as I glanced at it the first time.

AndrewD 09-09-2008 04:36 AM

Neither of those are currently straightforward.

Quote:

Originally Posted by MissKalunji (Post 1617677)
how can i make it the second entry play with the MP3 button?

Not possible in version 2.2.9. Will be there in 2.3.0

Quote:

Originally Posted by MissKalunji (Post 1617677)
How can i move the top navbar (that is administer etc etc to go right over sort by etc)? i want it to be on top of the categories / or new entries on every pages? i've searched through the templates and only find the links_header and that was it

Ditto.

In four years, you are the first person to ask this :). Currently, the LDM navbar is coded into the links_header template, so it is not trivial (but not impossible) to move. I will make it so in version 2.3.0. Essentially, you have to pull a major piece of that template into a new template, patch the code to assign that template to a new variable, and drop that variable into the links_main template.

AndrewD 09-09-2008 04:38 AM

Quote:

Originally Posted by ArnyVee (Post 1617878)
Wow, this is the first time that I've looked at possibly adding this mod and it seems like there are a lot of adjustments and changes that have to be made to get it to work.

Is it easier than it seems because there seems to be a lot of detail to get through on these 72 pages :D

Any tips or pointers to a beginner with this mod? I'm off to read the Wiki again as I glanced at it the first time.

It should be very easy to get working if you just follow the installation instructions (upload code, install product installer). The complexities come because this has grown into rather a flexible beast which can do many things. But I hope you'll find that everything is logically organised and that the wiki is easy to follow.

MissKalunji 09-09-2008 04:39 AM

Quote:

Originally Posted by AndrewD (Post 1617956)
Neither of those are currently straightforward.



Not possible in version 2.2.9. Will be there in 2.3.0



Ditto.

In four years, you are the first person to ask this :). Currently, the LDM navbar is coded into the links_header template, so it is not trivial (but not impossible) to move. I will make it so in version 2.3.0. Essentially, you have to pull a major piece of that template into a new template, patch the code to assign that template to a new variable, and drop that variable into the links_main template.

I had a feeling it was more complicated then that lol. I'll try myself (no for real think i might wait on 2.3.0) lol

Thanks!

AndrewD 09-09-2008 04:44 AM

Quote:

Originally Posted by sparklywater (Post 1617750)
How can I make the links in "Who's Online" display go directly to the embedded media pages instead of opening intermediary pages in the 'links_main' template?

The code is in includes/local_links_profile.php. There are three lines

PHP Code:

    '<a href="'.LINKS_SCRIPT.'.php?catid='.$myrow['catid'].'&amp;linkid='.$myrow['linkid'].'" title="'.$catname_clean.'" target="_blank">'

Change these to

PHP Code:

    '<a href="'.LINKS_SCRIPT.'.php?action=play&amp;catid='.$myrow['catid'].'&amp;linkid='.$myrow['linkid'].'" title="'.$catname_clean.'" target="_blank">'


Alfa1 09-09-2008 09:45 AM

Any idea about this?
Quote:

Originally Posted by Alfa1 (Post 1615426)
Is there anything special that I need to do to get ldm_new_media.module working? ldm_new.module works fine.


jdunsworth 09-09-2008 10:44 AM

First off, excellent mod.. very deep and well written. I am having a similar problem to a few listed above but with no result.

Currently when trying to add an entry all of the filetypes show a size limit of 7.00 Mbytes. The admin panel states that these limits come from the attachment allowances, however, most of our attachments are different than this.

In addition, when uploading anything bigger than 7MB (guessing this is the line between nonsubmission and not) we get a security token error. This happens both in Firefox and Internet Explorer. I have tried the Firefox id fix as well as checking to ensure the vBulletin security tokens exist in the submission forms and the CMSF protection is true in these and everything should be fine.

I am just unsure as to why none of these are working and my very last ditch effort is to reinstall everything considering the amount of uploads we have. Any help is appreciated!

MissKalunji 09-09-2008 11:47 AM

Quote:

Originally Posted by AndrewD (Post 1617956)
Neither of those are currently straightforward.



Not possible in version 2.2.9. Will be there in 2.3.0



Ditto.

In four years, you are the first person to ask this :). Currently, the LDM navbar is coded into the links_header template, so it is not trivial (but not impossible) to move. I will make it so in version 2.3.0. Essentially, you have to pull a major piece of that template into a new template, patch the code to assign that template to a new variable, and drop that variable into the links_main template.

I got it :) thanks!

sparklywater 09-09-2008 12:28 PM

Quote:

Originally Posted by AndrewD (Post 1617960)
The code is in includes/local_links_profile.php. There are three lines

PHP Code:

    '<a href="'.LINKS_SCRIPT.'.php?catid='.$myrow['catid'].'&amp;linkid='.$myrow['linkid'].'" title="'.$catname_clean.'" target="_blank">'

Change these to

PHP Code:

    '<a href="'.LINKS_SCRIPT.'.php?action=play&amp;catid='.$myrow['catid'].'&amp;linkid='.$myrow['linkid'].'" title="'.$catname_clean.'" target="_blank">'


Thanks for taking your time to reply. I tried making that change but it didn't do what I had asked. To clarify, I am providing an image below of the "Who's Online" display. The entry that has been circled in red is the link that should go directly to the embedded player page when a person clicks on that link. But the user is taken to a non-embedded page instead:


AndrewD 09-09-2008 03:17 PM

Quote:

Originally Posted by jdunsworth (Post 1618141)
First off, excellent mod.. very deep and well written. I am having a similar problem to a few listed above but with no result.

Currently when trying to add an entry all of the filetypes show a size limit of 7.00 Mbytes. The admin panel states that these limits come from the attachment allowances, however, most of our attachments are different than this.

In addition, when uploading anything bigger than 7MB (guessing this is the line between nonsubmission and not) we get a security token error. This happens both in Firefox and Internet Explorer. I have tried the Firefox id fix as well as checking to ensure the vBulletin security tokens exist in the submission forms and the CMSF protection is true in these and everything should be fine.

I am just unsure as to why none of these are working and my very last ditch effort is to reinstall everything considering the amount of uploads we have. Any help is appreciated!

Clearly there is a security token problem that I have not discovered yet. Perhaps it is related to the following:

If you are trying to process an upload as an admin, the size limits in the attachment table are ignored. However, you cannot over-ride the limits set by your php environment, which is determined by two settings in the php.ini file used by your web server. These settings upload_max_filesize and post_max_size. You can find these values tabulated on the LDM admin pages in the left side column or using vb/admincp/maintenance/phpinfo - I imagine you will find that 7Mb is the smaller of these values. To change these values, you need to contact your web site admin.

As explained in the online wiki, it is important that post_max_size has the same value, or a larger value, as upload_max_filesize.

Let me know if this does not help.


All times are GMT. The time now is 09:29 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.03885 seconds
  • Memory Usage 1,771KB
  • 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_php_printable
  • (9)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