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

drhamad

By the way, this is line 308 (the admin => line):

                    'subsections' => array(
                                            'add' => array($txt['yagam_admin'], 'admin_forum'),
                                                'admin' => array($txt['yagam_admin_add'], 'admin_forum'),                                  $
                                        ),
                                ),
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

Here we go the YAGAM v2.0 RC1 Version!!

What is New??

I have finished a lot of things specially bug fixing  :D also I have looked all the code so I clean the code a little bit also I have added a new file Subs-Announcements.php now the mod should be running a little bit faster and better , also the Manual Edit has been optimized now is simpler than the YAGAM rev4 with the yagam_manual_edit.html and db_yagam.php you can install this mod without troubles obviouslly is better with the package manager. The RC1 has included the romanian and turkish languages also the languages installation are in the languages.xml file and the install.xml have the other part of the installation.

I can use the RC1 Version??

Remember this is not a stable version , this version is for beta testers!!

What will come in the next release??

Well , I want to add support for the Social Bookmarks Mod and the most important thing is bug fixing , any additional idea is more than welcome





I hope of you enjoy this new version all the bugs and features can be reported here:

http://en.hackspark.com/index.php?project=3

I want of you guys try this version and report me anything to have a final version soon  :)

Regards

Yağız...

Undefined offset: 511 in Announcements.template.php ~ on line 141:
<a href="', $context['announcement']['author']['website']['url'], '" title="' . $context['announcement']['author']['website']['title'] . '" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/www_sm.gif" alt="' . $txt[515] . '" border="0" />' : $txt[515]), '</a>';
$txt[515] should be $txt['www']





Undefined variable: context in Announcements.php ~ on line 211
redirectexit('action=admin;area=announcements;sa=admin;sesc='.$context['session_id'].'');
You should add $context in globals.





Undefined index:  can_comment in Announcements.php ~ on line 175
This happens when you don't choose can_comment option.





Undefined index:  boards in Announcements.php ~ on line 339
Edit an announcement. Don't choose any board. You'll see in the error log what happens ;)


edi67

everything seems to be ok NIBOGO but there is one problem:

Admin can view the Manage announcement menu ( look 1 screenshot)
but other membergroups enabled to MANAGE announcements cannot view it ( look 2° screenshot)

you can fix this? only admin can manage , other membergropus ENABLED cannot, because the menu is not visible.
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

drhamad

Any update on 2.0, Nibogo?  I'm still running 1.1.6.2 and pretty much the only errors I get in my error log from my forum now are due to YAGAM.  Not a big deal, functionally, but I hate to see the error log fill up ;)
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

Quote from: drhamad on March 26, 2009, 03:43:05 PM
Any update on 2.0, Nibogo?  I'm still running 1.1.6.2 and pretty much the only errors I get in my error log from my forum now are due to YAGAM.  Not a big deal, functionally, but I hate to see the error log fill up ;)

I am working on some tricky bugs, actually I have the SMF Affiliates Mod v2.0 too and a lot of others things to do, I hope to release the final version soon

drhamad

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

#209
Hi Folks!

Currently I had a lot of work (recently I release a total new version of the SMF Affiliates Mod) plus the last week I can't do to much for SM.org but today I take sometime to make some mods, I submit the new package of the New SMF Topic Prefix Mod for SMF 2.0 RC1 (Awaiting Approval) and I work in YAGAM v2.0 the RC1 was released a month ago but now:

The YAGAM v2.0 RC2 Has Been Released!

I try to fix all the bugs of you guys are reported, maybe I left some bugs if I did it please report anything you find, the new version has something of a lot of people has been asking since the creation of the v1, now you can convert your announcements into topic you select the board and if the topic is locked and sticky. The announcements comments CAN'T be converted in posts.

Remember the YAGAM v2.0 RC2 is only for BETA TESTERS, You can use this version in your live forum (Don't have fatal bugs) but can have some bugs  :P

The new package have a lot of errors in the english strings (my english sucks) but I will look for someone of can help me with that.

For the next release I will fix more bugs and I will verify and re-code the Announcements.php file to make it faster and better, new features are always welcome!

The Package can be downloaded here:

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

Sudhakar Arjunan

That's a good update NIBOGO.

Looking for stable version of it.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Nibogo

Quote from: A.SK on April 14, 2009, 03:47:13 AM
That's a good update NIBOGO.

Looking for stable version of it.

Glad you like it!

For the stable version I really need your cooperation, I can't find all the bugs, please report all the bugs.

The YAGAM v2.0 RC3 is in development but currently I am in the 90% of the job, all the code has been checked and re-wroted, There is no difference in lines between RC3 and RC2 in the Announcements.php file, but the code is a lot better also the errors structure has been changed I delete all the redirects and I add php errors, also the YAGAM Settings has been changed, now we are using the SMF Core Settings structure :)

