Print Page | Close Window

Nice feature from the older forum

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=22020
Printed Date: 29 March 2026 at 10:54pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Nice feature from the older forum
Posted By: coolguy
Subject: Nice feature from the older forum
Date Posted: 25 November 2006 at 12:37am

I always liked the feature where it displayed the below text at the bottom of the forum posts for people who have not logged in or registered, its from the older 7.9 forum which seems to be missing in the new one.

 

 
If you wish to post a reply to this topic you must first login
If you are not already registered you must first register
 
 
If you like to create this in the new forum, this is how you do it:
 
Add the following code to the forum_posts.asp
 
<div align="center">
<%
  Response.Write ("</p>")
If intGroupID = 2 Then Response.Write(vbCrLf & " <p class=""text"">" &  strTxtPostAReplyRegister & "&nbsp;<a href=""login_user.asp?FID=" & intForumID & """ target=""_self"">" & strTxtLoginSm & "</a><br />" & strTxtNeedToRegister & "&nbsp;<a href=""registration_rules.asp?FID=" & intForumID & """ target=""_self"">" & strTxtSmRegister & "</a></p>")
%>
 
 
You should add the above code right after the following:
 
  <td align="right" nowrap><!-- #include file="includes/page_link_inc.asp" --></td>
 </tr>
</table><%
End If
 
 
 
 
Thats it
 
 
 
 



Replies:
Posted By: javi712
Date Posted: 25 November 2006 at 5:47am
Pretty useful... i had forgotten about this little piece of code from the old version. thanks!



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