Previous Thread
Next Thread
Print Thread
Rate Thread
#223546 09/02/2002 2:44 PM
Joined: Feb 2002
Posts: 91
Journeyman
Journeyman
Offline
Joined: Feb 2002
Posts: 91
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.


-------------
Youuuuuuuuuuu Rang?
Sponsored Links
Joined: Aug 2002
Posts: 51
Power User
Power User
Offline
Joined: Aug 2002
Posts: 51
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)

Joined: Feb 2002
Posts: 91
Journeyman
Journeyman
Offline
Joined: Feb 2002
Posts: 91
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.


-------------
Youuuuuuuuuuu Rang?
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
it shows in the forums they actually moderate


- Allen wavey
- What Drives You?
Joined: Feb 2002
Posts: 91
Journeyman
Journeyman
Offline
Joined: Feb 2002
Posts: 91
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.


-------------
Youuuuuuuuuuu Rang?
Sponsored Links
Joined: Feb 2002
Posts: 91
Journeyman
Journeyman
Offline
Joined: Feb 2002
Posts: 91
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?).


-------------
Youuuuuuuuuuu Rang?
Joined: Feb 2002
Posts: 91
Journeyman
Journeyman
Offline
Joined: Feb 2002
Posts: 91


-------------
Youuuuuuuuuuu Rang?
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
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

Joined: Dec 2000
Posts: 1,471
Addict
Addict
Offline
Joined: Dec 2000
Posts: 1,471
That's an old bug that was introduced in Version 6.x, there is a fix in the Bug Forum here at Threadsdev.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,574
Posts293,926
Members13,850
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)