Kunena 6.2.6 released

The Kunena team has announce the arrival of Kunena 6.2.6 [K 6.2.6] which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x. This version addresses most of the issues that were discovered in K 6.1 / K 6.2 and issues discovered during the last development stages of K 6.2

Question Esconder Login/Register

More
15 years 1 month ago #1 by desiresrt
Buenas al foro.

Mi foro es público y puede postear todo el mundo. El CMS contiene una sección de usuarios registrados con una serie de servicios extras para ellos.

Necesito quitar el modulo de login y register del foro, Kunena, ya que si un usuario se registra en el foro será tambien un usuario con privilegios extras en el CMS.

¿Que puedo hacer para quitar u ocultar el Login and Register?

Gracias

Please Log in or Create an account to join the conversation.

More
15 years 1 month ago #2 by johnnydement
simplemente has de comentar las lineas donde aparece ;)

De todas maneras, si el registro está abierto, culaquiera se podrá registrar via URL...

Please Log in or Create an account to join the conversation.

More
15 years 1 week ago #3 by JoniJnm
Replied by JoniJnm on topic Re:Esconder Login/Register
En template/default/plugin/profilebox/profilebox.php

Elimina:
Code:
<a href = "<?php echo $loginlink;?>"><?php echo _PROFILEBOX_LOGIN; ?></a> <?php echo _PROFILEBOX_OR; ?> <a href = "<?php echo $registerlink;?>"><?php echo _PROFILEBOX_REGISTER; ?></a>. &nbsp;&nbsp; <a href = "<?php echo $lostpasslink;?>"><?php echo _PROFILEBOX_LOST_PASSWORD; ?></a>


O ponle los enlaces que quieras cambiando, en el mismo archivo
Code:
if ($fbConfig->fb_profile == 'cb') { $loginlink = sefRelToAbs('index.php?option=com_comprofiler&amp;task=login'); $logoutlink = sefRelToAbs('index.php?option=com_comprofiler&amp;task=logout'); $registerlink = sefRelToAbs('index.php?option=com_comprofiler&amp;task=registers');//.KUNENA_CB_ITEMID_SUFFIX); $lostpasslink = sefRelToAbs('index.php?option=com_comprofiler&amp;task=lostPassword');//.KUNENA_CB_ITEMID_SUFFIX); } else { $loginlink = sefRelToAbs('index.php?option=com_login&amp;Itemid=' . $Itemid); $logoutlink = sefRelToAbs('index.php?option=logout'); $registerlink = sefRelToAbs('index.php?option=com_registration&amp;task=register&amp;Itemid=' . $Itemid); $lostpasslink = sefRelToAbs('index.php?option=com_registration&amp;task=lostPassword&amp;Itemid=' . $Itemid); if($j15) { $loginlink = sefRelToAbs('index.php?option=com_user&amp;view=login'); $logoutlink = sefRelToAbs('index.php?option=com_user&amp;view=login'); $registerlink = sefRelToAbs('index.php?option=com_user&amp;task=register&amp;Itemid=' . $Itemid); $lostpasslink = sefRelToAbs('index.php?option=com_user&amp;view=reset&amp;Itemid=' . $Itemid); } }

Por
Code:
$loginlink = "http://url_para_logearse"; $logoutlink = "http://url_para_cerrar sesion"; $registerlink = "http://url_para_registrarse"; $lostpasslink = "http://url_para_recordar_password";

Si haces eso ultimo tendrás que cambiar
Code:
if ($my->id)

Por la forma en la que tu sistema de logeo sabe si un usuario lo está

Please Log in or Create an account to join the conversation.

Moderators: ssh
Time to create page: 0.370 seconds