Yet Another Global Announcements Mod (YAGAM)

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

Previous topic - Next topic

Orbit Storm

Hi!

Seems I'm having a bit of trouble with this mod, and truthfully, it's a darn shame considering how badly I've needed this, and finally found it just a bit ago.

The mod installs seamlessly (provided that I set my Emulate Version to 2.0.0 (my actual version is 2.0.2.

Upon attempting to convert a thread into an announcement, I receive the following error:

Unable to load the 'main' template.

I've done some extensive searching, but nothing seems to be related to this mod. Any help offered, would be greatly appreciated.  :)

fullmoonya

Quote from: orbit storm on February 08, 2012, 05:01:41 AM
Hi!

Seems I'm having a bit of trouble with this mod, and truthfully, it's a darn shame considering how badly I've needed this, and finally found it just a bit ago.

The mod installs seamlessly (provided that I set my Emulate Version to 2.0.0 (my actual version is 2.0.2.

Upon attempting to convert a thread into an announcement, I receive the following error:

Unable to load the 'main' template.

I've done some extensive searching, but nothing seems to be related to this mod. Any help offered, would be greatly appreciated.  :)

that was our problem too with this mod. the problem is that it cant call the function because it was missing in the code. i dont know when will they do something about this. i hope it to be fix asap.
do not mark my topic solve unless it is REALLY SOLVED.
my forum

Visit My Blog:
Google SEO Share

Orbit Storm

I've found that the temporary solution is to just add a new announcement via the Admin panel. It's a real pain (especially if you want to make previously posted content an announcement), but copy/pasting the content into a new announcement worked fine for me. I agree though - I hope this is updated.

fullmoonya

i hope somebody fix the problem in converting topics to announcements. Just really need that function.
do not mark my topic solve unless it is REALLY SOLVED.
my forum

Visit My Blog:
Google SEO Share

drroot

How to give Global Moderator the permission to post an announcement?

lttung

Quote from: Orbit Storm on February 08, 2012, 05:01:41 AM
Hi!

Seems I'm having a bit of trouble with this mod, and truthfully, it's a darn shame considering how badly I've needed this, and finally found it just a bit ago.

The mod installs seamlessly (provided that I set my Emulate Version to 2.0.0 (my actual version is 2.0.2.

Upon attempting to convert a thread into an announcement, I receive the following error:

Unable to load the 'main' template.

I've done some extensive searching, but nothing seems to be related to this mod. Any help offered, would be greatly appreciated.  :)

Same me error. Pls help to fix, thanks

nephire

it wont let me install it..
it only shows list files and delete

Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."


FruitLoop

Hello.  I tried installing this mod with the Enterprise theme and it did not work.  Tried installing it with the default theme and I got the same error.

The error was immediately after install.  It said it was successfully installed, however when I went to go to the admin panel for it, it gave me a blank white screen.  Is it the Admin.php file or something else?

cieplutki

How to fix


this bug its on some theme - like officebox by logooff

echo '
<tr>
<td class="windowbg2 icon1 yagam">
<img src="', $settings['images_url'], '/topic/normal_post.gif" alt="" />
</td>
<td class="windowbg2 icon2 yagam">
<img src="', $settings['images_url'], '/post/exclamation.gif" alt="" />
</td>
<td  class="subject windowbg yagam">
    <a href="',$scripturl,'?action=announcements;aid=',$announcement['id_announcement'],'"><strong>',$announcement['title'], '</strong></a>
    <p class="smalltext">', $txt['started_by'], ' <a href="'.$scripturl.'?action=profile;u=',$announcement['author'], '" ', (!empty($modSettings['MemberColorLinkInstalled'])) ? 'style="color: '.$announcement['online_color'].';"' : '', '>',$announcement['real_name'], '</a></p>
</td>
<td class="stats yagam">
    ', ($announcement['can_comment'] == '1') ? ''.$announcement['comment_total'].' ' . $txt['replies'] : '--', '<br />
',$announcement['views'], ' ' . $txt['views']. '
    </td>
<td class="windowbg2 lastpost yagam">
'.$txt['yagam_created'].' : ',timeformat($announcement['date']), '
</td>';
if (allowedTo('yagam_manage') && !empty($options['display_quick_mod']))
echo '<td class="windowbg2 moderate yagam" width="5%"><a href="',$scripturl,'?action=announcements;sa=edit;aid=',$announcement['id_announcement'],'" title="'.$txt['yagam_edit'].'"><img src="'.$settings['images_url'].'/buttons/modify.gif" alt="',$txt['yagam_edit2'], '"></a>
<a href="',$scripturl,'?action=announcements;sa=deleteverify;aid=',$announcement['id_announcement'],'" title="'.$txt['yagam_remove'].'" onclick="return confirm(\''.$txt['yagam_remove_verify'].'\')"><img src="'.$settings['images_url'].'/buttons/delete.gif" alt="',$txt['yagam_remove2'], '"></a>
</td>';
echo'</tr>';      




.

Mstcool

It says its compatible with 2.0.2 but doesnt work. Please help. It says its not compatible.

Road Rash Jr.

Will not install on SMF 2.0.3 says the files is corrupt or incompatible with this version of SMF
Never argue with an Idiot like myself, they just drag you down to their level then beat you with experience.

NanoSector

My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

JTVaughn

Quote from: lttung on June 07, 2012, 12:44:46 PM
Quote from: Orbit Storm on February 08, 2012, 05:01:41 AM
Hi!

Seems I'm having a bit of trouble with this mod, and truthfully, it's a darn shame considering how badly I've needed this, and finally found it just a bit ago.

The mod installs seamlessly (provided that I set my Emulate Version to 2.0.0 (my actual version is 2.0.2.

Upon attempting to convert a thread into an announcement, I receive the following error:

Unable to load the 'main' template.

I've done some extensive searching, but nothing seems to be related to this mod. Any help offered, would be greatly appreciated.  :)

Same me error. Pls help to fix, thanks

Same error for me.

Any fix coming?

4LP3RUZ1

Love this mod,

Got a question.

I want to display a specific announcement for one of my post count membergroups.

However, I cannot choose these groups from the add announcement screen. Only regular membergroups are there. Any way to add the post count groups?
Frozen frogs are back :(


4LP3RUZ1

Well, I haven't checked what the repercussions will be yet, however I tracked the membergroups to this query:

$dbresult = $smcFunc['db_query']('', '
        SELECT id_group, group_name
        FROM {db_prefix}membergroups
        WHERE min_posts = {int:primary_group}
        AND id_group <> {int:moderator}
        ORDER BY group_name',
        array(
          'primary_group' => -1,
          'moderator' => 3,
        )
        );


and changing it to:

$dbresult = $smcFunc['db_query']('', '
        SELECT id_group, group_name
        FROM {db_prefix}membergroups
        WHERE id_group <> {int:moderator}
        ORDER BY group_name',
        array(
          'primary_group' => -1,
          'moderator' => 3,
        )
        );

seems to work. I'm guessing though there is a good reason you are filtering out post count groups...
Frozen frogs are back :(

dubq

There is no option to install this when you upload to 2.0.4 either. :( Will this be updated soon?


Advertisement: