[2.0.6] faq admin mod

The cleanup is complete. This forum is now read only.
Post Reply

Rating:

Excellent!
27
56%
Very Good
11
23%
Good
3
6%
Fair
4
8%
Poor
3
6%
 
Total votes: 48

Extensions Robot
Extensions Robot
Extensions Robot
Posts: 29232
Joined: Sat Aug 16, 2003 7:36 am

[2.0.6] faq admin mod

Post by Extensions Robot »

MOD Name: faq admin mod
Author: zparta
MOD Description: This MOD will put the faq in the database and make it editable from the ACP

MOD Version: 1.4.6


Download File: faq_admin_1_4_6.zip
File Size: 11712 Bytes
Last edited by Extensions Robot on Mon Apr 30, 2007 12:29 am, edited 1 time in total.
(this is a non-active account manager for the phpBB Extension Customisations Team)
wGEric
Former Team Member
Posts: 8805
Joined: Sun Oct 13, 2002 3:01 am
Location: Friday
Name: Eric Faerber
Contact:

Post by wGEric »

MOD Validated/Released

There is another FAQ editor in the MOD Database. Use this one if you would like to have your FAQs in your database. Use the other if you would rather have your FAQs still in their .php files.
Eric
zparta
Registered User
Posts: 142
Joined: Fri Apr 04, 2003 7:14 am
Location: Sweden
Contact:

Post by zparta »

when installing this mod there wont be any faq's in the database and you can import the ones you got in your .php files, you can also uninstall the installed languages from the same page.

the faq page that people see is the same as the original one.

and thnx for the release :)

ohh i almost forgot it supports multilanguage :)
FWGaming
Registered User
Posts: 3
Joined: Fri Nov 28, 2003 7:59 am

Post by FWGaming »

Is this EMC? It looks like it, so how would I manually install it? (I have problems w/the whole SQL thing)
dennistt
Registered User
Posts: 271
Joined: Sat May 10, 2003 12:06 am
Location: DennisTT.Net
Contact:

Post by dennistt »

FWGaming wrote: (I have problems w/the whole SQL thing)


http://phpbb.com/kb/article.php?article_id=151
wanted
Registered User
Posts: 11
Joined: Wed Aug 20, 2003 12:40 pm
Location: Demon's Island
Contact:

Post by wanted »

Thanks zparta, your mod is great!!! :D
zparta
Registered User
Posts: 142
Joined: Fri Apr 04, 2003 7:14 am
Location: Sweden
Contact:

Post by zparta »

thnx for the nice comments :) i have been working on this mod for a coupel of month nice to see that someone like it :)
Me2U
Registered User
Posts: 131
Joined: Tue Oct 14, 2003 12:44 pm
Location: The Netherlands
Contact:

Post by Me2U »

It is indeed a great MOD. I think it works right but there is an error given in the Admin Panel ( In the BBcode/FAQ Admin ):

Code: Select all

Warning: ob_start(): output handler 'ob_gzhandler' cannot be used twice in /opt/guide/www.me2u.nl/HTML/forum/admin/page_header_admin.php on line 44
Maybe there is an FIX for that :roll:
Diskmaster
Registered User
Posts: 105
Joined: Mon Jun 09, 2003 3:57 pm
Contact:

Post by Diskmaster »

Me2U wrote: It is indeed a great MOD. I think it works right but there is an error given in the Admin Panel ( In the BBcode/FAQ Admin ):

Code: Select all

Warning: ob_start(): output handler 'ob_gzhandler' cannot be used twice in /opt/guide/www.me2u.nl/HTML/forum/admin/page_header_admin.php on line 44
Maybe there is an FIX for that :roll:


What version of php are you running on your server / host's server? If it's 4.3.1 or higher, there's an article in the Knowldege Base that may solve your problem.
Murphy's Law is recursive.
Me2U
Registered User
Posts: 131
Joined: Tue Oct 14, 2003 12:44 pm
Location: The Netherlands
Contact:

Post by Me2U »

I guess that is not the fix to solve it cause:

It is for the page_header.php in the Includes map

And it is about that i cannot be loaded twice

:roll:
zparta
Registered User
Posts: 142
Joined: Fri Apr 04, 2003 7:14 am
Location: Sweden
Contact:

Post by zparta »

that problem has never occured for me it might be another mod you have installed that has changed that file because that error seam to be before my mod is loaded
Me2U
Registered User
Posts: 131
Joined: Tue Oct 14, 2003 12:44 pm
Location: The Netherlands
Contact:

Post by Me2U »

I think it has to do with GZIP.. i have it enabled

More info:
Server is running PHP version: 4.3.4
phpBB version: 2.0.6

But while there is an error i still can do anything the MOD should do :roll:
rocker
Registered User
Posts: 9
Joined: Tue Aug 19, 2003 8:07 pm
Location: Germany
Contact:

Post by rocker »

This worked for me had the same problem


Open the file /includes/page_header.php PLUS /admin/page_header_admin.php

Find this code




Code:

//
// gzip_compression
//
$do_gzip_compress = FALSE;
if ( $board_config['gzip_compress'] )
{
$phpver = phpversion();

$useragent = (isset($_SERVER["HTTP_USER_AGENT"]) ) ? $_SERVER["HTTP_USER_AGENT"] : $HTTP_USER_AGENT;

if ( $phpver >= '4.0.4pl1' && ( strstr($useragent,'compatible') || strstr($useragent,'Gecko') ) )
{
if ( extension_loaded('zlib') )
{
ob_start('ob_gzhandler');
}
}
else if ( $phpver > '4.0' )
{
if ( strstr($HTTP_SERVER_VARS['HTTP_ACCEPT_ENCODING'], 'gzip') )
{
if ( extension_loaded('zlib') )
{
$do_gzip_compress = TRUE;
ob_start();
ob_implicit_flush(0);

header('Content-Encoding: gzip');
}
}
}
}



And replace with this code


Code:
//
// gzip_compression
//
$do_gzip_compress = FALSE;
if ( $board_config['gzip_compress'] )
{
$phpver = phpversion();

$useragent = (isset($_SERVER["HTTP_USER_AGENT"]) ) ? $_SERVER["HTTP_USER_AGENT"] : $HTTP_USER_AGENT;

if ( $phpver >= '4.0.4pl1' && ( strstr($useragent,'compatible') || strstr($useragent,'Gecko') ) )
{
if ( extension_loaded('zlib') )
{
ob_end_clean();
ob_start('ob_gzhandler');
}
}
else if ( $phpver > '4.0' )
{
if ( strstr($HTTP_SERVER_VARS['HTTP_ACCEPT_ENCODING'], 'gzip') )
{
if ( extension_loaded('zlib') )
{
$do_gzip_compress = TRUE;
ob_start();
ob_implicit_flush(0);

header('Content-Encoding: gzip');
}
}
}
}


I found this on a google search yesterday
Me2U
Registered User
Posts: 131
Joined: Tue Oct 14, 2003 12:44 pm
Location: The Netherlands
Contact:

Post by Me2U »

Thanks!!!

That worked indeed!! 8) 8)
twinsdaily
Registered User
Posts: 33
Joined: Fri Mar 28, 2003 10:32 pm
Location: KL, Malaysia
Contact:

Error Msg

Post by twinsdaily »

General Error
Couldn't get list of Languages

DEBUG MODE

SQL Error : 1146 Table 'weilik_beta.FAQ_TABLE' doesn't exist

SELECT lang_id, count(faq_id) AS faq_count FROM FAQ_TABLE GROUP BY lang_id

Line : 57
File : /home2/weilik/public_html/beta/admin/admin_faq_inst.php

Can anyone please help me with those errors in my Admin Panel on the FAQ Installation? Thx very much. I'm using phpBB 2.0.6. :wink:
Post Reply

Return to “[2.0.x] MOD Database Cleanup”