vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Links and Downloads Manager (https://vborg.vbsupport.ru/showthread.php?t=91107)

Zia 05-12-2006 05:54 AM

helo...

does it support "mass import" ?

any chance to integtae it with Vbux?

|oR|Greg 05-12-2006 11:33 AM

Quote:

Originally Posted by AndrewD
It's not clear to me what you are trying to achieve.

Do you want the existence of the private entries to be visible to the restricted usergroups or not?

If not, when would this error message be triggered?

You can easily make a category visible to everyone but only have certain of its entries visible

You can also easily make the category and all its entries visible but trigger an error message when a user tries to access those which are resticted.

or

You can make the category itself invisible to general users.


Yup, I just realized that too, duh, you can set each item to a forum and only the usergroups that have access to that forum will see it.

As for an ERROR, using the protected_links variable gives you 3 choices, no link, a registration dialogue, or... uhhh something else, but I don't think it was an error.

|oR|Greg 05-12-2006 11:34 AM

Quote:

Originally Posted by Zia
helo...

does it support "mass import" ?

any chance to integtae it with Vbux?

No mass import, but we've asked.

MissKalunji 05-12-2006 12:11 PM

Quote:

Originally Posted by AndrewD
It's not clear to me what you are trying to achieve.

Do you want the existence of the private entries to be visible to the restricted usergroups or not?

If not, when would this error message be triggered?

You can easily make a category visible to everyone but only have certain of its entries visible

You can also easily make the category and all its entries visible but trigger an error message when a user tries to access those which are resticted.

or

You can make the category itself invisible to general users.


What i was trying to say was.....Lets say Newbies i block access to them i dont want them to be able to see the Download section at all! example you click and it gives you the permission error....

I dont want them to be able to see no title no categories nothing.......

|oR|Greg 05-12-2006 02:19 PM

But do you have multiple user groups 1 for newbies and 1 for non-newbies? If not, and "newbie" is just a new Registered User, verus a more experienced Registered user, then this won't work. If they're in different user groups, then you can set your main access level according to a minimum usergroup they need to be in, then set the permissions accordingly to the Registered user group.

MissKalunji 05-12-2006 02:59 PM

*chineese* yeah i have a newbie group....

|oR|Greg 05-12-2006 03:45 PM

Under Settings... default_forumid

Set that to your NON-newbie group.

AndrewD 05-12-2006 03:53 PM

Quote:

Originally Posted by |oR|Greg
Under Settings... default_forumid

Set that to your NON-newbie group.

Not quite!!!

Create or choose a forum which is blocked to your newbie group but open to your non-newbie group.

Set default_forum to the id of that forum (if necessary, hover the mouse over the forum listing to see what its id number is).

|oR|Greg 05-12-2006 04:35 PM

Quote:

Originally Posted by AndrewD
Not quite!!!

Create or choose a forum which is blocked to your newbie group but open to your non-newbie group.

Set default_forum to the id of that forum (if necessary, hover the mouse over the forum listing to see what its id number is).

That's what I said... but I said it in the "short form". :banana:

MissKalunji 05-12-2006 05:14 PM

But i dont have any of these set to forum :-/

why would i need a forum

* even more lost now *

|oR|Greg 05-12-2006 05:57 PM

LDM pulls it's permissions per category via your forum permissions. If you never set those accordingly, then you end up in the situation you're in now where anyone can see anything.

MissKalunji 05-12-2006 06:57 PM

Ok i understand got it!

Thanks

next question lol is there a way to add more text to where it says

Allowances: 0 files/1 used, 0 Mbytes/ 0 MBytes used

AndrewD 05-12-2006 07:27 PM

Quote:

Originally Posted by MissKalunji
Ok i understand got it!

Thanks

next question lol is there a way to add more text to where it says

Allowances: 0 files/1 used, 0 Mbytes/ 0 MBytes used

That line is constructed from several phrases and a template

The phrases are ll_band_bytesuse, ll_band_filesuse and ll_band_consume. They are pulled together in the template links_bandwidthbit. So you can try editing the phrases or the template

civil78 05-12-2006 10:27 PM

I have a problem in the Links and Download Manager when i change my server into a new one.

When i click into the links it says
"Sorry - link is not currently available"

But the structure works fine except the Last Files list that it don’t work correctly.

I don't know what's going wrong, but I think that if I reset all the properties in default, the problem will be corrected.

How can i set all the properties of the LDM into default?

Thanks

civil78 05-12-2006 11:39 PM

I found the solution, sorry for that. It was finally a problem into the security system of my server, and of course it's not a problem of the LDM.

Thanks anyway.

MissKalunji 05-13-2006 03:17 AM

Quote:

Originally Posted by AndrewD
That line is constructed from several phrases and a template

The phrases are ll_band_bytesuse, ll_band_filesuse and ll_band_consume. They are pulled together in the template links_bandwidthbit. So you can try editing the phrases or the template


Thanks!!

Ian Emu-UK 05-14-2006 03:04 PM

Just got round to updating the LDM on my site for the first time since I requested an auto prune feature, is it possible to make it prune only from a certain category as well as by usergroup?

AndrewD 05-14-2006 04:59 PM

Quote:

Originally Posted by Ian Emu-UK
Just got round to updating the LDM on my site for the first time since I requested an auto prune feature, is it possible to make it prune only from a certain category as well as by usergroup?

See the attached.

Zia 05-15-2006 05:40 AM

Quote:

Originally Posted by |oR|Greg
No mass import, but we've asked.


massimport would be a real good feature..

what abt integration with vbux?
pay earned point (earned by posting) for each download..??

AndrewD 05-15-2006 05:47 AM

Quote:

Originally Posted by Zia
massimport would be a real good feature..

what abt integration with vbux?
pay earned point (earned by posting) for each download..??

The framework is there to achieve this - I have provided a 'hook' at the relevant place in the code, so someone who's familiar with vbux should be able to oblige.

Langly 05-15-2006 09:43 PM

Is LDM using "Delayed Inserts" for SQL? I'm getting several of them according to my host and was trying to narrow down where these are coming from. I'm using v2.2.0 since I have not had to time to upgrade.

AndrewD 05-16-2006 04:53 AM

Quote:

Originally Posted by Langly
Is LDM using "Delayed Inserts" for SQL? I'm getting several of them according to my host and was trying to narrow down where these are coming from. I'm using v2.2.0 since I have not had to time to upgrade.

Not within my code. I've no idea if the underlying vb code ever uses delayed inserts

GrendelKhan{TSU 05-17-2006 08:55 AM

quick question or suggestion before I forget:


is there a way to make a PERMALINK? or have it show a copiable link so people can use this like Online Image Storage or FILE HOST source?

all the elements are there...just need a copiable link to the download.
(eg: this would be VERY useful for people who want to upload say... a signature image and link it into their signature).

again, doing so would in effect covers thses hacks and more..
https://vborg.vbsupport.ru/showthread.php?t=113583
https://vborg.vbsupport.ru/showthread.php?t=106127

|oR|Greg 05-18-2006 02:07 PM

You mean like, upload something, and have it show the link they're to copy for their signature?

Benj 05-18-2006 09:58 PM

woooo ive been away for a bit ..... hows it going andrew benj here...... installs once again :D

obmob 05-19-2006 03:36 PM

AWW, can't make this to work... ok, here is what i've done so far.

Uploaded files as indicated :p -was planning to rename, but i'll do that later-

Now i scanned a folder and was able to add a couple of files, just to test.

It says file is ok... but when i try to download link appears this way and a 404 error is displayed.

http://www. site. com/local_links/jump/2/1 <-- that location doesn't exist, files are stored in a different folder, i thought i enabled some sort of protection in LDM settings to avoid hotlinkin in my files. :(

No broken links shown in admin... so i tried a different way and uploaded directly a different file... no luck, the same result.

Also, if i go to LDM home page i see new category, if i try to browse i see this when clicking category, also 404 error:

http://www. site .com/local_links/links/1

Have i done something wrong? Did i missed something? Files are placed correctly :(

Hope spmeone can help me, thanks.

Ian Emu-UK 05-19-2006 07:28 PM

Quote:

Originally Posted by AndrewD
See the attached.

Thanks Andrew, but it doesn't seem to be working, here is my settings from the file

PHP Code:

$expireusergroups = array(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15);  // use this array to specify which usergroups' entries trigger an autodeletion
$expirecategories = array(18);  // use this array to specify which categories can be pruned, default all categories
$expiredays 3// number of days after which an entry is removed from the database 

I want it to delete everything uploaded by all usergroups in cat 18, but after 5 days the file has still not been deleted.

I have setup the sheduled task and uploaded the file into the cron directory (I can see those questions popping into your head ;) )

Holidazed 05-19-2006 10:18 PM

Is there a way to deny access to particular categories and sub-categories based on the usergroup? It would be nice if I can choose to show the category title to a usergroup and then deny them access when they click on it (maybe with a link to purchasing a subscription) or just not showing the category to them.

So far, I have set my forum permissions to now allow unlogged in people to see the forum that links to a particular category, but if they go directly to the link, it lets them in.

Ideas?

pumarjr 05-20-2006 04:55 AM

i installed this mod, everything works flawlessly, thank you, you should have a donate button!

PS: is there a way when viewing Music/Videos to force the media player local, instead of opening in a new window, so that when the file is played it is played in the vb page?

AndrewD 05-20-2006 06:31 AM

Quote:

Originally Posted by pumarjr
i installed this mod, everything works flawlessly, thank you, you should have a donate button!

PS: is there a way when viewing Music/Videos to force the media player local, instead of opening in a new window, so that when the file is played it is played in the vb page?

This is possible in principle, but I think it will need more work so that things behave sensibly (i.e. that you can get back to your forums, etc).

The trivial change is to edit includes/local_links_include.php. Find function get_linkslistbit, about 140 lines later, you will find these lines:

PHP Code:

            if (isset($icon_cache[$urlType])) {
                if (
$is_musicbox and $links_permissions["can_play_musicbox"]) {
                    
$linktypebit .= '<a href="'.$LINKS_SCRIPT.'.php?action=play&amp;id='.$linkid.'" target="player" onclick="ldmpopup(this.href);return false;">'

and kill the sequence
PHP Code:

target="player" onclick="ldmpopup(this.href);return false;" 

I'll give this some thought to see if there is a better approach.

GrendelKhan{TSU 05-20-2006 01:08 PM

Quote:

Originally Posted by |oR|Greg
You mean like, upload something, and have it show the link they're to copy for their signature?

yes. have it be an option in admin to show or hide link.

Holidazed 05-20-2006 04:03 PM

Quote:

Originally Posted by bitg
Is there a way to deny access to particular categories and sub-categories based on the usergroup? It would be nice if I can choose to show the category title to a usergroup and then deny them access when they click on it (maybe with a link to purchasing a subscription) or just not showing the category to them.

So far, I have set my forum permissions to now allow unlogged in people to see the forum that links to a particular category, but if they go directly to the link, it lets them in.

Ideas?

AndrewD, any answer to my question?

arcadian_girl 05-20-2006 05:01 PM

just installed this, and it seems great, but i'm so confused, i don't even understand how to upload a file, or where to upload it to. :/ can i upload files via ftp? if so, where do i upload them to? i couldn't find the folder where the uploaded files would be stored. i looked at the online manual, but the bit about uploading files didn't make much sense to me :/

AndrewD 05-20-2006 05:26 PM

Quote:

Originally Posted by arcadian_girl
just installed this, and it seems great, but i'm so confused, i don't even understand how to upload a file, or where to upload it to. :/ can i upload files via ftp? if so, where do i upload them to? i couldn't find the folder where the uploaded files would be stored. i looked at the online manual, but the bit about uploading files didn't make much sense to me :/

Hi, sorry that you are confused. You can use this hack in several ways - including using it to upload files, or pre-loading them via ftp then using this to make them available to others.

- As installed, it allows admins to give users access to files that have already been pre-uploaded somewhere on your site or somewhere else on the internet.

- If you want to enable uploads, then you have to enable this via the LDM admin/settings page:

- Create a directory (for example, /uploads) in the root of your web site.
- LDM/admin/settings -> controls on file uploads
- Set upload_dir to /uploads
- Set upload_enabled to yes
- Leave the other two upload_* settings as they are for the time being

- Next thing to consider is what filetypes you will allow to be uploaded. By default, LDM will accept uploads of any types that are defined in the main VB/admin/attachments/filetypes table, for files that are no bigger than the maximum size in that table. If you want to allow new filetypes (e.g. mp3), then you need to add these to the vb attachments table. This is explained in the oline manual, section 5.6

- If you want to allow other users to create entries and/or upload files, then you have to given them permission via the LDM admin/permissions page.

If you get stuck, send me a PM with details of your board and an account with admin privs. I'm happy to take a look and set things up for you.

AndrewD 05-20-2006 05:29 PM

Quote:

Originally Posted by bitg
AndrewD, any answer to my question?

Have you 'associated' the category with the protected forum (LDM/edit category/parent forum)?

arcadian_girl 05-20-2006 06:02 PM

Quote:

Originally Posted by AndrewD
Hi, sorry that you are confused. You can use this hack in several ways - including using it to upload files, or pre-loading them via ftp then using this to make them available to others.

- As installed, it allows admins to give users access to files that have already been pre-uploaded somewhere on your site or somewhere else on the internet.

- If you want to enable uploads, then you have to enable this via the LDM admin/settings page:

- Create a directory (for example, /uploads) in the root of your web site.
- LDM/admin/settings -> controls on file uploads
- Set upload_dir to /uploads
- Set upload_enabled to yes
- Leave the other two upload_* settings as they are for the time being

- Next thing to consider is what filetypes you will allow to be uploaded. By default, LDM will accept uploads of any types that are defined in the main VB/admin/attachments/filetypes table, for files that are no bigger than the maximum size in that table. If you want to allow new filetypes (e.g. mp3), then you need to add these to the vb attachments table. This is explained in the oline manual, section 5.6

- If you want to allow other users to create entries and/or upload files, then you have to given them permission via the LDM admin/permissions page.

If you get stuck, send me a PM with details of your board and an account with admin privs. I'm happy to take a look and set things up for you.


wow...thank you so much for getting back to me so fast, and being so helpful :) i've created the uploads folder, and i uploaded a test file. i added the filetypes that i'll be uploading, too. but now that the file is uploaded, how do i find that file in the download manager, and make it available to people for download? i tried every place in the download manager admin cp, and couldn't find where to find the file and make it available.

AndrewD 05-20-2006 06:54 PM

Quote:

Originally Posted by arcadian_girl
wow...thank you so much for getting back to me so fast, and being so helpful :) i've created the uploads folder, and i uploaded a test file. i added the filetypes that i'll be uploading, too. but now that the file is uploaded, how do i find that file in the download manager, and make it available to people for download? i tried every place in the download manager admin cp, and couldn't find where to find the file and make it available.

You go to the main LDM page - http://yoursite/forum/local_links.php and select categories/add category and create the first category group in which your links will appear (for example 'My Downloads') then you select 'Add Link' and you are given a form which allows you to add a link to that directory or to upload a new file.

arcadian_girl 05-20-2006 07:07 PM

by george, i think i've got it :) i'm probably speaking too soon and will be back in five minutes with another question, but i think i've got the basics now. thanks for being patient with a newbie :)

pumarjr 05-20-2006 08:09 PM

how do i increase the [PHP Maximum Upload Size] which is set to 2mb in the AdminCP home page? screenshots provided below

https://vborg.vbsupport.ru/

AndrewD 05-21-2006 05:40 AM

Quote:

Originally Posted by pumarjr
how do i increase the [PHP Maximum Upload Size] which is set to 2mb in the AdminCP home page? screenshots provided below

http://f5.putfile.com/5/13917123786-thumb.jpg

Not sure what is going on. The VB admincp quickstats and the LDM table of php settings read and display the same value from your php.ini, i.e. upload_max_filesize, so they should be the same.


All times are GMT. The time now is 09:12 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
  • Page Generation 0.03467 seconds
  • Memory Usage 1,866KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_php_printable
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete