vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Links and Downloads Manager (https://vborg.vbsupport.ru/showthread.php?t=91107)

Jaynesh 01-01-2006 03:59 PM

Okay thanx alot :D
Just one more last thing and i will stop bothering you :)
How can i make the player open in the same window, with the footer and header in there aswel.

AndrewD 01-01-2006 05:53 PM

Quote:

Originally Posted by Jaynesh
Okay thanx alot :D
Just one more last thing and i will stop bothering you :)
How can i make the player open in the same window, with the footer and header in there aswel.

Not easy, I'm afraid - you'll have to start editing the code, and then you'll have problems when I release updates.

Benj 01-01-2006 06:44 PM

Quote:

Originally Posted by AndrewD
I added a clean way to do this in 2.1.1, which is still in beta but has had no reports of problems.

a) Enable the Jukebox (point file_icons_dir at the set of filetype icons, set the musicbox_* settings appropriately and provide mimetype information in the vb attachment table for these filetypes)
b) Set can_play_musicbox permissions in LDM for the usergroups in question and unset can_save_jukebox for these groups.


sorry does this mean you can stop downloads of files for usergroups in 2.1.1. meaning mp3s if i set it so can only be streamed (played tho player)?

ZED28 01-01-2006 07:42 PM

Quote:

Originally Posted by AndrewD
Yes, I split the code with a recent release - as I don't use vbAdvanced, I tend to miss these things - when the catid is negative, the urls should point to local_links_search.php

LOL, The only part of that statement I understood what that you don'y use vBAdvanced. :ninja: The rest of it left me scratching my lil head! :D

Can I fix the links that point me to "Whats Hot" and "What's New" in the main downloads area? If you try this URL, you'll get a better idea of what I'm asking I hope.

http://www.lfsresource.com/local_links.php?

Code Monkey 01-01-2006 08:28 PM

I was adding images to some of my links today and thought of something that would be a nice addition, IMO.

How about for each item, wether it's a link or other, you add two more text boxes so we can add an additional link and text for that link, if we so choose. For instance, say I add a link to a certain game. And I also have a review or an article, or even a forum thread discusion for that game. I could put a link to the review and then the text "Read Our Review of Blah". The same for a discusion, etc..

Viks 01-02-2006 12:00 AM

Just wondering if anyone has had any success with local_links_external.php file?

I dropped it in the forums directory but the feeds are not showing on an external page as it is supposed to.

I'm wondering if it needs to be configured first.. I can view the XML if I enter it in a browser but there is no output if I run it via the RSS feeder.. although other feeds work fine..

could you please assist?

thanks

AndrewD 01-02-2006 04:09 AM

Quote:

Originally Posted by ZED28
LOL, The only part of that statement I understood what that you don'y use vBAdvanced. :ninja: The rest of it left me scratching my lil head! :D

Can I fix the links that point me to "Whats Hot" and "What's New" in the main downloads area? If you try this URL, you'll get a better idea of what I'm asking I hope.

http://www.lfsresource.com/local_links.php?


Sorry, I got a bit technical.

The php code that drives LDM is getting rather large, so I'm starting to split it into several files. Unfortunately, in 2.1.1 I've missed a few places where the script name has to change as a result.

If you prefer to keep things simple, you can simply turn off the 'what's new' information by setting 'show_hit_parade' to 0 on the LDM admin settings page.

If you want to patch things, you need to edit two templates and two phrases to correct this. If you make these fixes, remember that you will also need to 'revert' the templates and phrases next time I release an upgrade.

For the faulty links at the top of the main downloads area, edit these phrases:

ll_recent: Change the string that reads "{4}.php" to read "local_links_search.php"
ll_lastvisit: Change "{2}.php" to read "local_links_search.php".

For the vbadvanced fixes, edit the template called adv_portal_custom_ldm_new.
Change the text LINKS_SCRIPT to SEARCH_SCRIPT.

Do the same in the template adv_portal_custom_ldm_hot.

I havent looked at the problem with the vbadvanced template breaking the flow. Will do so when I have chance.

AndrewD 01-02-2006 04:13 AM

Quote:

Originally Posted by JumpD
I was adding images to some of my links today and thought of something that would be a nice addition, IMO.

How about for each item, wether it's a link or other, you add two more text boxes so we can add an additional link and text for that link, if we so choose. For instance, say I add a link to a certain game. And I also have a review or an article, or even a forum thread discusion for that game. I could put a link to the review and then the text "Read Our Review of Blah". The same for a discusion, etc..

Nice idea, although this would require changes to the database, data entry forms, templates, etc.

You could achieve a similar result by including url bbcodes in the main link description. And if you want to be sure that your users follow the house style, how about using the 'use policy' box in the category description to explain this to them.

ZED28 01-02-2006 04:54 AM

Quote:

Originally Posted by AndrewD
Sorry, I got a bit technical.

The php code that drives LDM is getting rather large, so I'm starting to split it into several files. Unfortunately, in 2.1.1 I've missed a few places where the script name has to change as a result.

If you prefer to keep things simple, you can simply turn off the 'what's new' information by setting 'show_hit_parade' to 0 on the LDM admin settings page.

If you want to patch things, you need to edit two templates and two phrases to correct this. If you make these fixes, remember that you will also need to 'revert' the templates and phrases next time I release an upgrade.

For the faulty links at the top of the main downloads area, edit these phrases:

ll_recent: Change the string that reads "{4}.php" to read "local_links_search.php"
ll_lastvisit: Change "{2}.php" to read "local_links_search.php".

For the vbadvanced fixes, edit the template called adv_portal_custom_ldm_new.
Change the text LINKS_SCRIPT to SEARCH_SCRIPT.

Do the same in the template adv_portal_custom_ldm_hot.

I havent looked at the problem with the vbadvanced template breaking the flow. Will do so when I have chance.

No sweat man, I appreciate all of your help - regardless of how deep it gets! :D

I did the changes to the modules in VBAdvanced and it fixed my problem there - at least with the link. I'll look at the wrap thing later- it's not too important.

Tried the link fixes for the Hit Parade (didn't know what that was until now!) though they still didn't work. But in all honesty, I'm not going to bust a gut over this. I'm very happy with how it's running right now and will iron out some of the very minor issues when you release an update.

Consider me a very "happy camper" Andy, thanks again! :D

AndrewD 01-02-2006 04:59 AM

Quote:

Originally Posted by benj
sorry does this mean you can stop downloads of files for usergroups in 2.1.1. meaning mp3s if i set it so can only be streamed (played tho player)?

Yes, this is the case


All times are GMT. The time now is 09:42 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.03149 seconds
  • Memory Usage 1,757KB
  • 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
  • (7)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