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)

yahoooh 09-01-2008 06:59 PM

i have issue with :
The Image Resizer. Powered with Lytebox / Highslide / Lightview / and many more!

i use in description of some entries :

and the image which should use this hack to show in the fullbage it will open in another page
how to make it use this hack as threads and other addon that i use on them [img]

any help plz

derfelix 09-01-2008 07:54 PM

Quote:

Originally Posted by AndrewD (Post 1611714)
You mean that you want the bbocdes removing from the description (on display or on entry?), so that it doesn't read something like this:

hello [ code ] this is a coloured text [ / code]

but rather

hello this is a coloured text

No i actually only want to be able to suppress bbcode that can break my layout.
I have a template that reminds the google link layout but with a site thumbnail all within a fieldset...

so a text like:
hello this is a red bold, italic text ;) with smiley
is acceptable..

But a description containing [ html ], [ php ] or [ CODE ] or [ QUOTE ] tags can really break the layout.

also if i limit the description lenght to lets say 500 chars.. and in editor there is a long quote ... it will get truncated in the middle of the [ quote ]...

i thought of a fix.. but maybe you have a better idea.
1. replace the editor with quickreply (but add smilies as dropdown or below like here in normal editor)

2. do a preg or str _replace to remove unwanted tags...

(its not that users will use those tags by inadvertance.. but some really want to break layout)

Felix..

Ninosport 09-02-2008 02:50 PM

Is there a way to sort the categories in descending order (from Z to A)? I could not find any setting for this in the admin panel or a hack in this thread.

Thanks!
-Nino

obmob 09-02-2008 03:55 PM

I think you must add an order to the categories, that's how i ordered mine ^^,

sparklywater 09-02-2008 05:36 PM

Hi Andrew,

When clicking on a link in the 'Who's Online' Display, for example linking to a media file being played by a user, this link should go directly to the embedded file in LDM, ie. it should go to the page which uses the 'link_play_embedded' template, so users should be able to immediately start playing the media. Currently, what happens is that the link in 'Who's Online' redirects to an intermediate page which uses the 'links_main' template, and this page is unable to play the media file directly. The user is required to click on the filename on this page again to be taken to the correct 'links_play_embedded' template.

The 'links_main' template being used in the intermediate page also causes another problem. The 'extended description' of the category in which the entry is in becomes displayed under the filename in this page, even though the page is displaying information about the media file and not the category.

These problems would be solved if we could get rid of the intermediate redirecting page, which to me is rather unnecessary, and would mean that users are taken directly to the embedded media file from the 'Who's Online' display. Can you please let me know if it's possible to do this?

Ninosport 09-02-2008 06:52 PM

Quote:

Originally Posted by obmob (Post 1612888)
I think you must add an order to the categories, that's how i ordered mine ^^,

I tried that but doing it puts seperators between the categories and it doesn't look good to me.

AndrewD 09-02-2008 07:34 PM

Quote:

Originally Posted by Ninosport (Post 1613003)
I tried that but doing it puts seperators between the categories and it doesn't look good to me.

Although it doesn't say this, the default_sort_order setting does also apply to categories.

If you want to go the display_order route,you can get rid of the horizontal line by clearing the links_linkseparator template

Ninosport 09-02-2008 07:44 PM

Quote:

Originally Posted by AndrewD (Post 1613031)
Although it doesn't say this, the default_sort_order setting does also apply to categories.

This works for me! Thanks!

TsirhCitna 09-03-2008 04:48 PM

I'm trying to limit members with 0 posts to only be able to download 1 file until they have posts.

I'm using the limitaccess_byposts but no matter what I put in limitaccess_byposts_bytesavail it always says:
Sorry, you do not have sufficient download allowances available at the moment
Allowances: 1 files/0 used, 1 bytes/0 bytes used
Access is limited until you have posted 1 times
Current post count: 0

AndrewD 09-03-2008 07:16 PM

Quote:

Originally Posted by TsirhCitna (Post 1613752)
I'm trying to limit members with 0 posts to only be able to download 1 file until they have posts.

I'm using the limitaccess_byposts but no matter what I put in limitaccess_byposts_bytesavail it always says:
Sorry, you do not have sufficient download allowances available at the moment
Allowances: 1 files/0 used, 1 bytes/0 bytes used
Access is limited until you have posted 1 times
Current post count: 0

My apologies. There is a bug in the extra.

Go to vb/admincp/products and plugins/plugin manager

Edit the plugin Links and Downloads Manager - Limit allowances of users with low post counts attached to hook ldm_prcheck_user_allowances

Change the line

Code:

        $allow['bytesavail'] = ldm_decode_bytes($links_defaults['limitaccess_byposts_bytesenable']);
to
Code:

        $allow['bytesavail'] = ldm_decode_bytes($links_defaults['limitaccess_byposts_bytesavail']);


All times are GMT. The time now is 09:25 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.02943 seconds
  • Memory Usage 1,747KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)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