![]() |
Does this also have the apostrophe fix?
|
Quote:
|
addslashes and stripslashes should do it. ;)
|
Installed/upgraded on RC2 and running nicely. Great job as always :up:. Am adding a slew of content to it and will take it public on my board shortly.
I notice your installer still insists on prefixing the links tables with local_, so rather than hack the code I finally relented and just changed my links_ prefixes to comply. No big deal but that local_ prefix still bugs me some. I know you did this to match your file prefixes but in the overall db schema it really doesn't make sense. Maybe I'll get used to it :). Regardless, thanks for providing this. I'm willing to declare it as one of the (if not the) best supported and developed hacks at vb.org. |
Quote:
Probably the table prefix does need rethinking, now that we have full product support in VB. Perhaps tables should use a product prefix (e.g. this one would be LDM). I want to keep this clearly separate from VB. What do you think? |
Quote:
|
Quote:
Regardless, I realize this is a nitpickery db-geek thing that has nothing to do with the functionality of your script. Out of close to 300 people having installed the VB 3.0.X version I seem to be the only one having an issue with it :). I just like my database to make as much sense as possible, is all. |
Upgrade doesnt work from 2.0.2->> 2.0.3
Quote:
|
I uninstalled the old one and clean installed the new.
It works fine, I like the little box at the bottom telling my settings :) Links and Downloads Database Code 2.0.3 MySQL 4.1.13a-Debian_1-log PHP 4.3.10 allow_url_fopen No cURL Yes GD2 Yes open_basedir |
Quote:
I added a remote file download - worked ok - removed it again from your d/b |
Won't we lose our links doing it that way?
|
This is an amazing hack Andrew. If in the future I make changes to this code, ie an addon or port to function with another code, would you mind my asking permission to release modifications? All credit for the original hack would be yours btw and any modifications will be documented.
And thanks for being such a good sport handling the questions :) It makes me wonder if you work full time as a customer service rep...though on that note most of them don't have the same charm and capability you've shown. :) |
Quote:
However, uninstalling and reinstalling is also ok, as the database tables are not deleted during uninstallation. (There's another script to run if you really want to kill LDM.) If you are concerned, best idea is always to back up the local_xx tables before running an upgrade. |
Quote:
|
For the first time since installing this I visited my style manager to make a few template tweaks, to discover LDM has added all its templates alphabetically to the main forum templates list rather than to a "Custom templates" set. If you insist on going ahead with this method could you at least subcategorize the LDM templates so they can be collapsed? Adding no less than 40 links_ templates to the main display is cumbersome at best.
|
Quote:
|
Having made a quick check on Welo's suggestion, the best way to group these templates is through a plugin attached to template_groups:
PHP Code:
|
Will the apostrophe fix for the db name be in the new version, also? ;)
|
Quote:
|
No problem, sir. ;)
Do I need to upload files is all then? |
Just tested it and the apostrophe problem is now fixed. ;)
Is CURL actually better to use with this or the other way? I apparently have CURL installed on the server. Or is CURL only for remote file links? |
Quote:
Quote:
cURL is only being used for remote file links and remote thumbnails. This includes local files and thumbnails if these are set up with a complete url rather than a relative filename. The code tries the fopen() route first before falling back onto cURL. |
Ahhh, ok, sinve I have remore files truned off, then it doesn't even use CURL, right? I think I get it now. ;)
|
Quote:
|
as to the "allow_url_fopen" issue....
can someone tell me WHERE or HOW to actually turn it ON? (mine is off, but I want it on...but don't know where to go to do this) :/ |
Quote:
|
Quote:
in the meantime (cause I have a feel they won't turn it on for me)..... how do I go about using the cURL route? Is that something I have to request from my ISP as well? Then what? Quote:
yes. I get this error everytime. the monitor_dir box is empty. any help would be greatly appreciated...this hack RULES!! I can't edit ANY of my settings right now. :/ |
Quote:
|
Quote:
|
Seaching link:
Quote:
|
Quote:
Yup, it was removed in a recent release but I forgot to remove this call. Just comment out the call to get_linksratings on line 580 of local_links.php. This kills the search facility as you have observed. Sorry about that... |
Thanks for so fast reply!
The hack is excellent!!! |
n00b questions:
how do you add/use all the cool icons you have included in the zip? what is the Template.xml file with the zip? what does that template look like? and the "codes.xml"....are we supposed to do something with that? <<< n00b confused easily. :( :p |
Quote:
You don't need to do anything with the template or code file. These have already been packaged into the product xml file. They're included in the zip for completeness. To use the icons, upload as a subdirectory onto your site, then tell the LDM admin page which directory to use (settings and permissions/file_icons_dir) |
Quote:
|
Links and Downloads Manager 2.0.4 uploaded as the supported release. Mainly bug fixes (oh I am so embarassed by the broek search command..):
- LDM template group created within main VB admincp style display - Uses cURL library if available when *allow_url_fopen* is switched off in php.ini - bugs fixed reporting of access permissions in admin/categories redirection after moderate link navbar and title settings when texts include bbcodes handling of unset monitor_dir search facility (broken since v2.00 alpha 1!!) mass edits addslashes check on admin param settings To upgrade, re-upload the code files and then re-import the product file via the VB admincp |
Quote:
BUG: I think... the default sort order doesn't seem to want to change no matter what I set it to. :/ or that could be just mine. :( |
Quote:
If it's urgent, you can edit local_links.php. Find line 386: PHP Code:
PHP Code:
|
I'm having a little problem installing this - when I try to add the product, I get this error:
Quote:
|
Quote:
I've repaired the zip file in the first post - please redownload and reinstall - you'll probably have to use the product manager to uninstall LDM first (don't worry, you won't lose your database tables). Alternatively, just edit links_admininclude.php, go to line 414 and change the two adjacent dollar signs PHP Code:
PHP Code:
|
All times are GMT. The time now is 04:20 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:
|