View Full Version : vBDownload Area 1.2 Beta
Getox
05-14-2005, 10:00 PM
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
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:
$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
$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:
$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:
$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
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
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
print_textarea_row("FIND",'find1',"construct_nav_group("$vbphrase[styles] & $vbphrase[templates]", '<hr />');");
we_are_borg
05-17-2005, 12:12 PM
Parse error: parse error, unexpected T_VARIABLE in /home/codersla/public_html/forum/admincp/vbdinstall.php on line 350
print_textarea_row("FIND",'find1',"construct_nav_group("$vbphrase[styles] & $vbphrase[templates]", '<hr />');");
I'm Getting the same error.
Marco van Herwaarden
05-17-2005, 12:19 PM
print_textarea_row("FIND",'find1',"construct_nav_group("$vbphrase[styles] & $vbphrase[templates]", '<hr />');");
Try changing to:
print_textarea_row("FIND",'find1',construct_nav_group("$vbphrase[styles] & $vbphrase[templates]", '<hr />');");
Getox
05-17-2005, 06:27 PM
Here, try this one.
we_are_borg
05-20-2005, 09:54 AM
Here, try this one.
This is the error i'm getting with the new installer.
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
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
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
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
print_textarea_row("FIND",'find2',print_yes_no_row(construct_phrase($vbphra se['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:
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!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.