News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Yet Another Global Announcements Mod (YAGAM)

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

Previous topic - Next topic

edi67

CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

CvH

here the german and the german-utf8 language files

good work keep going :)

Don Pepito

#22
Will some verersions compatiable with 1.1.7  be released...??
What do you think will that work if i manually install mod...??

Nibogo

Quote from: jkrlvgn on February 12, 2009, 12:50:41 AM
to the :

Fatal error: Cannot use string offset as an array in  /home/crazyzone/data/www/crazyzone.biz/Sources/Load.php(2192) : eval()'d code on line 292

issue....

I had issues similar to this....it doesn't seem to like 2.0b4 at all...  I upgraded to RC1, and it works fine now, but I had to do some other manual editing and cleaning up from previous mods.  If you had the global announcements mod installed, this might be part of the issue.

Just to note, on the comments issue, I had the same problem, so it's not just specific to certain people.


As far as you, Lamarck....it's not hard to manually install a mod...I'm using a custom template myself, and it works fairly well.  Instead of uninstalling it and moving on (...to...nothing, I might add, since this is the only other one besides the older), you can ask other people for assistance.  NIBOGO -IS- a busy guy...he can't do everything for you, though, no matter how nice he is.

If you still want help with it, let me know, and I'll help ya out.

Thanks for help with the mod ;)

Quote from: glennk on February 12, 2009, 08:23:51 AM
Will it work with 2b4 ?

No , you should upgrade to SMF 2.0 RC1

Quote from: edi67 on February 12, 2009, 09:30:07 AM
ok i attach my file there thx

I will check this files when I have time to do it ^^ , btw are you using SMF 2.0 RC1??

Quote from: CvH on February 12, 2009, 10:52:30 AM
here the german and the german-utf8 language files

good work keep going :)

Thanks , but I will be more than happy if can you translate the Modifications.english strings too??


// YAGAM - Admin and MessageIndex Strings
$txt['yagam_admin'] = 'Global Announcements';
$txt['yagam_topics'] = 'Normal Topics';
$txt['yagam_created'] = 'Created on';
$txt['whoall_announcements'] = 'Viewing a Global Announcement';
$txt['permissionname_yagam_manage'] = 'Manage Global Announcements';
$txt['permissionhelp_yagam_manage'] = 'Sets if the user can manage the global announcements.';
$txt['permissionname_yagam_comment'] = 'Comment Global Announcements';
$txt['permissionhelp_yagam_comment'] = 'Sets if the user can comment the global announcements of allow comments.';
$txt['yagam_edit2'] = 'Edit';
$txt['yagam_edit'] = 'Edit Announcement';
$txt['yagam_remove'] = 'Delete Announcement';
$txt['yagam_remove2'] = 'Remove';


Thanks ^^

Quote from: Don Pepito on February 12, 2009, 03:00:36 PM
Will some verersions compatiable with 1.1.7  be released...??
What do you think will that work if i manually install mod...??

Try this mod:

http://custom.simplemachines.org/mods/index.php?mod=419

My mod if for SMF 2.0 RC1 ONLY

edi67

CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

CvH

Quote from: NIBOGO on February 12, 2009, 06:13:01 PM
Thanks , but I will be more than happy if can you translate the Modifications.english strings too??

uppps ^^_

Nibogo

#26
Quote from: CvH on February 12, 2009, 07:42:00 PM
Quote from: NIBOGO on February 12, 2009, 06:13:01 PM
Thanks , but I will be more than happy if can you translate the Modifications.english strings too??

uppps ^^_

Thanks , german , swedish and spanish will be uploaded in the next version ;)

Any additional translation is more than welcome :)

fords8

NIBOGO, I did the edits and the install went fine. But I am getting that line 292 error like someone else reported in this topic.

drhamad

Quote from: fords8 on February 12, 2009, 08:47:37 PM
NIBOGO, I did the edits and the install went fine. But I am getting that line 292 error like someone else reported in this topic.

Is this your 292?

// Integration is cool.
if (defined('SMF_INTEGRATION_SETTINGS'))
$modSettings = unserialize(SMF_INTEGRATION_SETTINGS) + $modSettings;
FMVperformance:  3.51m posts, 63k members, 11 boards, 1 database

Mazda3Forums - SmallVolvos - MazdaSpeeders Mazda Club - FordFusionClubMazda CX-7 Club - MyMazda6
Now introducing: MKSdrivers.com - FocusDrivers - TaurusDrivers

drhamad

NIBOGO: Works like a charm, THANKS! There do seem to be errors with the package... or if not errors, then at least inefficiencies.  Using replaces on those arrays, for instance, is a bad idea, because a lot of mods at to those array and therefore it's rarely (in a decently modified board) as it shows there.  I'd highly recommend using search mode before or after, and NOT using the array titles when you're trying to add to the array, if you can avoid it.  Just use contents of the array as a search string.

The fact that YAGAM supports commenting is a great improvement... now the next step, I hope, is the ability to un-GA a GA, making it a regular thread with all the comments saved.  I hope that can be done at some point.

To anyone experiencing errors... go through manually and make sure what the package says is actually what has happened.  I don't use packages, so I can't speak for it, but the code itself works perfectly.
FMVperformance:  3.51m posts, 63k members, 11 boards, 1 database

