[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Webmasterplein.net • Toon onderwerp - samenvoegen
aan alle goede dingen komt een eind, webmasterplein.net 2003 - 2013
wij danken jullie voor al mooie momenten die dankzij dit forum ontstonden - Derk, Rutger en Stef

samenvoegen

Je komt er niet helemaal uit bij het scripten? Übergoede functie geschreven? Alles met betrekking tot scripting, kun je hier terecht.

samenvoegen

Berichtdoor spijker007 » 14 apr 2005 15:08

ik heb twee forums en nu wil ik tot alllebei de forums van de zelfde user tabel gebruik maken .

maar ik wil wel aparte catogorie kunne maken dus ze moeten dan aleen gebruik maken van de zelfde user tabel en voor de rest hun eigen tabelle hoe pak ik dat aan
spijker007
 

Berichtdoor klaas » 14 apr 2005 15:14

Wat voor forum gebruik je precies? phpBB?
klaas
wmpr
 
Berichten: 95
Geregistreerd: 06 feb 2005 01:08
Woonplaats: Nijmegen

Berichtdoor slimbiny » 14 apr 2005 16:02

En wat zijn de URL's van de forum's?
PlayedThatGame.com zou wel eens mijn nieuwste site kunnen zijn
Avatar gebruiker
slimbiny
wmpr
 
Berichten: 743
Geregistreerd: 13 maart 2005 09:59
Woonplaats: Vastgeroest

Berichtdoor spijker007 » 14 apr 2005 16:04

spijker007
 

Berichtdoor slimbiny » 14 apr 2005 16:14

Met welke site/programma heb je ze gemaakt, of heb je een eigen php code? (De site lijkt kwa uiterlijk namelijk op die van bijv. bizzhat of netfreehost, als je hem zelf hebt gemaakt met php krijg je mijn complimenten)
PlayedThatGame.com zou wel eens mijn nieuwste site kunnen zijn
Avatar gebruiker
slimbiny
wmpr
 
Berichten: 743
Geregistreerd: 13 maart 2005 09:59
Woonplaats: Vastgeroest

Berichtdoor spijker007 » 14 apr 2005 16:22

spijker007
 

Berichtdoor slimbiny » 14 apr 2005 16:28

PlayedThatGame.com zou wel eens mijn nieuwste site kunnen zijn
Avatar gebruiker
slimbiny
wmpr
 
Berichten: 743
Geregistreerd: 13 maart 2005 09:59
Woonplaats: Vastgeroest

Berichtdoor spijker007 » 14 apr 2005 16:33

spijker007
 

Berichtdoor DarkLoki » 14 apr 2005 16:36

DarkLoki
wmpr
 
Berichten: 176
Geregistreerd: 07 apr 2005 09:57

Berichtdoor spijker007 » 14 apr 2005 16:38

dat is niet helemaal wat ik zoek de twee forums gaan over roda en fortuna dus dat lijkt me niet erg goed

ik dacht aan dit[syntax="php"]Zo, you'd zoals uw forums om het gebruikersgegevensbestand te delen.
Er zijn voordien heel wat posten over dit onderwerp geweest, maar ik denk (oordelend van de hoeveelheid vragen die wij nog zijn geworden) een leerprogramma is een goed idee.

Hier gaat het. Het proces is vrij gemakkelijk.

1) U zult alle raad in seperatefolders en preferrably in het zelfde gegevensbestand moeten installeren, gebruikend verschillende lijstprefixen (ik zal meester, slave1, slave2..., slaveN gebruiken).

2) Wijs �©�©n raad aan aangezien de MEESTER installeert, dit zal men als gebruiker-gegevensbestand voor alle andere forums dienst doen. De rest zal nu SLAVEN van worden genoemd.

3) Voor consistentie, noem de MEESTERS anders deelde lijsten om niet de prefix die (een hulpmiddel zoals phpMyAdmin f.i met behulp van.) te gebruiken:
Code:

VERANDER master_users van de LIJST ANDERS NOEMEN gebruikers;
VERANDER LIJST master_user_group ANDERS NOEMEN user_group;
VERANDER LIJST master_groups ANDERS NOEMEN groepen;
VERANDER master_sessions van de LIJST ANDERS NOEMEN zittingen;



4) Schrap naar keuze de ongebruikte lijsten van de SLAAF installeert (voor elke slaaf herhaal deze stap, opmerken dat de toekomstige verbeteringsmanuscripten over ontbrekende lijsten) zouden kunnen klagen:
Code:

DE LIJST SLAVE1_USERS VAN DE DALING;
DE LIJST SLAVE1_USER_GROUP VAN DE DALING;
DE LIJST SLAVE1_GROUPS VAN DE DALING;
DE LIJST SLAVE1_SESSIONS VAN DE DALING;



