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: MOD Implementation
 "My Forum Themes" Mod Question
 New Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

MaGraham
Senior Member

USA
1297 Posts

Posted - 02 March 2015 :  07:59:39  Show Profile  Reply with Quote
In the "My Forum Themes" mod, what line of code would I add to a theme to make the member's text (in their posts/replies) bold?


"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley

MaGraham
Senior Member

USA
1297 Posts

Posted - 02 March 2015 :  09:09:02  Show Profile

OOPS! I meant to include this.

Here is one of the themes so you'll have something to look at.


Case 15 '####"BlacknBlue"
strDefaultFontFace = "Verdana, Arial, Helvetica" 'Default Font Face
strDefaultFontSize = 1
strHeaderFontSize = 2
strFooterFontSize = 1
strPageBgColor = "000000"
strDefaultFontColor = "FFFFFF"
strLinkColor = "6699CC"
strLinkTextDecoration = "underline"
strVisitedLinkColor = "6699CC"
strVisitedTextDecoration = "underline"
strActiveLinkColor = "6699CC"
strHoverFontColor = "FFFFFF"
strHoverTextDecoration = "underline"
strHeadCellColor = "000033"
strHeadFontColor = "FFFFFF"
strCategoryCellColor = "003366"
strCategoryFontColor = "FFFFFF"
strForumFirstCellColor = "191944"
strForumCellColor = "191944"
strAltForumCellColor = "191919"
strForumFontColor = "FFFFFF"
strForumLinkColor = "6699CC"
strTableBorderColor = "003366"
strPopUpTableColor = "191944"
strPopUpBorderColor = "003366"
strNewFontColor = "FFFFFF"


"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 02 March 2015 :  16:39:22  Show Profile
If you want to force all text to be bold in a particular forum, it would be simpler to add that to "inc_func_common.asp", rather than doing it by theme.
Go to Top of Page

MaGraham
Senior Member

USA
1297 Posts

Posted - 02 March 2015 :  22:38:08  Show Profile

Okay, how would I do it in inc_func_common.asp, Carefree?


"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 04 March 2015 :  03:24:52  Show Profile
Actually, I think it'd be best to leave it in "post_info.asp". Assuming the forum ID = 8 you'd do something like this. Make sure you change the values in green to the correct forum ID.


Look for this line (appx 1050):

		strSql = "INSERT INTO " & strTablePrefix & "REPLY "

Before that, insert this:

If CLng(FORUM_ID) = 8 and LCase(Left(txtMessage,3)) <> "" Then
	txtMessage = "" & txtMessage & ""
End If

Look for this line (appx 859):

		strSql = "INSERT INTO " & strTablePrefix & "TOPICS (FORUM_ID"

Before that, insert this:

If CLng(FORUM_ID) = 8 and LCase(Left(txtMessage,3)) <> "" Then
	txtMessage = "" & txtMessage & ""
End If

Look for this line (appx 550):

		strSql = "UPDATE " & strActivePrefix & "TOPICS "

Before that, insert this:

If CLng(aryForum(1)) = 8 and LCase(Left(txtMessage,3)) <> "" Then
	txtMessage = "" & txtMessage & ""
End If


Look for this line (appx 361):

	if Err_Msg = "" then

[b]Before that, insert this:

If CLng(aryForum(1)) = [b]8 and LCase(Left(txtMessage,3)) <> "[b]" Then
	txtMessage = "[b]" & txtMessage & ""
End If

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.38 seconds. Powered By: Snitz Forums 2000 Version 3.4.07