vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=34)
-   -   vBDownload Area 1.2 Beta (https://vborg.vbsupport.ru/showthread.php?t=81510)

Getox 05-14-2005 10:00 PM

vBDownload Area 1.2 Beta
 
vBDownload Area v1.2 Beta 2 YAY! :D

As of May 7th Beta 2 is released.

If you spot any bugs please tell me via PM..

Some features:
- Sponsor link
- Posted by
- Last download
- Licence agreement
- Subcategories
- Better Templates
- File Licence Agreement 100%
- Sponsor link 100%
- Hide File 100%
- If download is a link a note will be shown
- Send to friend

Fixed:
- The things MarcoH64 pointed out, Thanks ;)

User uploads is being worked on.

may be spelling errors in one for more templates, thats ok ill be fixing those ;)

1.2 Beta 3 Status:
-User Uploads: 50% (having trouble with the file upload part)

Eagle Creek 05-15-2005 10:29 AM

I'll hop into the thread!

Are there any screens already?

Thx for PB

ange 05-15-2005 10:46 AM

thx i test

Marco van Herwaarden 05-15-2005 10:55 AM

Hi Getox, thank you for sharing this.

I did a quick look through your code, and noticed the following (just trying to help remove any bugs):

In downloads.php:
- Before the global.php add the following lines to prevent people running PHP5 from getting errors:
PHP Code:

$phrasegroups = array();
$specialtemplates = array(); 

- If a user is member of more then 1 Usergroup and their first group don't have permission, but the second have, the following would still deny them access (not tested, just by a quick look at the code, i could be wrong ;)):
Edit: On second thought, it only seems to be checking on Primary Usergroup
PHP Code:

    $perm $DB_site->query("SELECT * FROM " TABLE_PREFIX "usergroup WHERE usergroupid='$bbuserinfo[usergroupid]' AND candl='0'");
    while (
$candl $DB_site->fetch_array($perm))
    {
    
print_no_permission();
    } 

- On most places you are using addslashes, nice. On the following line you however don't use addslashes or force it to an intval:
PHP Code:

$files $DB_site->query("SELECT * FROM " TABLE_PREFIX "dl_files WHERE id='$_GET[fileid]'"); 

- In the install file there are places where you don't use table_prefix. Example:
PHP Code:

$DB_site->query("DELETE FROM template WHERE title like LCASE('lite%')"); 

Just my 2 cents worth.

Getox 05-15-2005 11:01 AM

Thanks for that, ill be fixing that in next release.

PcCopat 05-15-2005 11:49 AM

I wait for the next release :)

Getox 05-15-2005 11:52 AM

Quote:

Originally Posted by PcCopat
I wait for the next release :)

not for a while..im kinda busy these days

Allan 05-15-2005 03:14 PM

Hey Getox, screenshots please :)

WEForums 05-15-2005 03:44 PM

What exactly is this? Screens? Don't want to install to see...

MrLovellz 05-15-2005 04:06 PM

Check his sig, he has version 1.0 & 1.1 in there w/ screenshots


All times are GMT. The time now is 12:21 AM.

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.01105 seconds
  • Memory Usage 1,738KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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