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)

RS_Jelle 08-06-2008 06:45 PM

Quote:

Originally Posted by blazinthu (Post 1592855)
I ended up changing post_max_size and upload_max_filesize in my php.ini to like 30MB each which worked do you recomend this or should I make the edit to the PHP instead??

If that works, it's enough. I just gave a lot of options as each server has different default settings, so there may be various causes :)

RedPoint 08-07-2008 10:14 AM

Hallo,

i become this error when i see *Whosonline* and my user or a SE bot see the downloads:
Quote:

Parse error: syntax error, unexpected '&' in /srv/www/vhosts/mydomain.com/httpdocs/forum/includes/functions_online.php(1167) : eval()'d code on line 4
In the line 1167 is this:
Quote:

($hook = vBulletinHook::fetch_hook('online_location_unknown ')) ? eval($hook) : false;
What can i do to fix that bug?

Regards

RS_Jelle 08-07-2008 10:27 AM

There's no '&' in the PHP code of our online_location_unknown plugin. It's probably caused by another mod.

Code:

                <plugin active="1">
                        <title>downloads_location_unknown</title>
                        <hookname>online_location_unknown</hookname>
                        <phpcode><![CDATA[if ($userinfo['activity'] == 'downloads')
{
        $userinfo['where'] = '<a href="downloads.php?'.$vbulletin->session->vars[sessionurl].'">'.$vbulletin->options[bbtitle].' Downloading Files</a>';
        $userinfo['action'] = 'downloads';
        $handled = true;
}]]></phpcode>
                </plugin>

If DownloadsII would be the only mod you used with such a online_location_unknown plugin, then this line should be wrong:
PHP Code:

$userinfo['action'] = 'downloads'

Which seems ok to me, no '&' :)

RedPoint 08-07-2008 04:33 PM

Hi,

its crazy, vbulletin send me to template creator, template creator send me to this mod and you send me to ...mod, im very angry for this.
I have just 3 mods/addons installed and one is the DownloadsII, thats make me crazy, when a user or SE boot is in the Downloadarea an see a download, i become this error in whosonline.

I check all my mods again :-(

Regards

Jase2 08-07-2008 04:39 PM

Quote:

Originally Posted by lane (Post 1584308)
You guys are quite demanding. You need to keep in mind this is a free MOD, you did not pay for it, so you should not be expecting anything.

When Jelle and his team finish up v6 they will let us know. The more you rag on them about it and complain the less they will feel like working on it.

Trying just saying "Thank you" for once.

I was only asking, not demanding -- they're two different meanings. ;)

RS_Jelle 08-07-2008 04:51 PM

Quote:

Originally Posted by RedPoint (Post 1593535)
Hi,

its crazy, vbulletin send me to template creator, template creator send me to this mod and you send me to ...mod, im very angry for this.
I have just 3 mods/addons installed and one is the DownloadsII, thats make me crazy, when a user or SE boot is in the Downloadarea an see a download, i become this error in whosonline.

I check all my mods again :-(

Regards

If you pm me your forum URL and a (temporary) AdminCP user account, I will check it out and try to fix it :)
But still, I can't believe DownloadsII is causing it :D

Quote:

Originally Posted by Jase2 (Post 1593541)
I was only asking, not demanding -- they're two different meanings. ;)

It's coming soon as most of the bugs are fixed now. Beta testing is still open.

RedPoint 08-07-2008 05:45 PM

In whosonline i can this link see: downloads.php?do=file&id=20
...and have an & in link

This error i can see in the standard template to

I send you an adminacces via PM - thanks for help

Daky 08-08-2008 12:33 AM

i am not sure what happened but since 2-3 days ago i started having problems when uploading a new file, this is a error:

Quote:

Fatal error:

* No Users Matched Your Query
* You did not specify a username for your post.

Unable to proceed with save while $errors array is not empty in class vB_DataManager_Thread_FirstPost in [path]/includes/class_dm.php on line 810
#0 vb_error_handler(256,

* No Users Matched Your Query
* You did not specify a username for your post.

do you know what is going on?

tnx

hugh_ 08-08-2008 01:02 AM

Quote:

Originally Posted by RS_Jelle (Post 1587058)
With the new version coming soon, I'm opening beta testing. If you want to test the new version, please send me a pm :)

You need a test forum (vB 3.7) for it as it's not meant for live sites yet (although it should be pretty stable). I'm mostly interested in how the upgrade from v5 to v6 goes. Running a copy of your normal downloads section on your test site would be great, so you can test with lots of files.

I'm looking forward to the new version, thanks again for this great modification!

Hugh

RS_Jelle 08-08-2008 05:55 AM

Quote:

Originally Posted by Daky (Post 1593795)
i am not sure what happened but since 2-3 days ago i started having problems when uploading a new file, this is a error:




do you know what is going on?

tnx

That's a problem with the DownloadsII Create New Thread Add-On ;)

ManX72 08-09-2008 11:49 PM

After spend a few hrs with this,im having a few issues with this,
heres were im at now:
http://www.conflict-2142.com/ (top left)

what am i missing?

RS_Jelle 08-10-2008 11:20 AM

The link you have put there is wrong. Your downloads section is located at http://www.conflict-2142.com/forums/downloads.php

http://www.conflict-2142.com/forums/...ads/index.html is just a plain white page to keep the downloads folder unlistable, necessary for some servers. That folder is only for storing the uploaded files, you don't need to link to it in any ways.

Daky 08-10-2008 11:48 PM

Quote:

Originally Posted by RS_Jelle (Post 1593870)
That's a problem with the DownloadsII Create New Thread Add-On ;)


can u help me with this problem or should i post a question there?
tnx

mehrdad220 08-11-2008 03:46 PM

is there any way to add a CMPS latest added block which shows the latest added file from a specific category only??

Daky 08-12-2008 01:01 PM

Quote:

Originally Posted by Daky (Post 1595850)
can u help me with this problem or should i post a question there?
tnx

solved,... tnx!!!!!!!!!!!

RS_Jelle 08-13-2008 12:17 PM

Quote:

Originally Posted by mehrdad220 (Post 1596317)
is there any way to add a CMPS latest added block which shows the latest added file from a specific category only??

No, that's not possible at the moment. Only the latest files of alle categories can be displayed. Although it's easy to make.

Module dl2categorylatest.php PHP code (change the $categoryid):
PHP Code:

require_once('./includes/class_downloads.php');
$dl = new vB_Downloads();

$categoryid 5// Set this yourself

$statslatestfiles_q $db->query_read("SELECT name, id FROM " TABLE_PREFIX "dl_files WHERE `purgatory`= 0 AND category = $categoryid ORDER BY `date` DESC LIMIT " $dl->statslatestfiles);

while (
$latest $db->fetch_array($statslatestfiles_q))
{
    
$name htmlspecialchars_uni($latest['name']);
    
$id $latest['id'];
    
$url $vbulletin->options['bburl'] . '/downloads.php?' $vbulletin->session->vars['sessionurl'] . "do=file&amp;id=$id";

    if (
$id 0)
    {
        eval(
'$dpanel_latest_bits .= "' fetch_template('downloads_panel_bit') . '";');
    }
}

$db->free_result($statslatestfiles_q);

eval(
'$home[$mods[\'modid\']][\'content\'] .= "' fetch_template('adv_portal_dl2categorylatest') . '";'); 

adv_portal_dl2categorylatest template:
HTML Code:

<tr>
        <td class="thead">Latest Files</td>
</tr>
<tr>
        <td class="alt1">
                <table cellpadding="2" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
                $dpanel_latest_bits
                </table>
        </td>
</tr>

(Installation goes the same as the default vBa CMPS add-on, except the above changes.

Saint_ago 08-13-2008 02:36 PM

My host use 4 servers in the forum structure:

1 DB server
1 File server
2 Web servers with load balance

When we use this config, the large downloads stops at 25% or less, and never completes correctly. When we switch to a single web server, the error doesn't occurs or occurs less often. What i can do to use this hack with a load balance config?

And when (or if) a download manager support will be implemented?

Thanks in advance

JohnChapman 08-15-2008 05:59 PM

When I try to upload a file, I get the following error:
Warning: move_uploaded_file(./downloads/26325-ReportWritersSurvivalGuide.pdf): failed to open stream: Permission denied in [path]\downloads.php on line 1302

Warning: move_uploaded_file(): Unable to move 'C:\PHP\uploadtemp\php10E7.tmp' to './downloads/26325-ReportWritersSurvivalGuide.pdf' in [path]\downloads.php on line 1302

Should I be contacting my site host, or checking my setup/security settings?

drpeppper 08-15-2008 08:11 PM

hi, ive tried endlessly to arrange the thumbs to be inline.
having them vertical wastes an awful lot of space. is there a way i can have them side by side?

[_] [_] [_] [_]

thanks you

se_p800 08-16-2008 01:06 PM

This may sound a little strange, but I have installed this mod and its great! But how would I add another downloads section? Example I currently have www.example.ex/forums/downloads.php but I want another one at maybe example.ex/forums/downloads2.php with completely different files.

Is there any way to do this?

puredarkness 08-19-2008 10:54 PM

Can anyone please help

Over the last couple of days I Have been getting this error

Warning: copy(./downloads//ec_tmp/allthesmallthingsblink.rar) [function.copy]: failed to open stream: Permission denied in [path]/downloads.php on line 702
ERROR: File not found.

Every time I go to upload or download It was working fine but now its just stoped working can anybody help me fix this.

Thanks

Goomzee 08-20-2008 06:27 AM

when i add any files in downloads section it;s show me below errors,where as i already security token

Quote:

Your submission could not be processed because a security token was missing.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.

iBaker 08-20-2008 08:41 AM

Hi
I was wanting to replace the text navigation links with images but can't get the syntax right.

The code in downloads.php where the menu is created is:

Code:

$dlinks = '<a href="./downloads.php?">'.$vbphrase['ecdownloads_main'].'</a> | <a href="./downloads.php?do=tree">'.$vbphrase['ecdownloads_category_tree'].'</a> | <a href="./downloads.php?do=stats">'.$vbphrase['ecdownloads_stats'].'</a> | <a href="./downloads.php?do=search">'.$vbphrase['ecdownloads_search'].'</a>';

The image code for example that I want to replace the vbphrase ecdownloads_main with is $stylevar[imgdir_button]/main.gif

Can anyone help - thanks!

drpeppper 08-20-2008 03:45 PM

Quote:

Originally Posted by puredarkness (Post 1602655)
Can anyone please help

Over the last couple of days I Have been getting this error

Warning: copy(./downloads//ec_tmp/allthesmallthingsblink.rar) [function.copy]: failed to open stream: Permission denied in [path]/downloads.php on line 702
ERROR: File not found.

Every time I go to upload or download It was working fine but now its just stoped working can anybody help me fix this.

Thanks

make sure ec_tmp is chmod'ed correctly

yahoooh 08-21-2008 11:39 AM

still wait the update !

se_p800 08-22-2008 12:14 PM

Can anyone tell me how I can make it so the download button links directly to the file? IE instead of: url.com/forums/downloads.php?do=file&id=790&act=down its: url.com/downloads/file.rar ? This is urgent and will be very grateful if anyone can sort this for me!

bardas 08-23-2008 03:31 PM

downloads II

Zoint downloads II Seo I can do ?

If you help ,I am pleased

Krumbz 08-24-2008 10:18 PM

<a href="http://www.minatica.be/downloads.php" target="_blank">http://www.minatica.be/downloads.php</a> the icons are on the left of the category. How is this done? I have been looking through all the templates.

bollie 08-25-2008 11:29 AM

1 Attachment(s)
Quote:

Originally Posted by Krumbz (Post 1606115)
http://www.minatica.be/downloads.php the icons are on the left of the category. How is this done? I have been looking through all the templates.

Look

Ray2khax 08-25-2008 01:39 PM

Quick Problem I had while going to it on my forums it says an error that I don't have the permission to view that page whats up with that?

Krumbz 08-25-2008 01:57 PM

1 Attachment(s)
Bollie, I know how to get the image there.. But the image shows under the Category Title. Not on the left of it. Look at the mods screen shot.

eLkRi 08-25-2008 02:31 PM

Is possible to add custom fields in the downloads?

the same download can belong to two different categories?

thanks!!

sadiq6210 08-28-2008 10:01 PM

RS_Jelle

Is there a new version for vb3.7 ?
I didn't upgrade the forum yet becuase i am watting the new version of this product

So, could you give us a date?

Thanks

ezurick 08-29-2008 10:45 AM

Quote:

Originally Posted by sadiq6210 (Post 1609409)
RS_Jelle

Is there a new version for vb3.7 ?
I didn't upgrade the forum yet becuase i am watting the new version of this product

So, could you give us a date?

Thanks

Can you people take this to the 3.7 Mod area... this is 3.6 and some of us refuse to upgrade...

ncangler 09-03-2008 11:25 PM

I am running vb 3.7.2 and have DownloadsII 5.0.8. When trying to upload a new .pdf document I get the message: Fields marked in RED must be filled in!

But there are no fields marked in RED. Any ideas how I can upload this document without getting this message? Thanks.

Drakah 09-05-2008 09:45 PM

Is there a way that there can be an additional field(s) where I can add a "Version Number", as well as a "Date Modified" instead of the original date the download initial post was created? Some users think the files are old because they are seeing the date the download post was first created.

katie hunter 09-05-2008 10:39 PM

Hi Jelle =] Nice mod but is it possible to make your modification compatible with GTSmiliebox - Move Smilies Below Editor

https://vborg.vbsupport.ru/showthrea...hlight=smilies

Because now it looks funny when viewing each file , it stretches the message box in a funny way.

MissKalunji 09-05-2008 11:04 PM

Quote:

Originally Posted by Lionel (Post 1173277)
easy. In includes/class_downloads.php look for

PHP Code:

function update_latest_files() 

To grab URL, replace the $statslatestfiles_q with this

PHP Code:

$statslatestfiles_q $db->query_read("SELECT name, id, url FROM " TABLE_PREFIX "dl_files WHERE `purgatory`='0' ORDER BY `date` DESC LIMIT ".$this->statslatestfiles.""); 

and right below, in the while loop, add (please note I only get the first name of the extension as in my case they are unique. Like f for flv, m for mp3, p for pdf. If yours are not unique, like mp3 or mov both start with "m" then you need the substring method to get full extension name)

PHP Code:

$fname=$latest['url'];
$ficon=$fname{strlen($fname)-3};
    if (
$ficon=='f'){$icon="<img src=\"/forums/images/icons/icon_video.gif\" alt=\"video\">";}else if ($ficon=='m'){$icon="<img src=\"/forums/images/music.png\" alt=\"mp3\">";}else{$icon="";} 

do the similar for the function function update_popular_files()
SELECT `id`,`name`,`downloads`,`url`

then add $icon in template

I did some more nifty tricks with downloads, like allowing people to pick and choose songs to add to a playlist (icon changes to "remove" if they were added, then play all of them.

That's nice

RS_Jelle 09-06-2008 07:38 AM

Quote:

Originally Posted by katie hunter (Post 1615480)
Hi Jelle =] Nice mod but is it possible to make your modification compatible with GTSmiliebox - Move Smilies Below Editor

https://vborg.vbsupport.ru/showthrea...hlight=smilies

Because now it looks funny when viewing each file , it stretches the message box in a funny way.

Try putting this line in your downloads.php (after the other defines):
PHP Code:

define('GET_EDIT_TEMPLATES''add,edit,file'); 


katie hunter 09-06-2008 10:01 AM

Thanks for the fast reply <333 It is fixed now


All times are GMT. The time now is 01:05 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.07053 seconds
  • Memory Usage 1,873KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_html_printable
  • (6)bbcode_php_printable
  • (18)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