Print Page | Close Window

Moderator Separator

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums Suggestions
Forum Description: Do you have any ideas for applications or content on Web Wiz? Then leave your suggestions here.
URL: https://forums.webwiz.net/forum_posts.asp?TID=18209
Printed Date: 28 March 2026 at 11:06pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Moderator Separator
Posted By: lpe0
Subject: Moderator Separator
Date Posted: 31 January 2006 at 11:37am

A recommendation for Forum 7.97

Currently when using multiple moderators for a area of discussion the current release does not separator them with any other character other than a space.  The following code corrects that by also inserting a comma before the space between moderators to destinguesh between them.  Here is the code I use in default.asp to provide the separtion.

The change occures in the loop that starts at line nunber 334 below rsCommon.MoveNext and before the loop. Here is the code:
---------------------
Do While NOT rsCommon.EOF

'Place the moderators username into the string
strModeratorsList = strModeratorsList & " <a href=""members.asp?GID=" & rsCommon("Group_ID") & """ class=""smLink"">" & rsCommon("Name") & "</a>"

'Move to the next record
rsCommon.MoveNext

' new code added
if rsCommon.EOF then
     exit do
end if
strModeratorsList = strModeratorsList & ","

Loop
-------------------
Use with permission and enjoy. Pat



-------------
Protecting the NetWork



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net