|
|
|
floobee
|
|
|
Enviado: 05/10/2004 a las 09:10 |
|
Novato
Karma: 0 (0 Votos)
Registrado: 30/05/04
Mensajes: 8
Estado: Desconectado Ultima visita: 10/04/05 |
god day
what do i have to do to get the Xforum running in PN 750? Is there a theme or template issue, so that XForum does not run straight in PN .750?
- what do i have todo to get it running
do you - here on dev-postnuke.com have a XForum-version that is running in Postnuke v 750 ? Thanks for any help.,
plz. advice
regards floobee
|
|
|
|
|
|
|
|
|
el_cuervo
|
|
|
Enviado: 05/10/2004 a las 21:10 |
|
Administrador
Karma: 9 (83 Votos)
Registrado: 12/06/03
Mensajes: 6528
Estado: Desconectado Ultima visita: 23/07/07 |
Hi. These are the steps to get XForum working in Postnuke 0.750:
1 > Before install (or enter in XForum), enable Legacy support in Admin->Settings. It seems like "Legacy support" adds old functions (deprecated) to Postnuke Core. With this step you will be able to use "getusrinfo()" function.
2 > Open (edit) modules/XForum/header.php file
3 > About line 55 you will see this code:
[php]
if ($CFO)
{
if (preg_match("/postnuke/",$nukesystem)) { $extbl_users=$pntable['users']; }
elseif (preg_match("/nuke/",$nukesystem)) { $extbl_users=$prefix."_users"; }
}
[/php]
4 > Add these two lines before:
[php]
list($dbconn) = pnDBGetConn();
$pntable = pnDBGetTables();
[/php]
the final code will be:
[php]
list($dbconn) = pnDBGetConn();
$pntable = pnDBGetTables();
if ($CFO)
{
if (preg_match("/postnuke/",$nukesystem)) { $extbl_users=$pntable['users']; }
elseif (preg_match("/nuke/",$nukesystem)) { $extbl_users=$prefix."_users"; }
}
[/php]
with those simple steps you will get xforum working with postnuke 0.750
PD: Sorry for my bad english, I'm spanish!
|
|
|
|
|
|
|
floobee
|
|
|
Enviado: 06/10/2004 a las 14:10 |
|
Novato
Karma: 0 (0 Votos)
Registrado: 30/05/04
Mensajes: 8
Estado: Desconectado Ultima visita: 10/04/05 |
hello thanks for the quick reply and many thanks for your information. That is a very good news for al who wants to stick with XForum. I guess that there are many many people out there who wants to stick with XForum.
one question:; do you plan to provide a RELEASE of a XForum with those patches? A running Xforum -would be a great support for the many many Postnukers who also want to stick with the XFrum .
above all - keep up the great wokr!!
ffloobee
|
|
|
|
|
|
|