![]() |
Quote:
I've written some php which is not that different from your suggestion. But I suspect that "not that different" is rather important - everyone will have a slightly different requirement, so we will need different harvesters feeding a standard farm. Could we specify an interface between the harvester and the farm? For example, should the harvester generate an xml file or should it just dump links straight into a default category in this hack's database? Am happy to give some thought to this, with your suggestions. |
Quote:
|
[high]* lasto clicks installs
[/high] what an easy hack to do :) - 2 misn from start to finish and no editing of any files either top stuff. Works a treat as well - cheers m8 |
Quote:
http://www.gamerzplanet.net/files/wa...ta_English.zip |
Quote:
|
AndrewD
firstly: nice hack/mod :D secondly: is there any way to stop non-logged in or non-registered users from downloading files? I tried by setting the permissions to a forum which wont allow not-loggedin or unregistered users to download attachments, will that permission work for the downloads. The downloadable files are just dumped into a directory, and directly linked to the mod. Do I need to add the files as attachments to the forum and then use that forums attachment link rather than the direct link to stop unregistered users from downloding? or is there another way round it? Tnx |
Quote:
You do not need to add the files as attachments - just dump them in a directory. You need to take care that the file and directory names are not that obvious, otherwise people could just go straight there. The hack hides the information from the casual user. |
Quote:
I am using vbadvanced homepage, and a hack ontop of that which shows the latest 5 downloads available on the main page. http://209.51.146.19/index.php on the top right you will see latest downloads block, if you click on latest downloads it wont show you anything as you are not logged in, but if you were to click on the actual downloadable link in the same block it will allow you to download. Is there a work around for that? Thanks again. |
the hack works but when i go to add new link how come in the small box in bottom left hand corner where it says based on which forums permissions it is just blank ?
Have i missed somethign out. Also i may be on wrong track but does this auto link to attachments added to the board or does it only do ones that u specify ? |
Quote:
|
Quote:
I appreciate your help :) |
Quote:
b) No, it does not auto link to attachments - but I assume that it works ok with attachments provided you give a valid url to the attachment - has anyone tried this? |
yeah i have forums set up on my site but they deffo dont show in that box.The box above that one shows the sections i have made but thats about all.
Was there anything i should of changed in admin settings as i noticed forum was set to -999 or something so i set that to 8 which is a valid forum on my forum and still no luck. |
Quote:
|
Quote:
The people who did the vbadvanced integration have lifted the integration code that Natch wrote for vbindex. This code ignores the forums-based checking that is in my hack. It means that the vbadvanced (and vbindex) home page shows links regardless of whether you are allowed to access them or not. If a user tries to access a link that is not available to that user, then she will get an error message (link #N not available). So the bottom line (which I tested on your site) is that the protection works, but you get to see things you can't access. Natch felt that it was better to show all users all the available links as a way of encouraging them to register to use the site. |
Quote:
The vbadvanced latest downloads block is ignoring the permissions like you said. Did Natch by anychance post the edited code? tnx |
Great hack!! I'm having some difficulty though. I'm sure I'm just missing something. The only thing that displays for me is "alt2" in the box on the portal page. What am I missing? I've gone back over my changes several times. Thanks in advance for your help!
|
Quote:
|
Quote:
|
Quote:
thanks |
As AndrewD said, the code I wrote ignores the permissions deliberately. It is a teaser so that unregistered users, or users without permission do not see an Empty Box in your portal, but see the links. If they decide to try and download, they get told they do not have permission, and if unregistered they are prompted to register.
This seemd to me to be the cleanest way to do it - I can test the altered get_hotlinks.php code and get back to you on how it looks, but my guess is that it will not be as clean on your portal page. Quote:
|
i installed this links database yesterday and then installed your addon Natch and it worked first time.It shows me the top 5 downloads.
Well done to both of u for a good hack :) |
Quote:
It does work by reducing the links that the Guest / limited access usr can see in the CustomBox, but what happens if the number of returned links is zero (0) ? |
Quote:
PHP Code:
|
Quote:
|
Quote:
|
Quote:
I'll make a minor change to the basic hack to add a new set of permissions via the admin page (e.g. can_see_links). Usergroups with this setting will be able to *see* (but not necessarily access) links via the portals. I'll update get_hotlinks.php to use this setting and the forums permission checking. We'll roll the two hacks together, with you flagged for support. I'll also contact the vbadvanced thread to see if we can get the same approach taken on board there. This may take me a few days, as I'm away on two business trips from tomorrow for a week. |
Quote:
|
Quote:
Thanks man - your work is excellent :) |
does this also support attachments in filesystem rather than database? an also is there a way of importing old attachments into this links area
thanks |
Quote:
You create links by giving the correct URL to what you want to access. To get at a VB attachment, you would give the correct URL for that attachment. To get at a file, you would give the URL that points at that file. Automatic mass imports are not yet possible, but I am preparing a "links harvest" tool that will scan all posts for links and attachments and allow the admin to insert them into this database. I estimate that this will be released in 2-4 weeks time. |
Quote:
I really want this.. THanks. |
Does this hack support subcategories?
If so, how much deep is supported? If not, are they planned? Thanks! |
Quote:
|
So coool!
/me licks install! |
Quote:
What browser are you using? And what file formats are you trying to download? |
Hi Andrew.
Any idea if you are gonna add the moderation of submitted links into the next version ? Thanks |
Quote:
|
this may sound like a really retarded question...
i installed it fine and everything... but ermm.. how do u make categories> lol i looked in all of admin section and cant see anything about it :S |
Quote:
You go to the Links Home, (../local_links.php) then on the left hand drop down menu for this hack, there should be two items - Home and Create Subcategory. After you have created your first category, then extra items will appear on that drop down menu to allow you to create links. |
All times are GMT. The time now is 08:16 PM. |
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:
|