phpBB

Development Discussion Board

phpBB's testing ground of bleeding edge code
Advanced search

[RFC|Merged] Link global announcements to forums

These requests for comments have lead to an implemented feature that has been successfully merged into the 3.1/Ascraeus branch. Everything listed in this forum will be available in phpBB 3.1.

Re: Global Announcements in 3.1

Postby nickvergessen » Thu Mar 11, 2010 3:47 pm

Updated the git-branch.
The only things that are still missing are:
  • The tracking system ...
  • Update-code: would be best if there weren't any while updating, but we can not ensure this right?
cheers nickvergessen :geek:
Member of phpBB Development-Team
No Support via PM — My MODs for phpBB 3.0.x
User avatar
nickvergessen
Development Team
Development Team
 
Posts: 350
Joined: Sun Oct 07, 2007 11:54 am
Location: Esslingen, Germany

Re: Global Announcements in 3.1

Postby naderman » Thu Mar 11, 2010 8:58 pm

No we cannot, we will have to move them somewhere. Not really sure what the best approach for that is.
www.naderman.de
Move your forum to Forumatic - we'll take care of maintenance & spam
User avatar
naderman
Development Team Leader
Development Team Leader
 
Posts: 1649
Joined: Sun Jan 11, 2004 2:11 am
Location: Karlsruhe, Germany

Re: Global Announcements in 3.1

Postby nickvergessen » Thu Mar 11, 2010 10:58 pm

Okay, seems like it wasn't that hard to change the tracking.

The only thing left on the list now is, how to handle existing GAs.
The rest is ready for testing. :geek:

http://github.com/nickvergessen/phpbb3/ ... ouncements
cheers nickvergessen :geek:
Member of phpBB Development-Team
No Support via PM — My MODs for phpBB 3.0.x
User avatar
nickvergessen
Development Team
Development Team
 
Posts: 350
Joined: Sun Oct 07, 2007 11:54 am
Location: Esslingen, Germany

Re: Global Announcements in 3.1

Postby imkingdavid » Fri Mar 12, 2010 2:03 am

I'm not sure if this was mentioned since I read about half of the posts in this topic, but what is meant by "linking" to the GA from other forums? Because I like how it currently shows the forum name in breadcrumbs of the forum that the user clicked into the GA from. In phpBB 2.0 I believe that if you were to click on a GA, it would just take you to that topic in the forum it was originally posted in, which effectively makes it just a "link" to another topic. However, I see value in keeping it where it shows the forum you were in when you click on the GA in the breadcrumbs. Maybe I don't understand what you mean by "linking", but if it is how phpBB 2 did it, I'm not sure I'm for it.
I do custom MODs. PM for a quote!
View My: MODs | Portfolio
Please do NOT contact for support via PM or email.
Remember, the enemy's gate is down.
User avatar
imkingdavid
Development Team
Development Team
 
Posts: 900
Joined: Thu Jul 30, 2009 12:06 pm

Re: Global Announcements in 3.1

Postby naderman » Fri Mar 12, 2010 2:11 am

phpBB2 never had global announcements. But yes we do mean linking in the way you describe. I think it makes things a lot clearer to users who might otherwise be confused by the read/unread behaviour and might not realise that they are visiting a topic visible in multiple forums. It should however be visible on viewforum that it is a "redirect" to another forum.
www.naderman.de
Move your forum to Forumatic - we'll take care of maintenance & spam
User avatar
naderman
Development Team Leader
Development Team Leader
 
Posts: 1649
Joined: Sun Jan 11, 2004 2:11 am
Location: Karlsruhe, Germany

Re: Global Announcements in 3.1

Postby imkingdavid » Fri Mar 12, 2010 2:17 am

naderman wrote:phpBB2 did never have global announcements. But yes we do mean linking in the way you describe. I think it makes things a lot clearer to users who might otherwise be confused by the read/unread behaviour and might not realise that they are visiting a topic visible in multiple forums. It should however be visible on viewforum that it is a "redirect" to another forum.

Ahh good point. I haven't use 2.0 for a long time except on one forum that is reluctant to update. I guess they have a Global Announcement MOD installed. Anyway, yeah I guess if it is shown that it will move them to a different forum, that would be OK.

Although maybe you could put something in the URL to retrieve through GET to let them get back to the previous forum?
I do custom MODs. PM for a quote!
View My: MODs | Portfolio
Please do NOT contact for support via PM or email.
Remember, the enemy's gate is down.
User avatar
imkingdavid
Development Team
Development Team
 
Posts: 900
Joined: Thu Jul 30, 2009 12:06 pm

Re: Global Announcements in 3.1

Postby nickvergessen » Fri Mar 12, 2010 10:43 am

We could add the same thing we also have in the search:
Code: Select all
» in {FORUM_NAME}

tmp.png


Or even use something like the topic-moved icon. Than it should be quite clear, that the topic is in an other forum and you get "redirected". Problem on the moved-icon thing is, we do not have an unread-moved icon yet.
cheers nickvergessen :geek:
Member of phpBB Development-Team
No Support via PM — My MODs for phpBB 3.0.x
User avatar
nickvergessen
Development Team
Development Team
 
Posts: 350
Joined: Sun Oct 07, 2007 11:54 am
Location: Esslingen, Germany

Re: Global Announcements in 3.1

Postby code reader » Fri Mar 12, 2010 3:56 pm

maybe....
i am not sure if this is the case - i did not actually read all the recent changes to the code.
however, i thought of something that may make life easier (or not). if i'm wrong in my assumption, or if it doesn't make life any easier just scrap it.

so here goes:
IMO, global announcement is not "global topic".
i do not see a need for "global topic".
what it means is that global announcement should not be reply-able, which may make the whole permission treatment much simpler: anyone can read a global announcement, and nobody can reply, thank you very much. so when dealing with global announcement, you should never have to consult the user's permissions.

peace.
code reader
Registered User
 
Posts: 629
Joined: Wed Sep 21, 2005 3:01 pm

Re: Global Announcements in 3.1

Postby nickvergessen » Fri Mar 12, 2010 4:01 pm

As it was possible to reply in the past (and that makes sense for me) it should also be in future.

The only difference Global Announcements have from normal Announcements, in the dev-branch I made:
  • GA are viewed in all forums you're allowed to see
  • GA are viewed in the first page of the UCP
cheers nickvergessen :geek:
Member of phpBB Development-Team
No Support via PM — My MODs for phpBB 3.0.x
User avatar
nickvergessen
Development Team
Development Team
 
Posts: 350
Joined: Sun Oct 07, 2007 11:54 am
Location: Esslingen, Germany

Re: Global Announcements in 3.1

Postby MichaelC » Wed Mar 17, 2010 6:05 pm

Maybe the posting user has a tab on the attachments on who can access that GA, but in the ACP 'Special Groups could be set that always have at least certain permissions meaning members could not stop moderators and admins seeing them and moderators could not stop admins. But having it so that only admins can overide the who can view permissions meaning admins could stop moderators seeing it, but members and moderators could not stop moderators seeing it.

Its complicated but could probably work with alot of IF statments?
Unknown Bliss
psoTFX wrote:I went with Olympus because as I said to the teams ... "It's been one hell of a hill to climb"

No unsolicited PMs please except for quotes.
User avatar
MichaelC
Website Team
Website Team
 
Posts: 797
Joined: Thu Jan 28, 2010 6:29 pm

Previous Next

Return to [3.1/Ascraeus] Merged RFCs

Who is online

Users browsing this forum: No registered users and 8 guests

cron