![]() |
Quote:
|
Post withdrawn
|
Thanks Andrew!
I updated from 1.41 to 1.51 an now I have two minor problems when administering links I was hoping you could help me with... 1. When I click on Administer on the links page the browser just reloads the page - the address cycles through and sets the "action" to links To try and resolve that I simply changed the link on the head template to point to "local_links_admin.php" which it does. However, none of the changes I make (like path to icon directory, or group permissions) ever take hold. Any ideas? Thanks in advance! |
Quote:
How do I enable this option? Secondly, I'm pretty sure this already exits, just that i'm not seeing it ... how do I set permissions for one usergroup to view a particular section. For example, the downloads section should only be accessed by "registered users" or "any usegroup" I choose? Thanks, a lot Andrew for your hard work!!! :laugh: |
Quote:
|
Quote:
For setting usergroup permissions, you do the following: a) Either select a forum that already has the viewing permissions that you want to use, or create such a forum on your main board (you can hide it if necessary) and (using the main VB admin page) give that the permissions you want to apply to your downloads category b) Go into your links admin page and make sure you've given yourself can_set_permissions privilege c) Edit the category that you want to restrict and associate it with the forum in a) If you only want to restrict some of the links in the category, you can simply edit those and set their associated forum. |
Hi Andrew, in regard to the last question ... I want all usegroups to be able to view the page, but not download it unless I choose which usegroups.
In regards to the first problem, I think I didn't make it very clear: The actual thumbnail itself shows where I don't want it to show... for example on here: http://www.juicyduff.com/forum/local...=links&catid=2 (beside "avatars")... I only want the image to show on the main page. But, thanks a lot for solving the other problem (image url appears in the nav menu!) ! lol .. i'm sorry if I ask too much! :( |
Quote:
I very much appreciate your time and effort in providing us with this valuable resource! |
Quote:
Code:
<td class="tcat" align="center"><strong>$viewcatname</strong> As far as your permission question goes, I think you've changed your question! You achieve this as follows: a) on the links admin page, set can_see_protected_links_on_portal permission for those usergroups that you want to be able to see but not download files. b) for the links that you want this to apply to, associate them with a VB forum that you protect as I explained in my previous post. |
Thanks but the discussed circumstances have changed. Congratulations on a very good hack and thanks for your work. :)
Quote:
|
Andrew, thanks for this Hack, it seems to have everything I need! :)
The only problem I have with it is that guests are able to download the files. Any help in being able to stop guests from being able to click the links and download files. I haven't associated the page with any forums, and haven't as yet linked it anywhere, as it's still in 'test mode' as don't want people to download anything as yet. If you need any settings/info/screen caps, I will be able to provide those. Thanks. |
Quote:
1 Create a new forum, and restrict access to the usergroup restrictions you want (i.e. set it so that only admins can read posts) 2 On the links admin page, set this forum as the default_forumid 3 Also on the links admin page, give can_see_protected_links_on_portal permissions to all groups (or all groups except not logged-in), etc 4 Create your category and links This will make everything visible to all groups set in stage 3, but only downloadable to groups set in stage 1 When you're ready to turn things on, either go back to your vb admin and change the permissions on the associated forum or change the associated forum. OK? |
I'm chompin' at the bit for a new "final" version that incorporates your 1.52 and 1.55 changes...you can't speed up the process now can you? ;-) In all seriousness, this is an AWESOME hack. I really am looking forward to the next release.
|
I completely second that. :)
|
Thanks Andrew - I will try this out soon.
Sorry I wasn't able to reply promptly - Tis was my birthday yesterday! |
Just installed 1.55 .. all went smoothly .. :)
Just noticed a couple of things .. If a cat has a new entry it now has "(New Entry )" next to the description .. can you spot the mistake ;) (the extra space) .. Following on from that .. when you add a new link to a cat it shows as bold (OK) .. but when you go up a level nothing is showing as bold .. perhaps make the sub-cat show in bold in the sub-cat listing within the main cat's description? (If that makes sense) .. I like the "send to a friend" idea .. but when you click on it the pre-filled text is relating to a music file? (I've gone into the phase manager and changed it to a more generic "I think you might be interested in this...") .. That's it for the mo .. I'll come back if I find anything more :) |
Possible bug!
You know how, at the moment, Links doesn't store the size of a file until you click on the link .. it seems that this causes the system to think that that file is new again .. which then means it shows up in the "New Links" list as well as going back to being bold. Bug? BTW .. am I right in thinking that the "What's Hot" link shows links with the highest hit count? .. but doesn't take into account ratings? Maybe have a "What's Good" listing which relates to ratings (If a site has lots of 5 star ratings maybe look at how many people have rated the file 5 star to cut the list down?) .. hmm .. anything else .. Oh .. the "Sort by" links don't seem to work in the "What's new" page .. not sure about any of the other pages yet .. (doesn't work in "My Links" either) .. Talking of "Sort by" .. as well as Title, Date and Hits .. perhaps also have "Rating" as an option .. Got to say the "Create linked subforum" is inspired! .. I LOVE it :) .. although I'm not sure what the "Apply parent also to its current links" tick box is for? and why don't you get that option when you add a cat .. only when you edit a cat? You can have a life!! .. just don't come back to these forums! .. :D |
Quote:
can_see_links and can_use_links What do you think? |
Quote:
|
Quote:
Seriously, I'll try to deal with these bugs/suggestions at the weekend, and then make 1.55 the stable release. I've some other things I need to work on. The faulty space after 'new entry' was actually a different bug - it should have said 'new entry dd/mm/yy" but the date got omitted. |
Quote:
I followed those steps to the letter and spent hours yesterday adding a new forum with the right permissions, but as the forum was in an 'xtra' section, it wouldn't show up whilst trying to select it under the drop down menu for "default_forumid". It would only show the first two forum categories. So, after restoring all the default values on the 3rd 'xtra' category, and it still not being selectable, I just added the new forum under the main category and was then able to select it. Once I had selected it, and followed all the other steps, I tested it out, having linked the new forum to the links page, that worked for me logged in as Admin, but once I logged out, although the 'Downloads' forum I have added isn't viewable, if I know the link (which users could pass onto non-users) I was still able to view the links page that way, AND to download the files still. I've been over it all several times and still can't fathom out why it's still allowing access to the links page and letting guests download the files... |
Quote:
Hey, I'm sorry about the extra work - perhaps you could pm me with your board details - ideally with an admin username and password - and I'll take a look. Andrew |
Quote:
Reason being .. a lot of my link cats are called the same as the forum I'm linking them to .. and it looks "silly" to have a subforum of the same name as the one above on the forums front page .. Maybe make it that it grabs the cat name and calls the linked subforum "catname links" .. or something? .. I prefer the custom option mind .. ;) I guess I could just go into admincp and change the name .. but that seems just that bit too easy .. heh .. :p |
Quote:
Taking your three posts together: - Sorting by rating requires a mod to the database tables, so I'll leave these two for now - Have fixed some of the others (new entry, sort by, send to friend) - Am still thinking about the rest Watch this space... |
Version 1.55a has now been posted as the supported release of this hack. Please report any problems.
Bugs reported in the beta 1.55 have been fixed if I could duplicate them. A couple of Slave's suggestions have been handled as well: Bug - Cats with new entries say "(New Entry )" next to the description .. (fixed, shows date as well) Suggestion - New link in cat makes sub-cat show in bold in the main cat's description? (implemented) Bug - I like the "send to a friend" idea .. but when you click on it the pre-filled text is relating to a music file?.. (text corrected) Bug - "Sort by" links don't seem to work in the "What's new" page, etc (fixed) Question - what is "Apply parent also to its current links" for? (text changed - should be clear now - allows admins to mass change permissions) Suggestion - Give the linked subforum a custom name (done) Suggestions about showing "Show well rated" and "Sort by rating" will have to wait - they require changes to the database |
hi,
today i've installted this mod, and i'm very glad that it work?s so good! but there is a great bug in it. in my link & file database just special usergroups can view& download something. guest or "normal" users cannot download anything. but if they click onto Show->hottest files (or something), they can see the files too. and i would offer you to translate your hack into german, if you say me where to translate what ;) i've changed the templates, but it seems, that this wasn't all, there are still english words... regards lee |
Quote:
If you've just installed the latest version (1.55), then all the text in the main part of the hack is handled using the standard VB phase system, and you will find everything in local_links_phrases.xml. The admin page is not phrased - everything is in the templates and code, and I'd advise you not to try to do anything with these. |
hi andrew,
ok i will download the new version and take a look at the .xml i think it should be no problem then to translate it. are you interested in a german version? i could send you the german-xml if you want. but first i should take a look at it now ;) maybe (if everything works fine) it's finished tonight... rds Lee |
Quote:
I can't reproduce the bug you report. Can you try again using the new release (v1.55) - and pls confirm that you are using the forum permission system to define which usergroups are allowed to see/dowload links? The permissions that are set on the links/files admin page are about who can enter/edit/delete links, not about who can view them. |
AndrewD:
I know this thread would quickly get really cluttered if everyone who installed this hack thanked you again with each new release. But, this is a superb hack! And you are just making it better and better. So, thank you for your hack and your on-going support. U da man! |
Hi,
how can i disalowed unregistered User to download a File. |
Quote:
If you want to apply this condition to every new file you make available, then on the links admin page, you set that forum to be the default forum for new links/categories. |
so..i just came home..and now i'm not going to work any more on the translation...tomorrow i think ;)
and tomorrow i will try again with version 1.55 and yes i'm using the forum-permission-system. ok, have a good night lee |
Yay! When I have time later tonight I'll upgrade.
|
1.55a now installed ..
Thanks for adding the suggestions .. Brill .. This hack just keeps on giving :) I think I've found something .. on the new cat page you can give a custom name to the linked cat, but on the edit cat page you can't edit it .. is this as planned? Apart from that .. perfect! :) |
Oh .. and one more suggestion if you have time/it can be done ..
I used to use a cgi script called Links 2.0 as my links page (I think it's been mentioned before in the thread) .. No! I'm not asking for an importer! ;) But .. one thing, it was able to do, was very handy indeed .. If you went to a web page and wanted to add it to your links page you could highlight some text as your description and then click on an IE favourite and it would take you to the "add link" page, auto-fill the URL, Title and Description in the entry boxes. Then, all that was left to do was, pick which cat you wanted the link to be in and click the entry button. It made adding links to the back-end very easy .. and quick! Here's the code that was used for the favourite: Code:
javascript:Q='';if(top.frames.length==0)Q=document.selection.createRange().text;void(btw=window.open('http://www.domain.com/links2.cgi?db=links&add_form=1&URL='+escape(location.href)+'&Title='+document.title+'&Description='+escape(Q),'AddToLinks','menubar=1,location=1,resizable=1,scrollbars=1,status=1,toolbar=1'));btw.focus(); I've had a go at changing the code to be compatible with the hack .. Code:
javascript:Q='';if(top.frames.length==0)Q=document.selection.createRange().text;void(btw=window.open('http://www.domain.com/local_links.php?action=addlink&url='+escape(location.href)+'&Title='+document.title+'&Description='+escape(Q),'addlink','menubar=1,location=1,resizable=1,scrollbars=1,status=1,toolbar=1'));btw.focus(); What do you think? |
Quote:
|
Quote:
This looks a great idea, and I'll give it some thought. When I have the time..... I also plan to provide a new interface for mass checking/editing/adjusting viewing/dowload permissions, as this seems to be the most frequently asked question. |
Nps about the linked cat thing .. just didn't know if it was planned ..
Glad you like the favourites idea .. :) |
andrew here are my translated .xml files...
just noticed some little phrases that are still english...will fix it maybe tomorrow ;) but about 99% of the important things are translated :) |
All times are GMT. The time now is 03:07 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:
|