![]() |
get this error
The following setting(s) are invalid monitor_dir : i tried a 1 and a 0 .matt |
Quote:
If local_file_root=0, then setting monitor_dir (e.g.) to /downloads would tell the code to base its scans on http://yoursite/downloads If local_file_root=1, then you might set moitor_dir (e.g., on a windows m/c) to d:/websites/yoursite/downloads |
Will be travelling for the next week, so please don't break anything important :rolleyes:
|
Upgraded successfully after upgrading to 3.0.7 as well, works fine.
|
Well, you forgot to phrase two of the most visible words :)
PHP Code:
|
Quote:
|
Quote:
Why not base this on the grup attachment properties. Consider a link to a file the same thing as a physical attachment, because in essence it really is that. So if it's clicked, and the usergroup doesn't have permission to download attachment the permission error is generated? |
Quote:
So the design objective was to build all access permissions on the forums permissions system for VB. That way, links and posts become equivalent, either fully visible or invisible, according to usergroup. There are one or two minor adjustments to that (i.e the can_see_protected_links_on_portal permission), to meet a particular user need. The decision was taken way back, and it would require a complete overhaul of the code to change it. |
To add another perspective - in my case I absolutely don't want unregistered and even general registered users to know that I'm offering stuff for download (it's mostly articles and documents). The permission system as it is now is perfect for me. :)
|
Hi,
Is there a way we can make it so users MUST register on the forum to download files? I just checked, and a guest can download a file without registering :( Matt |
@Xtrm2Matt
Quote:
|
Thanks :)
|
Thanks for this hack. It's really good.
I've translated it into french (only the user visible part). I've also made a little style modification. Hope you'll like it :-) |
I'm getting a "status unknown" for all of the dloadz atm, what's going on?
http://www.juicyduff.com/forum/local_links.php |
get a small problem when i tried to install
Error SQL-query: -- -- Table structure for table `local_linkslink` -- CREATE TABLE `local_linkslink` ( `linkid` int( 11 ) NOT NULL AUTO_INCREMENT , `linkname` varchar( 255 ) NOT NULL default '', `linkdesc` text NOT NULL , `linkurl` text NOT NULL , `linkhits` mediumint( 8 ) unsigned NOT NULL default '0', `linkforum` smallint( 5 ) NOT NULL default '0', `linkcheck` int( 10 ) unsigned NOT NULL default '0', `linkstatus` int( 10 ) NOT NULL default '0', `linkdate` int( 10 ) NOT NULL default '0', `linkusername` text NOT NULL , `linkuserid` int( 10 ) NOT NULL default '0', `linkmoderate` int( 2 ) NOT NULL default '0', `linkmoddate` int( 10 ) NOT NULL default '0', `linkreviewfreq` smallint( 5 ) NOT NULL default '0', PRIMARY KEY ( `linkid` ) , FULLTEXT KEY `namedesc` ( `linkname` , `linkdesc` ) ) TYPE = MYISAM AUTO_INCREMENT =1 MySQL said: Documentation #1283 - Column 'linkname' cannot be part of FULLTEXT index any ideas how to fix it plz |
Excellent hack! Just got a quick question for you (don't we all?). I'm using this as a URL link manager for my reciprocal links. Right now, the links are all pointing to an internal link, like http://www.mydomain.com/forum/local_...tion=jump&id=3. Is there a for the link to show the actual link? My link exchange partners won't be too pleased when they find their inbound links gone.
|
Quote:
I've just done this to one of your entries that was showing "status unknown". After accessing it and refreshing the links page, the description has changed to saying [52 kbytes] i.e. the file size. If you don't like this behaviour, you can always edit the links_linkbit template. Find and delete the line which reads as follows: Code:
<if condition="$linkstatus==0"> [$vbphrase[ll_unknown_status]]</if> |
Quote:
The easy way is to go to the links admin page and change the setting of force_redirect to 2. This makes all your links completely visible, but it has the side effect that the hit counter no longer works. An alternative is to edit the links_linkbit template. Find the line which reads Code:
<if condition="$linkurl"><a href="local_links.php?action=jump&id=$linkid" target="_blank"></if>$linkname<if condition="$linkurl"></a></if> Code:
<if condition="$linkurl"><a href="local_links.php?action=jump&id=$linkid" title="$linkurl" target="_blank"></if>$linkname<if condition="$linkurl"></a></if> Please note that this will make the location of all your links and downloads visible, so you will not be able to hide things. |
Quote:
|
version 4.1.9
|
Quote:
|
Quote:
https://vborg.vbsupport.ru/showthrea...sql#post570044 dlouly47, 8th November 2004 said Quote:
|
Hi
Sorrry to be lazy but I have read the first 14 pages in full, but I've lost the will to live, any chance somebody could just give me a few quick answers before I pay to have this installed. a) We would only really use it for downloads, does the download portion of the mod allow any extensions or even better do you just get like a box you can enter a url in where the file is? b) Does it let people who download it write a short bit of text on what they thought of it c) Can they rate it with like a star system or equivalent d) Does it show how often the file was downloaded. E) Is all the above as standard or require further hacks to make it work. Cheers Andrew et al. |
Quote:
a) You enter your download using a form in which you provide (at minimum) a title, the url to the download or the filename if it's on your own server, and a description b) Not currently c) Yes d) Yes, to usergroups that you give this permission e) all these features are there by default. All configuration is done using its own admin page. OK? |
Cheers for the prompt responce Andrew, all sounds good. Shame about the 'comments' feature is this planned or just not enough interest?
One last question must a user be registered on the forum to access the download or can this be turned on and off depending on catagory etc? EDIT Plus also can you we add an image next to the download link? For instance we want members to be able to download maps (for games) and would be nice to be able to upload a still shot of the map. |
thanks alot all sorted was my fault to start with
|
Quote:
- Who can see/access a download: This is controlled using the standard VBulletin forums permissions system. You choose a forum that is visible to the usergroups you want to be able to see each link/category of links. You then associate the link/category with that forum. By default, this system is turned off, so everyone can see every entry. - Who can create/edit/etc links. This is also controlled by usergroups, but these are set directly within the hacks admin page. - Yes you can put images (using standard bbcodes) in any of the fields. - Being able to comment on entries has been suggested by others. It's just not something that I have got round to coding yet. I'll make no promises. If you download the hack, in the zip file, there's a full set of instriuctions which should answer your questions. |
Thanks Andrew, my guy will be installing it shortly.
|
Quote:
|
hey look ignore me we got it to work.
and it works on MySQL 3.23 in case anyone wanted to know thanks |
Quote:
:) |
Andrew .. Currently I'm using the plug-in for vBa CMPS to show my latest links ..
How would I change the plug-in to show the category the link is from? So instead of .. LINKNAME ¦ DATE it would be .. LINKNAME ¦ DATE CATEGORY Any ideas? |
Quote:
- edit the get_hotlinks_cat_date file as per the attached - edit the links_hotlinks template to refer to $catid and/or $catname as you see fit. Andrew |
Thanks for that Andrew ..
Unfortunately I'm using the attached file .. any chance you could take a look at it and add the required extra code? I think it's a slightly updated file by the same author .. but I can't find where I got it from .. |
Hi
Thanks for your time in answering pre-installation enquiries Andrew. Had my guy install it and we are very happy with it as our all our members Here's one of the catagories we setup yesterday http://www.global-army.com/forum/loc...=links&catid=1 I would like to have a small thumbnail image in a column there showing the picture of the map , is that possible? |
Quote:
To display thumbnail images, just upload these somewhere sensible on your web site, and edit the links or categories. You can include VBulletin img BBCodes in the name and the description fields. For example, if you have a subdirectory called thumbnails immediately under your home page, and a thumbnail file called amberville.jpg, you could include a tag like this: PHP Code:
|
Hi Andrew
Thanks for that:- http://www.global-army.com/forum/loc...=links&catid=2 What kind of code do you need to insert a <br> between communication and the image, so the image appears underneath the word communications. |
Quote:
However, a better way may be to edit the links_main template. This gets a bit technical, and I'm happy to exchange a PM or two with whoever is doing your web management. |
Thanks Andrew will have a play.
|
Andrew, will I be able to update my version of links without losing my data? It's been a while since I've been on but I just haven't had any problems with the program. Yet I would like to use the new version without to much hassle... Just not sure what version I'm using.
http://www.team-undercover.com/forums/local_links.php? |
All times are GMT. The time now is 09:29 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:
|