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)

directprint 11-18-2006 05:51 AM

Anyone able to help with this error after going to downloads.php?

Fatal error: Cannot redeclare iif() (previously declared in /Volumes/SOHOraid/forum/includes/functions.php:51) in ./includes/functions.php on line 51

RS_Jelle 11-18-2006 06:25 AM

Quote:

Originally Posted by directprint (Post 1119902)
Anyone able to help with this error after going to downloads.php?

Fatal error: Cannot redeclare iif() (previously declared in /Volumes/SOHOraid/forum/includes/functions.php:51) in ./includes/functions.php on line 51

Strange, that doesn't seem to come from DownloadsII :)

Can you create a new admin account on your site and pm me the info? I think that's caused by another plugin.

The Wedge 11-18-2006 11:23 PM

is there anyway to add a status bar so my users know the status of the upload, like how much they've uploaded and maybe how fast or remaining time.... because IE's status bar just isnt doing the trick, maybe something simple... if i knew php or anything i would create it myself but i don't at the moment, but if anybody has a addon that they added a status bar can you please help me in adding one also?

lmongello 11-19-2006 02:07 AM

Are there any updates or news on the status of fixing the import feature? Thanks! great hack!!

CyberRanger 11-19-2006 02:10 AM

Quote:

Originally Posted by lmongello (Post 1120448)
Are there any updates or news on the status of fixing the import feature? Thanks! great hack!!

I'm not sure what's broken. As far as I know, ver 5.0.4 fixed any problems related to the import feature. What error are you getting?

CyberRanger 11-19-2006 02:11 AM

Quote:

Originally Posted by The Wedge (Post 1120345)
but if anybody has a addon that they added a status bar can you please help me in adding one also?

I'd be interested in that myself! If anyone can help re-write the actual file download code, I'd appreciate the help.:)

mahakala 11-19-2006 09:49 AM

Datenbankfehler (database error) in vBulletin 3.6.3:

Invalid SQL:
SELECT id,name FROM vbb_file_cats ORDER BY `order`;

MySQL-Fehler : Table 'xxxxxxxxxx.vbb_file_cats' doesn't exist
Fehler-Nr. : 1146
Datum : Sunday, November 19th 2006 @ 11:06:42 AM
Skript : http://xxxx.com/cron.php?rand=84464
IP-Adresse : xxxxxxxx
Benutzername : Unregistriert
Klassenname : vb_database

can anybody help or has the same problem?

CyberRanger 11-19-2006 10:27 AM

Quote:

Originally Posted by mahakala (Post 1120662)
Datenbankfehler (database error) in vBulletin 3.6.3:

Invalid SQL:
SELECT id,name FROM vbb_file_cats ORDER BY `order`;

MySQL-Fehler : Table 'xxxxxxxxxx.vbb_file_cats' doesn't exist
Fehler-Nr. : 1146
Datum : Sunday, November 19th 2006 @ 11:06:42 AM
Skript : http://xxxx.com/cron.php?rand=84464
IP-Adresse : xxxxxxxx
Benutzername : Unregistriert
Klassenname : vb_database

can anybody help or has the same problem?

Try re-importing the product file. It looks like the tables weren't created. If this is a new install, I'd suggest doing an uninstall, then re-import product-downloads.xml. If you look at your tables in phpmyadmin is there a table vbb_file_cats?

Psyclones 11-19-2006 04:18 PM

Is there an option to remove the baclinks from this mod,

I mean to purchase the removal or something else.?

RS_Jelle 11-19-2006 04:46 PM

Quote:

Originally Posted by Psyclones (Post 1120876)
Is there an option to remove the baclinks from this mod,

I mean to purchase the removal or something else.?

No (see the license). This is a fork of ecDownloads (which was removed from vB.org) and its license isn't allowing this.

Fatsobob 11-20-2006 09:32 AM

Any more news about some integration with vbux?
Right now I use LDM, but due if you guys were to get an integration with vbux, I would switch to DownloadsII on the spot.

CyberRanger 11-20-2006 06:24 PM

Quote:

Originally Posted by Fatsobob (Post 1121394)
Any more news about some integration with vbux?
Right now I use LDM, but due if you guys were to get an integration with vbux, I would switch to DownloadsII on the spot.

