Pagina 1 van 1
Hoeveel tabbelen heeft een standaart phpbb instalatie
Geplaatst: 24 apr 2009, 15:16
door David
- Adres van je forum: http://watisnf.nl
Event. modificaties op je forum: Sudoku, AJAX shout box, board portal
Wanneer ontstond het probleem?
phpBB versie: 3.0.4
Heb je onlangs iets veranderd aan je forum? Nope
Wat is het probleem?
Ik heb vandaag mijn test forum verwijderd, Ik heb hem eerst verwijderd van mijn ftp server. Nu net heb ik de tabbelen in mijn phpadmyn verwijderd die er mee te maken hadden. Op 1 database stonden er namelijk 410 tabbelen. Nu nog maar 256. Volgens mij zij dit er nog teveel.
Kan iemand mij vertellen hoeveel tabbelen een standaart PHPBB instalatie heeft?
En hoeveel tabbelen zou ik hebben samen met me MODS? ( als iemand dat toevallig weet dan)
Die tabbelen lijkt echt een zooitje te zijn, iemand van het support team heeft het ook al eens gezegd, er staan nu nog phpbb2 mappen tussen. Dat klopt volgens mij ook niet zo. Maar dat weet ik niet zeker.
Kan iemand me een beetje opweg helpen zodat me phpadmyn een beetje kan opschonen;)
Alvast bedankt
Groet David
Re: Hoeveel tabbelen heeft een standaart phpbb instalatie
Geplaatst: 24 apr 2009, 15:22
door FreakyBlue
Een normale phpBB installatie heeft 62 tabellen.
Van die modificaties weet ik het zo niet. Ik zou zeggen, kijk even zelf in de install files van de modificaties
Maar dat je er veel te veel hebt, dat is zeker

