SMF Post Prefix

Started by Diego Andrés, May 09, 2015, 11:42:18 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

adonix

Quote from: Diego Andrés on September 29, 2015, 01:08:53 AM
Nothing, it's supposed to add the prefix to the topic title, but on greeny there isn't.

"it's supposed to add the prefix to the topic title" well if it's not present in greeny theme then what's the benefit to use this mod on greeny ? :\ as i want to use this mod only on greeny :(

Diego Andrés

It doesn't matter, the mod will work fine. It will show the prefixes in the topic list as its supposed to, and everything else will be ok.

That "error" it's just a esthetic/visual modification, it's not vital for the mod functionality.

You can ask Pipe to add the title inside the post.

Regards.

adonix

Quote from: Diego Andrés on September 29, 2015, 08:39:59 AM
It doesn't matter, the mod will work fine. It will show the prefixes in the topic list as its supposed to, and everything else will be ok.

That "error" it's just a esthetic/visual modification, it's not vital for the mod functionality.

You can ask Pipe to add the title inside the post.

Regards.

If that error is nothing then i can ignore it :)
thanks.

jhoancito

INSTALO bien todo bien al entra al modulo tirar error




MiForo = http://eclipse-mu.tk/Foro/index.php

Información de version mi Foro
Versión del Foro: SMF 2.0.4
Versión actual de SMF: SMF 2.0.11
Last Edit: October 16, 2015, 12:45:16 PM by jhoancito

Diego Andrés

Los requerimientos mínimos del mod son PHP 5.0, esa podría ser la causa del error.

Diego Andrés

Hola, tomaste nota de mi comentario anterior y revisaste si este es el problema? Porque no dejo de verte publicando esto en todos los foros pero tampoco respondes si quiera para conocer más del problema.

Si no veo ninguna respuesta nueva lo marcaré como solucionado pronto.

jhoancito

ya esta solucionado gracias ahh aver si aportas mas mod  like

SychO

Greetings,

So about the free version of prefixes, there is a bug

If the user is a board moderator and has the group which has permission to use a prefix, well he can't, unless the group assigned to him that has permission to use the prefix is primary, so if that group is secondary, he can't, and that's a big problem.

How can I fix this please ?
Last Edit: August 30, 2016, 10:50:28 AM by SychO

Diego Andrés

I'll review the mod this weekend for an update, thanks for reporting it.

Anonskii

Is there any way i could make the prefix box smaller? It's quite big.

Dreadaxe


Daemon

Hey Diego,


I need your help with your Mod. It's working fine, but I want to show it in the Mod "RecentForumTopics" from Pipke.


So, in the attachment you can where I want to show the Prefix (if there is any), just before the topic subject of course.  :D


Here's the code from that:/ Template    
         
echo'
<tr>
<td class="icon1 ', $color_class, '">
<img src="', $settings['images_url'], '/topic/' . $icon_post3 . '.gif" alt="" />
</td>
<td class="icon2 ', $color_class, '">
<img src="', $settings['images_url'], '/post/', $post['icon'], '.gif" alt="" />
</td>
<td class="subject ', $alternate_class, '">';
if (!empty($modSettings['rft_firstpostlinkicon']))
// I think this is the right place, but what to insert? echo'<a href="' . $scripturl . '?topic=' . $post['topic'] , '.0"><img style="float:right; padding: 4px;" src="', $settings['images_url'], '/icons/first_post.gif" alt="', $txt['rft_first_post'], '" title="', $txt['rft_first_post'], '" /></a>';
// link to first or last topic message?
if (!empty($modSettings['rft_link_topics']) && ($modSettings['rft_link_topics'] == 'last'))
echo'', $post['is_sticky'] ? '<strong>' : '', '<span>', $post['linklast'],'</span>', $post['is_sticky'] ? '</strong>' : '';

if (!empty($modSettings['rft_link_topics']) && ($modSettings['rft_link_topics'] == 'first'))
echo'', $post['is_sticky'] ? '<strong>' : '', '<span>', $post['linkfirst'],'</span>', $post['is_sticky'] ? '</strong>' : '';
// Is this post new? (assuming they are logged in!)
if ($post['new'] && $context['user']['is_logged'])
echo '
<a href="', $post['new_href'], '" /></a>';
echo'
<p>', $txt['started_by'], ' ', $post['first_poster']['link'] ,' ', $txt['on'], ' ', $post['timelast'],' ', $txt['in'], ' ', $post['board']['link'], '</p>
</td>
<td class="stats ', $color_class, '">
', $post['replies'], ' ', $txt['replies'], '
<br />
', $post['views'], ' ', $txt['views'], '
</td>
<td class="lastpost ', $alternate_class, '">';
if (!empty($modSettings['rft_lastpostlinkicon']))
echo'<a href="', $post['href'], '"><img src="', $settings['images_url'], '/icons/last_post.gif" alt="', $txt['last_post'], '" title="', $txt['last_post'], '" /></a>';
echo'', !empty($settings['st_enable_avatars_recent']) ? template_avataronboard($post['poster']['id']) : '' , $txt['by'], ' ', $post['poster']['link'], ' <br /> ', $txt['on'], ' ', $post['timefirst'], '</span>
</td>
</tr>';
[size=78%]


Can you please help me? I tried a lot but always ends with a template failure.
Thank you![/size]

Daemon


Diego Andrés

I'll try to take a look at this before the weekend

Daemon

Weekend and 1 week are over ...