Page 1 of 63

[DEV] Pafiledb [DOWNLOAD MOD] 0.0.9d

Posted: Thu Nov 21, 2002 1:37 pm
by Mohd
Release Version 0.0.9d

Code: Select all

############################################################## 
## MOD Title: pafiledb integration
## MOD Version: 0.0.9d
## MOD Author: Mohd < mohdalbasri@yahoo.com > (Mohammed Al-Basri) www.mohd.tk 
##	       MJ < mj@phpbbfm.net > www.phpbbfm.net
## MOD Description: Integration of pafiledb (Database download manager) with phpbb.
##                  pafiledb use header, footer, session, template, and database system
##		    of phpbb.
##			
## 
## Installation Level: (easy) 
## Installation Time: 10 Minutes 
## Files To Edit (9) : admin/index.php,
##		       admin/admin_db_utilities.php
##                     includes/constants.php
##		       includes/page_header.php, 
##		       includes/page_tail.php,
##                     language/lang_english/lang_main.php,
##                     templates/subSilver/admin/page_header.tpl,
##                     templates/subSilver/overall_header.tpl,
##		       templates/subSilver/overall_footer.tpl
##
## Included Files:     dload.php,
##		       admin/admin_backupdb.php,
##		       admin/admin_category.php,
##		       admin/admin_custom.php,
##		       admin/admin_file.php,
##		       admin/admin_license.php,
##		       admin/admin_restoredb.php,
##		       admin/admin_settings.php,
##		       images/pafiledb_icons/*.*
##		       language/lang_english/lang_pafiledb.php
##		       pafiledb/*.* ( which I included in mod/ directory ),
##		       templates/subSilver/pa_*.tpl ( 12 )
##		       templates/subSilver/admin/pa_*.tpl ( 16 )
##		       templates/subSilver/images/icon_mini_download.gif
############################################################## 
############################################################## 
## For Security Purposes, Please Check: http://www.phpbb.com/mods/downloads/ for the 
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code 
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered 
## in our MOD-Database, located at: http://www.phpbb.com/mods/downloads/ 
############################################################## 
############################################################## 
## Author Note: 
## follow all the instruction below first then upload and run from your browser, 
## paFileDB_installer.php and if you have the table already installed, 
## you won't need to change anything in them except that you won't need the admin table 
## since you are going to use ACP. 
##
##	
##
## Change History:
##	0.0.7 : Added/Fixed:
##		- Fixing bug with screen shot upload.
##		- Fixing bug with templates in ACP.
##		- Removing Variable $str found in search.php.
##		- Changing directory for images and icons.
##		- Changing all url and action to append_sid.
##
##
##	0.0.6 : Added/Fixed:
##		- Backupdb & restore to phpBB forum backup style
##		- Changing tables to phpbb style
##		- Show screenshots as image instead of link. 
##		  (you may choose now either links or image).
##		- Long Description - Multiple line text area.
##		- Replacing pafiledb language with phpbb.
##		- Unlimited subCategories.
##		- Added Upload Screenshot feature 
##		- Added Disable "View All" link
##		- Added Disable Database feature
##		- comment feature (only registered users can post)
##		- Email is using phpBB class emailer.
##		- New File indicator you can now set the 
##		  number of day to show that the file is new
##		- Added toplist file 
##		  (you can now specify number of file that in toplist.
##		- removing the following bugs:
##			* Replaced pafiledb Time Zone with phpbb.
##			* Replaced pafiledb Language with phpbb.
##			* Email fields can be left blank, but confirmation of email sent is returned. 
##			* Custom Field data not reading from db
##			* Time on posted comment
##			* Edit file (ACP), sub-cats & files not showing
##			* Backup Database screwed
##			* removing some un needed row from setting table like language and style.
##			* fixing the problem of jumpmenu fix in pafiledb.php file because file send the $str instead of $lang
##			* 'Comment Explain' text missing
##			* Title on posted comment
##			* max_comment_chars field in _settings table missing
##			* Javascript error when posting or previewing comment
##			* Email not actually sending to address ??? (Not for me anyway!)
##			* Time on file page
##
##	0.0.5 : - Re-packing of all working files
##     	 	- Changes to paFileDB_installer.php
##
## 	0.0.4 : Fixed:
## 		- {dbname} showing in the email instead of the variable that should replace it.
## 		- Uploaded file not returning full URL.
## 		- Replacing pafiledb Time Zone with phpbb.
## 		- Email fields can be left blank, but confirmation of email sent is returned 
## 		- sort for viewall is now fixed.. (sort according to rating not yet due to php version) 
## 		- Custom Field data not reading from db		
## 		- Add the support for view online when some one in download page.
##
##	0.0.3 : - fix the editing file bug in ACP
##		- fix the the file in sub category bug.
##		- fix the uploading file url bug when uploading
##		- changing message after rating or e-mail sending
##		- making copywrite with phpbb copywrite only if you are in download database
##
##	0.0.2 : All templates made to fit phpBB default, clean up of code. 
##
## 	0.0.1 : First release, I need just to modify the *.tpl file in admin 
## 		section.
## 
## 
## 
## 
##############################################################  
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
############################################################## 
temp url :http://217.148.161.219/~vraag-en/mohd/main/index.php

Demo: Click Here
Download: Click Here

Please your suggestion

Posted: Thu Nov 21, 2002 1:57 pm
by E-Darkone
Ah cool, now this is something worth doing, hope to see this one working soon.

Great Idea, good work :)

Adam

Posted: Thu Nov 21, 2002 2:41 pm
by netclectic
what be pafiledb?

Posted: Thu Nov 21, 2002 2:47 pm
by morpheus2matrix
netclectic wrote: what be pafiledb?


http://www.phparena.net/pafiledb/ :wink:

Re: [dev] pafiledb integration

Posted: Thu Nov 21, 2002 5:34 pm
by Narc0sis
squall wrote: I just finished form integrate phpbb with pafiledb:

Now pafiledb use:
phpbb template system
phpbb database system
phpbb header
phpbb footer
phpbb sessions


I have to finish the admin section for it now and it will be via ACP.

Screen shot will be available tonight.
Demo: Click Here

please your suggestion


hmm i get

phpBB : Critical Error

Could not open fisubsilver template config file

when going to your demo. sounds like a great idea though. id like to see a pafiledb that uses the phpbb database and sessions

Posted: Thu Nov 21, 2002 5:44 pm
by Ralendil
Are you sure you can do that?????????????

Pafile is protectezd and copyrighted !!!!!!!!!


see here an extract of the license:
You may use PHP Arena scripts on any number of websites you like as long as all those websites are not included in the above list of websites that PHP Arena scripts can't be used on.

You may freely distribute any modifications you make for PHP Arena scripts, but you can not distribute a whole copy of PHP Arena scripts with your modifications in it. Modifications made available must contain instructions on modifying the file, not the already-modified file.

Posted: Thu Nov 21, 2002 6:03 pm
by Mohd
By the way some people got the permission from phparena to itegrate it with phpbb as long as the copywrite is exist.

oh sorry for the site it should be uploaded know check it

Posted: Thu Nov 21, 2002 6:08 pm
by Ralendil
Good if you know that ;)

Good luck with the suite...

Posted: Thu Nov 21, 2002 6:49 pm
by LaZeR
This is pretty cool. Looking forward to it :wink:

Posted: Thu Nov 21, 2002 7:05 pm
by Mohd
Damn that Admin section is too long but I am going to do it

Any suggestion regarding auth

Posted: Thu Nov 21, 2002 7:36 pm
by msk
great great great pafiledb is great :) any way for users to comment on the files?

Posted: Thu Nov 21, 2002 7:38 pm
by Mohd
yeah user to comment on file.

I will try to add it later but I have to finish with ACP first

Posted: Thu Nov 21, 2002 8:01 pm
by Narc0sis
wow looks good. if you need any help with the comment feature theres a variation of pafiledb3 called mpfiledb at http://www.masterspla.net
Its basically like pafiledb3 with a few hacks installed. the comment system on it is anonymous and youd want the comment system on yours to be phpbb user specific (im assuming), but hey it might provide you with some help in implementing it anyways.

Posted: Thu Nov 21, 2002 8:19 pm
by DanielT
Ralendil wrote: Are you sure you can do that?????????????

Pafile is protectezd and copyrighted !!!!!!!!!


see here an extract of the license:
You may use PHP Arena scripts on any number of websites you like as long as all those websites are not included in the above list of websites that PHP Arena scripts can't be used on.

You may freely distribute any modifications you make for PHP Arena scripts, but you can not distribute a whole copy of PHP Arena scripts with your modifications in it. Modifications made available must contain instructions on modifying the file, not the already-modified file.


i think you gona have to gives use a mod instructions for it, cause that says you cant give out whole versions of it, or whole versions of files

Posted: Fri Nov 22, 2002 12:02 am
by Mohd
DanielT wrote:
Ralendil wrote:Are you sure you can do that?????????????

Pafile is protectezd and copyrighted !!!!!!!!!


see here an extract of the license:
You may use PHP Arena scripts on any number of websites you like as long as all those websites are not included in the above list of websites that PHP Arena scripts can't be used on.

You may freely distribute any modifications you make for PHP Arena scripts, but you can not distribute a whole copy of PHP Arena scripts with your modifications in it. Modifications made available must contain instructions on modifying the file, not the already-modified file.


i think you gona have to gives use a mod instructions for it, cause that says you cant give out whole versions of it, or whole versions of files


ok I will do that but I will provide tpl file with the instructions.
it will be long.