5) De verandering voor allen installeert (MEESTER en SLAVEN) de ingangen binnen omvat/constants.php (verwijder #):
Code:

define('GROUPS_TABLE ', ' groepen ');
define('USER_GROUP_TABLE ', ' user_group ');
define('USERS_TABLE ', ' gebruikers ');
define('SESSIONS_TABLE ', ' zittingen ');



6) U wordt gedaan. Al uw forums nu gebruiken het zelfde gebruikersgegevensbestand. Het verbieden en configuratie de opties kunnen voor elk forum seperately worden geplaatst. Omdat de zittingenlijst ook wordt gedeeld, logden de mensen binnen �©�©n forum in ook worden ingelogd op een ander forum. U zult moeten ervoor zorgen de koekjesmontages in het adminpaneel voor alle forums verenigbaar zijn. Alle forums moeten het zelfde domein gebruiken, maar zij kunnen in subdomains (f.i. forum1.mydomain.com zal ' mydomain.com ' als domein voor koekjes hebben) verschillen. Ook, moet de koekjesweg niet worden beperkt, maar in plaats daarvan in het gedeelde deel van het (f.i. http://web.archive.org/web/200410210908 ... 2fmasteren http://web.archive.org/web/200410210908 ... '/forums/' of '/' als koekjesweg hebben) worden veranderd.
[/syntax]

en het officeel bericht[syntax="php"]So, you'd like your forums to share the user database.
There have been a lot of posts about this topic before, but I think (judging from the amount of questions we still get) a tutorial is a good idea.

Here it goes. The process is pretty easy.

1) You'll have to install all boards into seperate directories and preferrably in the same database, using different table prefixes (I will use master, slave1, slave2, ..., slaveN).

2) Designate one board as the MASTER install, this one will act as the user-database for all other forums. The rest will be called SLAVES from now.

3) For consistency, rename the MASTERS shared tables to not use the prefix (using a tool like phpMyAdmin f.i.):
Code:

ALTER TABLE master_users RENAME users;
ALTER TABLE master_user_group RENAME user_group;
ALTER TABLE master_groups RENAME groups;
ALTER TABLE master_sessions RENAME sessions;



4) Optionally delete the unused tables of the SLAVE installs (for each slave repeat this step, note that future upgrade scripts might complain about missing tables):
Code:

DROP TABLE slave1_users;
DROP TABLE slave1_user_group;
DROP TABLE slave1_groups;
DROP TABLE slave1_sessions;



5) Change for all installs (MASTER and SLAVES) the entries in includes/constants.php to (remove the $table_prefix):
Code:

define('GROUPS_TABLE', 'groups');
define('USER_GROUP_TABLE', 'user_group');
define('USERS_TABLE', 'users');
define('SESSIONS_TABLE', 'sessions');



6) You're done. All your forums are now using the same user database. Banning and configuration options can be set for each forum seperately. Because the sessions table is shared too, people logged in on one forum are also logged in on another forum. You'll need to make sure the cookie settings in the admin panel are consistent for all forums. All forums have to use the same domain, but they can differ in subdomains (f.i. forum1.mydomain.com will have 'mydomain.com' as the domain for cookies). Also, the cookie path must not be restricted, but instead changed to the shared part of it (f.i. http://web.archive.org/web/200410210908 ... ums/master and http://web.archive.org/web/200410210908 ... ums/slave1 will have '/forums/' or '/' as the cookie path).
[/syntax]maar kan iemand me dit uitlegge
spijker007
 

Berichtdoor DarkLoki » 14 apr 2005 16:49

Er staat toch precies uitgelegd hoe het moet?
DarkLoki
wmpr
 
Berichten: 176
Geregistreerd: 07 apr 2005 09:57

Berichtdoor spijker007 » 14 apr 2005 16:57

spijker007
 

Berichtdoor Derk » 14 apr 2005 19:50

Iemand die PHP kan kan het wel zo maken dat nieuwe gebruikers in bijde tabellen komen.
Maar dan moeten de oude gebruikers zich nog steeds dubbel reggen
Afbeelding
Avatar gebruiker
Derk
Beheerder
Beheerder
 
Berichten: 12634
Geregistreerd: 27 nov 2003 19:50
Woonplaats: Houten

Berichtdoor spijker007 » 15 apr 2005 06:32

spijker007
 

Berichtdoor DarkLoki » 15 apr 2005 07:33

DarkLoki
wmpr
 
Berichten: 176
Geregistreerd: 07 apr 2005 09:57

Berichtdoor slimbiny » 15 apr 2005 14:46

Moet je bij een linkexange of websitepromotie aanmelden. voor meer leden
PlayedThatGame.com zou wel eens mijn nieuwste site kunnen zijn
Avatar gebruiker
slimbiny
wmpr
 
Berichten: 743
Geregistreerd: 13 maart 2005 09:59
Woonplaats: Vastgeroest

Berichtdoor spijker007 » 15 apr 2005 15:22

spijker007
 

Berichtdoor DarkLoki » 15 apr 2005 15:56

Volgens de tutorial die je zelf gepost hebt Confused
DarkLoki
wmpr
 
Berichten: 176
Geregistreerd: 07 apr 2005 09:57

Berichtdoor slimbiny » 15 apr 2005 16:15

PlayedThatGame.com zou wel eens mijn nieuwste site kunnen zijn
Avatar gebruiker
slimbiny
wmpr
 
Berichten: 743
Geregistreerd: 13 maart 2005 09:59
Woonplaats: Vastgeroest

Berichtdoor Derk » 15 apr 2005 16:16

Afbeelding
Avatar gebruiker
Derk
Beheerder
Beheerder
 
Berichten: 12634
Geregistreerd: 27 nov 2003 19:50
Woonplaats: Houten

Berichtdoor spijker007 » 19 apr 2005 14:40

spijker007
 


Keer terug naar PHP, ASP, SQL



cron