The Forum has been Updated
The code has been upgraded to the latest .NET core version. Please check instructions in the Community Announcements about migrating your account.
Please is there any way to hide links on visitors and members inside the topics
so we can post a reply in the topic
Last edited by AHMEDHHH1 on 26 October 2010, 08:11
Posted
product-hide ?
Posted
Please is there any way to hide links on visitors and members inside the topics
so we can post a reply in the topic
so we can post a reply in the topic
Posted
No, there is no such way. It's either full access to topic (actually to the forum where the topic is located) or no access to the topic at all.
Posted
could you add this characteristic?x
or could anyone explain to me how to do it ?x
or could anyone explain to me how to do it ?x
Posted
Are you talking about showing external links within topics only to members that are logged in?
Podge.
The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)
My Mods: CAPTCHA Mod | GateKeeper Mod Tutorial: Enable subscriptions on your board
Warning: The post above or below may contain nuts.
My Mods: CAPTCHA Mod | GateKeeper Mod Tutorial: Enable subscriptions on your board
Warning: The post above or below may contain nuts.
Posted
Yes
Originally posted by Podge
Are you talking about showing external links within topics only to members that are logged in?
Posted
I did that recently and its not that difficult. I will post instructions later.
Podge.
The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)
My Mods: CAPTCHA Mod | GateKeeper Mod Tutorial: Enable subscriptions on your board
Warning: The post above or below may contain nuts.
My Mods: CAPTCHA Mod | GateKeeper Mod Tutorial: Enable subscriptions on your board
Warning: The post above or below may contain nuts.
Posted
Instructions for a default version of V3.4.07
Open inc_func_common.asp
About line 1553 add the following code
More in a few minutes.
Open inc_func_common.asp
About line 1553 add the following code
Code:
function withoutLinks (strInput)
Set rx = New RegExp
With rx
.Pattern = "<(a*)([^/]*)/([A-Za-z0-9]?[^>]+)"">([A-Za-z0-9]?[^>]+)</a>"
.IgnoreCase = True
.Global = True
End With
withoutLinks = rx.Replace (strInput, "<a href=""login.asp"" target=""_blank"">You must be logged in to see this link.</a>")
end FunctionMore in a few minutes.
Podge.
The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)
My Mods: CAPTCHA Mod | GateKeeper Mod Tutorial: Enable subscriptions on your board
Warning: The post above or below may contain nuts.
My Mods: CAPTCHA Mod | GateKeeper Mod Tutorial: Enable subscriptions on your board
Warning: The post above or below may contain nuts.
Posted
Open topic.asp
About line 646 find the following code
Replace it with
About line 646 find the following code
Code:
if Request.QueryString("SearchTerms") <> "" then
Response.Write SearchHiLite(formatStr(Reply_Content))
else
Response.Write formatStr(Reply_Content)
end ifReplace it with
Code:
if strDBNTUserName = "" then
Cleaned_Reply_Content = withoutLinks(formatStr(Reply_Content))
else
Cleaned_Reply_Content = formatStr(Reply_Content)
end if
if Request.QueryString("SearchTerms") <> "" then
Response.Write SearchHiLite(Cleaned_Reply_Content)
else
Response.Write formatStr(Cleaned_Reply_Content)
end ifPodge.
The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)
My Mods: CAPTCHA Mod | GateKeeper Mod Tutorial: Enable subscriptions on your board
Warning: The post above or below may contain nuts.
My Mods: CAPTCHA Mod | GateKeeper Mod Tutorial: Enable subscriptions on your board
Warning: The post above or below may contain nuts.
Posted
Still in topic.asp
Around line 852 find the following code
Replace it with
This code is largely untested and I suspect that the regex needs a little work. Please post comments, suggestions and improvements and I'll package it in a mod and put it on SnitzBitz.
I think something like this should be included in the base code so that Snitz would be less of a target for spammers.
Around line 852 find the following code
Code:
if Request.QueryString("SearchTerms") <> "" then
Response.Write SearchHiLite(formatStr(Topic_Message))
else
Response.Write formatStr(Topic_Message)
end ifReplace it with
Code:
if strDBNTUserName = "" then
Cleaned_Topic_Message = withoutLinks(formatStr(Topic_Message))
else
Cleaned_Topic_Message = formatStr(Topic_Message)
end if
if Request.QueryString("SearchTerms") <> "" then
Response.Write SearchHiLite(Cleaned_Topic_Message)
else
Response.Write Cleaned_Topic_Message
end ifThis code is largely untested and I suspect that the regex needs a little work. Please post comments, suggestions and improvements and I'll package it in a mod and put it on SnitzBitz.
I think something like this should be included in the base code so that Snitz would be less of a target for spammers.
Podge.
The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)
My Mods: CAPTCHA Mod | GateKeeper Mod Tutorial: Enable subscriptions on your board
Warning: The post above or below may contain nuts.
My Mods: CAPTCHA Mod | GateKeeper Mod Tutorial: Enable subscriptions on your board
Warning: The post above or below may contain nuts.
Last edited by Podge on 27 October 2010, 15:15
Email Member
Message Member
Post Moderation
FileUpload
If you're having problems uploading, try choosing a smaller image.
Preview post
Send Topic
Loading...