vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Major Additions - DownloadsII (https://vborg.vbsupport.ru/showthread.php?t=120122)

phaser 05-03-2007 11:32 PM

To the right of the image it says:

by UserName on Today [Delete]

How would I go about getting rid of "by UserName on Today", leaving just the delete function. I've been looking in the downloads_file template but I haven't been able to find it. Am I looking in the wrong template? Any help is much appreciated. Thanks in advance!

CyberRanger 05-04-2007 02:02 AM

Quote:

Originally Posted by BozzaJos (Post 1240761)
I'm planning on upgrading my board from 3.5 to 3.6 soon

In case you are uncertain, this version works perfectly well on vb 3.6.x too.

I'm on business travel until March 13 so my input will be limited. Please take it easy on Jelle in my absence. :)

DementedMindz 05-04-2007 02:04 AM

Quote:

Originally Posted by CyberRanger (Post 1241031)
I'm on business travel until March 13 so my input will be limited. Please take it easy on Jelle in my absence. :)

damn march 13 th ??? wow thats like another year

CyberRanger 05-04-2007 02:06 AM

Quote:

Originally Posted by DementedMindz (Post 1241032)
damn march 13 th ??? wow thats like another year

Hehe ... maybe May instead!

LBmtb 05-04-2007 03:25 AM

Any idea on when the new version will be released? I'm waiting on that till I give this a shot. Unless the update will be nice and clean?

wolfe 05-04-2007 10:23 AM

how can i make it so when i add a new download i can link to a file and link to a image all at the same time

so

New Download > Upload File / Link To File > Upload Image / Link to images.

and is it possible to make the newest added download show as a last post on the forums page where there is a forum linking to it. like LDM does

RS_Jelle 05-04-2007 07:48 PM

Quote:

Originally Posted by MotMann (Post 1240605)
OK..

Parse error: syntax error, unexpected T_ELSE in /www/htdocs/xxxxxxxx/Board/Forum/downloads.php on line 1022

:D

I tested it and it works without errors. You should be replacing it wrong or something like that. Watch out for the brackets.

Anyway, when I tested it, it didn't work correctly like I thought it would.

A new try, tested and it works nice:

Find (in downloads.php)
PHP Code:

            while ($image $db->fetch_array($result))
            {
                if ((
$permissions['ecdownloadpermissions'] & $vbulletin->bf_ugp['ecdownloadpermissions']['caneditallfiles']) OR
                   ((
$permissions['ecdownloadpermissions'] & $vbulletin->bf_ugp['ecdownloadpermissions']['caneditownfiles']) AND
                    ((
$image['uploaderid'] == $vbulletin->userinfo['userid']) AND ($file['uploaderid'] == $vbulletin->userinfo['userid']))))
                    
$edit '[<a href="./downloads.php?do=file&amp;id='.$file['id'].'&amp;act=delimg&amp;img='.$image['id'].'" onclick="return delete_it()">'.$vbphrase['delete'].'</a>]';
                {
                    if (
file_exists($dl->url.$image['thumb']))
                    {
                        
$dimages .= '<a href="'.$dl->url.$image['name'].'"><img src="'.$dl->url.$image['thumb'].'" alt="'.$file['name'].'" title="'.$file['name'].'" border="0" /></a> by <a href="./member.php?u='.$image['uploaderid'].'">'.$image['uploader'].'</a> on '.vbdate($vbulletin->options['dateformat'], $image['date'], true).' '.$edit.'<br />';
                    }
                    else
                    {
                        
$dimages .= '<a href="'.$dl->url.$image['name'].'">'.$image['name'].'</a> by <a href="./member.php?u='.$image['uploaderid'].'">'.$image['uploader'].'</a> on '.vbdate($vbulletin->options['dateformat'], $image['date'], true).' '.$edit.'<br />';
                    }
                }
            } 

Replace with
PHP Code:

            $dimages .= '<table cellpadding="0" cellspacing="1" border="0"><tr>';
            while (
$image $db->fetch_array($result))
            {
                if ((
$permissions['ecdownloadpermissions'] & $vbulletin->bf_ugp['ecdownloadpermissions']['caneditallfiles']) OR
                   ((
$permissions['ecdownloadpermissions'] & $vbulletin->bf_ugp['ecdownloadpermissions']['caneditownfiles']) AND
                    ((
$image['uploaderid'] == $vbulletin->userinfo['userid']) AND ($file['uploaderid'] == $vbulletin->userinfo['userid']))))
                {
                    
$edit '[<a href="./downloads.php?do=file&amp;id='.$file['id'].'&amp;act=delimg&amp;img='.$image['id'].'" onclick="return delete_it()">'.$vbphrase['delete'].'</a>]';
                }

                if (
file_exists($dl->url.$image['thumb']))
                {
                    
$dimages .= '<td class="smallfont"><a href="'.$dl->url.$image['name'].'"><img src="'.$dl->url.$image['thumb'].'" alt="'.$file['name'].'" title="'.$file['name'].'" border="0" /></a><br />by <a href="./member.php?u='.$image['uploaderid'].'">'.$image['uploader'].'</a> on '.vbdate($vbulletin->options['dateformat'], $image['date'], true).' '.$edit.'</td>';
                }
                else
                {
                    
$dimages .= '<td class="smallfont"><a href="'.$dl->url.$image['name'].'">'.$image['name'].'</a><br />by <a href="./member.php?u='.$image['uploaderid'].'">'.$image['uploader'].'</a> on '.vbdate($vbulletin->options['dateformat'], $image['date'], true).' '.$edit.'</td>';
                }
            }
            
$dimages .= '</tr></table>'

Quote:

Originally Posted by logofreax (Post 1240779)
Thank you RS_Jelle's

Now my Downloads are sortet right. But now my Categories are sortet from Z to A. How can I fix this Problem now?

cu
logofreax

Hmm, that's almost impossible. The sortfield variable is used only in the query to get the downloads from the database of the category you are viewing. It has nothing to do with any categoy query or sort option :confused:
Maybe you changed the sort option in the DownloadsII settings which affects the category sorting?

Quote:

Originally Posted by wolfe (Post 1240926)
is it possible to make the download page an index infront of the forums example

http://www.site.com/index.php (downloads.php)

That's possible as you can change the forum index script name in the vBulletin options. But you can't just rename downloads.php to index.php. Then you also need to replace all the downloads.php instances in downloads.php itself and the templates, as there is no easy option to do this. But ... it should work if you do this all, and it's not that difficult if you are familiar with PHP :)

Quote:

Originally Posted by phaser (Post 1240962)
To the right of the image it says:

by UserName on Today [Delete]


How would I go about getting rid of "by UserName on Today", leaving just the delete function. I've been looking in the downloads_file template but I haven't been able to find it. Am I looking in the wrong template? Any help is much appreciated. Thanks in advance!

That's a hardcoded piece, you have to look in downloads.php itself, but it's easy to change (look for $dimages) ;)