Re: Hoeveel tabbelen heeft een standaart phpbb instalatie
Geplaatst: 24 apr 2009, 15:42
door David
Als ik wil weten hoeveel tabbelen een mod toevoegd. Moet ik dan kijken bij files tot edit?
Hier onder even het voorbeeld van de install exe van de AJAX shoutbox
Code: Selecteer alles
Installation instructions for 'AJAX Chat' Version 2.0.0B8
About this MOD
Title:
AJAX Chat
Description:
This Mod Adds AJAX Chat/Shoutbox to your forum.
Users can chat without ever needing to reload the page.
Version:
2.0.0B8
Installation Level:
Easy
Installation Time:
~3 minutes
Author
Username:
Handyman
Email:
Handyman@startrekaccess.com
Realname:
Francis Lewis
Files To Edit
language/en/common.php,
viewonline.php,
includes/functions.php,
styles/prosilver/template/overall_header.html,
styles/prosilver/template/index_body.html,
index.php
Included Files
root/chat.php,
root/shout.php,
root/language/en/chat.php,
root/styles/prosilver/imageset/*,
root/styles/prosilver/template/chat_body.html,
root/chat_install.php,
root/adm/mods/ajax_chat_version.php
--------------------------------------------------------------------------------
Disclaimer
For Security Purposes, Please Check: http://startrekguide.com/forum/ 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, StarTrekGuide will not offer support for MOD's not offered in our MOD-Database, located at: http://startrekguide.com/forum/
Author Notes
Copyright 2006-2007 © Handyman, StarTrekGuide Group.
You can find support for this and other mods at http://startrekguide.com/forum
MOD History
2007-11-04 - Version 2.0.0B8
Only registered users can post
Added MOD Version Check file to keep track of updates
a little code cleanup
2007-5-06 - Version 2.0.0B7
Recoded to use templates
Added who's online
created prosilver and subsilver2 templates
Added delays for users who aren't actively chatting
2007-3-13 - Version 2.0.0B6
Made it somewhat less dependent on javascript for inputs
2007-3-12 - Version 2.0.0B5
Fixed autologin bug
2007-2-07 - Version 2.0.0B4
Increased speed an performance
Added Fat effect
2007-1-27 - Version 2.0.0B3
More stable
Fixed javascript errors
works with all ajax capable browsers
2006-8-23 - Version 1.0.0
Original release
License
This MOD has been licensed under the following license:
http://opensource.org/licenses/gpl-license.php GNU General Public License v2
Other Notes
Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
This MOD was designed for phpBB3.0 and may not function as stated on other phpBB versions. MODs for phpBB3.0 will not work on phpBB2.0 and vice versa.
--------------------------------------------------------------------------------
File Copy
Copy: root/chat.php
To: chat.php
Copy: root/shout.php
To: shout.php
Copy: root/language/en/chat.php
To: language/en/chat.php
Copy: root/styles/prosilver/imageset/*
To: styles/prosilver/imageset/*
Copy: root/styles/prosilver/template/chat_body.html
To: styles/prosilver/template/chat_body.html
Copy: root/chat_install.php
To: chat_install.php
Copy: root/adm/mods/ajax_chat_version.php
To: adm/mods/ajax_chat_version.php
Edits
Click on the action name or in the code box to select the code. You may also hit 's' on your keyboard to go to the first code box and the up and down arrows to scroll through the code boxes.
Open: language/en/common.php
Find
Tip: This may be a partial find and not the whole line.
'CHANGING_PROFILE' => 'Changing forum profile settings',
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
//-- mod : AJAX Chat ----------------------------------------------------
//-- add
'CHAT' => 'Chat',
'CHAT_EXPLAIN' => 'Chat Center',
//-- fin mod : AJAX Chat ------------------------------------------------
Find
Tip: This may be a partial find and not the whole line.
'VIEWED' => 'Viewed',
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
//-- mod : AJAX Chat ----------------------------------------------------
//-- add
'VIEWING_CHAT' => 'Viewing Shoutbox',
//-- fin mod : AJAX Chat ------------------------------------------------
Open: viewonline.php
Find
Tip: This may be a partial find and not the whole line.
case 'index':
$location = $user->lang['INDEX'];
$location_url = append_sid("{$phpbb_root_path}index.$phpEx");
break;
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
//-- mod : AJAX Chat ----------------------------------------------------
//-- add
case 'chat':
$location = $user->lang['VIEWING_CHAT'];
$location_url = append_sid("{$phpbb_root_path}chat.$phpEx");
break;
//-- fin mod : AJAX Chat ------------------------------------------------
Open: includes/functions.php
Find
Tip: This may be a partial find and not the whole line.
'U_RESTORE_PERMISSIONS' => ($user->data['user_perm_from'] && $auth->acl_get('a_switchperm')) ? append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=restore_perm') : '',
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
//-- mod : AJAX Chat ----------------------------------------------------
//-- add
'U_CHAT' => append_sid("{$phpbb_root_path}chat.$phpEx"),
//-- fin mod : AJAX Chat ------------------------------------------------
Open: styles/prosilver/template/overall_header.html
Comment:
this is a partial find, the actual line is much longer.
Find
Tip: This may be a partial find and not the whole line.
<a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}" class="icon-faq">{L_FAQ}</a>
In-line Find
Tip: This is a partial match of a line for in-line operations.
<a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}" class="icon-faq">{L_FAQ}</a>
In-line Add before
<a href="{U_CHAT}" title="{L_CHAT_EXPLAIN}" class="icon_members">{L_CHAT}</a>
Open: styles/prosilver/template/index_body.html
Find
Tip: This may be a partial find and not the whole line.
<!-- IF S_DISPLAY_ONLINE_LIST -->
Add before
Tip: Add these lines on a new blank line before the preceding line(s) to find.
<!-- INCLUDE chat_body.html -->
Open: index.php
Find
Tip: This may be a partial find and not the whole line.
$user->setup('viewforum');
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
//-- mod : AJAX Chat ----------------------------------------------------
//-- add
include($phpbb_root_path . 'shout.' . $phpEx);
//-- fin mod : AJAX Chat ------------------------------------------------
DIY Instructions
These are manual instructions that cannot be performed automatically. You should follow these instructions carefully.
browse to chat_install.php?mode=install to install the chat database.
Remove the chat_install.php when you are finished
--------------------------------------------------------------------------------
Save all files. End of MOD.
You have finished the installation for this MOD. Upload all changed files to your website. If the installation went bad, simply restore your backed up files.
MOD UA XSLT File Copyright © 2006 The phpBB Group, this MOD is copyright to the author listed above.
Re: Hoeveel tabbelen heeft een standaart phpbb instalatie
Geplaatst: 24 apr 2009, 16:45
door FreakyBlue
De tabellen van de chatmod vind je nou net niet in de install.xml file. Die zitten 'verstopt' in de root/chat_install.php bestand
Volgens is dit ook bij het portal.
Re: Hoeveel tabbelen heeft een standaart phpbb instalatie
Geplaatst: 24 apr 2009, 17:53
door David
Oke, ik post hem even neer, ik kan het zelf zosnel niet vinden, als iemand kan zeggen welke zinnetje of welk deel ik op moet zoeken dan kom ik er wel;)
Code: Selecteer alles
<?php
/**
* Only adjust bitfields, do not rewrite text...
* All new parsings have the img, flash and quote modes set to true
*
* You should make a backup from your users, posts and privmsgs table in case something goes wrong
* Forum descriptions and rules need to be re-submitted manually.
*/
define('IN_PHPBB', true);
$phpbb_root_path = './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.'.$phpEx);
// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup();
// is the user logged in?
if (!$user->data['is_registered'])
{
if ($user->data['is_bot'])
{
// the user is a bot, send them back to home plate...
redirect(append_sid("{$phpbb_root_path}index.$phpEx"));
}
// the user is not logged in, give them a chance to login here...
login_box('', 'LOGIN');
}
else if ($user->data['user_type'] != USER_FOUNDER)
{
trigger_error('NOT_AUTHORIZED');
}
define('CHAT_TABLE', $table_prefix . 'chat');
define('CHAT_SESSIONS_TABLE', $table_prefix . 'chat_sessions');
$mode = request_var('mode', '');
switch ($mode)
{
case 'upgrade':
$sql = 'DROP TABLE ' . CHAT_TABLE;
$db->sql_query($sql);
break;
case 'install':
switch ($db->sql_layer)
{
case 'mysql':
$db_type = 'mysql_40';
break;
case 'mysql4':
if (version_compare($db->mysql_version, '4.1.3', '>='))
{
$db_type = 'mysql_41';
}
else
{
$db_type = 'mysql_40';
}
break;
case 'mysqli':
$db_type = 'mysql_41';
break;
default:
$db_type = $db->sql_layer;
break;
}
$sql = "CREATE TABLE {$table_prefix}chat (
message_id int(11) unsigned NOT NULL auto_increment,
chat_id int(11) unsigned NOT NULL default '0',
user_id int(11) unsigned NOT NULL default '0',
username varchar(255) NOT NULL default '',
user_colour varchar(6) NOT NULL default '',
message text NOT NULL,
bbcode_bitfield varchar(255) NOT NULL default '',
bbcode_uid varchar(8) NOT NULL default '',
bbcode_options tinyint(1) unsigned NOT NULL default '7',
time int(11) unsigned NOT NULL default '0',
PRIMARY KEY (message_id)
)";
if ($db_type == 'mysql_41')
{
$sql .= 'CHARACTER SET `utf8` COLLATE `utf8_bin`';
}
$db->sql_query($sql);
$sql = "CREATE TABLE {$table_prefix}chat_sessions (
user_id mediumint(8) unsigned NOT NULL default '0',
username varchar(255) NOT NULL default '',
user_colour varchar(6) NOT NULL default '',
user_login int(11) unsigned NOT NULL default '0',
user_firstpost int(11) unsigned NOT NULL default '0',
user_lastpost int(11) unsigned NOT NULL default '0',
user_lastupdate int(11) unsigned NOT NULL default '0',
PRIMARY KEY (user_id)
)";
if ($db_type == 'mysql_41')
{
$sql .= 'CHARACTER SET `utf8` COLLATE `utf8_bin`';
}
$db->sql_query($sql);
break;
}
// Done
$db->sql_close();
if (!$mode)
{
die('you did not select a mode');
}
else
{
die('Database installed successfully. Remove this file from your server');
}
?>
Re: Hoeveel tabbelen heeft een standaart phpbb instalatie
Geplaatst: 24 apr 2009, 18:18
door Pascal
Zegt het al, maak een tabel aan ^^
Re: Hoeveel tabbelen heeft een standaart phpbb instalatie
Geplaatst: 24 apr 2009, 18:35
door FreakyBlue
Dan tel ik er twee
Nog een doen?
Re: Hoeveel tabbelen heeft een standaart phpbb instalatie
Geplaatst: 24 apr 2009, 18:47
door David
De Sudoku mod heeft er 8, ik moest ze tellen in de db_update.php
Normaal: 62 Tabellen
Chat: 2 Tabellen
Sudoku: 8 Tabellen
Portal: zoek ik nog kan het zosnel iet vinden

