Home › Forum › Amministrazione WP › Merge tra WP e BB db utenti
-
AutorePost
-
-
31 Gennaio 2010 alle 9:53 #12852marcotaddiaPartecipante
Come da oggetto ho un blog e un forum con database utenti separato che ora vorrei riunire.
So già che è una cosa per cui varrebbe la pena di tirarmi dei noi (potevo farlo prima no?) però prima non ve ne era la necessità (il solito murphy).
Chiedevo quindi se esistono procedure facilitate o se c’è tutto da fare a mano e nel caso vorrei capire le interazioni dei vari database per procedere, sono solo una decina di utenti da importare da BB a WP.
Un saluto
-
31 Gennaio 2010 alle 11:18 #71049wollyAmministratore del forum
cos’è BB?
-
31 Gennaio 2010 alle 13:41 #71050marcotaddiaPartecipante
BBpress.
Il forum compatibile e integrabile in WP, quello che stiamo usando ora.
-
31 Gennaio 2010 alle 16:57 #71054SteveAglAmministratore del forum
Non mi pare esista nulal che faccia questa cosa.. se si tratta di pochi utenti conviene farli riregistrare…
-
31 Gennaio 2010 alle 18:12 #71055marcotaddiaPartecipante
Anche io avevo pensato la stessa cosa il punto però è che passando dall’usare la tabella bb_user a wp_user in bbpress si perdono tutti gli indici degli interventi precedenti all’integrazione e sono in un fortuito caso di un utente gli id sono identici.
Praticamente il risultato è un db pieno di interventi senza che si abbia la possibilità di sapere chi gli ha fatti.
Volevo quindi evitarlo ma credo che il lavoro potrebbe essere una radicale modifica manuale degli id nelle varie tabelle del forum.
-
1 Febbraio 2010 alle 14:21 #71061SteveAglAmministratore del forum
Là¬importatore deve tenere conto di questo ed agire aggiornando gli indici su BB ovviamente…
-
3 Febbraio 2010 alle 20:34 #71133marcotaddiaPartecipante
Ho sistemato a mano, più sotto lascio una breve descrizione della procedura da fare, ora però mi è saltato fuori questo problema che proprio non capisco.
Termino tutta l’aggiornamento e integrazione tra WP e BB e tutto funziona perfettamente, passo da blog a forum senza dover rimettere username e password ogni volta.
Dopo 3 ore ritorno e sembra non funzionare più, praticamente il login richiede nuovamente user e pass (sebbene siano le stesse) ogni volta che si passa da WP a BB.
Il punto è che non è cambiato nulla ne nel DB ne in altro.
Qualche idea?
_______________
Per chi si fosse trovato nella mia stessa situazione di dover aggiornare tramite script sql segnalo le tabelle e relativi campi (tra parentesi) che entrano in gioco.
Ovviamente è chiaro che il nuovo ID degli utenti deve essere quello presente nella tabella wp_users.
bb_users(ID); bb_usermeta(user_id); bb-term_relationships(user_id); bb_tagged(user_id); bb_topics(topic_posters; topic_last_posters); bb_posts(poster_id).
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.