Quote:

Originally Posted by LBmtb (Post 1241064)
Any idea on when the new version will be released? I'm waiting on that till I give this a shot. Unless the update will be nice and clean?

It takes a lot more time than I expected. It's not all very difficult PHP code, but it's much new code (and recoding all the old) :D

Upgrade will be pretty painless. One thing: you will lose your download ratings, but I don't think many people really use this feature. This because the current system with a lot of possibilities gets replaced by a -vBulletin like- stars system. You also need to redo some settings, for example the extensions setting gets replaced by a whole new extensions management (like the vBulletin attachments).

But I would suggest you to just use the current version as it works great and the upgrade will be easy to do with a documentated upgrade wizard script.

Quote:

Originally Posted by wolfe (Post 1241223)
how can i make it so when i add a new download i can link to a file and link to a image all at the same time

so

New Download > Upload File / Link To File > Upload Image / Link to images.


and is it possible to make the newest added download show as a last post on the forums page where there is a forum linking to it. like LDM does

Those features aren't available at the moment. The first thing will be changed in v6, but the second one is more a thing for an add-on.

phaser 05-04-2007 09:04 PM

Thank so much RS_Jelle! Much appreciated :)

RS_Jelle 05-05-2007 02:52 PM

Quote:

Originally Posted by Stifmeister2 (Post 1237100)
Why don't you ask the moderators/admins to move this thread over to "vBulletin 3.6 Add-ons" section ? :)


