News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Indice de preguntas Frecuentes en Adk Portal (2.0 RC6)

Started by lucas-ruroken, September 09, 2010, 01:25:35 PM

Previous topic - Next topic

lucas-ruroken

Mod: http://custom.simplemachines.org/mods/index.php?mod=2255
Autores: Smf Personal

Aca dejo un pequeño indice de preguntas frecuentes que les suelen suceder en Adk Portal 2.0 RC6 para Smf 2.0 RC4. Aclaro que estos no son bugs ni nada por el estilo, simplemente son detalles que se les pueden pasar a los usuarios.

Adk Portal 2.0 RC6

Adk Portal 3.1 is coming....

Design your universe!

lucas-ruroken

#1
Avatares muy grandes en Ultimos Temas o Top Poster

Si en su foro los avatares salen muy grandes, es posible que no hallan adaptado Adk Portal a su theme. Esto es muy sencillo de hacer y no lleva mas que unos pocos minutos, solamente tienen que ver Este Post
Adk Portal 3.1 is coming....

Design your universe!

lucas-ruroken

#2
Adaptar Adk Portal 2.0 RC6 a tu theme.

Para adaptar adkportal a su theme tiene que hacer lo siguiente.

Abren el archivo:
Themes/TUTHEME/index.template.php
buscan:

<head>


reemplazan por:

<head>';
if(function_exists('loadColpaseAdkportal'))loadColpaseAdkportal();
echo'


buscan

}

function template_body_below()
{


y reemplazan por:

if(function_exists('loadCTop'))loadCTop();
}

function template_body_below()
{
if(function_exists('loadCBottom'))loadCBottom();


luego abren el archivo
Themes/TUTHEME/Display.template.php

buscan:

// Build the normal button array.


y reemplazan por

if(allowedTo('adk_portal'))
$context['adk_portal'] = true;
$string = !empty($context['adk_id_new']) ? 'remove' : 'add';
// Build the normal button array.


luego buscan:

$normal_buttons = array(


y reemplazan por:


$normal_buttons = array(
'addthistopic' => array('test' => 'adk_portal', 'text' => 'adk_'.$string.'_this_topic', 'image' => 'reply.gif', 'lang' => true, 'url' => $scripturl . '?action=addthistopic;'.$string.'=' . $context['current_topic']),


y por ultimo buscan:

// Show the lower breadcrumbs.


y reemplazan por:

global $adkportal, $boardurl;
if($adkportal['enable_related_topics'] == 1)
{
echo'
<br />
<br />';

echo'
<h3 class="titlebg"><span class="left"></span>',$txt['adk_related_news'],'</h3>
<table class="table_grid" cellspacing="0" style="width: 100%;">
<thead>
<tr>
<th scope="col" class="smalltext first_th" width="8%">
</th>
<th scope="col" class="smalltext" width="48%">
', $txt['subject'] ,'
</th>
<th scope="col" class="smalltext" width="22%">
', $txt['started_by'] ,'
</th>
<th scope="col" class="smalltext last_th" width="22%">
'.$txt['on'].'
</th>
</tr>
</thead>
<tbody>';
foreach($context['adk_new']['random'] AS $t)
echo'
<tr class="windowbg2 whos_viewing">
<td width="8%">
<img alt="" src="',$boardurl,'/adkportal/images/page.png" />
</td>
<td>
<a style="font-weight: bold;" href="'.$scripturl.'?action=addthistopic;view='.$t['id'].'">',$t['title'],'</a>
</td>
<td width="22%">
<strong>',$t['autor'],'</strong>
</td>
<td width="22%">
',$t['time'],'
</td>
</tr>';

echo'
</tbody>
</table>
<br />';

}

// Show the lower breadcrumbs.



PD: Si su theme no tiene uno de estos archivos, simplemente omiten las modificaciones, ya que utiliza el archivo del theme default, y este ya tiene las modificaciones realizadas.
Adk Portal 3.1 is coming....

Design your universe!

lucas-ruroken

#3
No me funcionan colapsar/expandir

Al igual que antes, necesitan Adaptar AdkPortal a su theme. Miren: Este Post
Adk Portal 3.1 is coming....

Design your universe!

lucas-ruroken

Como puedo hacer para que aparezcan los bloques dentro del foro?

Es una opcion que se encuentra en Administracion --> Adk Portal --> Opciones.

Pueden activar tanto columna izquierda, derecha, como Top y Bottom.

Si al activar no aparece es por que no tienen Adk Adaptado a su theme, miren Este Post
Adk Portal 3.1 is coming....

Design your universe!

lucas-ruroken

Adk Portal 3.1 is coming....

Design your universe!

lucas-ruroken

Adk Portal 3.1 is coming....

Design your universe!

Advertisement: