Page 2 of 7

Re: [BETA] Custom BBCode Rights - v.0.0.8

Posted: Sat Aug 23, 2008 4:42 pm
by 4_seven
autinhyeu wrote:When i click config in ACP, this error:
General Error
template->_tpl_load_file(): File ./style/acp_bbcodebox3.html does not exist or is empty
Please help me!!! Thanks
öhm, the file-name is acp_bb_res.html :shock:
not acp_bbcodebox3.html
Download v.0.0.8

Re: [BETA] Custom BBCode Rights - v.0.0.8

Posted: Sun Aug 24, 2008 1:40 pm
by Kharon
I installed Download v.0.0.8

template->_tpl_load_file(): File ./style/acp_bbcodebox3.html does not exist or is empty


includes - acp - acp_bb_res.php
find:

Code: Select all

$this->tpl_name = 'acp_bbcodebox3';
$this->page_title = $display_vars['title'];
replace:

Code: Select all

$this->tpl_name = 'acp_bb_res;
$this->page_title = $display_vars['title'];

---

INSERT INTO `phpbb3_config` ?? INSERT INTO `phpbb_config`

Re: [BETA] Custom BBCode Rights - v.0.0.8

Posted: Sun Aug 24, 2008 7:08 pm
by 4_seven
öhm, what kind of files have u all ? :shock:
Download v.0.0.8
part of v.0.0.8 (includes - acp - acp_bb_res.php)
$user->add_lang('mods/lang_bb_res_acp');
$this->tpl_name = 'acp_bb_res';

$action = request_var('action', '');
$submit = (isset($_POST['submit'])) ? true : false;

$form_key = 'acp_bb_res';
add_form_key($form_key);
part of install_custom_bbcode_rights_en.txt
#
#-----[ ACTION SQL ]-------[ ! NOTE ! CHANGE PREFIX TO YOURS ! ]--------
#

Re: [BETA] Custom BBCode Rights - v.0.0.8

Posted: Tue Aug 26, 2008 8:58 am
by lace-rules
4_seven - if you look on your test server/demo forum, and you visit "adm/style" then you would see you have the file "acp_bbcodebox3.html" on your server thats why your not getting any errors because you already have that file! Lucky for me, that I fixed that error with my Moderator Tags! ;)

I know this for a fact because if you navigate to the link below:

Code: Select all

http://sekuro.se.funpic.de/phpbb3/adm/style/acp_bbcodebox3.html
Thats the file thats Missing!

Regards
lace

Re: [BETA] Custom BBCode Rights - v.0.0.8

Posted: Tue Aug 26, 2008 9:19 am
by 4_seven
oh man, shure the file u mean exists, but this is the file of my OTHER MOD BBCodeBox3.

this * is the file within this mod here. read the f... install of v.0.0.8 *g

* http://sekuro.se.funpic.de/phpbb3/adm/s ... b_res.html

Code: Select all

http://sekuro.se.funpic.de/phpbb3/adm/style/acp_bb_res.html
there is no file called acp_bbcodebox3.html in the package and also zero word about this in the install :roll:

acp_bbcodebox3.html was in the very very first alpha package v.0.0.7 and than replaced by acp_bb_res.html

Re: [BETA] Custom BBCode Rights - v.0.0.8

Posted: Tue Aug 26, 2008 8:45 pm
by 4_seven
Hi @ all,

found a little thing, because of missing menu 4 some users.
the developer-version of bb_res_menu.php had table-syntax phpbb3_bbcodes,
but not all people have the phpbb3_ prefix ;)

also open

bb_res_menu.php

find

Code: Select all

"select `bbcode_tag` from phpbb3_bbcodes"
replace with

Code: Select all

'SELECT bbcode_tag FROM ' . BBCODES_TABLE
find

Code: Select all

"select `group_id`,`group_name` from phpbb3_groups"
replace with

Code: Select all

'SELECT group_id, group_name FROM ' . GROUPS_TABLE
download is allready updated

Re: [BETA] Custom BBCode Rights - v.0.0.8

Posted: Wed Aug 27, 2008 10:51 pm
by 4_seven
alternative demo- and download-link added, because of broken link

Re: [BETA] Custom BBCode Rights - v.0.0.8

Posted: Thu Aug 28, 2008 3:11 am
by autinhyeu
When i edit profile members in ACP, error:

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/message_parser.php on line 1130: parse_message::include(./includes/functions_bb_restrict.php) [function.parse-message-include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /includes/message_parser.php on line 1130: parse_message::include() [function.include]: Failed opening './includes/functions_bb_restrict.php' for inclusion (include_path='.;C:/php5/pear')

Warning: Cannot modify header information - headers already sent by (output started at G:\HNSV_FTP\SupportForum\phpBB3\includes\functions.php:2975) in G:\HNSV_FTP\SupportForum\phpBB3\adm\index.php on line 150

Warning: Cannot modify header information - headers already sent by (output started at G:\HNSV_FTP\SupportForum\phpBB3\includes\functions.php:2975) in G:\HNSV_FTP\SupportForum\phpBB3\adm\index.php on line 152

Warning: Cannot modify header information - headers already sent by (output started at G:\HNSV_FTP\SupportForum\phpBB3\includes\functions.php:2975) in G:\HNSV_FTP\SupportForum\phpBB3\adm\index.php on line 153

Warning: Cannot modify header information - headers already sent by (output started at G:\HNSV_FTP\SupportForum\phpBB3\includes\functions.php:2975) in G:\HNSV_FTP\SupportForum\phpBB3\adm\index.php on line 154
i cant edit profile members by this debug.
Please fix that.
Thanks ^^!

Re: [BETA] Custom BBCode Rights - v.0.0.8

Posted: Thu Aug 28, 2008 5:31 am
by bonelifer
First things first, make sure you uploaded functions_bb_restrict.php as the first error is complaining about it being MISSING. That may clear up the other errors.

Re: [BETA] Custom BBCode Rights - v.0.0.8

Posted: Sat Aug 30, 2008 4:10 pm
by 4_seven
broken link (first link) re-added

Re: [BETA] Custom BBCode Rights - v.0.0.8.b

Posted: Wed Sep 03, 2008 2:46 am
by 4_seven
Update 0.0.8.b

to update edit the message_parser.php again (see install)

fixed: 0.0.8.b
- debug-error by changing forumtitle

Re: [BETA] Custom BBCode Rights - v.0.0.8.a

Posted: Wed Sep 03, 2008 11:20 am
by autinhyeu
Good job ;) have fixed error. Thanks ^^!

Re: [BETA] Custom BBCode Rights - v.0.0.8.a

Posted: Wed Sep 03, 2008 8:43 pm
by Irn-Bru
Thanks for the update. :)

I have a question for you 4_seven, you know when a restricted group tries to use the forbidden bbcode and they get a "You cannot use certain BBCodes: [mod=]" ? Where do I change that message? Is it a part of your mod or is it a phpbb3 default. I'd like it to read a little different. Apologies if this isn't to do with your mod. I'll find a way.

Thanks,
IB :)


EDIT:
Found it. It's in "language/en/posting.php" - 'UNAUTHORISED_BBCODE'

Re: [BETA] Custom BBCode Rights - v.0.0.8.b

Posted: Thu Sep 04, 2008 6:36 am
by 4_seven
correct man ;)

- version number changed to v.0.0.8.b, because of sync with v.no. on phpbb.de

no mod update

Re: [BETA] Custom BBCode Rights - v.0.0.8.b

Posted: Thu Sep 04, 2008 5:46 pm
by Sunka
Looking very promising