Yet Another Global Announcements Mod (YAGAM)

Started by Nibogo, February 11, 2009, 12:47:15 AM

Previous topic - Next topic

Maxtor

Also this error occurs while trying to view an announcement. i think it something to do with colours. Im using "Member Color Link 3.0.7 " mod.
http://www.maxhackers.com/forum/index.php?action=announcement;aid=2 
2: Illegal offset type
File: /home/vmaxhfd8/public_html/forum/Sources/AnnouncementView.php
Line: 79 


Line 79 is this:

75:
// Load all the author info including the Color Link
76:
loadMemberData($announcement['author']);
77:
loadMemberContext($announcement['author']);
78:
$context['announcement']['author'] = $memberContext[$announcement['author']];
==>79:
$context['poster'] = (!empty($color_profile[$context['announcement']['author']]['link'])) ? $color_profile[$row['author']]['link'] : $context['announcement']['author']['link'];
80: 

MrCreatoR

Very nice mod, thanks.

But there is some conflict with another mods that adds columns to the topics view page (when entering to board). For example, i have "Rate that topic" mod, and in few boards there is added extra column to show the rating stars, so the anouncments topics shows info under wrong columns. Here is a screenshot:



Perhaps the mod could check the columns and skip the unknown (show empty cell)?


MrCreatoR

Quote from: NIBOGO on October 26, 2009, 04:31:07 PM
No, you have to manually modify the MessageIndex.template.php
Ok, can you please tell me what i need to change? At least what i can looking for?
NVM, i found how to fix that. Thanks.

nurg

VISITA MI FORO SMF
Si quieres que te instale un foro SMF no dudes en contactarme.




Nibogo

Changelog:

Version 2.2 - Nov 11, 2009
- Added Support for SMF 2.0 RC2.
- Added Support for Curve!
- Changed the Support Website now YAGAM is Powered by SMFPacks.com
- Fixed little issue with a string in English.

karanima

MessageIndex.template.php This code does 2.0 RC2
Available within 2.0 RC1.2

// No topics.... just say, "sorry bub".
if (empty($context['topics']))
echo '
<tr class="windowbg2">
<td class="catbg3" colspan="' , !empty($options['display_quick_mod']) ? '8' : '7' , '"><strong>', $txt['msg_alert_none'], '</strong></td>
</tr>';

foreach ($context['topics'] as $topic)
{
// Do we want to seperate the sticky and lock status out?






DirtRider

Very good mod thanks. However when I enable forced on logon it takes you to what should be the announcement but the page is blank. It does not show the actual body of that announcement
http://www.triumphtalk.com

"The real question is not whether machines think but whether men do. "

social

SMF v2.0RC2 ==>>Simple Portal v2.3.1
WWW.TUREDSOCIALPR.COM

karanima

I installed your mod update but my message index slided apart from message table as you can see from the picture.




DirtRider

http://www.triumphtalk.com

"The real question is not whether machines think but whether men do. "

karanima

problem continues

before:





after




Advertisement: