The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Links and Downloads Manager Details »» | |||||||||||||||||||||||||
What this is and does
LDM is a general-purpose tool for managing libraries of links and files, and handling uploads and downloads in a flexible way, while tracking and control user access. It has a range of integrated media players and a large library of 'plugin' extras. Installation and Usage Explained in the on-line Wiki, with a brief explanation in the file instructions.txt in the release zip. The recent revision history is given in the first post of this thread. Please use carefully and always backup your database before upgrading. Post reports of problems and suggestions for enhancements in this thread. 14.06.09 Version 2.3.0 is now the the officially-supported version. Works with 3.7 and vb 3.8. Please post comments in this thread 22.06.08 Version 2.2.9-post1 - This is the previous supported version. Works fine with all versions of vb 3.6 and vb 3.7. All standard features except profile integration and forum prefix selection work fine with vb 3.8. Show Your Support
|
Comments |
#992
|
|||
|
|||
Quote:
For example, suppose you have a string "happily merrily sadly happilymerrilysadly" and you do a search for merrily This should highlight as "happily merrily sadly happilymerrilysadly" and it does with the word boundary flags in the regex. But without them, it highlights as "happily merrily sadly happilymerrilysadly" ** Edited ** Can you try another way of solving the word boundary problem. Edit the loop in ldm_make_highlight_regex as follows: Code:
foreach ($words AS $w) { if ($w != "") { $find[] = '/([\p{C}\p{P}\p{Z}]' . $w . '[\p{C}\p{P}\p{Z}]' . ')/iu'; $find[] = '/^(' . $w . '[\p{C}\p{P}\p{Z}]' . ')/iu'; $find[] = '/([\p{C}\p{P}\p{Z}]' . $w . '$)/iu'; } } |
#993
|
|||
|
|||
Hai we have now your plugin for last thow months and working like a charm.
I have a question. Do thumbnails are auto generated or we need to upload a thumbnail ? this is for wallpapers. |
#994
|
|||
|
|||
Quote:
Then, if you fill in the Image field on the Add/Edit Entry form with a image url or image upload, LDM will use that to generate the thummb. Otherwise, if the entry url itself is an image, the thumbnail is autogenerated from the entry url. Otherwise, if you have installed the id3tag_enhancements LDM extra and the url is an mp3, it will try to pull out the album art from the mp3. |
#995
|
|||
|
|||
Quote:
if you search for "intern" in google.. in the description and the title, words like international or internal or internship are highlighted!!!! i was going to anyway modify the search from "word" to "*word*" because if i do a search for "luxury" and only have one entry with the word "luxuryhotels" in description.. i would get no results..it would not show up.. in that case at least the highlighting would allready be done.. --------------------- on the otherhand.. using ldm as is.. it is also not a major drawback: if you are looking for merrily ... it will only show you results where the word "merrily" is standalone... so you do have the correct results.. and if you have an extra sadlymerrilysadly then only it will be highlighted.. wich i think is a feature!!! --------------------- so if it is the only drawback.. i'm sticking to that solution, especially as php6 is going to have full unicode support.. and I am ready to bet that in php6 this problem will be solved!! But at least for the moment adding the /u modifier (making it /iu) to the regex will help for languages like german, french or spanish as the highlighting will work as you expect it.. Felix PS: just seen your edit.. doing testing now! [EDIT] just tested your routine... works fine with description....(not working with keywords) hmmm BUT with chinese there is another problem... did some reading (i do not understand chinese) i was trying to extract content to use as description.. thats how i stumbled into this article: it says Quote:
if this is true i think that the "no boundary" version will for the moment be the easiest solution...for chinese |
#996
|
|||
|
|||
Quote:
is this format ok? 200px ? 150px |
#997
|
|||
|
|||
Quote:
Size in pixels (along larger dimension) of thumbnail image shown within linkbit. 0: No thumbnails is displayed and data entry forms do not offer image fields. The information about picking up current value of Thumbnail Size, as set in the vBulletin Admin Control Panel, is not working on every system, for a reason that I do not yet understand. |
#998
|
|||
|
|||
Quote:
I will look at the keyword problem Edited: yes, of course, there needs to be a fourth line: Code:
$find[] = '/^(' . $w . '$)/iu'; |
#999
|
|||
|
|||
Quote:
|
#1000
|
|||
|
|||
Looking forward for that...
Quote:
Felix |
#1001
|
||||
|
||||
Yeeaahh - it's LDM's 1000th post in this thread alone!
Congrats Andrew on a successful mod & community, and thanks for all your help! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|