I'm sure there are many persons like me who don't even look 3.5 mods section when they have 3.6 installed. ;)

Done :)

wolfe 05-05-2007 05:32 PM

is it possible to show the file listings as image say 3 per row and when you mouse over the image a box pops up with info also is it possible to make it require image after its added. ?

wolfe 05-06-2007 11:54 AM

m8 any chance you could tell me what code to put where to have to upload image with file i need urgently i will use until your update comes out m8 :P thx in advance

any is it possible to make a stats box for index.php page like the ones on the side of the downloads page.

MotMann 05-06-2007 12:22 PM

Quote:

Originally Posted by RS_Jelle (Post 1241541)
I tested it and it works without errors. You should be replacing it wrong or something like that. Watch out for the brackets.

Anyway, when I tested it, it didn't work correctly like I thought it would.

A new try, tested and it works nice:

Find (in downloads.php)
PHP Code:

            while ($image $db->fetch_array($result))
            {
                if ((
$permissions['ecdownloadpermissions'] & $vbulletin->bf_ugp['ecdownloadpermissions']['caneditallfiles']) OR
                   ((
$permissions['ecdownloadpermissions'] & $vbulletin->bf_ugp['ecdownloadpermissions']['caneditownfiles']) AND
                    ((
$image['uploaderid'] == $vbulletin->userinfo['userid']) AND ($file['uploaderid'] == $vbulletin->userinfo['userid']))))
                    
$edit '[<a href="./downloads.php?do=file&amp;id='.$file['id'].'&amp;act=delimg&amp;img='.$image['id'].'" onclick="return delete_it()">'.$vbphrase['delete'].'</a>]';
                {
                    if (
file_exists($dl->url.$image['thumb']))
                    {
                        
$dimages .= '<a href="'.$dl->url.$image['name'].'"><img src="'.$dl->url.$image['thumb'].'" alt="'.$file['name'].'" title="'.$file['name'].'" border="0" /></a> by <a href="./member.php?u='.$image['uploaderid'].'">'.$image['uploader'].'</a> on '.vbdate($vbulletin->options['dateformat'], $image['date'], true).' '.$edit.'<br />';
                    }
                    else
                    {
                        
$dimages .= '<a href="'.$dl->url.$image['name'].'">'.$image['name'].'</a> by <a href="./member.php?u='.$image['uploaderid'].'">'.$image['uploader'].'</a> on '.vbdate($vbulletin->options['dateformat'], $image['date'], true).' '.$edit.'<br />';
                    }
                }
            } 

