![]() |
[QUOTE=AndrewD;1296686 I suppose that the sensible approach would be to allow a manual filetype selection only if the entry has not filetype?[/QUOTE]
i think that this could be the best option...! |
Quote:
|
hi again,
is this a bug? i have imported ldm_tot.module, it shows 740 MB. i have downloaded something to test it, it didn't change. do i do something wrong? |
This add-on makes me wonder if this can somehow be combined with LDM:
Radio Stations It strikes me as strange to install this mod, while I already have LDM for playing music. But a radio player is a great addition. |
Quote:
ItsBlack raised a similar point recently concerning 'allowances'. I can see the point, so the final version of 2.2.8 will record bytes transferred in these situations: - the entry is a 'download', i.e. has a recognised filetype (e.g. http:// sitename // file.pdf), or - the entry is a file on the local server, i.e. does not have a complete url (e.g. /file.xyz) In both these cases, your web server is carrying the load of transferring the file, so the logic is to record that transfer. Another possibility is to try to work out the size of all transfers, regardless of filetype or location. This is not always possible, and am not sure that it is sensible. I'd appreciate comments. |
Quote:
a) provide an extra to read a Radio Stations channel list from its xml file (in the Radio Stations release, this is the file default-radio-stations.xml) b) provide an extra that will 'mirror' an installed Radio Stations database into a corresponding LDM category structure. which do you have in mind? |
i think i've found a bug too..
with autocreat threads, it paste into the topics also the comments. and it's ok still here. but when i have comments with the use of "return" LDM will not display the words on a new row, but it add something like this \r\n\r\ Example. if in ldm the comment is this: Quote:
Quote:
tnx! |
Quote:
Sorry |
Quote:
the other file types are pdf and wmv. these both are on the table too. about the allowance thing, there are 2 allowance systems for attachments. one of them is for vb attachments and the other one is from LDM. but i don't know which one was meant by itsblack.... my suggestion: all files get a file size allocated when submitting entry, would it be possible to read this size when a user clicks to download that file? just like hit recording. it's just one more query. (as far as i can understand!!) :D but you are the specialist ;) one more thing, does LDM reset the bytes transfered when i delete hits for a period of time? i haven't tested this... |
Quote:
|
Quote:
Yes, LDM resets the bytes transferred when you clean up the hits table. |
I am integrating the LDM navbar with the standard vb navbar, by placing the links in quick links and in Moderator tools. That goes well so far. But I wonder about the edit category link.
The link normally is local_links.php?action=editcat&catid=X where X is the category ID. This doesn't work because it needs a conditional to find the ID of the category that one is in.: Code:
<if condition="is_member_of($bbuserinfo,5,6,7)"><tr><td class="vbmenu_option"><a href="local_links.php?action=editcat">Edit Category</a></td></tr></if> If you like I will post the code for this navbar integration, so that other members can enjoy this as well. |
Quote:
|
Quote:
|
Quote:
|
Quote:
admin user 1 creates category admin user 2 edits that category Only difference is that in version 2.2.7, admin user 2 cannot change the name of the user who 'owns' the category, but can otherwise edit it. I must be missing something - do you want me to take a look at your site? |
Hi Andrew,
I was wondering if there is any way to link from the postbit to all the users submissions as you can on the users profile. I know it could be done using something like local_links_search.php?action=show&userid=xxxx&sor t=d - but can it be done using a conditional so that every user doesn't get this showing in their postbit. Most of my members don't have links added in yet and it would just go to a blank page... Is there a way doing this? Thanks for any help, Cheers Clancy |
Quote:
To avoid putting the link in everyone's postbits, this will currently need a new 'extra', which will have to check the database to see who has added entries to LDM. I'll have to think whether there is an efficient way of doing this, so that the database search is done once per thread not for every postbit. |
Quote:
Quote:
Thanks for the reply, Clancy |
hi Andrew,
is it possible to give moderators the permission to choose Parent forum, when they add a category without giving them too much permissions? |
Quote:
One approach is to edit the addnewcat template. Look for lines that contain Code:
<if condition="$links_permissions['can_set_permissions']"> Code:
<if condition="$links_permissions['can_set_permissions']"> Code:
<if condition="$links_permissions['can_set_permissions'] or $links_permissions['can_moderate_links']"> |
Quote:
So do I understand you correct that if I place this code in my drop down, then the link will cause editing of the viewed category? Code:
<if condition="is_member_of($bbuserinfo,5,6,7)"><tr><td class="vbmenu_option"><a href="local_links.php?action=editcat&catid=$viewcatid">Edit Category</a></td></tr></if> |
Quote:
Code:
<if condition="is_member_of($bbuserinfo,5,6,7) and $viewcatid>0"><tr><td class="vbmenu_option"><a href="local_links.php?action=editcat&catid=$viewcatid">Edit Category</a></td></tr></if> |
Thanks! That works great. I applied the same to addcat and put this in a link to in vb's navbar as well. I have now added all LDM links in the vb navbar, except that I have to find a search integration solution. I requested a search integration solution here
How can I remove LDM's navbar? |
Quote:
Code:
$header Code:
$header |
Yes, that works well. Thank you.
|
Quote:
one more suggestion: is it possible to make vba modules read thumbs from ldm_thumb folder (local storage) instead of generating them each time? for security reasons, i have my covers ftp on a separate server, and i don't want covers fail to display IF that server is down.... thanks :) |
Hey Andrew,
i?ve got another question. I hope it?s my last one :) When i add a new link there is a select field where i can select the categorie. Is there an ability to get the main categories bold? |
Quote:
Edit the links_addnewlin_catselect_multi template (vb/admin/styles) and replace the current template with the following: Code:
<if condition="$select_stage==1"> <select class="select" name="$list_name" id="$list_id" multiple="multiple" size="5" style="width:400px; height:100px;"> Code:
<if condition="!$prepend">style="font-weight: bold;"</if> |
Quote:
I think it is possible provided the vba module is set up to use the same size thumb as the linkbit. Edit the adv_portal_custom_ldm_new_thumb_one template. Replace the current template by Code:
<tr> Code:
<if condition="$linkimgthumbsize!=$links_defaults[link_imagesize]"> Let me know if that works ok. |
thank you Andrew,
worked perfectly. |
I got the following message by importing product:
Quote:
The table exists, but contains only these columns: adminid settingname setting This is a fresh and clean install, DB is empty. EDIT: I removed local_linksadmin and local_linkscat manuelly and run the import again, this time without error. |
maybe it's a stupid question, but if i want to modify $links[hot] and $links[new] where do i have to go
thank you! |
Quote:
The code for these plugins is substantially rewritten in version 2.2.8 as part of the standardisation process concerning LDM extras' admin settings. |
Quote:
Indeed, the installer is smart enough to detect missing tables and recreate them. |
Andrew, I see a field named linkimg. Is it possible to upload a picture for every download?
Also, I'm really waiting for the release that introduces custom fields :> |
Quote:
If you also upload the jukebox-enhancements extra (or to be more specific, if you upload the getid3 library included in that extra), mp3s will automatically be imaged with an embedded cover art. I'm also waiting for custom fields - something I've kept putting off because I want to do it properly |
oh man this plugin is AMAZING! I think this is my first post on this board, everything else I've been able to figure out but this one is a little tricky:
For flash-sites, instead of linking to the jukebox where the .flv file is embedded, is there a way for the linkbit to show the direct embed for the flash-sites where an uploaded thumbnail would've been placed otherwise? So that it looks like a thumbnail but you can press play on it. |
I've tried searching this forum to no avail so I'm now asking for help.
I've installed it (2.2.7) and set up the relevant directories (I think) and have sucessfully added a navbar link and uploaded a file which as the administrator I can view no problems. When I try and access the category that it's uploaded to I get this line which gives the http 404 Not Found http://www.revolutionsoldiers.com/fo..._links/links/1 If i click on the what's new form the drop down box, no probs and I can view the link and the file. Now.. If I change user to a registered user who has access to the category again the main section doesn't work and when I click on the what's new and then click on the link i get this link. http://www.revolutionsoldiers.com/fo...links/jump/2/1 What have I done wrong ? From looking at a post earlier I've turned off the SEO.. Help Whitey.. :eek: |
Quote:
|
All times are GMT. The time now is 12:54 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|