Seleccionar idioma:
Realizar Donación - Mods Premium - Portfolio



Este sitio utiliza cookies propias y de terceros. Si continúa navegando consideramos que acepta el uso de cookies. OK Más Información.
* Last Topics & Auto News Block
  Leído 1977 veces
* Viendo el foro
 0 Usuarios y 1 Visitante están viendo este foro.


*
Ago 15 2012


Hello,

hope you guys are fine. I am trying to get my board cleaned up to a minimalistic style.

I tried to get rid off the avatars in last topic, but I was not very successful, tried this by outcommenting 'avatar' in Subs-adkblocks.php, but the space where the avatars where
before is still there.

Same goes for the Auto News Block. How can I remove the small avatar and the time/date?
Both are not necessare for my board.

Thank you.

sn00ze


Unido automaticamente - {Agosto 15, 2012, 08:55:53 am}


K, I already found some stuff.
I replaced

'time' => timeformat($row['poster_time']),

with

'time' => strftime('%d %B', $row['poster_time']),

So, now I want to move the 'time' into the topic line. How do I place to items in one?
Like this?
'id_topic' => $row['id_topic'], '%d %B', $row['poster_time']



ADKPortal 2.xx
2.xx
www.wantedfox.com

Mensajes: 16

Ver Perfil 

« Última Modificación: Agosto 15, 2012, 09:07:56 am por sn00ze »
En línea

*
Ago 21 2012


HELP!  :D


ADKPortal 2.xx
2.xx
www.wantedfox.com
#1

Mensajes: 16

Ver Perfil 

« Última Modificación: Agosto 21, 2012, 08:47:52 am por ^HeRaCLeS^ »
En línea

*
Ago 21 2012


Auto News:

In file Subs-adkblocks.php
Search:
Código: [Seleccionar]
echo'
<div class="title_bar">
<h3 class="titlebg">
'.$topic['img'].$title.'
</h3>
</div>';

echo'
<div style="height: 40px;">

<div class="smalltext adk_float_r">'.$txt['by'].' '.$topic['member'].' - '.$topic['time'].'</div>';

if(!emptY($topic['avatar']))
echo'
<div class="adk_float_l">',$topic['avatar'],'</div>';

Replace:
Código: [Seleccionar]
echo'
<div class="title_bar">
<h3 class="titlebg">
'.$topic['img'].$title.'
<span style="float:right">'.$topic['time'].'</span>
</h3>
</div>';

echo'
<div style="height: 40px;">

<div class="smalltext adk_float_r">'.$txt['by'].' '.$topic['member'].'</div>';





Last topic:
In file Subs-adkblocks.php
Search:
Código: [Seleccionar]
echo'
<table style="width: 100%;">
<tr>
<td width="55">
'.$avatar.'
</td>
<td>

Replace:
Código: [Seleccionar]
echo'
<table style="width: 100%;">
<tr>
<td>



 ;D

*¤×•·:.·.:·•×¤* ^HeRaCLeS^ *¤×•·:.·.:·•×¤*
*¤×• Todos los Mp seran ignorados | Solo seran considerados los Mp Solicitados por mi •×¤*
*¤×• All Mp will be ignored | Only considers the Mp requested per my •×¤*

SMFPersonal

Adk Portal 3.0.2
2.0.14
www.smfpersonal.net
#2

Mensajes: 13978

Ver Perfil  SMFPersonal 

En línea

*
Ago 21 2012


Thank you a lot!
I adjusted it a bit and changed it to this:

Código: [Seleccionar]
echo'
<div class="title_bar">
<h3 class="titlebg">
'.$topic['img'].$title.'
<span style="float:right">'.$topic['time'].' '.$txt['by'].' '.$topic['member'].'</span>
</h3>
</div>';

This looks a bit nicer!


ADKPortal 2.xx
2.xx
www.wantedfox.com
#3

Mensajes: 16

Ver Perfil 

En línea

*
Ago 21 2012


Very good!

