Content Management System - CMS : eXV2 
Home
News
Forum
Downloads
Download Module
Sitemap
Partnerseiten
RSS News
Kontakt/Info
Sprache
EnglishFrench
Suchen
Login
Nickname
Passwort

Registrieren?
Passwort?
Navigation
 Home News  Forum Neueste Beiträge  Downloads Download Module eXV² Themes  Weblinks Tutorial Changelog 2.3.1 Jobcenter Gebrauchtmarkt OSMap  Sponsor Kalendersystem Sitemap Partnerseiten RSS News Kontakt/Info Webseiten Wetter
Willkommen im Free Web CMS : eXV² Forum!
  Forenarchiv
     Module, Blöcke und Hack's suche
  one bd uzers for two sites but ...

Forum : Module, Blöcke und Hack's suche

Titel : one bd uzers for two sites but ...

© 2004-2012 www.exv2.de
http://www.exv2.de

URL dieser Diskussion
http://www.exv2.de/modules/newbb_plus/viewtopic.php?topic_id=2494&forum=24


 baycris :

18.04.2005 10:24
 tks for you'r help...
i have do the same bd USERS for 2 sites i have just do this :
in file database.php in Class/
Code:

function prefix($tablename='') {
if ($tablename == '') {
return $this->prefix;
} else {
if ($this->prefix == '') {
return $tablename;
} elseif ($tablename == 'users') {
return "e_xoops_". $tablename;
} elseif ($tablename == 'groups_users_link') {
return "e_xoops_". $tablename;
} elseif ($tablename == 'session') {
return "e_xoops_". $tablename;
} else {
return $this->prefix ."_". $tablename;
}
}
}




but just one probleme :
The pm don't circulate between the two sites....
have you some idea ?
tks lot cris .

 bama :

18.04.2005 11:55
 Hi baycris,

for user is table

e_xoops_users
e_xoops_users_conf
e_xoops_users_history
e_xoops_users_update

all 4 Tables is for Users Configuration

 baycris :

18.04.2005 19:43
 So i have do this :
Code:
function prefix($tablename='') {
if ($tablename == '') {
return $this->prefix;
} else {
if ($this->prefix == '') {
return $tablename;
} elseif ($tablename == 'users') {
return "e_xoops_". $tablename;
} elseif ($tablename == 'groups_users_link') {
return "e_xoops_". $tablename;
} elseif ($tablename == 'session') {
return "e_xoops_". $tablename;
} elseif ($tablename == 'users-conf') {
return "e_xoops_". $tablename;
} elseif ($tablename == 'users_update') {
return "e_xoops_". $tablename;
} elseif ($tablename == 'users_history') {
return "e_xoops_". $tablename;
} else {
return $this->prefix ."_". $tablename;
}
}
}




But what can i do for mp ?
tks lot cris

PS ; tks lot bama boss Razz
Partnerseiten
http://service.bama-webdesign.de/

Vote für eXV2
php
Kontakt/Info
  Kontakt
  Impressum
  Link zu uns
  AGB
  Datenschutzhinweis
Downloads
  eXV² Core
  Core Sprachfiles
eXV² Filecenter
  Downloads
  Download Module
  eXV² Themes
  Multilanguage Module
  Sprachfiles eXV² Module
eXV² Support
  France