Print Page | Close Window

Private Forum Section Listing 2x

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=26177
Printed Date: 30 March 2026 at 1:50pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Private Forum Section Listing 2x
Posted By: mconway72
Subject: Private Forum Section Listing 2x
Date Posted: 29 August 2008 at 2:15am
When I am logged in as a guest, all is normal with the forum, and the last 10 posts on the website's homepage appear normal.  But when I login with my admin account, the 2 private forum sections post a duplicate copy of themselves while the public sections appear once, and then also the last 10 posts on the website's homepage double post.  This only started after we applied the Moderator List mod to list our moderators on the homepage of the forum, after that we started seeing this issue.  I removed the mod changes for the Mod List, but the issue remains.  Anyone have any ideas?



Replies:
Posted By: WebWiz-Bruce
Date Posted: 29 August 2008 at 7:36am
It sounds like a duplicate permissions issue within the database.

Log into the admin area and under the Group Admin section resubmit the page with the permissions on. This will reset the permissions within your forum.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: mconway72
Date Posted: 30 August 2008 at 1:27am
Originally posted by WebWiz-Bruce WebWiz-Bruce wrote:

It sounds like a duplicate permissions issue within the database.

Log into the admin area and under the Group Admin section resubmit the page with the permissions on. This will reset the permissions within your forum.
 
That is exactly the issue, WebWiz-Bruce ... but unfortunately resubmitting the page didn't fix my issue.  It's not a major issue, but a nuisance that it dooubles posts the forums and last 10 posts on the homepage.  I even reversed what MrTWS had instructed to d0in Step 4 that started this glitch, but it's still double posting.
 
Originally posted by MrTWS MrTWS wrote:

Yes it is -

Step 1: Add... "Dim strModeratorsList" to the declarations at the top of default.asp
 
Step 2: Add this code around line 650. I've made a lot of mods to my default.asp page so I couldn't tell you for sure where it goes. I put it in between " 'Display the number of people viewing in that forum" and " 'Display forum details".
 
 
'Get the List of Group Moderators for the Forum
strModeratorsList = ""
strSQL = "SELECT " & strDbTable & "Author.Author_ID, " & strDbTable & "Author.Username "
strSQL = strSQL & "FROM " & strDbTable & "Permissions, " & strDbTable & "Author "
strSQL = strSQL & "WHERE " & strDbTable & "Author.Author_ID = " & strDbTable & "Permissions.Author_ID AND " & strDbTable & "Permissions.Moderate = " & strDBTrue & " AND " & strDbTable & "Permissions.Forum_ID = " & intForumID & ";"
rsCommon.Open strSQL, adoCon
Do While Not rsCommon.eof
 If strModeratorsList = "" Then
  strModeratorsList = "<br /><span class=""smText"">Moderators:</span> "
 Else
  strModeratorsList = strModeratorsList & ", "
 End If
 strModeratorsList = strModeratorsList & "<a href=""member_profile.asp?PF=" & rsCommon("Author_ID") & """ class=""smLink"">" & rsCommon("Username") & "</a>"
 rsCommon.MoveNext
Loop
rsCommon.Close
 
Step 3: In the Forum Details section (again, roughly around line 675) change this line
 
 
Response.Write("<br />" & strForumDiscription & strSubForums & "</td>" & _
 
to be this:
 
 
Response.Write("<br />" & strForumDiscription & strSubForums & strModeratorsList & "</td>" & _
 
...and the coding is done.
 
Step 4: Login to the admin tool and manually set user permissions for each moderator you want to set up for each section. Even though they have permissions by their group, this tool looks for their individual member permissions for reference. Click member permissions, search for your user, check off "Forum Moderator", check off your affected forums, and you are good to go.
 
...and that'll do it!




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