Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 Post Text alignment
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

texanman
Junior Member

United States
410 Posts

Posted - 20 March 2007 :  15:37:52  Show Profile
Hello!

Which asp file should be modified to adjust posts text alignment from left to right? Like this:

Which asp file should be modified to adjust posts text alignment from left to right? Like thissssssssssssssssssss:


I have a forum which is RTL.

Thanks

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 20 March 2007 :  16:28:06  Show Profile  Send ruirib a Yahoo! Message
topic.asp.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

texanman
Junior Member

United States
410 Posts

Posted - 20 March 2007 :  16:36:42  Show Profile
Thanks ruirib.
There are 9 incidents of left alignment, should all of them be right alignment?
Thanks
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 20 March 2007 :  16:49:04  Show Profile  Send ruirib a Yahoo! Message
No. You need to find the lines where topics and replies contents are displayed and add the formating there. Currently they are just using default alignment.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

texanman
Junior Member

United States
410 Posts

Posted - 20 March 2007 :  20:46:16  Show Profile
quote:
Originally posted by ruirib

No. You need to find the lines where topics and replies contents are displayed and add the formating there. Currently they are just using default alignment.



No Luck!! Tried quite a few of those align =""left to align=""right.
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 21 March 2007 :  05:42:15  Show Profile  Send ruirib a Yahoo! Message
I told you those align wouldn't make any difference. You will need to find the statements that display the topic and the replies. These lines, currently, have no alignment tags.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

texanman
Junior Member

United States
410 Posts

Posted - 21 March 2007 :  10:13:22  Show Profile
ruirib thanks anyway.
I thought it would be a simple fix. But, it doesn't look like it and I am not really a programmer.
Thanks

Edited by - texanman on 21 March 2007 10:14:00
Go to Top of Page

texanman
Junior Member

United States
410 Posts

Posted - 21 March 2007 :  11:55:35  Show Profile
quote:
Originally posted by ruirib

I told you those align wouldn't make any difference. You will need to find the statements that display the topic and the replies. These lines, currently, have no alignment tags.



WIll changing this:

Response.Write ">" & vbNewLine & _
               "                <p><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b><span class=""spnMessageText"">" & profileLink(ChkString(Reply_MemberName,"display"),Reply_Author) & "</span></b></font><br />" & vbNewLine


To this:

Response.Write ">" & vbNewLine & _
               "                <p align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b><span class=""spnMessageText"">" & profileLink(ChkString(Reply_MemberName,"display"),Reply_Author) & "</span></b></font><br /></p>" & vbNewLine


Do the job??
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 21 March 2007 :  12:02:39  Show Profile  Send ruirib a Yahoo! Message
Nope. That's related to user's profiles, not the topic or replies contents. I don't have the code here, so I cannot tell which variables are being used to store the topic and replies contents. They likely are being used withing a formatStr function call, so have a look at the lines that have that function.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 21 March 2007 :  14:44:52  Show Profile  Send ruirib a Yahoo! Message
For the replies, the code is displayed by these lines:

					"                      <td valign=""top"" height=""100%""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strForumFontColor & """><span class=""spnMessageText"" id=""msg"">


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

texanman
Junior Member

United States
410 Posts

Posted - 21 March 2007 :  16:57:51  Show Profile
ruirib:
It looks like topic.asp deals only with replies i.e. after a topic is being opened. For the new topic, should search in forum.asp? Or perhaps post.asp.

Edited by - texanman on 21 March 2007 17:05:47
Go to Top of Page

Image
Average Member

Canada
574 Posts

Posted - 21 March 2007 :  17:17:34  Show Profile  Visit Image's Homepage  Send Image an ICQ Message
quote:
Originally posted by texanman

quote:
Originally posted by ruirib

I told you those align wouldn't make any difference. You will need to find the statements that display the topic and the replies. These lines, currently, have no alignment tags.



WIll changing this:

Response.Write ">" & vbNewLine & _
               "                <p><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b><span class=""spnMessageText"">" & profileLink(ChkString(Reply_MemberName,"display"),Reply_Author) & "</span></b></font><br />" & vbNewLine


To this:

Response.Write ">" & vbNewLine & _
               "                <p align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b><span class=""spnMessageText"">" & profileLink(ChkString(Reply_MemberName,"display"),Reply_Author) & "</span></b></font><br /></p>" & vbNewLine


Do the job??


Do not change <p> for <p align=""right"">
What you have to do is:
<html align=""right>

add dir=""rtl"" in body tag

<body" & strTmpPageBGImageURL & " dir=""rtl"" bgColor=""" & strPageBGColor & """

change align=""left"" to align=""right"" in all files.

add in some table tag <table align=""right

demo: http://www.demo-forums2001.ca/persian/




Edited by - Image on 24 March 2007 19:22:18
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 21 March 2007 :  17:23:03  Show Profile  Send ruirib a Yahoo! Message
quote:
Originally posted by texanman

ruirib:
It looks like topic.asp deals only with replies i.e. after a topic is being opened. For the new topic, should search in forum.asp? Or perhaps post.asp.


No, it's also on topic.asp, inside a function named GetFirst().
Here is the code:

	"                      <td valign=""top"" height=""100%""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strForumFontColor & """><span class=""spnMessageText"" id=""msg"">"
	if Request.QueryString("SearchTerms") <> "" then
		Response.Write	SearchHiLite(formatStr(Topic_Message))
	else
		Response.Write	formatStr(Topic_Message)
	end if


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

texanman
Junior Member

United States
410 Posts

Posted - 21 March 2007 :  19:33:23  Show Profile
quote:

Do not change <p> for <p align=""right"">
What you have to do is:
<html align=""right>

change align=""left"" to align=""right"" in all files.

add in some table tag <table align=""right

demo: http://www.demo-forums2001.ca/persian/




Thanks Image. Not sure I have energy to change all the files and <html align=""right> alone doesn't do it. I am still working on that arabic lang file translation. When done, I will let you know. My problem is finding an editor. I have tried like 6 editors so far without success.
Go to Top of Page

texanman
Junior Member

United States
410 Posts

Posted - 21 March 2007 :  19:37:12  Show Profile
Thanks ruirib. I will see what I can do with those two codes.
Go to Top of Page

texanman
Junior Member

United States
410 Posts

Posted - 22 March 2007 :  09:48:47  Show Profile
quote:

Here is the code:

	"                      <td valign=""top"" height=""100%""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strForumFontColor & """><span class=""spnMessageText"" id=""msg"">"
	if Request.QueryString("SearchTerms") <> "" then
		Response.Write	SearchHiLite(formatStr(Topic_Message))
	else
		Response.Write	formatStr(Topic_Message)
	end if




This is becoming interesting :-). I found the code. However, the POLL Mode asks this code to be deleted or commented out.
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.66 seconds. Powered By: Snitz Forums 2000 Version 3.4.07