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)

Stifmeister2 12-31-2007 06:45 PM

It's the basic MEMBERINFO template that every vBulletin has by default.

Jase2 12-31-2007 07:05 PM

I'm on step 3 but I don't get it. I've uploaded all files ect.. But there is no downloads directory on my web server, and in the upload folder you have download, and then a document. Please could you explain further to me.

Regards Jason :)

RS_Jelle 12-31-2007 07:11 PM

Quote:

Originally Posted by Humayun1 (Post 1412500)
Hello i have downloaded and installed this mod and is working perfect. Am also getting a good response by my members because of such a nice tool added to forum. I am having a little problem while integrating google adsense in my software download section. I have selected to show ads after the first post in the thread but when i do a post (post the description and link of software) in the download section then no ads are displayed there after my post.

Can you please tell me how can i display ads after every first post in the download mod.

Thanks

DownloadsII comments hasn't got anything to do with forum posts and the DownloadsII code isn't listening to such a first post setting from another mod we don't know :p

DownloadsII is fully templated, so you can add Google AdSense code pretty easily. The comment bit template is downloads_file_comment. At the end of the template code of downloads_file_comment, you can add for example:
HTML Code:

<if condition="$comment['id'] == 1">
Your AdSense code here
</if>

so it will display your AdSense code after the first comment.

Quote:

Originally Posted by RedBird (Post 1412540)
Thank you bro working 100% With vb 3.6.5

Nice to hear, but I suggest you to upgrade to vB 3.6.8 PL2 for security reasons :)

Quote:

Originally Posted by Jase2 (Post 1412806)
I'm on step 3 but I don't get it. I've uploaded all files ect.. But there is no downloads directory on my web server, and in the upload folder you have download, and then a document. Please could you explain further to me.

Regards Jason :)

In the first step you uploaded the content of the upload folder (not the folder itself) to your vBulletin forums directory.

So downloads.php is uploaded to the same folder where you can find index.php, forumdisplay.php, showthread.php and the other vBulletin root files. The upload folder also contais a downloads folder (with an index.html in it), so after uploading all the content the downloads folder is standing next to for example the vBulletin includes folder on your FTP.

Step 3: You just give that downloads folder a chmod to 777 permissions (right click on it in your FTP program, choose for chmod, "file permissions", "file properties", or something like that and give the folder the 777 permissions).

Jase2 12-31-2007 07:44 PM

I've done it all, but I'm getting a white page when I type the url with downloads on the end.

Regards Jason :)

RS_Jelle 12-31-2007 09:01 PM

Quote:

Originally Posted by Jase2 (Post 1412816)
I've done it all, but I'm getting a white page when I type the url with downloads on the end.

Regards Jason :)

You can't access the downloads folder, you need to access downloads.php in your browser :)

Like for example http://www.yoursite.com/forums/downloads.php (if you have vBulletin installed in a directory called forums)

Btw: click install to receive future update notifications.

Snookieboy 01-01-2008 02:53 AM

I just installed a fresh copy on a vb 3.6.8 forum and have a couple of questions.

When I go to download.php it shows at the bottom:
Downloads: 4294967295

Which is a bit impossible for a freshly installed mod.

Secondly, when important a file from a link it needs to know the size in bytes, whats the reason for this? Does it go and fetch the file and add it so it needs the size, or does it just link it, and the size is for user reference on the board?

Many thanks for a great mod :)

Jase2 01-01-2008 06:04 PM

Quote:

Originally Posted by RS_Jelle (Post 1412862)

Like for example http://www.yoursite.com/forums/downloads.php (if you have vBulletin installed in a directory called forums)

Iv done that but im getting the 500 Internal Server error.

The file is there FACT.

So i dont know why its not coming up with anything.
http://www.thecomputerforumz.com/vbtest/downloads.php

ZatroX 01-01-2008 06:48 PM

RS_Jelle

thank you for responsce, i went into ftp replaces file and when i tried uploading new product selecting overight i got this error message

---------

A conflict was detected in the bitfields. You cannot continue with the installation of this product until this has been fixed. The conflicts found were:

* Bitfield Collision: prefixrequired = credits_cantearn
-----------------------

was wondering hwo i could fix this...

Forum Lover 01-01-2008 07:21 PM

is it working with 3.7 beta 3?

RS_Jelle 01-02-2008 07:13 AM

Quote:

Originally Posted by Snookieboy (Post 1412984)
I just installed a fresh copy on a vb 3.6.8 forum and have a couple of questions.

When I go to download.php it shows at the bottom:
Downloads: 4294967295

Which is a bit impossible for a freshly installed mod.

Secondly, when important a file from a link it needs to know the size in bytes, whats the reason for this? Does it go and fetch the file and add it so it needs the size, or does it just link it, and the size is for user reference on the board?

Many thanks for a great mod :)

  1. That's pretty strange, never heard of such a bug before :p
    Go to the dl_main table using phpMyAdmin and set the downloads field to 0 :)
    or run this query:
    [SQL]UPDATE dl_main SET `downloads`= 0[/SQL]
  2. You can leave the size field empty if you want. It's only for user reference (DownloadsII will display "file size: unknown" if it's empty).
    If you upload files, it's filled in for you automatically of course.

Quote:

Originally Posted by Jase2 (Post 1413295)
Iv done that but im getting the 500 Internal Server error.

The file is there FACT.

So i dont know why its not coming up with anything.
http://www.thecomputerforumz.com/vbtest/downloads.php

That's a problem with your server, not a DownloadsII problem.
Try reuploading and overwriting all the php, xml, ... files of DownloadsII on your FTP. Also reimport the XML (with the overwrite option on).

Quote:

Originally Posted by ZatroX (Post 1413330)
RS_Jelle

thank you for responsce, i went into ftp replaces file and when i tried uploading new product selecting overight i got this error message

---------


A conflict was detected in the bitfields. You cannot continue with the installation of this product until this has been fixed. The conflicts found were:

* Bitfield Collision: prefixrequired = credits_cantearn
-----------------------

was wondering hwo i could fix this...

There are some other people having this problem also (link, link 2, ...). This is a problem with your credits addon, not with DownloadsII. You need to uninstall the credits addon and remove all files of it from your FTP.

Quote:

Originally Posted by Forum Lover (Post 1413348)
is it working with 3.7 beta 3?

Yes, except for the optional memberinfo template edits as the 3.7 member page has been revamped completely :)


All times are GMT. The time now is 05:00 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.04520 seconds
  • Memory Usage 1,758KB
  • 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
  • (1)bbcode_html_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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