In the Announcements.template.php there is a big difference in lines and structure :)

Right now I am finishing some little things, I hope to release the new version soon, after the RC3 the mod will be features frozed, I will check and fix all the bugs and them release a final version

Nibogo

#212
YAGAM v2.0 RC3 HAS BEEN RELEASED!!

I spend a lot of time today doing all the final details and is now finished, I know of I release the last version a week ago, but I spent a lot of time in this 4 days and I make the new and final Release Candidate (the next version will be the final)

Changes:

  • All the mod has been re-coded to improve readability, understandability and accessibility. All the errors structure has been changed, the YAGAM Settings has been re-coded doing the same with a lot of less code, now the mod works propertly with the SMF 2.0 Database Functions and the YAGAM Admin Panel has full integration with SMF Administration.
  • Preview has been implemented, now you can preview your announcements before submit the announcement, using the SMF WYSIWYG Editor you have full control of the announcement before be published or edited.
  • Enable/Disable an announcement now is really quick and easy, you click in the icon status in the admin panel, accept the popup and the announcement will be enable or disable.
  • Some little new features, now you can see who do the last edit to a comment and the replies of each announcement in the admin panel.
  • A lot of bugs has been fixed, specially with the database, forum log and linktree.
What will be changed for the Final Release??

Now the mod is "featured frozed", in the last two version I implemented new and awesome features also I re-code all the files so now is time to search and destroy all the bugs, the next version will be YAGAM v2.0 Final, so I need a stable, powerful and clean version, please report all the bugs you found, your help is important for YAGAM. The english files will be checked and re-writed, I need the help of a native english speaker available to verify and correct all the strings but this will be needed when I finish all the code so is not neccesary right now.

When will be released the final version??

"Will be released when it's ready" right now I don't know when Will be released, I will ask for some beta testers in the next month.

NIBOGO I love the mod how I can help you?

YAGAM is totally free, you don't have to pay anything to use this mod or receive support, but you can support the developers, in the YAGAM Admin panel, you can go to the YAGAM Version tab and donate using the paypal link.

Regards

Özgür

Im currently used rc2 and i try to update.
Unknown column 'ac.modified_name' in 'field list'
File: ./Sources/Announcements.php
Line: 532

Seems in article edit submit and article page.
So Long

edi67

Quote from: Özgür´ on April 18, 2009, 12:20:11 AM
Im currently used rc2 and i try to update.
Unknown column 'ac.modified_name' in 'field list'
File: ./Sources/Announcements.php
Line: 532

Seems in article edit submit and article page.

Same problem for me Nibogo
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see


sombra

mm im interested in this mod for my live forum but i have read its beta still what are the chances that i install and will hace problems in the future?

por que ala verdad yo no se nada de php hehe y me gustaria saber la opinion de lso ke si saben xD

Nibogo

Quote from: sombra on April 18, 2009, 10:41:48 PM
mm im interested in this mod for my live forum but i have read its beta still what are the chances that i install and will hace problems in the future?

por que ala verdad yo no se nada de php hehe y me gustaria saber la opinion de lso ke si saben xD

Use the YAGAM v1.1.6.2 is the current stable version

sombra

Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.

15.     Execute Modification     ./Sources/Admin.php     Test failed
      1.    Add After    ./Sources/Admin.php    Test failed

got a problem there

and other thing i have a custom theme i need to make aditional editing ?

edi67

Quote from: NIBOGO on April 18, 2009, 09:30:54 PM
Please try uninstalling that mod and installing this new one

Or just run this db_yagam.php in your forum

Done and 2 bugs always

1* BUGS
http://www.simplemachines.org/community/index.php?topic=292270.msg1976507#msg1976507

Strangely my Global Mod can go there (where admin can manage annoucement):
http://crazyzone.biz/index.php?action=admin;area=announcements;sa=admin;
but not VIEW the comand for manage as i noticed in topic above

Found solution for this bug:
this part of modification in Admin.php:
  'subsections' => array(
    'admin' => array($txt['yagam_admin'], 'admin_forum'),
    'add' => array($txt['yagam_admin_add'], 'admin_forum'),
                        'settings' => array($txt['yagam_admin_settings'], 'admin_forum'),
                        'version' => array($txt['yagam_version'], 'admin_forum'),


Must be  changed in that for have effect and show the menu too at the users groups enabled ;):
  'subsections' => array(
    'admin' => array($txt['yagam_admin'], 'yagam_manage'),
    'add' => array($txt['yagam_admin_add'], 'yagam_manage'),
                        'settings' => array($txt['yagam_admin_settings'], 'yagam_manage'),
                        'version' => array($txt['yagam_version'], 'yagam_manage'),


2* BUGS
If  i click button MAKE TOPIC in one of my announcement, appear this error:

The database value you're trying to insert does not exist: announcement_id
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

Advertisement: