[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
DivErTido
Registered User
Posts: 642
Joined: Fri Aug 08, 2003 10:11 pm
Contact:

Post by DivErTido »

It is possible to make a top uploaders? 8)
Tom_S
Registered User
Posts: 524
Joined: Tue Jul 29, 2003 6:54 pm
Location: 127.0.0.1
Contact:

Post by Tom_S »

Hmm...Mohd exists? I can't get support on your site from you Mohd.
I am getting the following error when I work the the Category Management:
Quote:
500 Server Error
A misconfiguration on the server caused a hiccup. Check the server logs, fix the problem, then try again.
--------------------------------------------------------------------------------
URL: http://kischat.com/forum/admin/admin_pa ... 2334bfc675



When I check my server error logs it shows:
Quote:
[Mon Dec 22 19:24:28 2003] [error] [client 151.***.***.***] Premature end of script headers: /home/kischatc/public_html/forum/admin/admin_pa_category.php



Any idea what I have wrong here? I did everything over and double checked at least 12 times now. I have to be missing something.
Thanks...

Tom


I posted that December 23, 2003.
I went back in Time...
Image
drynda
Registered User
Posts: 6
Joined: Sat Dec 20, 2003 8:17 pm

Post by drynda »

Code: Select all

Fatal error: Cannot redeclare admin_display_cat_auth() in /home/forumpl/public_html/forumgsm/admin/admin_pa_catauth.php
on line 213
can someone help me I have this error in left frame in ACP

mod version: 0.0.9d

screen
DivErTido
Registered User
Posts: 642
Joined: Fri Aug 08, 2003 10:11 pm
Contact:

Post by DivErTido »

This mod works fine to me!
But in "Statistics" where is: "The average amount of downloads each file has is 0"
This "0" is always there...
How can I fix this?

In my lang_pafiledb.php have this line:

Code: Select all

"The average amount of downloads each file has is {avg_dls}<br>";
I think is correct! where is the problem? :roll:

P.S. Sorry my bad English
Tom_S
Registered User
Posts: 524
Joined: Tue Jul 29, 2003 6:54 pm
Location: 127.0.0.1
Contact:

Post by Tom_S »

It works for me too with the exception of the error I metioned above in my other post. I still have the error and still have no response from Mohd on here or his site.
drynda
Registered User
Posts: 6
Joined: Sat Dec 20, 2003 8:17 pm

Post by drynda »

Im cannot delete comments :?
brokenfish
Registered User
Posts: 57
Joined: Tue Dec 23, 2003 3:15 pm
Contact:

Post by brokenfish »

thats expected :wink:
the feature isnt completely implemented yet
Image
DivErTido
Registered User
Posts: 642
Joined: Fri Aug 08, 2003 10:11 pm
Contact:

Post by DivErTido »

I need your help ppl...

It is possible to open dload.php without the header and footer of the forum?
Open in a separeted page...

How can I remove header ad footer? :roll:
brokenfish
Registered User
Posts: 57
Joined: Tue Dec 23, 2003 3:15 pm
Contact:

Post by brokenfish »

just find the header and footer includes in the php files. and then delete them :P
Image
DivErTido
Registered User
Posts: 642
Joined: Fri Aug 08, 2003 10:11 pm
Contact:

Post by DivErTido »

brokenfish wrote: just find the header and footer includes in the php files. and then delete them :P


I´m a php newbie... can you please tell me where can I found this? :roll: :oops:
brokenfish
Registered User
Posts: 57
Joined: Tue Dec 23, 2003 3:15 pm
Contact:

Post by brokenfish »

i dont know exactly what you want...
id think its better being safe and just using the header. if you really want to try, then go to pafiledb/includes/functions.php, find

Code: Select all

	if($action != 'download')
	{
		include_once($phpbb_root_path . 'includes/page_header.'.$phpEx);
	}

and just delete it.
do the same with

Code: Select all

	if($action != 'download')
	{
		include_once($phpbb_root_path . 'includes/page_tail.'.$phpEx);
	}
but im warning you, some weird stuff may happen.
Image
DivErTido
Registered User
Posts: 642
Joined: Fri Aug 08, 2003 10:11 pm
Contact:

Post by DivErTido »

Thats it !!!!
Thanks alot brokenfish :D :D :D
brokenfish
Registered User
Posts: 57
Joined: Tue Dec 23, 2003 3:15 pm
Contact:

Post by brokenfish »

no problem. :)

i just hope nothing went wrong :wink:
Image
User avatar
Mav
Former Team Member
Posts: 2261
Joined: Wed May 15, 2002 9:19 am
Location: England
Contact:

Post by Mav »

assuming this is the right code to alter, you could try replacing

Code: Select all

	if($action != 'download')
	{
		include_once($phpbb_root_path . 'includes/page_header.'.$phpEx);
	}


with

Code: Select all

   if($action != 'download') 
   { 
   	$gen_simple_header = TRUE;
      	include_once($phpbb_root_path . 'includes/page_header.'.$phpEx); 
   } 
that should make it use simple_header.tpl rather than overall_header.tpl
Mohd
Registered User
Posts: 263
Joined: Mon Jul 15, 2002 9:06 pm
Contact:

Post by Mohd »

Mav wrote: assuming this is the right code to alter, you could try replacing

Code: Select all

	if($action != 'download')
	{
		include_once($phpbb_root_path . 'includes/page_header.'.$phpEx);
	}


with

Code: Select all

   if($action != 'download') 
   { 
   	$gen_simple_header = TRUE;
      	include_once($phpbb_root_path . 'includes/page_header.'.$phpEx); 
   } 
that should make it use simple_header.tpl rather than overall_header.tpl


yeah this a better way to do it
Visit My Site Mohd Web Site!
My Current mod is PaFileDb Integration 0.0.8
Demo: Click Here
No support via PM
Locked

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