My plan is to write an integration add-on module. The only hurdle is finding the time to do so. But, it's high on my list for December.

Hornstar 11-21-2006 03:04 AM

I have a request, I hope its not too big of a request.

I am wanting to display the latest downloads (exactly like the vbadanced addon) but on a non vb page. I have the page integrated slightly with vb, as it recognizes users, and uses the global.php but I am not sure how to go about getting it to work on a non vb page.

If you could throw something together or give me some advice, that would be great.

Thanks.

CyberRanger 11-21-2006 11:49 AM

1 Attachment(s)
Quote:

Originally Posted by hornstar1337 (Post 1122020)
I have a request, I hope its not too big of a request.

I am wanting to display the latest downloads (exactly like the vbadanced addon) but on a non vb page. I have the page integrated slightly with vb, as it recognizes users, and uses the global.php but I am not sure how to go about getting it to work on a non vb page.

If you could throw something together or give me some advice, that would be great.

Thanks.

Place this in your forums directory. The code will give you an example of what you need to do.

imranbaig 11-21-2006 03:49 PM

Is there a way to add image - Screen shot of a download?? and to control the dimensions from admincp??

CyberRanger 11-21-2006 07:26 PM

Quote:

Originally Posted by imranbaig (Post 1122314)
Is there a way to add image - Screen shot of a download?? and to control the dimensions from admincp??

You can add multiple images to any download. The dimension of the thumbnail is hardcoded to be (I think!) 100px with the height adjusting proportionally. In the next release, I'm going to add that as a variable in the admincp. If you want to manually change the width of the thumbnails now, see this post: https://vborg.vbsupport.ru/showthrea...th#post1104760

Hornstar 11-21-2006 10:23 PM

1 Attachment(s)
Quote:

Originally Posted by CyberRanger (Post 1122220)
Place this in your forums directory. The code will give you an example of what you need to do.

Thanks, that will help alot.

Just a few questions, I have been removing bits of the code, to make it easier when I get ready to port it to the non vb page.

However I noticed the top contributers were not working, so I decided to remove that part, however i'm left with the template around it, but what would the best way to go about removing the template, and incorporating my own design. Because I tried to remove a template part, and the whole page went white with nothing on the page or I removed it and I couldnt see any of the text or info I needed.


I have been trying to remove everything that I will not need, so i'm trying to be left with just the latest files and Most Popular Files and nothing else on the page.

This is as far as I have got, (i'll upload the file as well) http://www.gamerzneeds.net/forums/downloads_tops.php

If you could help me try and remove those last few things, or give me some advice, that would be really good.

Thanks.

imranbaig 11-22-2006 05:44 AM

Quote:

Originally Posted by CyberRanger (Post 1122444)
You can add multiple images to any download. The dimension of the thumbnail is hardcoded to be (I think!) 100px with the height adjusting proportionally. In the next release, I'm going to add that as a variable in the admincp. If you want to manually change the width of the thumbnails now, see this post: https://vborg.vbsupport.ru/showthrea...th#post1104760

Thanks that solved my problem, Downloads II is really awesome.
Keep up the great work!
Cheers

Lionel A. 11-22-2006 06:41 AM

Is this compatible with vB 3.6.3?

Thanks!

RS_Jelle 11-22-2006 07:35 AM

Quote:

Originally Posted by Lionel A. (Post 1122793)
Is this compatible with vB 3.6.3?

Thanks!

Yes, it's compatible with all 3.5.x and 3.6.x vBulletin versions :)

imranbaig 11-22-2006 08:42 AM

Error during Import, trying to import gif files, with full chmod 777 permissions, When enter full absolute path and click import the next page is blank, with nothing in it to import. And then just to try my luck when i click next i get this error.
Quote:

Warning: Invalid argument supplied for foreach() in /admincp/downloadadmin.php on line 337
EDIT: Also is there a way to pre-view MP3 or other files before downloading??
I'm troubling you a lot.
Thanks Regards.

justim123 11-22-2006 09:30 AM

Does this work with zoints seo?

CyberRanger 11-22-2006 11:37 AM

Quote:

Originally Posted by imranbaig (Post 1122839)
Error during Import, trying to import gif files, with full chmod 777 permissions, When enter full absolute path and click import the next page is blank, with nothing in it to import. And then just to try my luck when i click next i get this error.


EDIT: Also is there a way to pre-view MP3 or other files before downloading??
I'm troubling you a lot.
Thanks Regards.

Make sure you have the trailing slash after your absolute path. If that still doesn't work, can you post more details? What is the OS? Is safe mode on?

Sorry - no preview option.

CyberRanger 11-22-2006 11:39 AM

Quote:

Originally Posted by justim123 (Post 1122848)
Does this work with zoints seo?

I'm not really sure what you mean. I haven't really looked at zoints seo. Zoints seo shouldn't break DownloadsII if that's what you mean but I haven't done any testing.

CyberRanger 11-22-2006 11:40 AM

Quote:

Originally Posted by imranbaig (Post 1122780)
Thanks that solved my problem, Downloads II is really awesome.
Keep up the great work!
Cheers

thanks! If you haven't voted yet, we'd appreciate your vote for mod of the month: https://vborg.vbsupport.ru/showthread.php?t=130551 :)

Allan 11-22-2006 04:50 PM

1 Attachment(s)
Great hack, big thank ;)

File attach: French language (.xml and admin file)
Translator: Allan & Biomechanik

imranbaig 11-22-2006 05:28 PM

My vote has already gone to DownloadsII.
Sorry to hear that no preview, I may try to add that myself hopefully.
Yeh server is running in safe mod on.
Operating system Linux
Kernel version 2.6.17.6.dn2.p4
Machine Type i686
Apache version 1.3.36 (Unix)
PERL version 5.8.7
Path to PERL /usr/bin/perl
Installed Perl Modules Click to View
PHP version 4.4.3RC3-dev
MySQL version 4.1.21-standard
I used trailing slash still no effect. Is this because of safe mode?? or something else? I have ec_tmp folder under downloads folder.

EDIT: I have Modified the Download link(with js script) to preview mp3, midi, and other supported formats before download, :) if you wish me to publish this I will:cool:
EDIT I solved the other issue as well, I was trying to bulk import images, hence error, as it wasnt there in main allowed file types, after adding it there it worked nice thanks..

CyberRanger 11-22-2006 07:16 PM

Quote:

Originally Posted by imranbaig (Post 1123126)
EDIT: I have Modified the Download link(with js script) to preview mp3, midi, and other supported formats before download, :) if you wish me to publish this I will:cool:

That would be great. I can look at incorporating it.;)

imranbaig 11-22-2006 07:50 PM

1 Attachment(s)
ait here I go:
1. Upload attached file to clientscript folder of your vb installation.
2. Edit headInclude Template and
add
Code:

<script language="JavaScript" type="text/javascript" src="clientscript/soundpop.js"></script>
3. Goto Style Manager >> Edit your style >> Downloads Templates >> Downloadsfile>>

Find :
Code:

<a href="downloads.php?do=file&amp;id={$file['id']}&amp;act=down" {$target}>
Replace it with:

Code:

<a href="downloads.php?do=file&amp;id={$file['id']}&amp;act=down" {$target} onClick="javascript:PlayerOpen('{$vbphrase['ecdownloads_download']} {$file['name']}',this.href); return false">
Thats it.

You can edit soundpop.js to match your style, make sure you don't add too much it is right now just 1kb, just change colors to match your theme.

I take no credit for this js file as it is not coded by me. I just found a way to implement this, maybe CyberRanger can Implement this better then me.

Lionel A. 11-23-2006 03:39 AM

Quote:

Originally Posted by RS_Jelle (Post 1122816)
Yes, it's compatible with all 3.5.x and 3.6.x vBulletin versions :)

Jelle, would it be possible for me to set it up so that even guests can download the files?

Also, is this compatible with vbSEO?

Thank!

moreilly 11-23-2006 03:57 AM

Quote:

Originally Posted by Lionel A. (Post 1123427)
Jelle, would it be possible for me to set it up so that even guests can download the files?

Also, is this compatible with vbSEO?

Thank!

No, it's not. I am sure it could be, but not at the moment it isn't.

imranbaig 11-23-2006 05:19 AM

Quote:

Originally Posted by moreilly (Post 1123436)
No, it's not. I am sure it could be, but not at the moment it isn't.

You can allow guests to download, from usergroup permissions, make sure you allow only 10-20 files for guests to download with a delay of 20-25 seconds, which will force them to register ;)