Iemand misschien een idee?
Gewijzigd:
Ik denk dat ik weet waar een deel van me tabbelen van daan komen.
1.) phpbb_
2.) phpbb_2
3.) phpbb_3
nummer 1 en 2 zijn bijna precies het zelfde kwa tabbelen. Dus dan zou ik alleen uitmoeten zoeken welke me forum gebruikt en dan de tabellen van 1 of 2 verwijderen toch?
Re: Hoeveel tabbelen heeft een standaart phpbb instalatie
Geplaatst: 24 apr 2009, 19:19
door Kevin
Kijk in je config.php daar staat welke tabellen gebruikt worden in je forum. Maak wel een backup voor je gaat deleten he

Re: Hoeveel tabbelen heeft een standaart phpbb instalatie
Geplaatst: 24 apr 2009, 19:25
door Pascal
In config.php staat de database die gebruikt wordt voor het forum, en met de prefix kun je achterhalen welke er gebruikt wordt

Re: Hoeveel tabbelen heeft een standaart phpbb instalatie
Geplaatst: 24 apr 2009, 19:27
door Kevin
ZUCHT..... ja pff dat bedoel ik toch.

Re: Hoeveel tabbelen heeft een standaart phpbb instalatie
Geplaatst: 24 apr 2009, 20:46
door David
Zo nog maar 174 tabbelen over;)