*¤×•·:.·.:·•×¤* ^HeRaCLeS^ *¤×•·:.·.:·•×¤*
*¤×• Todos los Mp seran ignorados | Solo seran considerados los Mp Solicitados por mi •×¤*
*¤×• All Mp will be ignored | Only considers the Mp requested per my •×¤*

SMFPersonal

Adk Portal 3.0.2
2.0.14
www.smfpersonal.net
#4

Mensajes: 13978

Ver Perfil  SMFPersonal 

En línea

*
Ago 27 2012


Hello,

I am still dealing with Last Topics, to make it nice and clean.
So, I removed the date and time, as it is not needed on my board.
Still I have Last update: and a minus behind the name.
I want to replace it with: by

See attachments.

I can't find the file which I need to edit.
Please help, I only need the file name,
I guess the rest I can do myself. Thank you!

ADKPortal 2.xx
2.xx
www.wantedfox.com
#5

Mensajes: 16

Ver Perfil 

En línea

*
Ago 27 2012


If a block is installed, find the file in the /adkportal/blocks

*¤×•·:.·.:·•×¤* ^HeRaCLeS^ *¤×•·:.·.:·•×¤*
*¤×• Todos los Mp seran ignorados | Solo seran considerados los Mp Solicitados por mi •×¤*
*¤×• All Mp will be ignored | Only considers the Mp requested per my •×¤*

SMFPersonal

Adk Portal 3.0.2
2.0.14
www.smfpersonal.net
#6

Mensajes: 13978

Ver Perfil  SMFPersonal 

En línea

*
Ago 28 2012


It is not a new block, it is the Last Topic block.
I failed to find it. Which file is Last Topic?


ADKPortal 2.xx
2.xx
www.wantedfox.com
#7

Mensajes: 16

Ver Perfil 

En línea

*
Ago 28 2012


Aah!! ok.

In file Subs-adkblocks.php function adk_ultimosmensajes()

Código: [Seleccionar]
<span class="smalltext">'.$txt['adk_last_updated'] .': '.$MEMBER_STARTED.'
&nbsp;-&nbsp;'.$posterTime.'</span>

$txt['adk_last_updated']  == Last update

 ;)

*¤×•·:.·.:·•×¤* ^HeRaCLeS^ *¤×•·:.·.:·•×¤*
*¤×• Todos los Mp seran ignorados | Solo seran considerados los Mp Solicitados por mi •×¤*
*¤×• All Mp will be ignored | Only considers the Mp requested per my •×¤*

SMFPersonal

Adk Portal 3.0.2
2.0.14
www.smfpersonal.net
#8

Mensajes: 13978

Ver Perfil  SMFPersonal 

En línea

*
Ago 30 2012


Ah nice, didn't know it is THAT complicated.
I disabled most of the code, but I will keep it, for future adjustment.


Código: [Seleccionar]

<span class="smalltext">
by '.$MEMBER_STARTED.'
<!-- '.$txt['adk_last_updated'] .': '.$MEMBER_STARTED.' &nbsp;-&nbsp;'.$posterTime.'-->
</span>


ADKPortal 2.xx
2.xx
www.wantedfox.com
#9

Mensajes: 16

Ver Perfil 

En línea




Otros temas de su interes

Truncated name in adk portal block kepipro Junio 27, 2011, 02:35:55 am
AdkPortal 2.1.1 - Left Right Sidebars not showing in Forum area sudiptagupta Abril 27, 2012, 01:26:57 am *
Blocks editing not working iXas Marzo 31, 2013, 09:50:22 pm *
PHP Code inside Blocks - include(); h2so4 Diciembre 05, 2010, 10:32:26 am *
Extreme Download MySQL error ? Howler Agosto 30, 2012, 09:23:45 pm *
Portal URL and blog Obviously Agosto 23, 2011, 07:04:03 am *



Usuario:
Contraseña:
Sesión:
hermes bracelet replica, christian louboutin replica, van cleef and arpels replica, red bottoms replica, cartier love bracelet replica christian louboutin replica, christian louboutin replica, hermes bracelet replica,