UBB.Dev
Posted By: lurch_dup1 6.1b1 - Admin and Mod flags - 09/02/2002 9:44 PM
I noticed that when readind a post made by the Admin, it has the Admin flag next to their name.

But...

It does not include the mod flag next to mod names.

Seems inconsistent.
Posted By: webwolfe_dup1 Re: 6.1b1 - Admin and Mod flags - 09/02/2002 10:28 PM
this reminded me, I meant to ask the same thing..

All posts by moderators on my site do not include the little mod tag by their names.. works for admins though
example
it does show their correct color (green)
Posted By: lurch_dup1 Re: 6.1b1 - Admin and Mod flags - 09/03/2002 12:40 AM
Well, I fixed showflat. [:"red"] Could someone please verify this is correct. [/]

Open showflat.php

Change

elseif ( ($PostStatus == "Moderator") && (stristr($modlist,",$Username,")) ) {

to

elseif ($PostStatus == "Moderator") {

I am not sure what

&& (stristr($modlist,",$Username,"))

is supposed to do, but taking it out seems to fix the problem with mod flags not showing in flat posts.
Posted By: AllenAyres Re: 6.1b1 - Admin and Mod flags - 09/03/2002 1:00 AM
it shows in the forums they actually moderate
Posted By: lurch_dup1 Re: 6.1b1 - Admin and Mod flags - 09/03/2002 1:11 AM
Ah, thats what the code I took out is supposed to do. Thanks.

But....

It's still not showing mod's flags in flat mode, even if they mod that forum.

And...

In threaded posts, mod's flags are not shown. Plus Admin flag's are not shown in the thread of replies UNLESS its the first reply in the thread. After the first reply, no flags are shown for anyone.

Also.........

In showthreaded.php is odd that in some cases Poststatus looks for Administrator or Moderator but in other cases it looks for A or M.

Keep in mind, I am a rookie to PHP.
Posted By: lurch_dup1 Re: 6.1b1 - Admin and Mod flags - 09/03/2002 1:24 AM
I created a new board.

I posted as a user that is a mod in another board, but not this one.

They have no mod flag (correct), but their name is in mod color (incorrect?).
Posted By: lurch_dup1 Re: 6.1b1 - Admin and Mod flags - 09/03/2002 1:58 AM
I am assuming these are bugs, so I posted at:

http://community.infopop.net/2/OpenTopic?a=tpc&s=729094322&f=6183028913&m=3083068676
Posted By: JoshPet Re: 6.1b1 - Admin and Mod flags - 09/03/2002 6:12 AM
Just checked this out.

Right... the mod flag only shows in the forum they moderate.... but this appears to be a "bug".

It works right in postlist, but not showflat or showthreaded.

Yes, good to post it at InfoPop.

Josh
Posted By: Astaran Re: 6.1b1 - Admin and Mod flags - 09/04/2002 1:34 PM
That's an old bug that was introduced in Version 6.x, there is a fix in the Bug Forum here at Threadsdev.
© UBB.Developers