![]() |
Ok Andrew, so if I want to allow anyone to view and add links, but I want to moderate all the added links, I should set moderate_link parameter to 1, and set default_forumid to "none". In the permissions section the can_add_link parameter has every usergroup checked.
I am not sure if it matters, but I set "Can_Set_permissions" to only the administrator. Is there anything I am missing? I cant explain it, but unregistered users are seeing all links, even those awaiting moderation. However, a registered user does not see the items awaiting moderation. Thanks for your help, and sorry about being a pest. Quote:
|
Quote:
I understand the problem ;) When moderation is switched on, new links are only visible to the user who submitted the entry and to moderators, until the link has been moderated. However, if you allow an unregistered user to add new links, this creates the difficulty you observe. Logic: - link was created by userid 0 (the userid of an unregistered user) - any other unregistered user also has userid 0, therefore the hack thinks that they are the same user who added the link, therefore displays the unmoderated link. - any registered user who is not a moderator has a different userid, therefore cannot see the unmoderated link Possible solutions: - I change the code so that links added by unregistered users are only visible to moderators (i.e. not even to the person who added the link) until the link has been accepted by a moderator - You only allow registered users to add links - maybe there's another possible solution? What do you think is best? |
Good, I'm glad I'm not going crazy. It does make sense now. Although it would be a bit more difficult, I think Option 1 (Links added by unregistered users can only be view by moderators) would probably be the best option.
Option two, I believe, could probably be implemented using the Default_Forumid parameter, if you wanted to restrict to only registered members. Do you think this is a quick modification? If you can make the change, I would be willing to test it out for you. Rob Morley Quote:
|
Quote:
|
Preliminary tests look good. I will continue to test it, and let you know what I find out. Thanks agian for responding so quickly, and putting together a quick fix for the problem!
Quote:
|
Andrew,
I am not sure if this is already in the works, or I just missed it on the admin page. When moderation is turned on, is it possible to have Vbulletin email a moderator so that they can review the added link and accept or reject it. Is this option possible by using the default_forumid parameter? Thanks Rob |
Quote:
The forum assignment does not have any connection with this - it is basically a mechanism for providing security and association. |
I had not thought of the new post notification for users. You could probably use some of the same code used in the subscription notification in VBulletin, but I am not sure how important this would be. I just looked at Vbulletin, and it looks like there is a cron job setup to handle thread subscriptions on an hourly basis. Rather than trying to re-create this, would it be possible to tap into the thread/post subscription process? I am not very familiar with the VBulletin coding, so I have no idea of the complexity of this enhancement.
Regarding emailing moderators, I was thinking about the possibility of creating a Moderator_Email_Address parameter. Then, when a new link is added, and being held for moderation, an Email could be sent to the moderator(s). Since this would probably only email a few folks, I was thinking that this could be run when the submit button is clicked. Thanks agian for the enhancement that handles moderation of unregistered users. -Rob Quote:
|
Quote:
There is only database backup available in pafile db, is it possible to move data from sql dump to csv? Forgot to ask you: is it possible to setup links category view in the same way as forum category view, I mean dept of forums? Something like here, at vbulletin.org? Thank you for your help! |
Quote:
Concerning the second question, you can set up the category view to include subcategories to any depth. |
Quote:
We have about 20 categories and 300 files in databse. And we have 3 databases based on pafiledb: files database, addons databse and missions database. We had to made 3 different databases because this script doesn't allow to make subcategories. Also here is very important fields like filesize and author - is it possible to convert these data too? Andrew, I have tried to make different dept but unfortunately can't do this. Because color of categories and sub-categories alternate all the time without account for importance or parent of category. Ones again thank you for your help, I appreciate it. |
Quote:
|
Awesome mod! I just added it. The ease of install should seriously be commended on this one! HUGE THUMBS UP!
I guess the only thing missing is possibly a way to have the "Who's Viewing" thing to work with it. |
Quote:
|
Hi
We have the hack setup here: http://www.global-army.com/forum/local_links.php? And am very pleased with it however, we have a bit of a problem with perms. We created a group in admincp called links Then we added the user to that group. Then we used the hacks admin tool to allow that user to add links etc Which worked BUT.. It also gave him rights to all our private forums. Sorry we are a bit noobish, can you advise . |
Quote:
Andrew |
Quote:
|
Andrew my members today informed me a strange situation. Normally they never faced a problem like this but a member uploaded a 123 mb file from ftp to the server and added it to links section. When someone clicks on the link it opens the link in a new window and wait like 15-20 seconds then it start downloading and when it reachs 48kb it says completed. Do you have any idea what can cause this ?
When I try to download from ftp i have no problems. |
Quote:
If you have force_redirect=0 (the default value of the parameter on the admin page), then downloads are mediated by the script. In that case, large files can use up all the cpu time available to the script (typically 30 seconds). If you set force_redirect=1, then there is no problem with downloading large files, but the location of the file becomes visible to the user. It's a question of how important you find security versus cpu time. If you want to keep file locations secure, then you need to permit php scripts to use sufficient cpu time to read and re-transmit the file. If you prefer to limit cpu usage and are not concerned about security, then change the setting of force_redirect. OK? Andrew |
Quote:
|
Quote:
The least cpu intensive way to provide downloads is to ensure that the files are on your server and to create the links by referring to them using the local file name, e.g as /dir/file.typ rather than as http://site/dir/file.typ. |
I have uploaded a first beta of this hack in the VB35 forums here
|
Quote:
Regardless, cheers for this Andrew. |
Hmmm... I'm not sure what I did, but When I go to administer the Hacks Database, every page comes up completely blank. I just installed BVShoutboxFULL. So I'm not sure if that would have messed up some file. Everything else seems to work fine and I re-ran the install script just to make sure.
Any help is appreciated. |
Quote:
|
Quote:
I want to show it as "Please wait before trying another access - timeout period (seconds): 300, you have *** seconds left for you next download" or something like that. Can anyone please help me out here :). |
whoops... I didn't mean the hacks database... I must have just been reading about it... anyways... When I click on administer and any of the four options that drop down, it brings up a blank page. Everything else works, and I don't get any db errors. Any Ideas?
:edit: Nevermind. I thought I re-uploaded the file and didn't. Works now. Thanks! |
Quote:
Just try re-uploading the code, templates and phrases and rerunning the install script. It will not cause damage your database. |
Quote:
|
hiho
just updated to 1.60c and now i can't add any new links. it always shows up a message "no category specified" and in the box "parent categories" there are no categories listed? what did i wrong? :( |
Quote:
|
Quote:
This is an easy change to make. Two edits: edit local_links.php. Find these lines Code:
// Prevent multiple hits within specified timeout Code:
// Prevent multiple hits within specified timeout Code:
<phrase name="ll_wait"><![CDATA[Please wait before trying another access - timeout period (seconds):]]></phrase> Code:
<phrase name="ll_wait"><![CDATA[Please wait {1} seconds. Timeout period between accesses: {2} seconds]]></phrase> |
Possible BUG...NOTHING SERIOUS... Just a suggestion for a FIX in 2.0...
When I rate a file, the rating is correctly logged and all. But unlike the forum's rating system, your rating system allows members to CHANGE the rating once they have given a rating. Its no big deal but I think in your version 2.0 should have an option in the ADMIN PANEL where the admin can set to allow the members to rate once OR more than once, this way its more flexible depending on the admin's needs. |
Quote:
|
ok i have now fully translated 1.60c to german ;)
@andrew: do you want it via email or as an attachment in the forum here? |
Quote:
|
Hi,
This is every good hack. I installed version 1.3 and did not use it because I bought the Vbadvanced links directory. But now I tested the newest version and realized that it is excellent now and I want to use it for my music page. Things work well. Howerver,I want to give a user group pessmission for ONLY listen(play )the music file but not to DOWNLOAD(it mean that the hyper link to the music file will be hidden). If anyone know how to do this please help me! Thanks a lot! |
Quote:
Sorry for the delay - I've been on holiday. Could you post the translation here? I'll pick it up and include it in the official release. |
Quote:
|
Quote:
|
All times are GMT. The time now is 08:09 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:
|