Print Page | Close Window

Guests read headlines but not posts

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=17938
Printed Date: 12 April 2026 at 4:05am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Guests read headlines but not posts
Posted By: yataylimit
Subject: Guests read headlines but not posts
Date Posted: 14 January 2006 at 9:59am
Hi.
I have a question which is simple but whose answer is crucial to me.
 
I want Guests to enter forum_topics.asp page (the page where headlines of posts are shown) but I just don't want them to enter forum_post.asp page (the page where we read posts).
 
In other words, I want Guests to read headlines of posts but I don't want them to read before subscribing. This is NOT done in the Group Permission section.
 
Please someone help with it, because it will also enable spiders to scan headlines.
 
Theanks.



Replies:
Posted By: WebWiz-Bruce
Date Posted: 14 January 2006 at 12:29pm
The only way to do this is to modify the code.

What you need to do is set the permissions for Guests to not enter any forum.

Then in the forum_topics.asp page you will need to hard code that the Guest acoc**t has 'read' access so that they can view that page.


-------------
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: yataylimit
Date Posted: 14 January 2006 at 2:14pm
Thanks Borg, I did exactly what you said and it worked.
 
I strongly advise doing that since it helps content based spiders of search engines (like that of Google) to scan your headlines and attract more visitors to your site. As Borg said, just disable Guests from entering the forum in the admin page and then omit the following lines in your forum_topics.asp page:
 
'Check the user is welcome in this forum
 Call forumPermisisons(intForumID, intGroupID, CInt(rsForum("Read")), CInt(rsForum("Post")), CInt(rsForum("Reply_posts")), CInt(rsForum("Edit_posts")), CInt(rsForum("Delete_posts")), 0, CInt(rsForum("Poll_create")), CInt(rsForum("Vote")), 0, 0)
 'If the user has no read writes then kick them
 If blnRead = False Then
  'Reset Server Objects
  rsForum.Close
  Set rsForum = Nothing
  Set rsCommon = Nothing
  adoCon.Close
  Set adoCon = Nothing

  'Redirect to a page asking for the user to enter the forum password
  Response.Redirect "insufficient_permission.asp"
 End If

 'If the forum requires a password and a logged in forum code is not found on the users machine then send them to a login page
 If rsForum("Password") <> "" and Request.Cookies(strCookieName)("Forum" & intForumID) <> rsForum("Forum_code") Then
  'Reset Server Objects
  rsForum.Close
  Set rsForum = Nothing
  Set rsCommon = Nothing
  adoCon.Close
  Set adoCon = Nothing

  'Redirect to a page asking for the user to enter the forum password
  Response.Redirect "forum_password_form.asp?FID=" & intForumID
 End If
End If
 
 You will shortly see that you site will attract many users ;)


Posted By: Epperson
Date Posted: 20 April 2006 at 5:28am
Will this work with the new version of the forum?


Posted By: venki
Date Posted: 22 April 2006 at 8:36pm
Here you can find this mode for v8.
 
 
Download MOD http://venki.somee.com/?16 - here



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