News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Yet Another Global Announcements Mod (YAGAM)

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

Previous topic - Next topic

Antes

You updated the mod page but that confuses people, please remove those versions from mod page or update the mod with range.

Thanks :)

RMensen

Hello,

I'm getting an "Unable to load the 'main' template." error on my forum. I'm currently running SMF 2.06.

I've tried all of the above "fixes" but none have worked.

Any help is appreciated.


Edit:

I use Pretty URL for Board & Topic

Error log:

Quotehttp://pc.ihavetoget.it/index.php?action=announcements;aid=1
8: Undefined variable: sa
File: /htdocs/public/pc/Sources/Announcements.php
Line: 60
&
Quotehttp://pc.ihavetoget.it/index.php?pretty;action=announcements&aid=1
8: Undefined variable: sa
File: /htdocs/public/pc/Sources/Announcements.php
Line: 60

Nolt

Hello,

We got an issue with YAGAM at non default theme (default theme works fine).
Announcemnets rows are oversized and look awful, I've seen similar issues reported in this topic but without any fix.
Here you can check how it looks on live site: http://www.smf.pl/index.php/board,37.0.html

Any ideas how to fix this?


//EDIT
FIXED

Shyam09

Quote from: Nolt on December 18, 2013, 05:10:38 PM
Hello,

We got an issue with YAGAM at non default theme (default theme works fine).
Announcemnets rows are oversized and look awful, I've seen similar issues reported in this topic but without any fix.
Here you can check how it looks on live site: http://www.smf.pl/index.php/board,37.0.html [nofollow]

Any ideas how to fix this?


//EDIT
FIXED
could you please share how to fix this. I'm also stuck on this too. Thanks

shazoo!

Quote from: drroot on May 10, 2012, 09:43:24 PM
How to give Global Moderator the permission to post an announcement?

Hi! I the below post from Illori enabled me to assign the functionality to other Permission Groups

I edited ../Source/ManagePermissions.php.

Search for:

$permissionList = array(
'membergroup' => array(


And add :
'yagam_manage' => array(false, 'maintenance', 'administrate'),

Right under the entry:
'yagam_comment' => array(false, 'general', 'view_basic_info'),

Seems to have worked for me!

Quote from: Illori on February 18, 2011, 03:04:28 PM
I dont know if this was on purpose but i dont see yagam_manage declared in the $permissionList array I added it to my array and it can now be assigned as a permission

'yagam_manage' => array(false, 'maintenance', 'administrate'),

shazoo!

...still unable to convert a topic to an announcement, though.
anyone figure that out?


jsx

@Nibogo

Can not uninstall YAGAM with the selected option "Remove all data associated with this modification" because there is such an error:

Fatal error: require(): Failed opening required '/home/XXX/domains/XXX/public_html/smf/Packages/temp/db_install.php' (include_path='.:/usr/local/php/p56/lib/php') in /home/XXX/domains/XXX/public_html/smf/Sources/Packages.php on line 952

SMF is clean, newly installed for the test.

And there is a mistake in this line in the Announcements.english-utf8.php file:

$txt['yagam_no_cotent'] = 'Announcement content is required';

"cotent" the letter "n" is missing.

In all language files there is a mistake in this code. This text line will not be displayed by this mistake.

smartmouse

Hello, will this mod be updated to work with SMF 2.1?


jsx

@Nibogo

Are you able to update this mod for SMF 2.1? It would be nice if this mod worked in 2.1

Advertisement: