![]() |
Quote:
|
Quote:
|
Hi Andrew,
Thank you so much for this mod, it's incredible. :) Could you tell me if its possible, and if so how I do it, to set this as a "read only" mod instead of a download? For example, if someone clicks on a text file could it "open" as opposed to them downloading it? Thanks for your help. Regards, Renada Edit: Unfortunately for some reason the code to stop right clicking also prevents me from editing any settings - i.e. I couldn't change the above setting from 600 to something else. Any ideas? |
Quote:
However, the user can still force a "save as" using right click with the mouse, or by doing a "view source" and then save. You can disable the 'right click' menu by adding a bit of javascript to the page. For example, if you edit clientscript/ldm_global.js and add these lines to the end: Code:
document.oncontextmenu = function(){return false} |
Quote:
Am going on vacation tomorrow for a couple of weeks - not sure if I'll have an internet connection or not (or even if I should be working on this on holiday...). If you can let me know by the morning, I'll post the code. |
Some bug reporting for 2.2.7 b1
in template links_admin; Report #01: Apply CSS to this button. Find: Code:
$vbphrase[ll_admin_expire] Code:
$vbphrase[ll_admin_expire] Report #02: Add a space after each Usage stats. At the moment it will only show "0 Visits 0bytes". This fix will show "0 Visits 0 bytes" Find: Code:
<td class="alt2" align="center"><span class="smallfont"><if Code:
<td class="alt2" align="center"><span class="smallfont"><if condition="$totusage['fileshit']">$totusage[fileshit] <else />0 </if> $vbphrase[ll_band_files] $vbphrase[ll_band_usage_24]</span></td> |
Have a nice vacation Andrew!!! :D
|
Quote:
Thanks - appreciated. The underlying thing I have to fix is the code I use to turn number like 123456 into 123K, etc, so that the spacing continues to look right in that situation, i.e. whether or not the space comes before the K or before the bytes. It's one of those tiny but annoying things that I had not dealt with. |
Quote:
|
Just to avoid wasting your time...
The most irritating/significant bug in the 2.2.7 code is that users living in a different timezone from your board will see inconsistent information on the add and edit entry forms. As of 2.2.7, the date/time that the user enters is given in her local timezone and correctly entered into the database according to the board's timezone. But when the user edits the entry, they will see the server time, not the time they had entered. Irritating, but not a killer. Fix is written, but I wait for Ophelia's views on how to proceed. Ophelia - I've sent you the fixed code by email. |
All times are GMT. The time now is 09:15 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:
|