Code veranderingen phpBB 2.0.18 --> 2.0.19
Forumregels
Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
- MandersOnline
- Berichten: 732
- Lid geworden op: 27 aug 2003, 22:58
- Locatie: Amsterdam
- Contacteer:
Even een andere vraag tussendoor, heb je een modificatie toegepast die dat bestand ooit heeft veranderd?jikker schreef:Ik heb de update gedaan met deze bestanden: Klik.MandersOnline schreef:Misschien handig het origineel er naast te leggen aangezien het me sterk lijkt dat je dat bestand hebt aangepast..
En daar staat die code van hier boven toch echt in.Even voor de duidelijkheid,het forum staat hier thuis op een server die werkt met w2k3 ect.Dus update oid gebeurt hier vanachter het toestenbord.
Eddy.
Anders misschien gewoon het aangepaste bestand van phpBB zelf er neerzetten
Op phpbb.com wordt ook over het quote-probleem gesproken. Het zou aan het aan/uit zetten van html in combinatie met de adminHTML MOD liggen. Alleen heb ik die mod niet geinstalleerd, dus het zal een andere mod zijn.
Zou iemand waarbij het wel werkt eens kunnen kijken welke van mijn geinstalleerde mods hij/zij ook heeft? Dan kan ik misschien achterhalen welke de bewuste lastpost is .
Ik heb deze mods:
Mods:
-- resync_user_postcounts-1.2.1
-- Resize_Avatars_Based_on_Max_Width_and_Height_1.0.2
-- Inactive Users PhpBB 1255
-- Global Mod
-- Forum_Permissions_List_1.0.1
-- cc_ip029
-- Stop Count Posting
-- Smilies Order
-- Birthday Mod 1.5.7
-- Admin_userlist_202
-- attach_mod_2314
-- Admin Email List
-- Account Activation Overview
-- Advanced Admin Index Stats
-- View posts since last visit Number
-- View All Posts Sorted By Time
-- Statistics mod 2.1.5
-- Reduce ACP-Navigation Panel
-- Select Default Language
-- Admin Registration Notify
-- Gender Hack
-- Forum Logo Selector
-- Admin Register Hack
-- Maximum Signature Lines (alleen eerste deel)
-- Individual Ignore Signature and Avatar (Per User Basis)
-- Advanced Signature Divider Control (+ eigen aanpassingen)
-- Signature Preview
-- Can Display Signature Addition in ACP
-- myInfo Hack (staat uit)
-- Toggle ACP Login
-- Show Forum ID
Beveiliging mods
-- Auto Activate Main Admin Account
-- Keep Main Admin as an Admin
-- Auto Un-ban Main Admin
-- Main Admin Security
-- Anti Robotic Registration Flood
-- Secure Login
-- User Viewed Posts Tracker
-- admin_ignore_board_disabled
Language packs
-- English
-- Dutch
-- German
-- Eesti
Bedankt voor de hulp!
Zou iemand waarbij het wel werkt eens kunnen kijken welke van mijn geinstalleerde mods hij/zij ook heeft? Dan kan ik misschien achterhalen welke de bewuste lastpost is .
Ik heb deze mods:
Mods:
-- resync_user_postcounts-1.2.1
-- Resize_Avatars_Based_on_Max_Width_and_Height_1.0.2
-- Inactive Users PhpBB 1255
-- Global Mod
-- Forum_Permissions_List_1.0.1
-- cc_ip029
-- Stop Count Posting
-- Smilies Order
-- Birthday Mod 1.5.7
-- Admin_userlist_202
-- attach_mod_2314
-- Admin Email List
-- Account Activation Overview
-- Advanced Admin Index Stats
-- View posts since last visit Number
-- View All Posts Sorted By Time
-- Statistics mod 2.1.5
-- Reduce ACP-Navigation Panel
-- Select Default Language
-- Admin Registration Notify
-- Gender Hack
-- Forum Logo Selector
-- Admin Register Hack
-- Maximum Signature Lines (alleen eerste deel)
-- Individual Ignore Signature and Avatar (Per User Basis)
-- Advanced Signature Divider Control (+ eigen aanpassingen)
-- Signature Preview
-- Can Display Signature Addition in ACP
-- myInfo Hack (staat uit)
-- Toggle ACP Login
-- Show Forum ID
Beveiliging mods
-- Auto Activate Main Admin Account
-- Keep Main Admin as an Admin
-- Auto Un-ban Main Admin
-- Main Admin Security
-- Anti Robotic Registration Flood
-- Secure Login
-- User Viewed Posts Tracker
-- admin_ignore_board_disabled
Language packs
-- English
-- Dutch
-- German
-- Eesti
Bedankt voor de hulp!
Ik heb inderdaar diverse mods op het forum losgelaten,vandaar ook die code-update.Dit bestand heb ik echter nooit aangepast.De optie die jij werkt echter ook.Ik heb uiteraard die van de full version van 2.0.19 nu laten staan.Heb ook even het verschil bekeken tussen die van 2.018 en die van 2.019.Ik kan eigenlijk niet veel verschil ontdekken behalve dan die,die in de codec-update al word aangegeven.MandersOnline schreef:Even een andere vraag tussendoor, heb je een modificatie toegepast die dat bestand ooit heeft veranderd?
Anders misschien gewoon het aangepaste bestand van phpBB zelf er neerzetten
Hoe dan ook,het werkt.Bedankt voor je hulp MandersOnline.Ik had aan die stap nu net weer niet gedacht!
Eddy.
Kan iemand mij vertellen wat de veranderingen in ncludes/bbcode.php, eigenlijk doen. Heb namelijk een forum geupdate. Maar nu blijven de [kquote][/kquote] in beeld en staan er als tekst.
Code: Selecteer alles
includes/bbcode.php
#
#-----[ FIND ]---------------------------------------------
# Line 203
$patterns[] = "#\[url\]([\w]+?://[\w\#$%&~/.\-;:=,?@\[\]+]*?)\[/url\]#is";
$replacements[] = $bbcode_tpl['url1'];
// [url]www.phpbb.com[/url] code.. (no xxxx:// prefix).
$patterns[] = "#\[url\]((www|ftp)\.[\w\#$%&~/.\-;:=,?@\[\]+]*?)\[/url\]#is";
#
#-----[ REPLACE WITH ]---------------------------------------------
#
$patterns[] = "#\[url\]([\w]+?://([\w\#$%&~/.\-;:=,?@\]+]|\[(?!url=))*?)\[/url\]#is";
$replacements[] = $bbcode_tpl['url1'];
// [url]www.phpbb.com[/url] code.. (no xxxx:// prefix).
$patterns[] = "#\[url\]((www|ftp)\.([\w\#$%&~/.\-;:=,?@\]+]|\[(?!url=))*?)\[/url\]#is";
#
#-----[ FIND ]---------------------------------------------
# Line 255
$text = bbencode_first_pass_pda($text, $uid, '/\[quote=(\\\".*?\\\")\]/is', '[/quote]', '', false, '', "[quote:$uid=\\1]");
#
#-----[ REPLACE WITH ]---------------------------------------------
#
$text = bbencode_first_pass_pda($text, $uid, '/\[quote=\\\\"(.*?)\\\\"\]/is', '[/quote]', '', false, '', "[quote:$uid=\\\"\\1\\\"]");
#
#-----[ FIND ]---------------------------------------------
# Line 392
if( preg_match('#\[quote=\\\"#si', $possible_start, $match) && !preg_match('#\[quote=\\\"(.*?)\\\"\]#si', $possible_start) )
{
// OK we are in a quote tag that probably contains a ] bracket.
// Grab a bit more of the string to hopefully get all of it..
if ($close_pos = strpos($text, '"]', $curr_pos + 9))
{
if (strpos(substr($text, $curr_pos + 9, $close_pos - ($curr_pos + 9)), '[quote') === false)
{
$possible_start = substr($text, $curr_pos, $close_pos - $curr_pos + 2);
#
#-----[ REPLACE WITH ]---------------------------------------------
#
if( preg_match('#\[quote=\\\"#si', $possible_start, $match) && !preg_match('#\[quote=\\\"(.*?)\\\"\]#si', $possible_start) )
{
// OK we are in a quote tag that probably contains a ] bracket.
// Grab a bit more of the string to hopefully get all of it..
if ($close_pos = strpos($text, '"]', $curr_pos + 14))
{
if (strpos(substr($text, $curr_pos + 14, $close_pos - ($curr_pos + 14)), '[quote') === false)
{
$possible_start = substr($text, $curr_pos, $close_pos - $curr_pos + 7);
#
Met groet, The Sting
De officiele verklaring is:The Sting schreef:Kan iemand mij vertellen wat de veranderingen in ncludes/bbcode.php, eigenlijk doen. Heb namelijk een forum geupdate. Maar nu blijven de [kquote][/kquote] in beeld en staan er als tekst.
[Sec] fixed XSS issue (only valid for Internet Explorer) within the url bbcode
[Sec] fixed XSS issue (only valid for Internet Explorer) if html tags are allowed and enabled
Volgens mij komt het er op neer dat aanhalingstekens vervangen worden door html-code (" wordt ").
Als je de wijziging voor regel 255 (tijdelijk) terug draait moet het weer goed gaan.
Het zou een combinatie zijn van deze wijziging met een geinstalleerde mod. Welke mods zijn er geinstalleerd? Toevallig een aantal die ook in mijn vorige bericht staan? Zelf ben ik bezig om op een testforum (schone installatie van versie 2.0.19) al mijn mods te installeren om te kijken aan welke het zou kunnen liggen.
Bedankt ga ik proberen, weet niet precies wat er voorheen is ingebouwd, maarop het eerst zicht geen van de genoemde. :thumb:Epic schreef:The Sting schreef:Welke mods zijn er geinstalleerd? Toevallig een aantal die ook in mijn vorige bericht staan? Zelf ben ik bezig om op een testforum (schone installatie van versie 2.0.19) al mijn mods te installeren om te kijken aan welke het zou kunnen liggen.
Met groet, The Sting
Het lijkt er op dat het fout is gegaan bij deze wijziging:
Wanneer je regel 126 vervangt in plaats van de nieuwe regel ervoor zetten krijg je het probleem dat je beschrijft.
Code: Selecteer alles
#
#-----[ OPEN ]---------------------------------------------
#
includes/usercp_register.php
#
#-----[ FIND ]---------------------------------------------
# Line 126
$trim_var_list = array('cur_password' => 'cur_password', 'new_password' => 'new_password', 'password_confirm' => 'password_confirm', 'signature' => 'signature');
#
#-----[ BEFORE, ADD ]---------------------------------------------
#
$username = ( !empty($HTTP_POST_VARS['username']) ) ? phpbb_clean_username($HTTP_POST_VARS['username']) : '';
Klopt er kwam geen reacties vandaag dus ik ben zelf gaan zoeken.
en dat is ook het punt en nu draait alles helemaal goed.
Heb nergens geen storing niets meer.
Bedankt Epic :thumb:
Dus ik ben met de tweede forum goed doorheen gerold .
Op na de volgende 4, allemaal hebben ze heel veel hacks, dus ik heb heel wat te doen hihihih
en dat is ook het punt en nu draait alles helemaal goed.
Heb nergens geen storing niets meer.
Bedankt Epic :thumb:
Dus ik ben met de tweede forum goed doorheen gerold .
Op na de volgende 4, allemaal hebben ze heel veel hacks, dus ik heb heel wat te doen hihihih
-
- Berichten: 296
- Lid geworden op: 18 mar 2005, 18:10
- Locatie: Groningen
- Contacteer:
Ik ontdekte net die nieuwe update door deze site te bezoeken. Vreemd, want ik dacht dat ik me had aangemeld om gewaarschuwd te worden wanneer er een update verschijnt. Een vraagje: Ik heb een besloten forum en ik waan me iets veiliger tegen hackers dan bij bij een openbaar forum, is dat idee juist of vals? Bij de vorige keer had Bee het lekker gemakkelijk gemaakt met de updates op zijn site, als dat er nu niet is vind ik dat jammer maar daar zal ik ook wel overheen komen. Wish me luck!
Is er hier mischien ook iemand die een phpBB2 plus 1.52 heeft en die hem heeft geupdate naar versie 2.0.19. Hier worden de updates mooi snel vermeld maar bij http://www.phpbb2.de hebben ze nog steeds de handmatige veranderingen voor een gemod forum niet op de site staan.
Dus helaas kan ik nog steeds de update niet uitvoeren...
Dus helaas kan ik nog steeds de update niet uitvoeren...
Ik heb de boel reeds geupdate.
Hier is handleiding:
Hier is handleiding:
Code changes:This Update is to Upgrade your phpBB2 Plus 1.52 based on 2.0.18 Code to the latest phpBB 2.0.19 Codebase only !
Follow these simple steps to make the Upgrade:
1. Backup your Forums Files and Database !!! If something goes wrong you need it to get back so make it !!!
2. Login to your Forum as Administrator (use Auto-Login)
3. Disable the Board in Admin Panel (General Admin - Configuration - Disable Board yes)
4. Upload the folder /install from the Upgrade Package to your Forums Directory (only this folder, not the whole package !!!)
5. Run the Updater in your Webbrowser (http://www.yourforum.com/install/update_to_latest.php
6. Delete the Folder /install then
7. Now upload your edited files
8. Delete content of the folder /cache
9. Done, go back to Admin Panel and enable the Board again.
Happy Updating
DS9
This Update was created by OXPUS from the phpbb2.de Team, all Credits are given to him.
Code: Selecteer alles
#################################################################
## MOD Title: phpBB 2.0.18 to phpBB 2.0.19 Code Changes
## MOD Author: Acyd Burn < N/A > (Meik Sievertsen) N/A
## MOD Description:
##
##
## These are the Changes from phpBB 2.0.18 to phpBB 2.0.19 summed up into a little
## Mod. This might be very helpful if you want to update your Board and have
## installed a bunch of Mods. Then it's normally easier to apply the Code Changes
## than to install all Mods again.
##
## When you find a 'AFTER, ADD'-Statement, the Code have to be added after the last
## line quoted in the 'FIND'-Statement.
## When you find a 'BEFORE, ADD'-Statement, the Code have to be added before the
## first line quoted in the 'FIND'-Statement.
## When you find a 'REPLACE WITH'-Statement, the Code quoted in the
## 'FIND'-Statement have to be replaced completely with the quoted Code in the
## 'REPLACE WITH'-Statement.
##
## After you have finished this tutorial, you have to upload the
## install/update_to_latest.php file, execute it and then delete it from your
## webspace.
##
##
##
## MOD Version: 1.0.0
##
## Installation Level: Easy
## Installation Time: 5-10 Minutes
## Files To Edit:
## admin/admin_board.php
## admin/admin_db_utilities.php
## admin/admin_disallow.php
## admin/admin_ranks.php
## admin/admin_styles.php
## admin/admin_users.php
## admin/admin_words.php
## admin/index.php
## includes/bbcode.php
## common.php
## includes/functions.php
## includes/functions_post.php
## includes/usercp_confirm.php
## includes/usercp_register.php
## language/lang_english/lang_admin.php
## language/lang_english/lang_main.php
## privmsg.php
## templates/subSilver/admin/index_body.tpl
##
## Included Files: install/update_to_latest.php
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
## Author Notes:
##
##
##############################################################
## MOD History:
##
## 2005-12-30 - Version 1.0.0
## - first release
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]---------------------------------------------
#
admin/admin_board.php
#
#-----[ FIND ]---------------------------------------------
# Line 19
$module['General']['Configuration'] = "$file";
#
#-----[ REPLACE WITH ]---------------------------------------------
#
$module['General']['Configuration'] = $file;
#
#-----[ FIND ]---------------------------------------------
# Line 194
"L_MAX_POLL_OPTIONS" => $lang['Max_poll_options'],
"L_FLOOD_INTERVAL" => $lang['Flood_Interval'],
"L_FLOOD_INTERVAL_EXPLAIN" => $lang['Flood_Interval_explain'],
#
#-----[ AFTER, ADD ]---------------------------------------------
#
// 'L_MAX_LOGIN_ATTEMPTS' => $lang['Max_login_attempts'],
// 'L_MAX_LOGIN_ATTEMPTS_EXPLAIN' => $lang['Max_login_attempts_explain'],
// 'L_LOGIN_RESET_TIME' => $lang['Login_reset_time'],
// 'L_LOGIN_RESET_TIME_EXPLAIN' => $lang['Login_reset_time_explain'],
// 'MAX_LOGIN_ATTEMPTS' => $new['max_login_attempts'],
// 'LOGIN_RESET_TIME' => $new['login_reset_time'],
#
#-----[ OPEN ]---------------------------------------------
#
admin/admin_disallow.php
#
#-----[ FIND ]---------------------------------------------
# Line 28
$module['Users']['Disallow'] = append_sid($filename);
#
#-----[ REPLACE WITH ]---------------------------------------------
#
$module['Users']['Disallow'] = $filename;
#
#-----[ OPEN ]---------------------------------------------
#
admin/admin_ranks.php
#
#-----[ FIND ]---------------------------------------------
# Line 27
$module['Users']['Ranks'] = "$file";
#
#-----[ REPLACE WITH ]---------------------------------------------
#
$module['Users']['Ranks'] = $file;
#
#-----[ OPEN ]---------------------------------------------
#
admin/admin_styles.php
#
#-----[ FIND ]---------------------------------------------
# Line 30
$module['Styles']['Manage'] = "$file";
#
#-----[ REPLACE WITH ]---------------------------------------------
#
$module['Styles']['Manage'] = $file;
#
#-----[ OPEN ]---------------------------------------------
#
admin/admin_users.php
#
#-----[ FIND ]---------------------------------------------
# Line 180
message_die(GENERAL_ERROR, 'Could not delete user from banlist table', '', __LINE__, __FILE__, $sql);
}
#
#-----[ AFTER, ADD ]---------------------------------------------
#
$sql = "DELETE FROM " . SESSIONS_TABLE . "
WHERE session_user_id = $user_id";
if ( !$db->sql_query($sql) )
{
message_die(GENERAL_ERROR, 'Could not delete sessions for this user', '', __LINE__, __FILE__, $sql);
}
$sql = "DELETE FROM " . SESSIONS_KEYS_TABLE . "
WHERE user_id = $user_id";
if ( !$db->sql_query($sql) )
{
message_die(GENERAL_ERROR, 'Could not delete auto-login keys for this user', '', __LINE__, __FILE__, $sql);
}
#
#-----[ FIND ]---------------------------------------------
# Line 234
$username = ( !empty($HTTP_POST_VARS['username']) ) ? trim(strip_tags(htmlspecialchars($HTTP_POST_VARS['username']))) : '';
#
#-----[ REPLACE WITH ]---------------------------------------------
#
$username = ( !empty($HTTP_POST_VARS['username']) ) ? phpbb_clean_username($HTTP_POST_VARS['username']) : '';
#
#-----[ FIND ]---------------------------------------------
# Line 407
if( @file_exists(@phpbb_realpath("./" . $board_config['avatar_path'] . "/" . $this_userdata['user_avatar'])) )
{
@unlink("./" . $board_config['avatar_path'] . "/" . $this_userdata['user_avatar']);
#
#-----[ REPLACE WITH ]---------------------------------------------
#
if( @file_exists(@phpbb_realpath('./../' . $board_config['avatar_path'] . "/" . $this_userdata['user_avatar'])) )
{
@unlink('./../' . $board_config['avatar_path'] . "/" . $this_userdata['user_avatar']);
#
#-----[ OPEN ]---------------------------------------------
#
admin/admin_words.php
#
#-----[ FIND ]---------------------------------------------
# Line 28
$module['General']['Word_Censor'] = "$file";
#
#-----[ REPLACE WITH ]---------------------------------------------
#
$module['General']['Word_Censor'] = $file;
#
#-----[ OPEN ]---------------------------------------------
#
admin/index.php
#
#-----[ FIND ]---------------------------------------------
# Line 237
if( preg_match("/^(3\.23|4\.)/", $version) )
{
$db_name = ( preg_match("/^(3\.23\.[6-9])|(3\.23\.[1-9][1-9])|(4\.)/", $version) ) ? "`$dbname`" : $dbname;
#
#-----[ REPLACE WITH ]---------------------------------------------
#
if( preg_match("/^(3\.23|4\.|5\.)/", $version) )
{
$db_name = ( preg_match("/^(3\.23\.[6-9])|(3\.23\.[1-9][1-9])|(4\.)|(5\.)/", $version) ) ? "`$dbname`" : $dbname;
#
#-----[ OPEN ]---------------------------------------------
#
includes/bbcode.php
#
#-----[ FIND ]---------------------------------------------
# Line 203
$patterns[] = "#\[url\]([\w]+?://[\w\#$%&~/.\-;:=,?@\[\]+]*?)\[/url\]#is";
$replacements[] = $bbcode_tpl['url1'];
// [url]www.phpbb.com[/url] code.. (no xxxx:// prefix).
$patterns[] = "#\[url\]((www|ftp)\.[\w\#$%&~/.\-;:=,?@\[\]+]*?)\[/url\]#is";
#
#-----[ REPLACE WITH ]---------------------------------------------
#
$patterns[] = "#\[url\]([\w]+?://([\w\#$%&~/.\-;:=,?@\]+]|\[(?!url=))*?)\[/url\]#is";
$replacements[] = $bbcode_tpl['url1'];
// [url]www.phpbb.com[/url] code.. (no xxxx:// prefix).
$patterns[] = "#\[url\]((www|ftp)\.([\w\#$%&~/.\-;:=,?@\]+]|\[(?!url=))*?)\[/url\]#is";
#
#-----[ FIND ]---------------------------------------------
# Line 255
$text = bbencode_first_pass_pda($text, $uid, '/\[quote=(\\\".*?\\\")\]/is', '[/quote]', '', false, '', "[quote:$uid=\\1]");
#
#-----[ REPLACE WITH ]---------------------------------------------
#
$text = bbencode_first_pass_pda($text, $uid, '/\[quote=\\\\"(.*?)\\\\"\]/is', '[/quote]', '', false, '', "[quote:$uid=\\\"\\1\\\"]");
#
#-----[ FIND ]---------------------------------------------
# Line 392
if( preg_match('#\[quote=\\\"#si', $possible_start, $match) && !preg_match('#\[quote=\\\"(.*?)\\\"\]#si', $possible_start) )
{
// OK we are in a quote tag that probably contains a ] bracket.
// Grab a bit more of the string to hopefully get all of it..
if ($close_pos = strpos($text, '"]', $curr_pos + 9))
{
if (strpos(substr($text, $curr_pos + 9, $close_pos - ($curr_pos + 9)), '[quote') === false)
{
$possible_start = substr($text, $curr_pos, $close_pos - $curr_pos + 2);
#
#-----[ REPLACE WITH ]---------------------------------------------
#
if( preg_match('#\[quote=\\\"#si', $possible_start, $match) && !preg_match('#\[quote=\\\"(.*?)\\\"\]#si', $possible_start) )
{
// OK we are in a quote tag that probably contains a ] bracket.
// Grab a bit more of the string to hopefully get all of it..
if ($close_pos = strpos($text, '"]', $curr_pos + 14))
{
if (strpos(substr($text, $curr_pos + 14, $close_pos - ($curr_pos + 14)), '[quote') === false)
{
$possible_start = substr($text, $curr_pos, $close_pos - $curr_pos + 7);
#
#-----[ OPEN ]---------------------------------------------
#
common.php
#
#-----[ FIND ]---------------------------------------------
# Line 223
message_die(GENERAL_MESSAGE, 'Please ensure both the install/ and contrib/ directories are deleted');
#
#-----[ REPLACE WITH ]---------------------------------------------
#
message_die(GENERAL_MESSAGE, 'Please_remove_install_contrib');
#
#-----[ OPEN ]---------------------------------------------
#
includes/functions.php
#
#-----[ FIND ]---------------------------------------------
# Line 161
$sql .= ( ( is_integer($user) ) ? "user_id = $user" : "username = '" . $user . "'" ) . " AND user_id <> " . ANONYMOUS;
#
#-----[ REPLACE WITH ]---------------------------------------------
#
$sql .= ( ( is_integer($user) ) ? "user_id = $user" : "username = '" . str_replace("\'", "''", $user) . "'" ) . " AND user_id <> " . ANONYMOUS;
#
#-----[ OPEN ]---------------------------------------------
#
includes/functions_post.php
#
#-----[ FIND ]---------------------------------------------
# Line 28
$html_entities_match = array('#&(?!(\#[0-9]+;))#', '#<#', '#>#');
$html_entities_replace = array('&', '<', '>');
#
#-----[ REPLACE WITH ]---------------------------------------------
#
$html_entities_match = array('#&(?!(\#[0-9]+;))#', '#<#', '#>#', '#"#');
$html_entities_replace = array('&', '<', '>', '"');
#
#-----[ OPEN ]---------------------------------------------
#
includes/usercp_register.php
#
#-----[ FIND ]---------------------------------------------
# Line 110
$strip_var_list = array('username' => 'username', 'email' => 'email', 'icq' => 'icq', 'aim' => 'aim', 'msn' => 'msn', 'yim' => 'yim', 'website' => 'website', 'location' => 'location', 'occupation' => 'occupation', 'interests' => 'interests');
#
#-----[ REPLACE WITH ]---------------------------------------------
#
$strip_var_list = array('email' => 'email', 'icq' => 'icq', 'aim' => 'aim', 'msn' => 'msn', 'yim' => 'yim', 'website' => 'website', 'location' => 'location', 'occupation' => 'occupation', 'interests' => 'interests', 'confirm_code' => 'confirm_code');
#
#-----[ FIND ]---------------------------------------------
# Line 126
$trim_var_list = array('cur_password' => 'cur_password', 'new_password' => 'new_password', 'password_confirm' => 'password_confirm', 'signature' => 'signature');
#
#-----[ BEFORE, ADD ]---------------------------------------------
#
$username = ( !empty($HTTP_POST_VARS['username']) ) ? phpbb_clean_username($HTTP_POST_VARS['username']) : '';
#
#-----[ OPEN ]---------------------------------------------
#
language/lang_english/lang_admin.php
#
#-----[ FIND ]---------------------------------------------
# Line 749
//
// That's all Folks!
#
#-----[ BEFORE, ADD ]---------------------------------------------
#
//
// Login attempts configuration
//
$lang['Max_login_attempts'] = 'Allowed login attempts';
$lang['Max_login_attempts_explain'] = 'The number of allowed board login attempts.';
$lang['Login_reset_time'] = 'Login lock time';
$lang['Login_reset_time_explain'] = 'Time in minutes the user have to wait until he is allowed to login again after exceeding the number of allowed login attempts.';
#
#-----[ OPEN ]---------------------------------------------
#
language/lang_english/lang_main.php
#
#-----[ FIND ]---------------------------------------------
# Line 1021
//
// That's all, Folks!
#
#-----[ BEFORE, ADD ]---------------------------------------------
#
$lang['Login_attempts_exceeded'] = 'The maximum number of %s login attempts has been exceeded. You are not allowed to login for the next %s minutes.';
$lang['Please_remove_install_contrib'] = 'Please ensure both the install/ and contrib/ directories are deleted';
#
#-----[ OPEN ]---------------------------------------------
#
privmsg.php
#
#-----[ FIND ]---------------------------------------------
# Line 38
$html_entities_match = array('#&(?!(\#[0-9]+;))#', '#<#', '#>#');
$html_entities_replace = array('&', '<', '>');
#
#-----[ REPLACE WITH ]---------------------------------------------
#
$html_entities_match = array('#&(?!(\#[0-9]+;))#', '#<#', '#>#', '#"#');
$html_entities_replace = array('&', '<', '>', '"');
#
#-----[ OPEN ]---------------------------------------------
#
templates/subSilver/admin/index_body.tpl
#
#-----[ FIND ]---------------------------------------------
# Line 46
<td class="row2"><b>{GZIP_COMPRESSION}</b></td>
</tr>
</table>
#
#-----[ AFTER, ADD ]---------------------------------------------
#
<h1>{L_VERSION_INFORMATION}</h1>
{VERSION_INFO}
<br />
#
#-----[ FIND ]---------------------------------------------
# Line 87
<h1>{L_VERSION_INFORMATION}</h1>
{VERSION_INFO}
<br />
#
#-----[ REPLACE WITH ]---------------------------------------------
# (just remove the lines)
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
ds9 ik heb toch nog even een vraag.
Er staat dat ik onderstaande moet invoeren
Bij mij staan de andere regels zoals onderstaande
moet die // er ook inkomen en klopt het dat er alleen ' moet komen en niet "
Ik ben er nog niet zo handig mee en daarom vraag ik het maar voor de zekerheid.
Er staat dat ik onderstaande moet invoeren
Code: Selecteer alles
// 'L_MAX_LOGIN_ATTEMPTS' => $lang['Max_login_attempts'],
// 'L_MAX_LOGIN_ATTEMPTS_EXPLAIN' => $lang['Max_login_attempts_explain'],
// 'L_LOGIN_RESET_TIME' => $lang['Login_reset_time'],
// 'L_LOGIN_RESET_TIME_EXPLAIN' => $lang['Login_reset_time_explain'],
// 'MAX_LOGIN_ATTEMPTS' => $new['max_login_attempts'],
// 'LOGIN_RESET_TIME' => $new['login_reset_time'],
Code: Selecteer alles
"L_FLOOD_INTERVAL_EXPLAIN" => $lang['Flood_Interval_explain'],
Ik ben er nog niet zo handig mee en daarom vraag ik het maar voor de zekerheid.
-
- Berichten: 1496
- Lid geworden op: 25 mei 2005, 14:09