Dat ruimt op

Bedankt alvast voor de hulp die jullie tot nu toe hebben gegeven!
Kan iemand zeggen wat ik met die phpbb2_ bestanden moet doen? Hebben deze nog zin of kan ik ze verwijderen? Mocht het nodig zijn dan post ik ze wel even hier neer;)
Re: Hoeveel tabbelen heeft een standaart phpbb instalatie
Geplaatst: 26 apr 2009, 09:26
door Kevin
Als je succesvol geconverteerd bent van phpbb2 naar phpbb3 dan zijn die niet meer nodig, mits je zeker weet dat deze ook daadwerkelijk van een vorige phpbb2 installatie is en nu niet meer gebruikt worden.
Re: Hoeveel tabbelen heeft een standaart phpbb instalatie
Geplaatst: 26 apr 2009, 10:01
door David
Heeey,
Dat is dus me probleem ik weet het niet zeker of deze nu gebruikt worden of niet. Ik heb niet erg veel verstand van, maar goed ik probeer wel te leren en zelf te doen. Ik zet die bestands namen hieronder even neer, misschien heeft het nut en misschien heb je er niks aan.
Ik heb zelf de conversie niet gedaan;) Dit heeft iemand van het phpbb service team gedaan, als ik me niet vergis heeft Fulleffect me toen geholpen.
Is misschien een manier, om dit of 1 of andere manier te weten te komen. Er zal vast wel een handeling voor zijn misschien.
Ik hoor het wel, mocht iemand iets weten;)
Code: Selecteer alles
phpbb_2acl_options
phpbb_2acl_roles
phpbb_2acl_roles_data
phpbb_2acl_users
phpbb_2attachments
phpbb_2banlist
phpbb_2bbcodes
phpbb_2bookmarks
phpbb_2bots
phpbb_2config
phpbb_2confirm
phpbb_2disallow
phpbb_2drafts
phpbb_2extensions
phpbb_2extension_groups
phpbb_2forums
phpbb_2forums_access
phpbb_2forums_track
phpbb_2forums_watch
phpbb_2groups
phpbb_2icons
phpbb_2lang
phpbb_2log
phpbb_2moderator_cache
phpbb_2modules
phpbb_2poll_options
phpbb_2poll_votes
phpbb_2posts
phpbb_2privmsgs
phpbb_2privmsgs_folder
phpbb_2privmsgs_rules
phpbb_2privmsgs_to
phpbb_2profile_fields
phpbb_2profile_fields_data
phpbb_2profile_fields_lang
phpbb_2profile_lang
phpbb_2ranks
phpbb_2reports
phpbb_2reports_reasons
phpbb_2search_results
phpbb_2search_wordlist
phpbb_2search_wordmatch
phpbb_2sessions
phpbb_2sessions_keys
phpbb_2sitelist
phpbb_2smilies
phpbb_2styles
phpbb_2styles_imageset
phpbb_2styles_imageset_data
phpbb_2styles_template
phpbb_2styles_template_data
phpbb_2styles_theme
phpbb_2topics
phpbb_2topics_posted
phpbb_2topics_track
phpbb_2topics_watch
phpbb_2users
phpbb_2user_group
phpbb_2warnings
phpbb_2words
phpbb_2zebra
Re: Hoeveel tabbelen heeft een standaart phpbb instalatie
Geplaatst: 26 apr 2009, 10:11
door Pascal
Als je prefix
niet phpbb_2 is, gebruik je die niet
Gewoon om heel erg zeker te zijn, kun je hier een backup van maken en dan dit verwijderen, krijg je fouten ofzo dan weet je waar dit aan ligt en kun je alles terug importeren. Persoonlijk denk ik dat je dit gewoon kunt verwijderen als je een andere prefix gebruikt.
Re: Hoeveel tabbelen heeft een standaart phpbb instalatie
Geplaatst: 26 apr 2009, 10:32
door David
Oke, me prefix gebruikt inderdaad die phpbb_2 niet dat wist ik al;) Wist alleen niet of die ze nouw nog werden gebruik na dat je, je forum converteerd. Maar goed het is gelukt, ik heb de bestanden verwijderd en alles lijkt gewoon nog goed te werken. Heb nog maar 111 tabbelen over

Ik had er 410 dus heb er al heel veel kunnen opruimen!!
Verder staan er alleen nog bestanden, waar geen phpbb of dergelijke voor staat. Maar daar durf ik dus niks aan te doen! Daar laat ik desnoods wel even iemand anders naar kijken die er echt verstand van heeft
Mannen bedankt voor jullie hulp en kennis, ik ben een heel eind opgeschoten
