SimplePortal

Development => Feature Requests => Topic started by: josegs94 on December 27, 2009, 10:36:37 AM

Title: winged icon topic change by the icon of the forum which was published
Post by: josegs94 on December 27, 2009, 10:36:37 AM
Hello, I installed my 1.1.11 and SMF 2.3.1 Simple Portal on my website: http://fanate.freei.me (http://fanate.freei.me) and I want recent_topics on my block is the block where all the topics I want winged link or post the topic in aparesca see that this picture (http://i45.tinypic.com/2n1z2np.png) hope that the image of aparesca forum where the topic was published .. But you will say in each forum as if the image is the same .. passes to install the mod cbi v0.5 (Custom Board Icons) that lets you change the image of every forum .. and I've got so (http://i47.tinypic.com/2n6bv6a.jpg) and I want that when postee in flash animations, aladodel topic aparesca recent post block icon osea this forum (http://i46.tinypic.com/11wa6wn.gif) and cuadndo postee on Computers, winged recnt topic in the topics I want to block this icon aparesca (http:// i47.tinypic.com/6z3ukm.gif) I hope you will not understand .. and that can help me!

(http://i47.tinypic.com/2h3a6gx.jpg)


Remember that the recent topics block is found in / Sources / PortalBlocks.php and here's the code as apreço the topics


Quote
elseif ($ display == 'full')
(
echo '
<table class="sp_fullwidth"> ';

foreach ($ items as $ item)
echo '
<tr>
<td class="sp_recent_icon sp_center">
'Sp_embed_image (empty ($ parameters [' type '])?' Post ':' topic '),'
</ td>
<td class="sp_recent_subject">
<a href="', $item['href'],'"> ', $ item [' subject '],' </ a>
', $ Item [' new ']? '': '<a Href="'. $scripturl.'?topic='. $item['topic'].'.msg'. $item['new_from'].';topicseen#new"> <Img src = " '. $ settings [' images_url '].' / '. $ context [' user '] [' language '].' / new.gif" alt = " '. $ txt [302].'" border = "0" /> </ a> ',' <br /> [ ', $ item [' board '] [' link '],']
</ td>
<td class="sp_recent_info sp_right">
', $ Item [' poster '] [' link '],' <br /> ', $ item [' time '],'
</ td>
</ tr> ';

echo '
</ table> ';
) [/ quote]

I would be grateful if I can help ..

Greetings
SimplePortal 2.3.8 © 2008-2024, SimplePortal