T O P I C R E V I E W |
AHMEDHHH1 |
Posted - 25 October 2010 : 22:09:49 Please is there any way to hide links on visitors and members inside the topics
so we can post a reply in the topic
|
15 L A T E S T R E P L I E S (Newest First) |
AHMEDHHH1 |
Posted - 12 November 2010 : 07:33:32 The members here sometimes put links with this from and it shows for everybody
you do your best brother but many links don't show up to the visitors unless if they registered and for the members unless if they add a reply
it still just this kind, i will try to solve that problem inchallah thank you brother podge for the cooperation
|
Podge |
Posted - 09 November 2010 : 19:28:49 <FONT color=#008000 size=4>forum.snitz</FONT> is not a link.
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=69731&whichpage=2 is caught by the regex and not shown to users that are not logged in. |
AHMEDHHH1 |
Posted - 09 November 2010 : 16:35:26 link the example that i already post HTML <A href="http://forum.snitz.com/forum/topic.asp?TOPIC_ID=69731&whichpage=2"><FONT color=#008000 size=4>forum.snitz</FONT></A> |
Podge |
Posted - 07 November 2010 : 07:44:08 I tested the link you sent me and it is caught by the regex. Its not shown to users that are not logged in.
I'm not sure what you are trying to hide as what you're pointing to isn't a link. |
AHMEDHHH1 |
Posted - 06 November 2010 : 16:19:08 the site is in arabic and you'll face some defficulties to understand it*
but a message is being sent to you through e-mail as a link
the example that i already post*
but is there a way to hide links like the one in the picture below
|
Podge |
Posted - 05 November 2010 : 07:27:42 Can you give me a link to the original post? |
AHMEDHHH1 |
Posted - 04 November 2010 : 11:19:17
quote: Originally posted by Podge
If you notice any links that are shown to users that are not logged in can you post them here? There may be some that are not caught by the regex.
Yes
|
Podge |
Posted - 01 November 2010 : 07:25:31 If you notice any links that are shown to users that are not logged in can you post them here? There may be some that are not caught by the regex. |
Carefree |
Posted - 29 October 2010 : 20:35:33 Any time. Podge did the hard part, my regex abilities are about nil. |
AHMEDHHH1 |
Posted - 29 October 2010 : 17:40:04 The structure was perfectly working Thank you very much brother Podge + Carefree
|
Carefree |
Posted - 28 October 2010 : 16:29:51 Here you go Podge. I have it working on the test site. If you see something to change, feel free.
Save the following as "dbs_links.asp". Run from admin console.
Change the following files as indicated:
"inc_func_common.asp"
"post.asp"
"post_info.asp"
"topic.asp"
"pop_help.asp"
|
Podge |
Posted - 28 October 2010 : 12:37:22 It will be a few hours before I can take a look at it (still at work). |
AHMEDHHH1 |
Posted - 28 October 2010 : 10:42:52 everything is done we have left just hiding links on members who didn't post a reply in my topic |
AHMEDHHH1 |
Posted - 28 October 2010 : 10:21:46 Add this code
[ALTER] FORUM ADD#F_Lenk#int#NULL#0 [END]
|
AHMEDHHH1 |
Posted - 28 October 2010 : 10:14:22 Open topic.asp Around line 101 find the following code
", F.F_STATUS, F.FORUM_ID, F.F_SUBSCRIPTION, F.F_SUBJECT, F.F_MODERATION, T.T_MESSAGE" Replace it with
", F.F_STATUS, F.FORUM_ID, F.F_SUBSCRIPTION, F.F_SUBJECT, F.F_MODERATION, T.T_MESSAGE, F_Lenk"
Around line 101 find the following code
Topic_Message = rsTopic("T_MESSAGE")
And add below it:
ForumLenk = rsTopic("F_Lenk")
Around line 852 find the following code
if Request.QueryString("SearchTerms") <> "" then Response.Write SearchHiLite(formatStr(Topic_Message)) else Response.Write formatStr(Topic_Message) end if
Replace it with
if strDBNTUserName = "" and ForumLenk = 0 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 if
|
|
|