Mazda3Forums - SmallVolvos - MazdaSpeeders Mazda Club - FordFusionClubMazda CX-7 Club - MyMazda6
Now introducing: MKSdrivers.com - FocusDrivers - TaurusDrivers

Özgür

I can't fix my problem but i love this mod.

here is Turkish Translations.

// YAGAM - Admin and MessageIndex Strings - Çeviri rocKayseri
$txt['yagam_admin'] = 'Genel Duyurular';
$txt['yagam_topics'] = 'Normal Konular';
$txt['yagam_created'] = 'Oluşturulma';
$txt['whoall_announcements'] = 'Genel Duyururuları görebilir';
$txt['permissionname_yagam_manage'] = 'Genel duyuruları yönetebilir';
$txt['permissionhelp_yagam_manage'] = 'Bunu seçerseniz üyeler genel duyuruları düzenleyebilirler.';
$txt['permissionname_yagam_comment'] = 'Genel duyurulara yorum ekleyebilir';
$txt['permissionhelp_yagam_comment'] = 'Bu izin üyelerin genel duyurulara yorum yapabilmelerini sağlar.';
$txt['yagam_edit2'] = 'Düzenle';
$txt['yagam_edit'] = 'Duyuruyu Düzenle';
$txt['yagam_remove'] = 'Duyuruyu Sil';
$txt['yagam_remove2'] = 'Sil';
So Long

phpMyTony


drhamad

Quote from: CSS on February 13, 2009, 04:05:45 PM
Planning to make this work with 1.1.x?

I'm not the author, but I'll answer what I'm 99% sure he'll say: There's already a GA mod for 1.1.  This is for 2.0+
FMVperformance:  3.51m posts, 63k members, 11 boards, 1 database

Mazda3Forums - SmallVolvos - MazdaSpeeders Mazda Club - FordFusionClubMazda CX-7 Club - MyMazda6
Now introducing: MKSdrivers.com - FocusDrivers - TaurusDrivers

phpMyTony


drhamad

Quote from: CSS on February 13, 2009, 04:20:38 PM
Ohh. This one is different though?

This one does add a couple of features that Global Announcement does not have, but primarily this just takes over for GA, since the author of that doesn't have the time to update it for 2.0.

http://www.simplemachines.org/community/index.php?topic=106295.0
FMVperformance:  3.51m posts, 63k members, 11 boards, 1 database

Mazda3Forums - SmallVolvos - MazdaSpeeders Mazda Club - FordFusionClubMazda CX-7 Club - MyMazda6
Now introducing: MKSdrivers.com - FocusDrivers - TaurusDrivers

phpMyTony

Oh, right. What features does this have that the other does not?

drhamad

Quote from: CSS on February 13, 2009, 04:24:11 PM
Oh, right. What features does this have that the other does not?

The main thing that I've noticed is that users can actually comment on GA's in this - they couldn't in the GA mod.  That's of limited usefulness however (as near as I can tell) because the moment you remove the GA, the whole thread disappears.  For some people it may still be useful, though.
FMVperformance:  3.51m posts, 63k members, 11 boards, 1 database

Mazda3Forums - SmallVolvos - MazdaSpeeders Mazda Club - FordFusionClubMazda CX-7 Club - MyMazda6
Now introducing: MKSdrivers.com - FocusDrivers - TaurusDrivers

Nibogo

#37
Quote from: drhamad on February 13, 2009, 04:19:10 PM
Quote from: CSS on February 13, 2009, 04:05:45 PM
Planning to make this work with 1.1.x?

I'm not the author, but I'll answer what I'm 99% sure he'll say: There's already a GA mod for 1.1.  This is for 2.0+

Yep , there is a Global Announcements Mod , I will never make this mod for SMF 1.1.X

@Özgür´: Will be nice if you translate the Announcements.turkish.php too ^^ , thanks

Quote from: drhamad on February 13, 2009, 04:26:49 PM
Quote from: CSS on February 13, 2009, 04:24:11 PM
Oh, right. What features does this have that the other does not?

The main thing that I've noticed is that users can actually comment on GA's in this - they couldn't in the GA mod.  That's of limited usefulness however (as near as I can tell) because the moment you remove the GA, the whole thread disappears.  For some people it may still be useful, though.

I have two features for this mod but actually I am working in all the bugs of this mod.

Özgür

Sorry  ??? Im forget it =)

Here..

Modifications.Turkish.php
// YAGAM - Admin and MessageIndex Strings - Çeviri rocKayseri
$txt['yagam_admin'] = 'Genel Duyurular';
$txt['yagam_topics'] = 'Normal Konular';
$txt['yagam_created'] = 'Oluşturulma';
$txt['whoall_announcements'] = 'Genel Duyururuları görebilir';
$txt['permissionname_yagam_manage'] = 'Genel duyuruları yönetebilir';
$txt['permissionhelp_yagam_manage'] = 'Bunu seçerseniz üyeler genel duyuruları düzenleyebilirler.';
$txt['permissionname_yagam_comment'] = 'Genel duyurulara yorum ekleyebilir';
$txt['permissionhelp_yagam_comment'] = 'Bu izin üyelerin genel duyurulara yorum yapabilmelerini sağlar.';
$txt['yagam_edit2'] = 'Düzenle';
$txt['yagam_edit'] = 'Duyuruyu Düzenle';
$txt['yagam_remove'] = 'Duyuruyu Sil';
$txt['yagam_remove2'] = 'Sil';
So Long


Advertisement: