Print Page | Close Window

Can I change common.asp default path?

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=17251
Printed Date: 17 April 2026 at 11:29am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Can I change common.asp default path?
Posted By: Gando
Subject: Can I change common.asp default path?
Date Posted: 14 November 2005 at 12:23pm

Hi Everyone,

I am using the standard Web Wiz Forum and I created 1 multi-language database and now I have forum path (not database) problem. If I make the path- forum.domain.com/en - then activation url, notify of replies to posts, notify by email receive a private message etc.. all same url.. Can I change from en & tr directory common.asp default path?

english address: forum.domain.com/en
turkish address: forum.domain.com/tr

For Example:

Register.asp
Original: strEmailBody = strEmailBody & vbCrLf & vbCrLf & strForumPath & "activate.asp?ID=" & Server.URLEncode(strUserCode)
Changed: strEmailBody = strEmailBody & vbCrLf & vbCrLf & strForumPath & "/en/activate.asp?ID=" & Server.URLEncode(strUserCode)

Email_topic.asp
Original: strFormMessage = strFormMessage & vbCrLf & vbCrLf & strForumPath & "forum_posts.asp?TID=" & CLng(Request.QueryString("TID"))
Changed: strFormMessage = strFormMessage & vbCrLf & vbCrLf & strForumPath & "/en/forum_posts.asp?TID=" & CLng(Request.QueryString("TID"))

And all other files.. Like that.. I dont want to change all like above.. I want to change just one file and all automatically change.. Maybe if just change english common.asp and turkish common.asp  and this will fix my problem?

But please type completely what i should do.. I am not professional ASP..


Regards,
Gando




Replies:
Posted By: Ali Bilgrami
Date Posted: 14 November 2005 at 3:10pm

What I get from your post is that you want to run a forum in two different languages. If is it so then I think this has been discussed in the languages files support forum. Do a search there.



Posted By: Gando
Date Posted: 14 November 2005 at 8:08pm
I changed with manual all e-mail notification files
-----------------------------------------------------
email_topic.asp
pm_post_message.asp
post_message.asp
register.asp
report_post.asp
resend_email_activation.asp
 
 
But i have a diffirent problem now.. Always something..
-----------------------------------------------------


Posted By: Ali Bilgrami
Date Posted: 15 November 2005 at 8:54am

does ur server allows path maping? try physical path as dj air told in the other topic

Email_topic.asp
Original: strFormMessage = strFormMessage & vbCrLf & vbCrLf & "d:\forum\forum_posts.asp?TID=" & CLng(Request.QueryString("TID"))
Changed: strFormMessage = strFormMessage & vbCrLf & vbCrLf & "d:\forum\en\forum_posts.asp?TID=" & CLng(Request.QueryString("TID"))

sthin like this...u can check the physical path by running the test_server.asp


Posted By: dj air
Date Posted: 15 November 2005 at 10:25am
physical paths dont work for website links it only works on database paths and server side collections.

you may want to have hardcoded url's like www.mydomain.com/forum_posts.asp?TID



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