[DEV] Pafiledb [DOWNLOAD MOD] 0.0.9d

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Locked
cstotes
Registered User
Posts: 145
Joined: Tue Oct 08, 2002 6:47 am

Post by cstotes »

This shows up two times in pa_admin_settings.tpl

Code: Select all

<tr>
	<td class="row1">{L_FILE_IN_PAGE}<br><span class="gensmall">{L_FILE_IN_PAGE_INFO}</span></td>
	<td class="row2"><input type="text" class="post" size="5" maxlength="5" name="settings_file_page" value="{SETTINGS_FILE_PAGE}" /></td>
</tr>
User avatar
SupremeWeapon
Registered User
Posts: 593
Joined: Mon Feb 17, 2003 12:48 pm
Location: Battle Creek, Mi
Contact:

Post by SupremeWeapon »

there are some serious problems with this.

i had to redo the confg query for it to even work.

most of the queries wont even go thru and this is a lovely error

Code: Select all

Couldnt Update Downloader Table Info

DEBUG MODE

SQL Error : 1054 Unknown column 'downloader_borwser' in 'field list'

INSERT INTO phpbb_pa_download_info (file_id, user_id, downloader_ip, downloader_os, downloader_borwser, browser_version) VALUES('1', '2', '0cf18802', 'Win', 'IE', '6.0')
u spelt browser wrong... now wot file is this in. i dont feel like searching everyfile looking for it.

and this is wot i mean with the config.

the query was all wrong and now none of the drop down boxes are showing .

http://12.241.136.2/downloadmod.gif
Image
User avatar
Heartless_King
Registered User
Posts: 95
Joined: Mon Aug 19, 2002 3:15 pm
Location: United Kingdom

Post by Heartless_King »

This problem was allready asked over at Mohd's site. This you can see here: http://www.hostsector.com/~mohd/main/vi ... =1534#1534

It's simply a typo error. If you look closly you can see that borwser should be spelt browser! :)
Heartless_King

"Keep it Heartless... Always".
Website Under Dev :)
User avatar
SupremeWeapon
Registered User
Posts: 593
Joined: Mon Feb 17, 2003 12:48 pm
Location: Battle Creek, Mi
Contact:

Post by SupremeWeapon »

yes i know that..... thats fixable but theres a problem with missing lang in the lang files the dropdown boxes show nuthing.
Image
MIS-ONE
Registered User
Posts: 82
Joined: Tue Dec 24, 2002 9:21 pm

Post by MIS-ONE »

Is there anyway to allow for unregistered users to download without registering?
User avatar
SupremeWeapon
Registered User
Posts: 593
Joined: Mon Feb 17, 2003 12:48 pm
Location: Battle Creek, Mi
Contact:

Post by SupremeWeapon »

MIS-ONE wrote: Is there anyway to allow for unregistered users to download without registering?


yes there is.

theres a option called catagory permission. u set the permission just like u would forum permissions. put download to ALL
Image
deerdork
Registered User
Posts: 115
Joined: Thu Jan 30, 2003 7:44 pm
Location: Dayton OH
Contact:

Post by deerdork »

having some trouble
im getting this every time i go to dload.php
Warning: fopen(pafiledb/explain/e2.html): failed to open stream: Permission denied in /home/hfm/public_html/board/pafiledb/includes/functions.php on line 1048

Warning: fwrite(): supplied argument is not a valid stream resource in /home/hfm/public_html/board/pafiledb/includes/functions.php on line 1049

Warning: fwrite(): supplied argument is not a valid stream resource in /home/hfm/public_html/board/pafiledb/includes/functions.php on line 1051

Warning: fclose(): supplied argument is not a valid stream resource in /home/hfm/public_html/board/pafiledb/includes/functions.php on line 1052

here is the code that this error pertains too

Code: Select all

				$fp = fopen('pafiledb/explain/e' . $userdata['user_id'] . '.html', 'wt');
				fwrite($fp, $pafiledb_sql_report);
				$str = "<pre><b>The pafiledb Mod generated " . $pafiledb_num_queries . " queries,\nspending " . $pafiledb_sql_time . ' doing MySQL queries and ' . ($totaltime - $pafiledb_sql_time) . ' doing PHP things.</b></pre>';
				fwrite($fp, $str);
				fclose($fp);
				@chmod('pafiledb/explain/e' . $userdata['user_id'] . '.html', 0777);
			}

if on line 1048 i change
$fp = fopen('pafiledb/explain/e' . $userdata['user_id'] . '.html', 'wt');

to $fp = fopen('pafiledb/explain/e2' . $userdata['user_id'] . '.html', 'wt');
or
$fp = fopen('pafiledb/explain/e-1' . $userdata['user_id'] . '.html', 'wt');

it works..........BUT... which one should i use
Mohd
Registered User
Posts: 263
Joined: Mon Jul 15, 2002 9:06 pm
Contact:

Post by Mohd »

don't change anything, just chmod both files or just delete them from the directory explain.

OK guys I will rename the mod, because many people doesn't know what is pafiledb
Visit My Site Mohd Web Site!
My Current mod is PaFileDb Integration 0.0.8
Demo: Click Here
No support via PM
deerdork
Registered User
Posts: 115
Joined: Thu Jan 30, 2003 7:44 pm
Location: Dayton OH
Contact:

Post by deerdork »

if for some reason i wanted to change the readout of {no_cat_parent.LAST_FILE} on pa_main_body.tpl

to read the filename on top of the filetime... instead of the other way around

and to take away the commas in the sub category on the same page read out

just tell me what file i would have to edit and point me in the general direction... ill work around with it and figure it out
Mohd
Registered User
Posts: 263
Joined: Mon Jul 15, 2002 9:06 pm
Contact:

Post by Mohd »

you will need to change them in the file pafiledb/modules/pa_category.php
Visit My Site Mohd Web Site!
My Current mod is PaFileDb Integration 0.0.8
Demo: Click Here
No support via PM
Questions
Registered User
Posts: 705
Joined: Mon Sep 30, 2002 11:06 pm
Location: Cyberspace Learning: PHP &amp; MySQL
Contact:

Post by Questions »

Mohd,

gread MOHD..lol....

just a few questions...
I have the file attachments mod installed also with the board message mod..on a 2.0.4 board.

okay. when trying to post a comment on the mod i post up. i get an error..

Code: Select all

Fatal error: Cannot redeclare load_bbcode_template() (previously declared in /home/rpghouse/public_html/rpg_forum/includes/bbcode.php:45) in /home/rpghouse/public_html/rpg_forum/includes/bbcode.php on line 43
right now thats probably all the errors i have. i had an error with the explain files. but thats because i had to manually chmod 777 on my own. lol.

but other than that error, everything seems to be working good!!!

great mod mohd~!!!
I will Install MODs to your forum, or install a fresh phpBB 2.0.10 to your host for reasonable prices.
Contact me via AIM @: Gam LDub


(Please note: I use paypal as my money transaction, so before you contact me to do any work to your site, make sure you have one. Thank you.)
Questions
Registered User
Posts: 705
Joined: Mon Sep 30, 2002 11:06 pm
Location: Cyberspace Learning: PHP &amp; MySQL
Contact:

Post by Questions »

plz help!
I will Install MODs to your forum, or install a fresh phpBB 2.0.10 to your host for reasonable prices.
Contact me via AIM @: Gam LDub


(Please note: I use paypal as my money transaction, so before you contact me to do any work to your site, make sure you have one. Thank you.)
Questions
Registered User
Posts: 705
Joined: Mon Sep 30, 2002 11:06 pm
Location: Cyberspace Learning: PHP &amp; MySQL
Contact:

Post by Questions »

any help at all?
I will Install MODs to your forum, or install a fresh phpBB 2.0.10 to your host for reasonable prices.
Contact me via AIM @: Gam LDub


(Please note: I use paypal as my money transaction, so before you contact me to do any work to your site, make sure you have one. Thank you.)
Questions
Registered User
Posts: 705
Joined: Mon Sep 30, 2002 11:06 pm
Location: Cyberspace Learning: PHP &amp; MySQL
Contact:

Post by Questions »

ahhh....maybe i need to bump this up again....

but overall this is a great mod....i've installed it on one of my forums
I will Install MODs to your forum, or install a fresh phpBB 2.0.10 to your host for reasonable prices.
Contact me via AIM @: Gam LDub


(Please note: I use paypal as my money transaction, so before you contact me to do any work to your site, make sure you have one. Thank you.)
User avatar
david63
Registered User
Posts: 19028
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Contact:

Post by david63 »

Mohd - where has your web site gone?
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored
Locked

Return to “[2.0.x] MODs in Development”