Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - Can I change common.asp default path?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Can I change common.asp default path?

 Post Reply Post Reply
Author
Gando View Drop Down
Groupie
Groupie


Joined: 30 June 2005
Location: Turkey
Status: Offline
Points: 52
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gando Quote  Post ReplyReply Direct Link To This Post Topic: Can I change common.asp default path?
    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

Back to Top
Ali Bilgrami View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 April 2005
Location: Pakistan
Status: Offline
Points: 492
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ali Bilgrami Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
Gando View Drop Down
Groupie
Groupie


Joined: 30 June 2005
Location: Turkey
Status: Offline
Points: 52
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gando Quote  Post ReplyReply Direct Link To This Post 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..
-----------------------------------------------------
Back to Top
Ali Bilgrami View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 April 2005
Location: Pakistan
Status: Offline
Points: 492
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ali Bilgrami Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.