Replace with
PHP Code:

            $dimages .= '<table cellpadding="0" cellspacing="1" border="0"><tr>';
            while (
$image $db->fetch_array($result))
            {
                if ((
$permissions['ecdownloadpermissions'] & $vbulletin->bf_ugp['ecdownloadpermissions']['caneditallfiles']) OR
                   ((
$permissions['ecdownloadpermissions'] & $vbulletin->bf_ugp['ecdownloadpermissions']['caneditownfiles']) AND
                    ((
$image['uploaderid'] == $vbulletin->userinfo['userid']) AND ($file['uploaderid'] == $vbulletin->userinfo['userid']))))
                {
                    
$edit '[<a href="./downloads.php?do=file&amp;id='.$file['id'].'&amp;act=delimg&amp;img='.$image['id'].'" onclick="return delete_it()">'.$vbphrase['delete'].'</a>]';
                }

                if (
file_exists($dl->url.$image['thumb']))
                {
                    
$dimages .= '<td class="smallfont"><a href="'.$dl->url.$image['name'].'"><img src="'.$dl->url.$image['thumb'].'" alt="'.$file['name'].'" title="'.$file['name'].'" border="0" /></a><br />by <a href="./member.php?u='.$image['uploaderid'].'">'.$image['uploader'].'</a> on '.vbdate($vbulletin->options['dateformat'], $image['date'], true).' '.$edit.'</td>';
                }
                else
                {
                    
$dimages .= '<td class="smallfont"><a href="'.$dl->url.$image['name'].'">'.$image['name'].'</a><br />by <a href="./member.php?u='.$image['uploaderid'].'">'.$image['uploader'].'</a> on '.vbdate($vbulletin->options['dateformat'], $image['date'], true).' '.$edit.'</td>';
                }
            }
            
$dimages .= '</tr></table>'


Okey.. that works mosly. Problem.. if there a lot of screens, there are all in one row. There ist no break in the line.


• But, where i must change the code, that the Thumbs will be larger? And how must the code looks?

• Why Users can't upload the moviefiles AND Screens at the same time?
• What i must do, that the dl button will be NOT displayed, if user yust upload images, no movies?
• What happened with watermarks?

Wonderfull support here :D

RS_Jelle 05-06-2007 01:42 PM

Quote:

Originally Posted by wolfe (Post 1241959)
is it possible to show the file listings as image say 3 per row and when you mouse over the image a box pops up with info also is it possible to make it require image after its added. ?

I don't see it anywhere, so I think it isn't possible :D
We also can't code this "in a minute"; it's not a small thing. Add-ons are created for popular requests (like creating a new thread for a new file, the vBa module, ...).

Quote:

Originally Posted by wolfe (Post 1242416)
m8 any chance you could tell me what code to put where to have to upload image with file i need urgently i will use until your update comes out m8 :P thx in advance

any is it possible to make a stats box for index.php page like the ones on the side of the downloads page.

For the first thing: I'm sorry, but the same answer as above.

The second thing is possible and already available, check out the vBadvanced CMPS module add-on. You need to integrate vBa CMPS first into your index.php to display vBa modules in it, this is explained on vbadvanced.com ;)
If you don't want a seperate vBa column, then you can have a look at the module code. If you have some vBulletin coding knowledge, you can easily mod this for use on other pages.

wolfe 05-06-2007 03:03 PM

1 Attachment(s)
i have made my own forumindex stats box but i would like to know where to code is that updates the dl_main table with the <tr><td> stats for the 3 boxes on the left so i can edit the code to show the category and uploader name / id etc.

what you think so far

Fireproof 05-06-2007 03:41 PM

Sorry for this question, but is the new version going to be avaiable in a matter of days, or weeks, or likely months?

I'm putting together a new vBulletin board and trying to decide if I should go ahead and install this, or just wait for the new version that is coming soon. Not trying to rush you, I understand it's a LOT of work. Just looking for an estimate on when it *might* be ready.

Thanks,

BozzaJos 05-07-2007 12:31 PM

Quote:

Originally Posted by CyberRanger (Post 1241031)
In case you are uncertain, this version works perfectly well on vb 3.6.x too.

Thanks for the quick response. One minute ago I wanted to import the product for vb3.6.5 but got the following database error:

Quote:

Database error in vBulletin 3.6.5:

Invalid SQL:
ALTER TABLE `dl_cats` CHANGE `desc` `description` TEXT NOT NULL;

MySQL Error : Duplicate column name 'description'
Error Number : 1060
Date : Monday, May 7th 2007 @ 03:23:17 PM
Classname : vB_Database

LBmtb 05-07-2007 03:45 PM

Quote:

Originally Posted by Fireproof (Post 1242512)
Sorry for this question, but is the new version going to be avaiable in a matter of days, or weeks, or likely months?

I'm putting together a new vBulletin board and trying to decide if I should go ahead and install this, or just wait for the new version that is coming soon. Not trying to rush you, I understand it's a LOT of work. Just looking for an estimate on when it *might* be ready.

Thanks,

Check a few posts up . . . .
Quote:

Quote:

Originally Posted by LBmtb View Post
Any idea on when the new version will be released? I'm waiting on that till I give this a shot. Unless the update will be nice and clean?
It takes a lot more time than I expected. It's not all very difficult PHP code, but it's much new code (and recoding all the old)

Upgrade will be pretty painless. One thing: you will lose your download ratings, but I don't think many people really use this feature. This because the current system with a lot of possibilities gets replaced by a -vBulletin like- stars system. You also need to redo some settings, for example the extensions setting gets replaced by a whole new extensions management (like the vBulletin attachments).

But I would suggest you to just use the current version as it works great and the upgrade will be easy to do with a documentated upgrade wizard script.

RS_Jelle 05-07-2007 07:03 PM

Quote:

Originally Posted by wolfe (Post 1242484)
i have made my own forumindex stats box but i would like to know where to code is that updates the dl_main table with the <tr><td> stats for the 3 boxes on the left so i can edit the code to show the category and uploader name / id etc.

what you think so far

Looks nice :)
You can change the PHP code inside /includes/class_downloads.php ;)
It's done by the update_x_x() functions.

Quote:

Originally Posted by BozzaJos (Post 1243013)
Thanks for the quick response. One minute ago I wanted to import the product for vb3.6.5 but got the following database error:

Is it a new, clean install or ... ? It seems that your database is already contains the description field instead of the old desc field, so the update fails. If it's an upgrade: from which to which version? All information is useful :D

BozzaJos 05-07-2007 07:25 PM

Well.. I think I might have done something wrong but I need you to tell me how to fix it hahaha.

I've upgraded my forum from 3.5 to 3.6 and imported my old database. There was something wrong with my database and I couldn't upgrade directly. So I had to install a second forum, import the database there and upgrade to vb3.6. I think I've also imported the downloadsII tables. I guess that's all the info I can give you... let me know if you need more! Thanks in advance for helping me...

RS_Jelle 05-07-2007 07:33 PM

Quote:

Originally Posted by BozzaJos (Post 1243200)
Well.. I think I might have done something wrong but I need you to tell me how to fix it hahaha.

I've upgraded my forum from 3.5 to 3.6 and imported my old database. There was something wrong with my database and I couldn't upgrade directly. So I had to install a second forum, import the database there and upgrade to vb3.6. I think I've also imported the downloadsII tables. I guess that's all the info I can give you... let me know if you need more! Thanks in advance for helping me...

Normally if it's a forum without DownloadsII, the best way to do this is installing a clean DownloadsII installation. This will add the dl2 tables, settings, usergroups, and much other junk :)
Then you use phpMyAdmin (that's the most easiest way) and you remove (drop) all the dl2 tables of the clean installation. And finally you import your backup dl2 tables of the original installation. So: all the settings, usergroups, ... things are installed correctly in the database by the new install and all the data imported by the old dl2 tables.

You can't install DownloadsII properly using the product file if the dl2 tables are already present.

BozzaJos 05-07-2007 07:51 PM

I've got the following tables beginning with dl:

dl_cats, dl_comments, dl_downloads, dl_files, dl_images, dl_main, dl_stats, dl_votes

Should I delete them all... install DownloadsII and then import those 8 tables from my backup to get all the stats, categories, downloadtopics back?

Fireproof 05-08-2007 01:39 AM

I installed this mod on first try - works great!!

But I'm having a problem - the "download button" is not showing up - it's giving me a red x. I even manually re-uploaded the button into the right directory and it still doesn't work.

Please help.

EDIT: Nevermind! I found that the download button link was pointing to my style directory so I moved the button and now it works. Cheers.

RS_Jelle 05-08-2007 04:23 AM

Quote:

Originally Posted by BozzaJos (Post 1243218)
I've got the following tables beginning with dl:

dl_cats, dl_comments, dl_downloads, dl_files, dl_images, dl_main, dl_stats, dl_votes

Should I delete them all... install DownloadsII and then import those 8 tables from my backup to get all the stats, categories, downloadtopics back?

Yes :)

