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

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Reply w/Quote - need modification if possible
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 5

cripto9t
Average Member

USA
881 Posts

Posted - 15 December 2003 :  14:36:03  Show Profile
I thought it might look alright but now that I think about it, it doesn't line up right does it?
I have one other idea that I used on an older forum, and thats <fieldset> and <legend> tags. They look pretty sharp. I haven't used them in so long I've forgot how . I should have the old code around, I'll look for it.

    _-/Cripto9t\-_
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 15 December 2003 :  15:43:09  Show Profile
if you move it into the code above I don't think you will be able to edit it properly.

A work around may be to introduce another forum tag within the forum tag [quote]

The UK MkIVs Forum
Go to Top of Page

xx ENIGMA xx
Junior Member

166 Posts

Posted - 15 December 2003 :  17:49:56  Show Profile  Send xx ENIGMA xx an AOL message
looking forward to seeing what you have in mind cripto9t

quote:
Originally posted by DavidRhodes

if you move it into the code above I don't think you will be able to edit it properly.

A work around may be to introduce another forum tag within the forum tag [quote]



I think I see where your going with this but not sure how a new
tag within the quote tag would effect its layout - could you
elaborate a bit? It's bothering me now just knowing this has
got me so stumped and I cannot find a solution to something
so small


my little forum playground

Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 15 December 2003 :  19:43:24  Show Profile
If we are both aiming for the same result, eg a 2 row table saying "quote: originally posted by xxxxx" in the top row then you would have to move that entire row into the code above. I think this would work for posting replies. The trouble will come when trying to edit/reply to the topic with this code in, it will not convert back to forum code for editing.

