En poursuivant votre navigation sur notre site, vous acceptez l’utilisation de cookies afin d’améliorer votre navigation. En savoir plus Réduire
Plan du site  ·  Mentions Légales  ·  Statistiques  ·  Contact PatMax Web ·  PatMax Annuaire · 
FAQ
Connexion · M’enregistrer
Afin de bénéficier de l'intégralité des fonctions de ce forum il est conseillé de vous connecter
PatMax Scripts va fermer définitivement au mois d'avril 2024

Index du forum » ENTRAIDE » PHPBB (2 et 3) » Administration

 
Poster un nouveau sujet Répondre au sujet
Message Auteur
 Sujet du message:
Message Posté: Mar 25 Mar 2008 23:30 

Bonsoir; :D

HS:ça fait quelques temps que je ne viens plus ici^^" /HS

Je me suis dis, qu'au lieu de créer un nouveau forum, peut-être l'ancien aurait-il une petite solution :oops:

Dernièrement, j'ai essayé d'installer le mod de la barre bbcode mais cela n'a pas marché, donc j'ai supprimé les codes des fichiers.

Mais surprise: je ne peux lire aucun sujet sur mon forum, et dans le panneau d'admin, lorsque je clique sur "Smiley catégories" je vois ça:

Citation:
Couldn't obtain smiley category data for arrays from database

DEBUG MODE

SQL Error : 1146 Table 'chezdave_1.SMILIES_CAT_TABLE' doesn't exist

SELECT * FROM SMILIES_CAT_TABLE ORDER BY cat_order ASC

Line : 207
File : admin_smilies.php


De même, lorsque je clique sur le titre d'un sujet pour le lire, je ne peux pas puisque un message d'erreur s'affiche:

Citation:
Couldn't obtain smilies data

DEBUG MODE

SQL Error : 1146 Table 'chezdave_1.SMILIES_CAT_TABLE' doesn't exist

SELECT s.code, s.smile_url, s.emoticon FROM SMILIES_CAT_TABLE c, phpbb_smilies s WHERE c.cat_perms <= 40 AND c.cat_open = 1 AND c.cat_order = s.cat_id

Line : 843
File : bbcode.php



Dites-moi s'il y'a un espoir... :'(

Merci d'avance et désolé pour ce dérangement :oops:


edit: je ne peux pas même faire "prévisualiser", et mes smileys ont disparu... :!:

edit 2: ceci est le mod inséré en question: [spoiler]##############################################################
## MOD Title: BBcode Box Reloaded (BBcBxR)
## MOD Author: reddog < N/A > (N/A) http://www.reddevboard.com
## MOD Description: this MOD replaces basic bbcode buttons by images
## in posting display, several options are available
## from the Admin Control Panel
## MOD Version: 1.2.2a
##
## Installation Level: Intermediate
## Installation Time: 20-25 Minutes
## Files To Edit: 12
## common.php
## posting.php
## privmsg.php
## includes/bbcode.php
## includes/constants.php
## includes/functions.php
## includes/page_header.php
## language/lang_english/lang_main.php
## templates/subSilver/bbcode.tpl
## templates/subSilver/overall_header.tpl
## templates/subSilver/posting_body.tpl
## templates/subSilver/simple_header.tpl
## Included Files:
## root/*.*
##
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
## Author Notes:
##
## 1. IMPORTANT!
## -------------
## File to CHMOD 666 : includes/def_bbc_box.php
##
## 2. Features included
## ---------------------
## a. bbcode buttons in BBcBxR:
## - Color palette (foreground and background)
## - Size and Font Type (combobox)
## - Align (Left, Right, Center, Justify)
## - Bold, Italic, Underline, Strike
## - Fade, Gradient
## - Anchor link, anchor target
## - Scroll (Up, Down, Left, Right)
## - Code, Quote, Spoiler
## - URL, Email
## - Image, Flash, Video, Stream, Real Audio and Media, Quicktime
## - List and List=
## - Superscript, Subscript
## - Horizontal-rule (hr), custom characters
##
## b. BBcode Box Reloaded Details:
## - This MOD is compatible with Mozilla (Gecko nav) and IE
## - Fixed caret bug in IE
## - Insert Smilies everywhere in textaera message
## - Incredible Fade Effect (text and Images) ;)
##
## 3. Settings included (ACP)
## --------------------------
## a. main settings available from BBcode Box -> Settings
## - show bbcode buttons in the posting display (yes/no)
## - select the mode (beginner/advanced)
## - number of bbcode per row (value)
## - select skin (list)
## - bbcode table cache (renew) (yes/no)
## b. bbcode list options available from BBcode Box -> BBcode List
## - enable/disable each bbcode button
## - manage the Auth Levels for each bbcode
## c. bbcode management available from BBcode Box -> Manage
## - edit/delete each bbcode
## - add new bbcode (require PHP lines in other files)
##
##############################################################
## MOD History:
##
## 2005-12-16 - Version 1.2.2a
## - updated functions_bbc_box.php for ch 2.1.x compliancy
## 2005-10-05 - Version 1.2.2 (finale)
## - modified strike in bbcode.tpl
## - reassign the bbcode order
## 2005-09-09 - Version 1.2.1 rc5
## - "while list" replaced by "foreach"
## - added hr bbcode, custom characters list
## - added switch for use foreground or background color
## - table and td replaced by anchor link and target
## - bbcode audio/video improvements
## 2005-08-27 - Version 1.2.1 rc4
## - fixed caret bug in IE
## - added opacity for open tags
## - added external css
## - re-coded posting display part
## 2005-08-20 - Version 1.2.1 rc3
## - re-coded divexpand.js
## - added key $lang[] for bbcode code (tags title)
## 2005-08-16 - Version 1.2.1 rc2
## - delete modifications in auth.php
## - included function bbc_auth() in functions_bbc_box.php
## 2005-08-12 - Version 1.2.1 rc1
## - may to manage the auth levels for each bbcode
## - code improvements in bbcode.php for some bbcodes
## 2005-07-10 - Version 1.2.0 rc3
## - modifications in bbcode.php and bbcode.tpl
## 2005-07-02 - Version 1.2.0 rc2
## - added skin selection
## - modified style separator (image or double space)
## - code improvements in the included files
## 2005-06-29 - Version 1.2.0 rc1
## - no change
## - corrections in bbc_box_tags.php
## 2005-06-20 - Version 1.2.0 (started 2005-06-08)
## - "one erases all and one starts again" ;)
## - completely re-coded MOD
## - several options added
## 2005-06-06 - Version 1.1.1
## - error with flash bbcode
## - added border and align in table bbcode
## 2005-06-04 - Version 1.1.0
## - code improvements
## 2005-04-20 - Version 1.0.9
## - added quicktime BBcode
## 2005-04-17 - Version 1.0.8
## - added xtra quote and code blocks in BBcBxR
## 2005-03-22 - Version 1.0.7
## - only use bbcode tags [td] and [/td] in [table][/table]
## 2005-02-26 - Version 1.0.6
## - deleted bbcode web (bug in topic review with iframe)
## 2005-02-07 - Version 1.0.5
## - maj add_bbcode.js to insert tag anywhere in message (Mozilla)
## 2005-01-15 - Version 1.0.4
## - copyright deleted in posting (not really interesting to add this)
## - added addon hide for BBcBxR (since 2005-14-01)
## 2005-01-13 - Version 1.0.3
## - error in lang_english/lang_main.php for $lang['bbcbxr_lang']
## 2005-01-10 - Version 1.0.2
## - forgotten modifications in privmsg.php
## 2005-01-09 - Version 1.0.1
## - bbcode Spoiler added (reddog)
## 2005-01-08 - Version 1.0.0
## - based on old version of BBcode Box 4.5.0 by Tnen (for phpBB 2.0.3)
## - first release (BBcBxR by reddog)
## - compatible Mozilla/IE (reddog)
## - modified all contents of BBcode Box: new bbcodes, new images, etc (reddog)
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ SQL ]-------------------------------------------------
# NOTE --- If you prefer you can run the db_update.php file in /contrib,
# however you must run this file before making code changes. Don't execute
# the SQL Queries below if you run the db_update.php file.
#
# Table structure for table 'phpbb_bbc_box'
#
CREATE TABLE phpbb_bbc_box (
bbc_id smallint(5) unsigned NOT NULL auto_increment,
bbc_name varchar(255) NOT NULL,
bbc_value varchar(255) NOT NULL,
bbc_auth varchar(255) NOT NULL,
bbc_before varchar(255) NOT NULL,
bbc_after varchar(255) NOT NULL,
bbc_helpline varchar(255) NOT NULL,
bbc_img varchar(255) NOT NULL,
bbc_divider varchar(255) NOT NULL,
bbc_order mediumint(8) DEFAULT '1' NOT NULL,
PRIMARY KEY (bbc_id)
);
#
#-----[ SQL ]-------------------------------------------------
#
# -- bbc box config
#
INSERT INTO phpbb_bbc_box VALUES (1, 'strike', '1', '0', 's', 's', 'strike', 'strike', '0', '10');
INSERT INTO phpbb_bbc_box VALUES (2, 'spoiler', '1', '0', 'spoil', 'spoil', 'spoiler', 'spoiler', '0', '20');
INSERT INTO phpbb_bbc_box VALUES (3, 'fade', '1', '0', 'fade', 'fade', 'fade', 'fade', '0', '30');
INSERT INTO phpbb_bbc_box VALUES (4, 'rainbow', '1', '0', 'rainbow', 'rainbow', 'rainbow', 'rainbow', '1', '40');
INSERT INTO phpbb_bbc_box VALUES (5, 'justify', '1', '0', 'align=justify', 'align', 'justify', 'justify', '0', '50');
INSERT INTO phpbb_bbc_box VALUES (6, 'right', '1', '0', 'align=right', 'align', 'right', 'right', '0', '60');
INSERT INTO phpbb_bbc_box VALUES (7, 'center', '1', '0', 'align=center', 'align', 'center', 'center', '0', '70');
INSERT INTO phpbb_bbc_box VALUES (8, 'left', '1', '0', 'align=left', 'align', 'left', 'left', '1', '80');
INSERT INTO phpbb_bbc_box VALUES (9, 'link', '1', '0', 'link=', 'link', 'link', 'alink', '0', '90');
INSERT INTO phpbb_bbc_box VALUES (10, 'target', '1', '0', 'target=', 'target', 'target', 'atarget', '1', '100');
INSERT INTO phpbb_bbc_box VALUES (11, 'marqd', '1', '0', 'marq=down', 'marq', 'marqd', 'marqd', '0', '110');
INSERT INTO phpbb_bbc_box VALUES (12, 'marqu', '1', '0', 'marq=up', 'marq', 'marqu', 'marqu', '0', '120');
INSERT INTO phpbb_bbc_box VALUES (13, 'marql', '1', '0', 'marq=left', 'marq', 'marql', 'marql', '0', '130');
INSERT INTO phpbb_bbc_box VALUES (14, 'marqr', '1', '0', 'marq=right', 'marq', 'marqr', 'marqr', '1', '140');
INSERT INTO phpbb_bbc_box VALUES (15, 'email', '1', '0', 'email', 'email', 'email', 'email', '0', '150');
INSERT INTO phpbb_bbc_box VALUES (16, 'flash', '1', '0', 'flash width=250 height=250', 'flash', 'flash', 'flash', '0', '160');
INSERT INTO phpbb_bbc_box VALUES (17, 'video', '1', '0', 'video width=400 height=350', 'video', 'video', 'video', '0', '170');
INSERT INTO phpbb_bbc_box VALUES (18, 'stream', '1', '0', 'stream', 'stream', 'stream', 'stream', '0', '180');
INSERT INTO phpbb_bbc_box VALUES (19, 'real', '1', '0', 'ram width=220 height=140', 'ram', 'real', 'real', '0', '190');
INSERT INTO phpbb_bbc_box VALUES (20, 'quick', '1', '0', 'quick width=480 height=224', 'quick', 'quick', 'quick', '1', '200');
INSERT INTO phpbb_bbc_box VALUES (21, 'sup', '1', '0', 'sup', 'sup', 'sup', 'sup', '0', '210');
INSERT INTO phpbb_bbc_box VALUES (22, 'sub', '1', '0', 'sub', 'sub', 'sub', 'sub', '1', '220');
#
#-----[ SQL ]-------------------------------------------------
#
# -- config
#
INSERT INTO phpbb_config (config_name, config_value) VALUES ('bbc_box_on', '1');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('bbc_advanced', '0');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('bbc_per_row', '14');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('bbc_time_regen', '0');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('bbc_style_path', 'default');
#
#-----[ COPY ]------------------------------------------------
#
COPY root/*.* TO *.*
#
#-----[ OPEN ]------------------------------------------------
#
common.php
#
#-----[ FIND ]------------------------------------------------
#
include($phpbb_root_path . 'includes/db.'.$phpEx);
#
#-----[ AFTER, ADD ]-------------------------------------------
#
//-- mod : bbcode box reloaded -------------------------------------------------
//-- add
include($phpbb_root_path . './includes/functions_bbc_box.'.$phpEx);
//-- fin mod : bbcode box reloaded ---------------------------------------------
#
#-----[ OPEN ]------------------------------------------------
#
posting.php
#
#-----[ FIND ]------------------------------------------------
#
else if ( $mode == 'smilies' )
{
generate_smilies('window', PAGE_POSTING);
exit;
}
#
#-----[ AFTER, ADD ]-------------------------------------------
#
//-- mod : bbcode box reloaded -------------------------------------------------
//-- add
// charmap
else if ( $mode == 'charmap' )
{
charmap(PAGE_POSTING);
exit;
}
//-- fin mod : bbcode box reloaded ---------------------------------------------
#
#-----[ FIND ]------------------------------------------------
#
// Include page header
//
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
#
#-----[ AFTER, ADD ]------------------------------------------
#
//-- mod : bbcode box reloaded -------------------------------------------------
//-- add
include($phpbb_root_path . 'includes/bbc_box_tags.'.$phpEx);
//-- fin mod : bbcode box reloaded ---------------------------------------------
#
#-----[ OPEN ]------------------------------------------------
#
privmsg.php
#
#-----[ FIND ]------------------------------------------------
#
$page_title = $lang['Send_private_message'];
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
#
#-----[ AFTER, ADD ]------------------------------------------
#
//-- mod : bbcode box reloaded -------------------------------------------------
//-- add
include($phpbb_root_path . 'includes/bbc_box_tags.'.$phpEx);
//-- fin mod : bbcode box reloaded ---------------------------------------------
#
#-----[ OPEN ]------------------------------------------------
#
includes/bbcode.php
#
#-----[ FIND ]------------------------------------------------
#
$bbcode_tpl = null;
#
#-----[ AFTER, ADD ]------------------------------------------
#
//-- mod : bbcode box reloaded -------------------------------------------------
//-- add
/**
* Loads bbcode box list tags from the def_bbc_box.php file and associates the
* values in four cases which are $bbc_value (check if a tag is enabled or not),
* $bbc_auth (check if a bbcode is available to the user using the auth levels),
* $bbc_open (the open tag for each bbcode) and $bbc_tag (the close tag for each
* bbcode, also used like the open tag for some bbcodes).
*/
$bbc_config = $bbc_value = $bbc_auth = $bbc_open = $bbc_tag = array();
@include($phpbb_root_path . './includes/def_bbc_box.'.$phpEx);
foreach ( $bbc_config as $key => $value )
{
$bbc_value[$value['bbc_name']] = $value['bbc_value'];
$bbc_auth[$value['bbc_name']] = $value['bbc_auth'];
$bbc_open[$value['bbc_name']] = $value['bbc_before'];
$bbc_tag[$value['bbc_name']] = $value['bbc_after'];
}
//-- fin mod : bbcode box reloaded ---------------------------------------------
#
#-----[ FIND ]------------------------------------------------
#
$bbcode_tpl['email'] = str_replace('{EMAIL}', '\\1', $bbcode_tpl['email']);
#
#-----[ AFTER, ADD ]------------------------------------------
#
//-- mod : bbcode box reloaded -------------------------------------------------
//-- add
// code expand
$expand_ary1 = array('{L_EXPAND}', '{L_EXPAND_MORE}', '{L_CONTRACT}', '{L_SELECT_ALL}');
$expand_ary2 = array($lang['bbcbxr_expand'], $lang['bbcbxr_expand_more'], $lang['bbcbxr_contract'], $lang['bbcbxr_select']);
$bbcode_tpl['code_open'] = str_replace($expand_ary1, $expand_ary2, $bbcode_tpl['code_open']);
// spoiler
$bbcode_tpl['spoil_open'] = str_replace('{L_BBCBXR_SPOIL}', $lang['bbcbxr_spoil'], $bbcode_tpl['spoil_open']);
$bbcode_tpl['spoil_open'] = str_replace('{L_BBCBXR_SHOW}', $lang['bbcbxr_show'], $bbcode_tpl['spoil_open']);
$bbcode_tpl['spoil_open'] = str_replace('{L_BBCBXR_HIDE}', $lang['bbcbxr_hide'], $bbcode_tpl['spoil_open']);
// align
$bbcode_tpl['align_open'] = str_replace('{ALIGN}', '\\1', $bbcode_tpl['align_open']);
// anchor
$bbcode_tpl['anchor_link'] = str_replace('{ANCHOR}', '\\1', $bbcode_tpl['anchor_link']);
$bbcode_tpl['anchor_link'] = str_replace('{DESCRIPTION}', '\\2', $bbcode_tpl['anchor_link']);
$bbcode_tpl['anchor_target'] = str_replace('{ANCHOR}', '\\1', $bbcode_tpl['anchor_target']);
$bbcode_tpl['anchor_target'] = str_replace('{DESCRIPTION}', '\\2', $bbcode_tpl['anchor_target']);
// marquee
$bbcode_tpl['marq_open'] = str_replace('{MARQ}', '\\1', $bbcode_tpl['marq_open']);
// flash
$bbcode_tpl['flash'] = str_replace('{WIDTH}', '\\1', $bbcode_tpl['flash']);
$bbcode_tpl['flash'] = str_replace('{HEIGHT}', '\\2', $bbcode_tpl['flash']);
$bbcode_tpl['flash'] = str_replace('{URL}', '\\3', $bbcode_tpl['flash']);
// video
$bbcode_tpl['video'] = str_replace('{URL}', '\\3', $bbcode_tpl['video']);
$bbcode_tpl['video'] = str_replace('{WIDTH}', '\\1', $bbcode_tpl['video']);
$bbcode_tpl['video'] = str_replace('{HEIGHT}', '\\2', $bbcode_tpl['video']);
// stream
$bbcode_tpl['stream'] = str_replace('{URL}', '\\1', $bbcode_tpl['stream']);
// real
$bbcode_tpl['ram'] = str_replace('{URL}', '\\3', $bbcode_tpl['ram']);
$bbcode_tpl['ram'] = str_replace('{WIDTH}', '\\1', $bbcode_tpl['ram']);
$bbcode_tpl['ram'] = str_replace('{HEIGHT}', '\\2', $bbcode_tpl['ram']);
// quick
$bbcode_tpl['quick'] = str_replace('{URL}', '\\3', $bbcode_tpl['quick']);
$bbcode_tpl['quick'] = str_replace('{WIDTH}', '\\1', $bbcode_tpl['quick']);
$bbcode_tpl['quick'] = str_replace('{HEIGHT}', '\\2', $bbcode_tpl['quick']);
// background color
$bbcode_tpl['bcolor_open'] = str_replace('{COLOR}', '\\1', $bbcode_tpl['bcolor_open']);
// font type
$bbcode_tpl['font_open'] = str_replace('{FONT}', '\\1', $bbcode_tpl['font_open']);
//-- fin mod : bbcode box reloaded ---------------------------------------------
#
#-----[ FIND ]------------------------------------------------
#
function bbencode_second_pass($text, $uid)
{
global $lang, $bbcode_tpl;
#
#-----[ AFTER, ADD ]------------------------------------------
#
//-- mod : bbcode box reloaded -------------------------------------------------
//-- add
global $bbc_tag;
//-- fin mod : bbcode box reloaded ---------------------------------------------
#
#-----[ FIND ]------------------------------------------------
#
# This is a partial search: the full lines are longer
#
// [email]user (at) domain.tld[/email] code..
$patterns[] = "
$replacements[] = $bbcode_tpl['email'];
#
#-----[ AFTER, ADD ]------------------------------------------
#
//-- mod : bbcode box reloaded -------------------------------------------------
//-- add
// [strike] and [/strike] code..
$strike = $bbc_tag['strike'];
$text = str_replace("[$strike:$uid]", $bbcode_tpl['s_open'], $text);
$text = str_replace("[/$strike:$uid]", $bbcode_tpl['s_close'], $text);

// [spoil] and [/spoil] code..
$spoiler = $bbc_tag['spoiler'];
$text = str_replace("[$spoiler:$uid]", $bbcode_tpl['spoil_open'], $text);
$text = str_replace("[/$spoiler:$uid]", $bbcode_tpl['spoil_close'], $text);

// [fade] and [/fade] code..
$fade = $bbc_tag['fade'];
$text = str_replace("[$fade:$uid]", $bbcode_tpl['fade_open'], $text);
$text = str_replace("[/$fade:$uid]", $bbcode_tpl['fade_close'], $text);

// [rainbow] and [/rainbow] code..
$rainbow = $bbc_tag['rainbow'];
$text = preg_replace("#\[$rainbow:$uid\](.*?)\[/$rainbow:$uid\]#sie", "rainbow('\\1')", $text);

// [align=left|right|center|justify] and [/align] code..
$bbc_align = array('left', 'right', 'center', 'justify');
for ($i = 0; $i < count($bbc_align); $i++)
{
$align = $bbc_tag[$bbc_align[$i]];
$text = preg_replace("/\[$align=(left|right|center|justify):$uid\]/si", $bbcode_tpl['align_open'], $text);
$text = str_replace("[/$align:$uid]", $bbcode_tpl['align_close'], $text);
}

// [link=xxx] and [target=xxx] for anchor text
$link = $bbc_tag['link'];
$target = $bbc_tag['target'];
$patterns[] = "#\[$link=(.*?):$uid\](.*?)\[/$link:$uid\]#is";
$replacements[] = $bbcode_tpl['anchor_link'];
$patterns[] = "#\[$target=(.*?):$uid\](.*?)\[/$target:$uid\]#is";
$replacements[] = $bbcode_tpl['anchor_target'];

// [marq=left|right|up|down] and [/marq] code..
$bbc_marq = array('marql', 'marqr', 'marqu', 'marqd');
for ($i = 0; $i < count($bbc_marq); $i++)
{
$marq = $bbc_tag[$bbc_marq[$i]];
$text = preg_replace("/\[$marq=(left|right|up|down):$uid\]/si", $bbcode_tpl['marq_open'], $text);
$text = str_replace("[/$marq:$uid]", $bbcode_tpl['marq_close'], $text);
}

//[flash width= height=]and[/flash] code..
$flash = $bbc_tag['flash'];
$patterns[] = "#\[$flash width=([0-6]?[0-9]?[0-9]) height=([0-5]?[0-9]?[0-9]):$uid\]([^?].*?)\[/$flash:$uid\]#si";
$replacements[] = $bbcode_tpl['flash'];

// [video width= height=] and [/video] code..
$video = $bbc_tag['video'];
$patterns[] = "#\[$video width=([0-6]?[0-9]?[0-9]) height=([0-4]?[0-9]?[0-9]):$uid\]([^?].*?)\[/$video:$uid\]#si";
$replacements[] = $bbcode_tpl['video'];

// [stream] and [/stream] code..
$stream = $bbc_tag['stream'];
$patterns[] = "#\[$stream:$uid\]([^?].*?)\[/$stream:$uid\]#si";
$replacements[] = $bbcode_tpl['stream'];

// [ram] and [/ram] code..
$ram = $bbc_tag['real'];
$patterns[] = "#\[$ram width=([0-6]?[0-9]?[0-9]) height=([0-4]?[0-9]?[0-9]):$uid\]([^?].*?)\[/$ram:$uid\]#si";
$replacements[] = $bbcode_tpl['ram'];

// [quick] and [/quick] code..
$quick = $bbc_tag['quick'];
$patterns[] = "#\[$quick width=([0-6]?[0-9]?[0-9]) height=([0-4]?[0-9]?[0-9]):$uid\]([^?].*?)\[/$quick:$uid\]#si";
$replacements[] = $bbcode_tpl['quick'];

// [sup] and [/sup] code..
$sup = $bbc_tag['sup'];
$text = str_replace("[$sup:$uid]", $bbcode_tpl['sup_open'], $text);
$text = str_replace("[/$sup:$uid]", $bbcode_tpl['sup_close'], $text);

// [sub] and [/sub] code..
$sub = $bbc_tag['sub'];
$text = str_replace("[$sub:$uid]", $bbcode_tpl['sub_open'], $text);
$text = str_replace("[/$sub:$uid]", $bbcode_tpl['sub_close'], $text);

// [hr] code..
$text = str_replace("[hr:$uid]", $bbcode_tpl['hr'], $text);

// background colours
$text = preg_replace("/\[bcolor=(\#[0-9A-F]{6}|[a-z]+):$uid\]/si", $bbcode_tpl['bcolor_open'], $text);
$text = str_replace("[/bcolor:$uid]", $bbcode_tpl['bcolor_close'], $text);

// [font=] and [/font] code..
$text = preg_replace("/\[font=(.*?):$uid\]/si", $bbcode_tpl['font_open'], $text);
$text = str_replace("[/font:$uid]", $bbcode_tpl['font_close'], $text);
//-- fin mod : bbcode box reloaded ---------------------------------------------
#
#-----[ FIND ]------------------------------------------------
#
function bbencode_first_pass($text, $uid)
{
#
#-----[ AFTER, ADD ]------------------------------------------
#
//-- mod : bbcode box reloaded -------------------------------------------------
//-- add
global $bbc_value, $bbc_auth, $bbc_open, $bbc_tag;
//-- fin mod : bbcode box reloaded ---------------------------------------------
#
#-----[ FIND ]------------------------------------------------
#
# This is a partial search: the full line is longer
#
// [img]image_url_here[/img] code..
$text = preg_replace("#\[img\]
#
#-----[ AFTER, ADD ]------------------------------------------
#
//-- mod : bbcode box reloaded -------------------------------------------------
//-- add
// [strike] and [/strike]
$strike = $bbc_tag['strike'];
$bbc_sort = bbc_auth($bbc_auth['strike']);
$text = ($bbc_value['strike'] && $bbc_sort) ? preg_replace("#\[$strike\](.*?)\[/$strike\]#si", "[$strike:$uid]\\1[/$strike:$uid]", $text) : $text;

// [spoil] and [/spoil]
$spoiler = $bbc_tag['spoiler'];
$bbc_sort = bbc_auth($bbc_auth['spoiler']);
$text = ($bbc_value['spoiler'] && $bbc_sort) ? preg_replace("#\[$spoiler\](.*?)\[/$spoiler\]#si", "[$spoiler:$uid]\\1[/$spoiler:$uid]", $text) : $text;

// [fade] and [/fade] for faded text.
$fade = $bbc_tag['fade'];
$bbc_sort = bbc_auth($bbc_auth['fade']);
$text = ($bbc_value['fade'] && $bbc_sort) ? preg_replace("#\[$fade\](.*?)\[/$fade\]#si", "[$fade:$uid]\\1[/$fade:$uid]", $text) : $text;

// [rainbow] and [/rainbow]
$rainbow = $bbc_tag['rainbow'];
$bbc_sort = bbc_auth($bbc_auth['rainbow']);
$text = ($bbc_value['rainbow'] && $bbc_sort) ? preg_replace("#\[$rainbow\](.*?)\[/$rainbow\]#si", "[$rainbow:$uid]\\1[/$rainbow:$uid]", $text) : $text;

// [align] and [/align]
$bbc_align = array('left', 'right', 'center', 'justify');
for ($i = 0; $i < count($bbc_align); $i++)
{
$align_open = '[' . $bbc_open[$bbc_align[$i]] . ']';
$align_close = '[/' . $bbc_tag[$bbc_align[$i]] . ']';
$bbc_sort = bbc_auth($bbc_auth[$bbc_align[$i]]);
$text = ($bbc_value[$bbc_align[$i]] && $bbc_sort) ? bbencode_first_pass_pda($text, $uid, $align_open, $align_close, '', false, '') : $text;
}

// [marq] and [/marq]
$bbc_marq = array('marql', 'marqr', 'marqu', 'marqd');
for ($i = 0; $i < count($bbc_marq); $i++)
{
$marq_open = '[' . $bbc_open[$bbc_marq[$i]] . ']';
$marq_close = '[/' . $bbc_tag[$bbc_marq[$i]] . ']';
$bbc_sort = bbc_auth($bbc_auth[$bbc_marq[$i]]);
$text = ($bbc_value[$bbc_marq[$i]] && $bbc_sort) ? bbencode_first_pass_pda($text, $uid, $marq_open, $marq_close, '', false, '') : $text;
}

// [link=xxx] and [target=xxx] for anchor text
$link = $bbc_tag['link'];
$target = $bbc_tag['target'];
$bbc_sort_l = bbc_auth($bbc_auth['link']);
$bbc_sort_t = bbc_auth($bbc_auth['target']);
$text = ($bbc_value['link'] && $bbc_sort_l) ? preg_replace("#\[$link=(.*?)\](.*?)\[/$link\]#is","[$link=\\1:$uid]\\2[/$link:$uid]", $text) : $text;
$text = ($bbc_value['target'] && $bbc_sort_t) ? preg_replace("#\[$target=(.*?)\](.*?)\[/$target\]#is","[$target=\\1:$uid]\\2[/$target:$uid]", $text) : $text;

//[flash width= heigth=] and [/flash]
$flash = $bbc_tag['flash'];
$bbc_sort = bbc_auth($bbc_auth['flash']);
$text = ($bbc_value['flash'] && $bbc_sort) ? preg_replace("#\[$flash width=([0-6]?[0-9]?[0-9]) height=([0-4]?[0-9]?[0-9])\]([\w]+?://[\w\#$%&~/.\-;:=,?@\[\]+]*?(\.swf))\[\/$flash\]#si","[$flash width=\\1 height=\\2:$uid]\\3[/$flash:$uid]", $text) : $text;

//[video width= heigth=] and [/video]
$video = $bbc_tag['video'];
$bbc_sort = bbc_auth($bbc_auth['video']);
$text = ($bbc_value['video'] && $bbc_sort) ? preg_replace("#\[$video width=([0-6]?[0-9]?[0-9]) height=([0-4]?[0-9]?[0-9])\]([\w]+?://[\w\#$%&~/.\-;:=,?@\[\]+]*?(\.(asf|asx|avi|mpg|mpeg|wmv)))\[\/$video\]#si","[$video width=\\1 height=\\2:$uid]\\3[/$video:$uid]", $text) : $text;

// [stream] and [/stream]
$stream = $bbc_tag['stream'];
$bbc_sort = bbc_auth($bbc_auth['stream']);
$text = ($bbc_value['stream'] && $bbc_sort) ? preg_replace("#\[$stream\]([\w]+?://[\w\#$%&~/.\-;:=,?@\[\]+]*?(\.(mid|mp3|ogg|wav|wma)))\[/$stream\]#si", "[$stream:$uid]\\1[/$stream:$uid]", $text) : $text;

// [real] and [/real]
$ram = $bbc_tag['real'];
$bbc_sort = bbc_auth($bbc_auth['real']);
$text = ($bbc_value['real'] && $bbc_sort) ? preg_replace("#\[$ram width=([0-6]?[0-9]?[0-9]) height=([0-4]?[0-9]?[0-9])\]([\w]+?://[\w\#$%&~/.\-;:=,?@\[\]+]*?(\.(ra|rm|ram|rp|rpm|rpx|smi|smil)))\[/$ram\]#si", "[$ram width=\\1 height=\\2:$uid]\\3[/$ram:$uid]", $text) : $text;

// [quick] and [/quick]
$quick = $bbc_tag['quick'];
$bbc_sort = bbc_auth($bbc_auth['quick']);
$text = ($bbc_value['quick'] && $bbc_sort) ? preg_replace("#\[$quick width=([0-6]?[0-9]?[0-9]) height=([0-4]?[0-9]?[0-9])\]([\w]+?://[\w\#$%&~/.\-;:=,?@\[\]+]*?(\.mov|qt))\[/$quick\]#si", "[$quick width=\\1 height=\\2:$uid]\\3[/$quick:$uid]", $text) : $text;

// [sup] and [/sup]
$sup = $bbc_tag['sup'];
$bbc_sort = bbc_auth($bbc_auth['sup']);
$text = ($bbc_value['sup'] && $bbc_sort) ? preg_replace("#\[$sup\](.*?)\[/$sup\]#si", "[$sup:$uid]\\1[/$sup:$uid]", $text) : $text;

// [sub] and [/sub]
$sub = $bbc_tag['sub'];
$bbc_sort = bbc_auth($bbc_auth['sub']);
$text = ($bbc_value['sub'] && $bbc_sort) ? preg_replace("#\[$sub\](.*?)\[/$sub\]#si", "[$sub:$uid]\\1[/$sub:$uid]", $text) : $text;

// [hr]
$text = preg_replace("#\[hr\]#si", "[hr:$uid]", $text);

// [bcolor] and [/bcolor] for setting background color
$text = preg_replace("#\[bcolor=(\#[0-9A-F]{6}|[a-z\-]+)\](.*?)\[/bcolor\]#si", "[bcolor=\\1:$uid]\\2[/bcolor:$uid]", $text);

// [font=] and [/font]
$text = preg_replace("#\[font=(.*?)\](.*?)\[/font\]#si", "[font=\\1:$uid]\\2[/font:$uid]", $text);
//-- fin mod : bbcode box reloaded ---------------------------------------------
#
#-----[ FIND ]------------------------------------------------
#
?>
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
//-- mod : bbcode box reloaded -------------------------------------------------
//-- add
function rainbow($text)
{
//
// Returns text highlighted in rainbow colours
//

if ( !defined('RAINBOW_COLORS_LOADED') )
{
$colors = load_rainbow_colors ();
}
$text = trim(stripslashes($text));
$length = strlen($text);
$result = '';
$color_counter = 0;
$TAG_OPEN = false;
for ( $i = 0; $i < $length; $i++ )
{
$char = substr($text, $i, 1);
if ( !$TAG_OPEN )
{
if ( $char == '<' )
{
$TAG_OPEN = true;
$result .= $char;
}
elseif ( preg_match("#\S#i", $char) )
{
$color_counter++;
$result .= '<span style="color: ' . $colors[$color_counter] . ';">' . $char . '</span>';
$color_counter = ( $color_counter == 7 ) ? 0 : $color_counter;
}
else
{
$result .= $char;
}
}
else
{
if ( $char == '>' )
{
$TAG_OPEN = false;
}
$result .= $char;
}
}
return $result;
}

function load_rainbow_colors ()
{
return array(
1 => 'red',
2 => 'orange',
3 => 'yellow',
4 => 'green',
5 => 'blue',
6 => 'indigo',
7 => 'violet'
);
}
//-- fin mod : bbcode box reloaded ---------------------------------------------
#
#-----[ OPEN ]------------------------------------------------
#
includes/constants.php
#
#-----[ FIND ]------------------------------------------------
#
define('VOTE_USERS_TABLE', $table_prefix.'vote_voters');
#
#-----[ AFTER, ADD ]------------------------------------------
#
//-- mod : bbcode box reloaded -------------------------------------------------
//-- add
define('BBC_BOX_TABLE', $table_prefix.'bbc_box');
//-- fin mod : bbcode box reloaded ---------------------------------------------
#
#-----[ OPEN ]------------------------------------------------
#
includes/functions.php
#
#-----[ FIND ]------------------------------------------------
#
@include($phpbb_root_path . $template_path . $template_name . '/' . $template_name . '.cfg');
#
#-----[ AFTER, ADD ]------------------------------------------
#
//-- mod : bbcode box reloaded -------------------------------------------------
//-- add
$style = $board_config['bbc_style_path'];
@include($phpbb_root_path . $template_path . $template_name . '/bbc_box.cfg');
//-- fin mod : bbcode box reloaded ---------------------------------------------
#
#-----[ OPEN ]------------------------------------------------
#
includes/page_header.php
#
#-----[ FIND ]------------------------------------------------
#
'T_HEAD_STYLESHEET' =>
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
//-- mod : bbcode box reloaded -------------------------------------------------
//-- add
'BBC_BOX_SHEET' => $images['bbc_box_sheet'],
//-- fin mod : bbcode box reloaded ---------------------------------------------
#
#-----[ OPEN ]------------------------------------------------
#
language/lang_english/lang_main.php
#
#-----[ FIND ]------------------------------------------------
#
?>
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
//-- mod : bbcode box reloaded -------------------------------------------------
//-- add
// acp
$lang['BBcode_Box'] = 'BBcode Box';
$lang['bbc_box_a_settings'] = 'Settings';
$lang['bbc_box_b_list'] = 'BBcode list';
$lang['bbc_box_c_manage'] = 'Manage';
// spoiler
$lang['bbcbxr_spoil'] = 'Spoiler';
$lang['bbcbxr_show'] = 'show';
$lang['bbcbxr_hide'] = 'hide';
// code expand
$lang['bbcbxr_expand'] = 'Expand';
$lang['bbcbxr_expand_more'] = 'Expand more';
$lang['bbcbxr_contract'] = 'Contract';
$lang['bbcbxr_select'] = 'Select all';
//-- fin mod : bbcode box reloaded ---------------------------------------------
#
#-----[ OPEN ]------------------------------------------------
#
templates/subSilver/bbcode.tpl
#
#-----[ FIND ]------------------------------------------------
#
# This is a partial search: the full lines are longer
#
<!-- BEGIN quote_username_open --></span>
<table
<tr>
{USERNAME} {L_WROTE}
</tr>
<tr>
<!-- END quote_username_open -->
<!-- BEGIN quote_open --></span>
<table
<tr>
{L_QUOTE}
</tr>
<tr>
<!-- END quote_open -->
<!-- BEGIN quote_close --></td>
</tr>
</table>
<span class="postbody"><!-- END quote_close -->

<!-- BEGIN code_open --></span>
<table
<tr>
{L_CODE}
</tr>
<tr>
<!-- END code_open -->
<!-- BEGIN code_close --></td>
</tr>
</table>
<span class="postbody"><!-- END code_close -->
#
#-----[ REPLACE WITH ]----------------------------------------
#
<!-- BEGIN quote_username_open --></span>
<div align="center">
<div class="quotetitle"><nobr>&laquo; {USERNAME} &raquo; {L_WROTE}:</nobr></div>
<div class="quotediv">
<!-- END quote_username_open -->
<!-- BEGIN quote_open --></span>
<div align="center">
<div class="quotetitle">{L_QUOTE}:</div>
<div class="quotediv">
<!-- END quote_open -->
<!-- BEGIN quote_close -->
</div>
</div><span class="postbody"><!-- END quote_close -->

<!-- BEGIN code_open --></span>
<script type="text/javascript" src="templates/bbc_box/divexpand.js"></script>
<div align="center">
<script type="text/javascript">
var codetext = '{L_CODE}';
var expand = '{L_EXPAND}';
var expand_more = '{L_EXPAND_MORE}';
var contract = '{L_CONTRACT}';
var select_all = '{L_SELECT_ALL}';
codeDivStart()
</script>
<!-- END code_open -->
<!-- BEGIN code_close -->
</div>
</div><span class="postbody"><!-- END code_close -->
#
#-----[ FIND ]------------------------------------------------
#
<!-- END email -->
#
#-----[ AFTER, ADD ]------------------------------------------
#
# on a new line after <!-- END email --> (not the same line)
#
<!-- BEGIN s_open --><span style="text-decoration: line-through"><!-- END s_open -->
<!-- BEGIN s_close --></span><!-- END s_close -->

<!-- BEGIN spoil_open --></span>
<div align="center">
<div class="spoiltitle"><b>{L_BBCBXR_SPOIL}:</b>&nbsp;
<input class="spoilbtn" type="button" value="{L_BBCBXR_SHOW}" onClick="javascript:if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = '{L_BBCBXR_HIDE}'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = '{L_BBCBXR_SHOW}'; }" onfocus="this.blur();">
</div>
<div class="spoildiv">
<div style="display: none;"><!-- END spoil_open -->
<!-- BEGIN spoil_close --></div>
</div>
</div>
<span class="postbody"><!-- END spoil_close -->

<!-- BEGIN fade_open -->
<span style="width:100%; -moz-opacity:0.3; opacity:0.3; -khtml-opacity:0.3; filter:alpha(opacity=30);" onmouseout="fade2(this,30);" onmouseover="fade2(this,100);">
<!-- END fade_open -->
<!-- BEGIN fade_close -->
</span>
<!-- END fade_close -->

<!-- BEGIN align_open --><div style="text-align:{ALIGN}"><!-- END align_open -->
<!-- BEGIN align_close --></div><!-- END align_close -->

<!-- BEGIN anchor_link --><a class="postlink" href="#{ANCHOR}">{DESCRIPTION}</a><!-- END anchor_link -->
<!-- BEGIN anchor_target --><a name="{ANCHOR}" id="{ANCHOR}">{DESCRIPTION}</a><!-- END anchor_target -->

<!-- BEGIN marq_open --><marquee direction="{MARQ}" scrolldelay="120"><!-- END marq_open -->
<!-- BEGIN marq_close --></marquee><!-- END marq_close -->

<!-- BEGIN flash -->
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="{WIDTH}" height="{HEIGHT}">
<param name="allowScriptAccess" value="never" />
<param name="movie" value="{URL}" />
<param name="quality" value="high" />
<param name="scale" value="noborder" />
<param name="wmode" value="transparent" />
<param name="bgcolor" value="#000000" />
<embed type="application/x-shockwave-flash" src="{URL}" width="{WIDTH}" height="{HEIGHT}" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" allowScriptAccess="never" quality="high" scale="noborder" wmode="transparent" bgcolor="#000000"></embed>
</object><!-- END flash -->

<!-- BEGIN video -->
<object id="NSPlay" classid="clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://www.microsoft.com/netshow/download/en/nsasfinf.cab#Version=2,0,0,912" viewastext="" width="{WIDTH}" height="{HEIGHT}">
<param name="ControlType" value="1">
<param name="filename" value="{URL}">
<param name="AutoStart" value="0">
<param name="ShowControls" value="1">
<param name="ShowStatusBar" value="1">
<param name="AnimationStart" value="1">
<param name="TransparentAtStart" value="0">
<embed type="video/x-ms-asf-plugin" src="{URL}" width="{WIDTH}" height="{HEIGHT}" filename="{URL}" pluginspage="http://www.microsoft.com/windows/mediaplayer/download/default.asp" showcontrols="1" controltype="1" autostart="0" transparentatstart="1" animationatstart="1" animationstart="1" showstatusbar="1" displaysize="4"></embed>
</object><!-- END video -->

<!-- BEGIN stream -->
<object id="wmp" classid="clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,0,0" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" width="300" height="70">
<param name="FileName" value="{URL}">
<param name="ShowControls" value="1">
<param name="ShowDisplay" value="0">
<param name="ShowStatusBar" value="1">
<param name="AutoSize" value="1">
<embed type="application/x-mplayer2" src="{URL}" width="300" height="70" pluginspage="http://www.microsoft.com/windows95/downloads/contents/wurecommended/s_wufeatured/mediaplayer/default.asp" name="MediaPlayer2" showcontrols="1" autostart="0" showdisplay="0" showstatusbar="1" autosize="1" visible="1" animationatstart="0" transparentatstart="1" loop="0"></embed>
</object><!-- END stream -->

<!-- BEGIN ram -->
<embed src="{URL}" width="{WIDTH}" height="{HEIGHT}" nojava="1" controls="ImageWindow" console="one"></embed>
<embed src="{URL}" width="{WIDTH}" height="36" nojava="1" controls="ControlPanel" console="one" autostart="0"></embed>
<!-- END ram -->

<!-- BEGIN quick -->
<object classid=clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B codebase="http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0" align="center" width="{WIDTH}" height="{HEIGHT}">
<param name="controller" value="1">
<param name="type" value="video/quicktime">
<param name="autoplay" value="0">
<param name="target" value="myself">
<param name="src" value="{URL}">
<param name="pluginspage" value="http://www.apple.com/quicktime/download/indext.html">
<param name="kioskmode" value="true">
<embed type="video/quicktime" src="{URL}" width="{WIDTH}" height="{HEIGHT}" pluginspage="http://www.apple.com/quicktime/download/indext.html" align="center" border="0" kioskmode="1" controller="1" target="myself"></embed>
</object><!-- END quick -->

<!-- BEGIN sup_open --><sup><!-- END sup_open -->
<!-- BEGIN sup_close --></sup><!-- END sup_close -->

<!-- BEGIN sub_open --><sub><!-- END sub_open -->
<!-- BEGIN sub_close --></sub><!-- END sub_close -->

<!-- BEGIN hr --><hr width="80%" size="1" /><!-- END hr -->

<!-- BEGIN bcolor_open --><span style="background-color: {COLOR}"><!-- END bcolor_open -->
<!-- BEGIN bcolor_close --></span><!-- END bcolor_close -->

<!-- BEGIN font_open --><span style="font-family:{FONT}"><!-- END font_open -->
<!-- BEGIN font_close --></span><!-- END font_close -->
#
#-----[ OPEN ]------------------------------------------------
#
templates/subSilver/overall_header.tpl
#
#-----[ FIND ]------------------------------------------------
#
</head>
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
<link rel="stylesheet" href="{BBC_BOX_SHEET}" type="text/css">
<script language="javascript" src="templates/bbc_box/fade.js" type="text/javascript"></script>
#
#-----[ OPEN ]------------------------------------------------
#
templates/subSilver/posting_body.tpl
#
#-----[ FIND ]------------------------------------------------
#
# this is a partial search : the full lines are longer
#
<script language="JavaScript" type="text/javascript">
<!--
// bbCode control by
// subBlue design
// www.subBlue.com

//
var imageTag
var theSelection

//
//
var clientPC =
var clientVer =

var is_ie =
var is_nav =
&&
&&
var is_moz =

var is_win =
var is_mac =

//
b_help =
i_help =
u_help =
q_help =
c_help =
l_help =
o_help =
p_help =
w_help =
a_help =
s_help =
f_help =

//
bbcode =
bbtags =
imageTag =

//
function helpline(
document.post.helpbox.value =
}


//
function getarraysize(
for
if
return
}
return
}

//
//
function arraypush(
thearray[
}

//
//
function arraypop(
thearraysize =
retval =
delete thearray[
return
}


function checkForm(

formErrors =

if
formErrors =
}

if
alert(
return
} else
bbstyle
//
//
return
}
}

function emoticon(
var txtarea =
text =
if
var caretPos =
caretPos.text =
txtarea.focus(
} else
txtarea.value
txtarea.focus(
}
}

function bbfontstyle(
var txtarea =

if
theSelection =
if
txtarea.value
txtarea.focus(
return
}
document.selection.createRange(
txtarea.focus(
return
}
else if
{
mozWrap(
return
}
else
{
txtarea.value
txtarea.focus(
}
storeCaret(
}


function bbstyle(
var txtarea =

txtarea.focus(
donotinsert =
theSelection =
bblast =

if (bbnumber
while
butnumber =
txtarea.value
buttext =
eval('
}
imageTag =
txtarea.focus(
return
}

if ((clientVer >= 4
{
theSelection =
if
//
document.selection.createRange(
txtarea.focus(
theSelection =
return
}
}
else if
{
mozWrap(
return
}

//
for (i
if (bbcode[i]
bblast =
donotinsert =
}
}

if (donotinsert
while
butnumber =
txtarea.value
buttext =
eval('
imageTag =
}
txtarea.focus(
return
} else

if (imageTag
txtarea.value
lastValue =
document.post.addbbcode14.value =
imageTag =
}

//
txtarea.value
if ((bbnumber
arraypush(
eval('
txtarea.focus(
return
}
storeCaret(
}

//
function mozWrap(
{
var selLength =
var selStart =
var selEnd =
if (selEnd
selEnd =

var s1 =
var s2 =
var s3 =
txtarea.value =
return
}

//
//
function storeCaret(
if (textEl.createTextRange
}

//-->
</script>
#
#-----[ REPLACE WITH ]----------------------------------------
#
{BBC_JS_BOX}
#
#-----[ FIND ]------------------------------------------------
#
# this is a partial search : the full lines are longer
#
<td class="row2" valign="top"
<table width="450" border="0"
<tr
<td>
<input type="button" class="button" accesskey="b"
</span></td>
<td>
<input type="button" class="button" accesskey="i"
</span></td>
<td>
<input
</span></td>
<td>
<input
</span></td>
<td>
<input
</span></td>
<td>
<input
</span></td>
<td>
<input
</span></td>
<td>
<input
</span></td>
<td>
<input
</span></td>
</tr>
<tr>
<td colspan
<table
<tr>
<td>
<select name="addbbcode18"
<option style=
<option style=
<option style=
<option style=
<option style=
<option style=
<option style=
<option style=
<option style=
<option style=
<option style=
<option style=
<option style=
<option style=
<option style=
</select>
<option value="7"
<option value=
<option value=
<option value=
<option value=
</select>
</span></td>
<td nowrap="nowrap"
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="9"
<input type="text" name="helpbox"
</td>
</tr>
<tr>
<td colspan="9"
<textarea name="message"
</td>
</tr>
</table>
</span></td>
#
#-----[ REPLACE WITH ]----------------------------------------
#
<td class="row2" valign="top"><table cellspacing="0" cellpadding="2" border="0">
{BBC_DISPLAY_BOX}
<tr>
<td><textarea name="message" rows="15" cols="76" wrap="virtual" style="width:450px" tabindex="3" class="post" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);">{MESSAGE}</textarea></td>
</tr>
</table></td>
#
#-----[ OPEN ]------------------------------------------------
#
templates/subSilver/simple_header.tpl
#
#-----[ FIND ]------------------------------------------------
#
</head>
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
<link rel="stylesheet" href="{BBC_BOX_SHEET}" type="text/css">
<script language="javascript" src="templates/bbc_box/fade.js" type="text/javascript"></script>
#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------
#
# EoM[/spoiler]

edit: oh non, j'ai bidouillé la bdd et j'ai perdu le forum... message d'erreur:
Citation:
phpBB : Critical Error

Could not get theme data for themes_id []


Je n'ai vidé que 2 tables, qu'est-ce qui cloche^^"""

edit4: tiens, dans la bdd il y'a un truc qui s'appelle "themes id" dans "phpbb themes" je le supprime?
Ce forum va me rendre fou, j'abandonne.. *__* c'est fou comme il y'a des tables dedant, de plus elles créent des problèmes...je doute de leur valeur sincèrement dans une base des données... :idea:

Excusez-moi du dérangement causé.. :oops:

_________________
Continuez ainsi! J'adore ce site! :D

La vie est un collier, dont chaque jour est une perle..

On ne dit pas "Forumactif", on dit ""Shopactif" xD etc...


Modifié en dernier par David le Mer 26 Mar 2008 00:49, modifié 3 fois.

Avatar de l’utilisateur
Hors ligne

Enregistré le:
Sam 1 Avr 2006 20:16
Messages: 765
Localisation: PMS & Antifa

Profil  Site Internet Voir la position géographique du membre
Répondre en citant le message  
Haut  
 Sujet du message:
Message Posté: Mer 26 Mar 2008 03:35 

re bonsoir :oops:

(ce soir je veille trop..)^^"

Voilà, après avoir annulé mon ancien forum j'ai donc patienté jusqu'à ce que j'installe tout le nouveau forum =)

Tout va bien, mais lorsque je valide l'installation voilà ce que j'obtiens:

Citation:
phpBB : Erreur critique

Could not connect to the database


ceci est mon lien d'installation comme vous constatez: http://shinishi1.ifrance.com/install/install.php dès que je valide, le message d'erreur apparaît.. képassa? :o

Je suis désolé de poster à une heure pareille :oops: Bonne nuit le forum! et merci d'avance pour toute aide.

David

_________________
Continuez ainsi! J'adore ce site! :D

La vie est un collier, dont chaque jour est une perle..

On ne dit pas "Forumactif", on dit ""Shopactif" xD etc...


Avatar de l’utilisateur
Hors ligne

Enregistré le:
Sam 1 Avr 2006 20:16
Messages: 765
Localisation: PMS & Antifa

Profil  Site Internet Voir la position géographique du membre
Répondre en citant le message  
Haut  
 Sujet du message:
Message Posté: Mer 26 Mar 2008 08:32 

Alors pour la première partie cela aurait pu se récupérer, mais bon visiblement il est trop tard, encore un trop pressé qui a bidouillé partout :D :D :D

Pour ce qui est du second post, tu as du commettre une erreur en remplissant la première page d'instal je suppose.

Image

Du coup le FTP et la BdD ne communiquent pas.

Cela peut se corriger en éditant le fichier "config.php" et via myadmin la table "phpbb_config".


Avatar de l’utilisateur
Hors ligne

Enregistré le:
Mer 2 Nov 2005 21:51
Messages: 837

Profil  Voir la position géographique du membre
Répondre en citant le message  
Haut  
 Sujet du message:
Message Posté: Mer 26 Mar 2008 13:35 

Bonjour!

j'ai rempli les champs et toujours rien! j'ai le même problème... :(

edit: je n'ai pas la case "installation" ! :shock:

_________________
Continuez ainsi! J'adore ce site! :D

La vie est un collier, dont chaque jour est une perle..

On ne dit pas "Forumactif", on dit ""Shopactif" xD etc...


Modifié en dernier par David le Mer 26 Mar 2008 13:41, modifié 1 fois.

Avatar de l’utilisateur
Hors ligne

Enregistré le:
Sam 1 Avr 2006 20:16
Messages: 765
Localisation: PMS & Antifa

Profil  Site Internet Voir la position géographique du membre
Répondre en citant le message  
Haut  
 Sujet du message:
Message Posté: Mer 26 Mar 2008 13:52 

Vérifie que tu as bien ta base sur ton serveur et ensuite que tu indiques bien les bonnes coordonées de celle-ci dans la page d'installation.

_________________
Ma satisfaction, que vous soyez satisfait.


Avatar de l’utilisateur
<font color=#AA0000><b>Fondateur</b></font>
Fondateur
Hors ligne

Enregistré le:
Mar 1 Nov 2005 19:45
Messages: 5117
Localisation: Centre France

Profil  Site Internet Voir la position géographique du membre
Répondre en citant le message  
Haut  
 Sujet du message:
Message Posté: Mer 26 Mar 2008 13:58 

C'est bien ce que j'ai fais..ma bdd est bien activée et j'ai rentré les coordonnées qu'on m'a donné mais ça ne marche pas. :!:

_________________
Continuez ainsi! J'adore ce site! :D

La vie est un collier, dont chaque jour est une perle..

On ne dit pas "Forumactif", on dit ""Shopactif" xD etc...


Avatar de l’utilisateur
Hors ligne

Enregistré le:
Sam 1 Avr 2006 20:16
Messages: 765
Localisation: PMS & Antifa

Profil  Site Internet Voir la position géographique du membre
Répondre en citant le message  
Haut  
 
Poster un nouveau sujet Répondre au sujet



Qui est en ligne

Utilisateurs parcourant ce forum : Google et 1 invité


Afficher les messages postés depuis:   Trier par  
Aller à:  

Vous ne pouvez pas poster de nouveaux sujets
Vous ne pouvez pas répondre aux sujets
Vous ne pouvez pas modifier vos messages
Vous ne pouvez pas supprimer vos messages
Vous ne pouvez pas joindre des fichiers

Index du forum » ENTRAIDE » PHPBB (2 et 3) » Administration

cron

Votre site ici

Inscrire votre site        Voir plus de boutons
 

Reproduction strictement interdite sans l'autorisation de l'administrateur.

PatMax © 2006 - 2008
Développé par phpBB® Forum Software © phpBB Group    
Traduit par phpBB-fr.com
Thème graphique par PatMax ©