Print Page | Close Window

MOD Approved answer

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums Modifications
Forum Description: Mod's and Add-on's for Web Wiz Forums.
URL: https://forums.webwiz.net/forum_posts.asp?TID=31392
Printed Date: 28 March 2026 at 10:49am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: MOD Approved answer
Posted By: AllMor
Subject: MOD Approved answer
Date Posted: 21 July 2016 at 11:57am

I have made a small change in Web Wiz Forums 'Answer posts' feature.
My need was to create an icon at the top of each post, so the threads author easily can set a post as an answer.

I added a few lines in the file forum_post.asp to do the trick.
 
In this example, my languagefile is Danish, but of course it uses the languagefiles wording and the default icons.

The icon on top of each post looks like this
Translated to English: This post answered my question
 
On an answer-post, it looks like this:

Translated to English: Approved answer.
Click here to remove this tag 
 

A user can only use the function if:
1. It is the logged in user who created the post.
2. It is NOT the users own answer
3. The post not is locked

There can only be one 'approved answer' in one thread.
If the user wants to set another post as answer, then they have to click 'Remove...' before adding it to another post.

This Mod also changes the behavior of the 'Set as / Remove as answer' in the dropdown i the specific post to the same set of rules as above.

Se the mod'ed file (txt file) here  http://www.excel-regneark.dk/temp/forum_posts.txt" rel="nofollow - http://www.excel-regneark.dk/temp/forum_posts.txt
You can find the modifications by searching the wording "MOD Set post as Answer"
For implementation: Just rename the file to .asp and overwrite the existing forum_post.asp file

Have fun

//Allan
http://forum.excel-regneark.dk/" rel="nofollow - http://forum.excel-regneark.dk/




-------------
https://forum.excel-regneark.dk



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