I think "maybe" (don't quote me ) an extra set of forum tags with the code above may be used to convert this back to forum code, i'll have a go!

The UK MkIVs Forum
Go to Top of Page

xx ENIGMA xx
Junior Member

166 Posts

Posted - 15 December 2003 :  20:46:12  Show Profile  Send xx ENIGMA xx an AOL message
better you have a go at it than me, my brain is all
tapped out on this one

Hope you have success and can enlighten me on how your
results turn out so I too can make it work


my little forum playground

Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 16 December 2003 :  07:21:11  Show Profile
Here's an example of <fieldset> with <legend> Klick.
If anyone likes I'll post the code

<edit>username-snitzdude password-snitz
If want to test </edit>

    _-/Cripto9t\-_

Edited by - cripto9t on 16 December 2003 10:24:22
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 16 December 2003 :  07:34:57  Show Profile
quote:
Originally posted by cripto9t

If anyone likes I'll post the code



Yes please

The UK MkIVs Forum
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 16 December 2003 :  08:14:46  Show Profile  Visit MarcelG's Homepage
Hail to _-/Cripto9t\-_ !!! That is a marvelous version! Never knew that feature existed
thinking...thinking...this one could also be used to put a caption with an image...

portfolio - linkshrinker - oxle - twitter

Edited by - MarcelG on 16 December 2003 08:20:32
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 16 December 2003 :  10:08:19  Show Profile
Here it is. Don't copy and paste this directly to your forum
I had to put in *'s for the forum code and I'm not sure I gotem all .
Its basicly <fieldset><legend>legend text (name)</legend> fieldset text (quote)</fieldset>
I put inside of blockquote because that was the easiest way I found to get it centered on the page.
Play around with it.

inc_func_common.asp

if fField_Type <> "signature" and fField_Type <> "title" then
		fString = doCode(fString, "[*quote]", "[*/quote]", "<blockquote id=""quote""><fieldset id=""quote""><font size=""" & strFooterFontSize & """ face=""" & strDefaultFontFace & """ id=""quote"">", "</font id=""quote""></fieldset id=""quote""></blockquote id=""quote"">")
	end if


Add <legend> to chkString (I added <fieldset> also, but I don't think It needs it)


                        fString = doCode(fString, "[legend]", "[/legend]", "<legend>", "</legend>")
                        fString = doCode(fString, "[fieldset]", "[/fieldset]", "<fieldset>", "</fieldset>")


inc_func_posting.asp

fString = replace(fString, "<blockquote id=""quote""><fieldset id=""quote""><font size=""" & strFooterFontSize & """ face=""" & strDefaultFontFace & """ id=""quote"">","[*quote]", 1, -1, 1)
		fString = replace(fString, "</font id=""quote""></fieldset id=""quote""></blockquote id=""quote"">","[*/quote]", 1, -1, 1)
		


Add <legend> to cleanCode function ( again I have <fieldset>)


fString = replace(fString, "<legend>", "[legend]", 1, -1, 1)
           fString = replace(fString, "</legend>", "[/legend]", 1, -1, 1)
           fString = replace(fString, "<fieldset>", "[fieldset]", 1, -1, 1)
           fString = replace(fString, "</fieldset>", "[/fieldset]", 1, -1, 1)


post.asp (there are 2 places "ReplyQuote" "and TopicQuote"

if strRqMethod = "ReplyQuote" then
			TxtMsg = "[*quote][legend][*b][*i]Originally posted by " & chkString(rs("M_NAME"),"display") & "[/i][/b][/legend]" & vbNewline
			TxtMsg = TxtMsg & "
" & rs("R_MESSAGE") & vbNewline
			TxtMsg = TxtMsg & "[*/quote]"
		end if


if strRqMethod = "TopicQuote" then
			TxtMsg = "[*quote][legend][*b][*i]Originally posted by " & chkString(rs("M_NAME"),"display") & "[/i][/b][/legend]" & vbNewline
			TxtMsg = TxtMsg & "
" & rs("T_MESSAGE") & vbNewline
			TxtMsg = TxtMsg & "[*/quote]"
		end if


Thats it
There are a few things you can do to the frameset and legend, but I've found that useing css is the best way to get the most out of them.
You can change the frameset border with css (style=""border:2px inset red;"")
you can move the legend around. default is left, then center or right <legend align="right">

You don't see these tags being used very often. That's probably why alot of folks don't know about them

As far a browser support W3 says NN 6.2 and IE 4, so you might want to check opera etc...


    _-/Cripto9t\-_
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 16 December 2003 :  10:20:57  Show Profile
Thanks, that was what I meant above by introducing a new forum tag/code but I was going to use the tag ([legend] as you call it) to be replaced by a tablerow so I could get it to look like http://www.uk-mkivs.net/forum/topic.asp?TOPIC_ID=20874 but moving the member name into the top row and just having the post in the bottom.
I'm confident that it can be done now after seeing this

The UK MkIVs Forum
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 16 December 2003 :  10:40:19  Show Profile
I thought thats what you meant David. You could try a <th> tag in post.asp.
or just a <td> might work .

    _-/Cripto9t\-_
Go to Top of Page

xx ENIGMA xx
Junior Member

166 Posts

Posted - 16 December 2003 :  15:00:25  Show Profile  Send xx ENIGMA xx an AOL message
wow, I gaze in amazement!
that is even better looking than I had even imagined a quote box could look

great job cripto9t! I will try to do this myself now

thanks for spending time on this!


my little forum playground

Go to Top of Page

xx ENIGMA xx
Junior Member

166 Posts

Posted - 16 December 2003 :  15:45:03  Show Profile  Send xx ENIGMA xx an AOL message
I tried to get this working and got errors

cripto9t, could you possibly show me/us a .txt version
of your ( post.asp , inc_func_common.asp , inc_func_posting.asp )
with these chages made?

I think that may help me see where I went wrong


my little forum playground

Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 16 December 2003 :  17:30:44  Show Profile
done it!

http://www.uk-mkivs.net/forum/topic.asp?TOPIC_ID=20911

The UK MkIVs Forum
Go to Top of Page

xx ENIGMA xx
Junior Member

166 Posts

Posted - 16 December 2003 :  18:03:26  Show Profile  Send xx ENIGMA xx an AOL message
quote:
Originally posted by DavidRhodes

done it!

http://www.uk-mkivs.net/forum/topic.asp?TOPIC_ID=20911



very nice, that was my original goal right there!
gimme gimme gimme your .txt files

I do really like cripto9t's though now that I have seen
it, I'd love to try both guys (gimme .txt files)

EDIT: btw David, I sent you a reply email about the
files you sent me (pager) and yet to get a reply, just wondering
if it got overlooked or you never recieved it?


my little forum playground


Edited by - xx ENIGMA xx on 16 December 2003 18:11:02
Go to Top of Page
Page: of 5 Previous Topic Topic Next Topic  
Previous Page | 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.31 seconds. Powered By: Snitz Forums 2000 Version 3.4.07