imranbaig 11-23-2006 05:39 AM

Is there a way to find out, which file extension from downloadsfile template?? If it is then I can implement this with conditional?? within a template. :)

Hornstar 11-23-2006 10:29 AM

Quote:

Originally Posted by Lionel A. (Post 1123427)
Jelle, would it be possible for me to set it up so that even guests can download the files?

Also, is this compatible with vbSEO?

Yes it is compatible with vbSEO as i am using it on my site with vbseo however it does not make use of all the vbseo benefits, however if you search for downloadsII I have started a thread over at vbseo trying to make it better, and you will find out more there.

Thank!

Quote:

Originally Posted by moreilly (Post 1123436)
No, it's not. I am sure it could be, but not at the moment it isn't.

guests is a yes, and vbseo is a yes, so not sure why you said no.

Quote:

Originally Posted by imranbaig (Post 1123457)
You can allow guests to download, from usergroup permissions, make sure you allow only 10-20 files for guests to download with a delay of 20-25 seconds, which will force them to register ;)

Thats correct. good advice.


Also, for my post here https://vborg.vbsupport.ru/showpost....&postcount=817

I am willing to pay a little bit of money for it as well. because i know your time is valuable.

Thanks.

Lionel A. 11-23-2006 12:29 PM

Just found out that vB 3.6.4 released. Hopefully it'll work with it too... right?

RS_Jelle 11-23-2006 01:39 PM

Quote:

Originally Posted by Lionel A. (Post 1123589)
Just found out that vB 3.6.4 released. Hopefully it'll work with it too... right?

It will work with ALL vB 3.5.x and vB 3.6.x versions, so you don't need to ask it every time ;)

moreilly 11-23-2006 02:06 PM

Quote:

Originally Posted by hornstar1337 (Post 1123532)
guests is a yes, and vbseo is a yes, so not sure why you said no.

My download urls don't reflect vbseo's urls. vBSEO forums also said pretty much what I already stated, http://www.vbseo.com/f55/does-vbulle...-ii-plug-9611/
[EDIT] after doing some searching at vbseo I found some useful links that it can be done, but the user has to do the custom rewrites themselves, which I am not comfortable doing myself. lol![EDIT]

imranbaig 11-23-2006 04:17 PM

Quote:

Originally Posted by moreilly (Post 1123660)
My download urls don't reflect vbseo's urls. vBSEO forums also said pretty much what I already stated, http://www.vbseo.com/f55/does-vbulle...-ii-plug-9611/
[EDIT] after doing some searching at vbseo I found some useful links that it can be done, but the user has to do the custom rewrites themselves, which I am not comfortable doing myself. lol![EDIT]

That MJAdmin is none other then me:D

CyberRanger 11-23-2006 07:15 PM

Quote:

Originally Posted by hornstar1337 (Post 1122544)
I have been trying to remove everything that I will not need, so i'm trying to be left with just the latest files and Most Popular Files and nothing else on the page.

This is as far as I have got, (i'll upload the file as well) http://www.gamerzneeds.net/forums/downloads_tops.php

If you could help me try and remove those last few things, or give me some advice, that would be really good.

Thanks.

I'll take a peek at it tomorrow. Time off with the family right now. :D

Hornstar 11-24-2006 06:49 AM

Quote:

Originally Posted by moreilly (Post 1123660)
My download urls don't reflect vbseo's urls. vBSEO forums also said pretty much what I already stated, http://www.vbseo.com/f55/does-vbulle...-ii-plug-9611/
[EDIT] after doing some searching at vbseo I found some useful links that it can be done, but the user has to do the custom rewrites themselves, which I am not comfortable doing myself. lol![EDIT]

Yeah I had posted another thread over at vbseo as well, which was useful, i never got around to doing any custom code modification, as that got past me a little, but I did do the CRR as that is quite simple, however as there are about 3 people in the last few replys who are using vbseo, maybe we could work together to get the custom code done as that will really help with getting indexed.

Quote:

Originally Posted by CyberRanger (Post 1123877)
I'll take a peek at it tomorrow. Time off with the family right now. :D

Thanks


All times are GMT. The time now is 07:06 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.04830 seconds
  • Memory Usage 1,857KB
  • 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_code_printable
  • (28)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