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

BluPhoenix 05-15-2005 04:56 PM

Quote:

Originally Posted by MrLovellz
Check his sig, he has version 1.0 & 1.1 in there w/ screenshots

True, but he says "Better Templates" in the info, so those old screens don't reflect the new version ;)

Getox 05-16-2005 11:31 PM

Fine fine, while i got time ill upload screens ;)

There ya go, screens uploaded

Getox 05-17-2005 12:03 AM

<font size="7">Beta 2 Released!.</font>

mikaelweb 05-17-2005 06:59 AM

Parse error: parse error, unexpected T_VARIABLE in /home/codersla/public_html/forum/admincp/vbdinstall.php on line 350
PHP Code:

print_textarea_row("FIND",'find1',"construct_nav_group("$vbphrase[styles] &amp$vbphrase[templates]", '<hr />');"); 


we_are_borg 05-17-2005 12:12 PM

Quote:

Originally Posted by mikaelweb
Parse error: parse error, unexpected T_VARIABLE in /home/codersla/public_html/forum/admincp/vbdinstall.php on line 350
PHP Code:

print_textarea_row("FIND",'find1',"construct_nav_group("$vbphrase[styles] &amp$vbphrase[templates]", '<hr />');"); 


I'm Getting the same error.

Marco van Herwaarden 05-17-2005 12:19 PM

PHP Code:

print_textarea_row("FIND",'find1',"construct_nav_group("$vbphrase[styles] &amp$vbphrase[templates]", '<hr />');"); 

Try changing to:
PHP Code:

print_textarea_row("FIND",'find1',construct_nav_group("$vbphrase[styles] &amp; $vbphrase[templates]"'<hr />');"); 


Getox 05-17-2005 06:27 PM

Here, try this one.

we_are_borg 05-20-2005 09:54 AM

Quote:

Originally Posted by Getox
Here, try this one.

This is the error i'm getting with the new installer.

Quote:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/fiberwor/public_html/forum/admincp/vbdinstall.php on line 362

Getox 05-20-2005 03:54 PM

Try this one ;)

Oh by the way, User uploads is jsut about done, just need to make the part where you (admin) says Yes/No for it to be shown, and then where mods can do that, and then the settings where you set moderate uploads, who can & cant upload...If you want me to release the latest code just say so, ill make the new installer, Test it on a proper server with a fresh install of vb and upload it ;)

mikaelweb 05-20-2005 04:31 PM

Code:

Parse error: parse error, unexpected T_STRING in /home/codersla/public_html/forum/admincp/vbdinstall.php on line 362
Still problem whit this install file

Getox 07-16-2005 11:28 AM

Anyone want me to make the rest of this and release it?

yoyoyoyo 07-16-2005 11:45 AM

Quote:

Originally Posted by Getox
Anyone want me to make the rest of this and release it?

I am interested in seeing the finalized hack :D

yahoooh 07-17-2005 01:27 AM

and me too

Bernd 07-17-2005 02:36 PM

would like to see an optional thumbnail upload + user permissions integration + what's already been worked on, users upload + leech protection (possibly same as vbulletin when storing downloads outside of web directory)

Getox 07-18-2005 12:20 AM

Ok, ill get working on the rest of it soon.

DS MrSinister 07-18-2005 01:01 AM

I would love to see more. :D

Xtremist 07-21-2005 01:08 PM

Problem

Ive uploaded all the files to my forum dir and when i go to http://www.mysite.com/forum/admincp/vbdinstall.php

i get this error when going to the install file

Code:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/ross/public_html/forum/admincp/vbdinstall.php on line 362
any ideas?

as this mod will really come in handy for my site and it erros me when installing brilliant start hey

KayVoo 08-13-2005 08:22 PM

just replace line 362 with this

PHP Code:

print_textarea_row("FIND",'find2',print_yes_no_row(construct_phrase($vbphrase['viewable_on_showgroups'], $session['sessionurl']), $usergroup['showgroup'], $ug_bitfield['showgroup'])); 

KayVoo

alruwadnet 09-16-2005 02:08 PM

hi all i have this problem :o every thing is on i installed teh hack and all but when i try to upload a file it does not get uploaded :tired: i created the dir and gave it the right chom per ???? but its not working :disappointed:
plz guy i need all the help i can get :nervous:

Gio~Logist 09-16-2005 09:05 PM

Can users upload files here?

alruwadnet 09-17-2005 02:05 PM

If you are replying me no they can?t not even me am I :(

Robru 09-17-2005 04:21 PM

Where I set this code in admincp/usergroup.php:
Code:

if($usergroupid == "") {
} else {
$candl = $DB_site->query_first("SELECT * FROM " . TABLE_PREFIX . "usergroup WHERE  usergroupid=$_REQUEST[usergroupid]");

}
print_yes_no_row("Can Download", 'usergroup[candl]', $candl['candl']);

The FIND box is empty!


All times are GMT. The time now is 04:45 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.01252 seconds
  • Memory Usage 1,795KB
  • 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
  • (9)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (32)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete