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)

lane 07-16-2008 05:32 PM

Quote:

Originally Posted by RS_Jelle (Post 1576647)
Add
HTML Code:

<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
inside each form.

Or remove
PHP Code:

define('CSRF_PROTECTION'true); 

from downloads.php, which will remove the CSRF security check. Although I don't recommend that.

Thank you Jelle, worked like a charm!

trynksssj2 07-16-2008 05:45 PM

But I have installed this add-on: https://vborg.vbsupport.ru/showthread.php?t=178327 and all other editors have the smiliebox under the postbox...

Do you know what should I do?

RS_Jelle 07-16-2008 06:22 PM

Quote:

Originally Posted by trynksssj2 (Post 1577057)
But I have installed this add-on: https://vborg.vbsupport.ru/showthread.php?t=178327 and all other editors have the smiliebox under the postbox...

Do you know what should I do?

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

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


trynksssj2 07-16-2008 06:26 PM

Thank you very much!! It worked ;)

maidos 07-17-2008 07:47 AM

wondering, on your new version have you fixed the issue regarding the members that can easily bypass the download restrictions by just flushing their ip? I did follow your instructions for a fix that you provided on the earlier post here however that only made worse and took away half of the members normal download restrictions. Say if daily download is 6 times the regular members can only download 3 or 4 times sometimes nothing at all.

also about the unknown filesize and eta? im not sure if its just me but i think its not since i get the filesize if i download without the download script.

Have you checked my pm regarding the downloads.php that got infected with a trojan?

sorry if i seeem rude but can we possible get the new download version sooner :) if you dont include abes hack. there are mods for that already that webmaster can install

maidos 07-17-2008 10:58 AM

Im also interested how to add external search code on non vb page or vb page outside downloads.php
The code you provided few months ago only work internally.

RS_Jelle 07-17-2008 01:44 PM

Quote:

Originally Posted by maidos (Post 1577631)
Im also interested how to add external search code on non vb page or vb page outside downloads.php
The code you provided few months ago only work internally.

That's not possible because of the CSRF security tokens vBulletin is adding to each post forum. You can't generate those easily outside of the vBulletin framework.

maidos 07-17-2008 06:02 PM

Oh thats too bad. But on future request can you make the download search bar on the same position as vb default search bar. So when user open the collaps bar from advanced search they can be able to search on downloads.php?

Beside about the trojan infection?

RS_Jelle 07-17-2008 06:51 PM

Quote:

Originally Posted by maidos (Post 1577878)
Oh thats too bad. But on future request can you make the download search bar on the same position as vb default search bar. So when user open the collaps bar from advanced search they can be able to search on downloads.php?

Beside about the trojan infection?

The downloads.php file isn't containing a trojan. You can check out its code as it's open, but you can't write a Windows trojan in PHP :p
The AV is reporting the downloads.php file as it's serving the download. The problem is the downloaded file itself of course and I don't know that one. It can be a false positive ... or not ... The files in your downloads section aren't my responsibility :)
You can have the same thing with the vBulletin attachments system.

maidos 07-17-2008 06:54 PM

oh ok but thanks in that case. But yeah couldnt find any trojans scanning kaspersky.

But i hope the next release it will fix the bypass on download restriction by just flyshing the ip and the unknown filesize.. continue with ur great work


All times are GMT. The time now is 11:29 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.04680 seconds
  • Memory Usage 1,747KB
  • 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
  • (2)bbcode_php_printable
  • (4)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