But after you installed DownloadsII back again, you should again delete those tables. Otherwise, you can't import them from the backup ofcourse as they already exist then.

logofreax 05-08-2007 09:53 AM

Again the Problem that some Categories are sorted from Z to A but not all :(

In Options I disabled sorting by Weight. Whats going wrong?

Another question.

How can I make Previewimage of Files shown bigger? Now they are to small. I searched everywhere but didn?t find the right Template to change Imagesize.

And the last Question...

How can I manage that "normal" Users only can Upload into one specific Categoie for Example "Upload"?

Thanks for Help

cu
logofreax

RedGTiVR6 05-08-2007 09:50 PM

I know this might seem like a stupid question...but...

What exactly does "Update Counters" do?

Just refresh all of the download/upload counters?

DementedMindz 05-08-2007 09:54 PM

ding ding ding you win the grand prize

Ryloth 05-08-2007 11:30 PM

Ok, I'm trying to upload an 11 mb file and after a few minutes it just stops and goes back to the "add files" screen.

Any ideas?

DementedMindz 05-08-2007 11:30 PM

you need to raise php max upload limit or do it through htaccess

Hornstar 05-09-2007 05:52 AM

When I press update counters, my forum basically freezes, it fully lags the site, and doesn't do anything.

RS_Jelle 05-09-2007 09:51 AM

Quote:

Originally Posted by logofreax (Post 1243555)
Again the Problem that some Categories are sorted from Z to A but not all :(

In Options I disabled sorting by Weight. Whats going wrong?

Another question.

How can I make Previewimage of Files shown bigger? Now they are to small. I searched everywhere but didn?t find the right Template to change Imagesize.

And the last Question...

How can I manage that "normal" Users only can Upload into one specific Categoie for Example "Upload"?

Thanks for Help

cu
logofreax

About which downloads categories on your site are you talking exactly?

Those preview images are PHP generated thumbs, so you can't change them in one of the templates (you can, but it will be ugly as you will be just stretching them). You can change this in downloads.php, but all old thumbs will stay the same as they are already storaged (and there's currently no rebuild feature like for the vBulletin attachment thumbs).

The last thing isn't possible, you can currently only restrict the full category access using the usergroup permissions.

Quote:

Originally Posted by hornstar1337 (Post 1244175)
When I press update counters, my forum basically freezes, it fully lags the site, and doesn't do anything.

It update ALL counters and that's a pretty heavy query :D
But the speed of it depends from the amount of files, comments, ... you have. On the site I manage, we have 444 files at the moment and the update counters function runs fast (but we are on our own server).

You also don't NEED to run it every week or so. It's to correct database mistakes from previous releases (mainly ecDownloads :p). Now the problem that some things weren't counting correctly sometimes is fixed already.

logofreax 05-10-2007 06:30 AM

Quote:

About which downloads categories on your site are you talking exactly?
I created some new Categories which are at the moment invisible for Guests.

What I found out...

All Categories created before upgrade to DownloadsII 5.0.4 are still sorted in right order A-Z

But new created after Upgrade are sorted from Z-A

cu
logofreax

RS_Jelle 05-10-2007 01:42 PM

Quote:

Originally Posted by logofreax (Post 1244810)
I created some new Categories which are at the moment invisible for Guests.

What I found out...

All Categories created before upgrade to DownloadsII 5.0.4 are still sorted in right order A-Z

But new created after Upgrade are sorted from Z-A

cu
logofreax

That's nearly impossible as we didn't change any big things in the database or so. The query to get the files is also very clear, can't be wrong :D
Have a note that pinned files always stay on top of the category.

Have you a url of an (active) category where the files are sorted wrong, so I can take a look at it?
Also make sure you uploaded all files and imported the product xml (with overwrite option on) correctly. Reupload all DownloadsII files from the upload folder again to be sure (and redo the downloads.php change for name sorting).

logofreax 05-10-2007 06:10 PM

I dont know why, but I uploaded only downloads.php and now everything is working.

I nothing changed on it, only $sortfield = 'date'; into $sortfield = 'name';

Thanx for your great Support.

cu
logofreax

bailradio 05-10-2007 06:46 PM

Can someone please message me regarding a problem i'm having with class_downloads.php

Its actually starting to drive me barmey, and i'm not the best with PHP.

Fatal error: Call to a member function on a non-object in /home/ihttpco/public_html/site/includes/class_downloads.php on line 65

Is the error i'm recieveing...

bailradio 05-10-2007 07:10 PM

Never mind i had a completly blonde moment

Kr0nica 05-11-2007 09:01 AM

Heh... It's me again :erm: I have one more question. It's possible that 'Upload an Image' feature was available only for thread starter and site stuff? When i turn off this option for Registered Users in Usergroup Manager they can't upload images at all and when it's turn on, they can upload pics wherever they want...

masons 05-11-2007 09:56 AM

Question

Can we only allow PDF uploads (yes) and that those are automatically "embedded" with our logo as watermark?

esck 05-11-2007 03:51 PM

is it normal, that files get duplicated?

I've just did an import, and after that a file like this appear 1111-file.ext with the exact same size and everything. I would preffer this won't happen

thanks in advance, great mod

RS_Jelle 05-12-2007 02:09 PM

Quote:

Originally Posted by Kr0nica (Post 1245468)
Heh... It's me again :erm: I have one more question. It's possible that 'Upload an Image' feature was available only for thread starter and site stuff? When i turn off this option for Registered Users in Usergroup Manager they can't upload images at all and when it's turn on, they can upload pics wherever they want...

That's already included in v6, but the only problem we now have is the fact that there are too much usergroup permissions. It's really getting a mess :D
"Can edit own files", "Can edit all files", "Can edit own comments", "Can edit all comments", "Can delete own files", ....

Quote:

Originally Posted by masons (Post 1245485)
Question

Can we only allow PDF uploads (yes) and that those are automatically "embedded" with our logo as watermark?

You can choose which file extensions you allow for uploading, but adding a watermark to a PDF isn't possible. Then we would need a whole new external class for doing this, cause it's not a standard PHP function. For images it's perfect possible with PHP. Just like you need a whole new class for exporting text to PDF, which causes also a lot of compatibility problems also with the different PHP versions.

Quote:

Originally Posted by esck (Post 1245681)
is it normal, that files get duplicated?

I've just did an import, and after that a file like this appear 1111-file.ext with the exact same size and everything. I would preffer this won't happen

thanks in advance, great mod

No, that's not normal :p

Is each duplicated file listened separately in the "The following files were successfully imported" list after the import?

pxd 05-12-2007 02:15 PM

Well, I chose this mod over the LDM one available, and so far it works nicely, however I am wondering how do I stop users from uploading images to entries that they do not own? And what is the logical purpose of allowing everyone to upload pictures everywhere? I thought ideally the owner of the uploaded file would add a couple of screenshots for others to see but not eveyone to be allowed to upload pictures to his file?

EDIT: Saw your post, RS_Jelle and was wondering whether V6 is there available somewhere. I'd love to have that fix if possible...


All times are GMT. The time now is 01:25 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.04074 seconds
  • Memory Usage 1,989KB
  • 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
  • (4)bbcode_php_printable
  • (29)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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