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

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 14 December 2003 :  15:57:07  Show Profile
old quotes in posts won't be affected unless you edit them individually, then they would use the new style

The UK MkIVs Forum
Go to Top of Page

RebelTech
Average Member

USA
613 Posts

Posted - 14 December 2003 :  16:16:38  Show Profile  Visit RebelTech's Homepage  Send RebelTech an ICQ Message
Enigma
I see that multiple embedded quotes aren't a problem. I like your smilies!
Go to Top of Page

xx ENIGMA xx
Junior Member

166 Posts

Posted - 14 December 2003 :  16:20:59  Show Profile  Send xx ENIGMA xx an AOL message
thanks rebel, was just fixing to post this example for
you and hit refresh and you already posted, but here you
can see an example of how reply w/quotes repeatedly
nests the tables

http://www.pointblankrecon.com/bbs/topic.asp?TOPIC_ID=198


my little forum playground

Go to Top of Page

RebelTech
Average Member

USA
613 Posts

Posted - 14 December 2003 :  16:26:21  Show Profile  Visit RebelTech's Homepage  Send RebelTech an ICQ Message
You have made some very good looking changes. Your post displays are very cool. What changes from Marcel's code did you make?
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 14 December 2003 :  16:48:34  Show Profile
It would be nice if it looked like ENIGMA's but the author was moved up to the top row so it read
Quote: Originally posted by author

The UK MkIVs Forum
Go to Top of Page

RebelTech
Average Member

USA
613 Posts

Posted - 14 December 2003 :  17:09:17  Show Profile  Visit RebelTech's Homepage  Send RebelTech an ICQ Message
I hate to beat this subject to death but the potential for having messed up posts is worrisome. David or Enigma, moving the Originally posted by author up should be no problem right? Do yall recommend doing this mod? I guess you do Enigma since you did it....
Go to Top of Page

xx ENIGMA xx
Junior Member

166 Posts

Posted - 14 December 2003 :  17:19:43  Show Profile  Send xx ENIGMA xx an AOL message
quote:
You have made some very good looking changes. Your post displays are very cool. What changes from Marcel's code did you make?

Would be hard for me to explain adequately I'm sure, might be best if
you have a look at my files?
inc_func_common.txt and inc_func_posting.txt

quote:
Originally posted by DavidRhodes

It would be nice if it looked like ENIGMA's but the author was moved up to the top row so it read
Quote: Originally posted by author


I did have it where "quote:" was down below with the
Originally posted by: line but couldnt figure how to move it
up - do you have any ideas because thats what I was originally
shooting for Thats why I gave it nested tables in the layout

btw David, I sent you an email through this forum on another
mod matter, please reply if possible....



my little forum playground


Edited by - xx ENIGMA xx on 14 December 2003 17:22:51
Go to Top of Page

xx ENIGMA xx
Junior Member

166 Posts

Posted - 14 December 2003 :  17:34:02  Show Profile  Send xx ENIGMA xx an AOL message
I found 2 instances of: Originally posted by in post.asp
note: I added spaces between [ ] below so it would show right
		if strRqMethod = "ReplyQuote" then
			TxtMsg = "[ quote][ i]Originally posted by " & chkString(rs("M_NAME"),"display") & "[ /i]" & vbNewline
			TxtMsg = TxtMsg & "[ br]" & rs("R_MESSAGE") & vbNewline
			TxtMsg = TxtMsg & "[ /quote]"
		end if
	end if
end if

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


Any ideas on just how I would modify this to move it up into
the table where I now have "quote:" ?



my little forum playground

Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 14 December 2003 :  17:43:02  Show Profile
Got mine working
http://www.uk-mkivs.net/forum/topic.asp?TOPIC_ID=20790
If you use the full bordered table, there is quite alot of code that you can actually remove

Another important note, if you are changing the style of the quote, you shouldn't replace the code in inc_func_posting.asp, you should add to it, if you replace it then old quote styles will not get converted back to forum code if you edit the post.

The UK MkIVs Forum
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 14 December 2003 :  17:45:20  Show Profile
You can't move the author up, tried that, too tricky! I think you would need to move "Quote:" down, i'll give it a try tomorrow

The UK MkIVs Forum
Go to Top of Page

xx ENIGMA xx
Junior Member

166 Posts

Posted - 14 December 2003 :  17:58:44  Show Profile  Send xx ENIGMA xx an AOL message
Looks good David, I too will try to play around a bit
with it and see what I can come up with myself.

And can you show what you mean by "add to it" instead of
removing/commenting out the part in inc_func_posting.asp ?


my little forum playground


Edited by - xx ENIGMA xx on 14 December 2003 18:00:48
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 14 December 2003 :  18:13:04  Show Profile
Posts are stored in the database as HTML, if you replace the code in inc_func_posting.asp then try to edit "posts with quotes" that were made prior to replacing the [quote] code then they will not convert back to forum code for editing.
Therefore you must add to and keep the old code for converting old style quotes. If you look at the base code for 3.4.03 there are 2 methods for converting quotes, one which is commented for compatibilty with older versions of snitz.

The UK MkIVs Forum

Edited by - DavidRhodes on 14 December 2003 18:14:25
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 14 December 2003 :  18:18:29  Show Profile
just to add, this does not apply to inc_func_common.asp, you must replace that line of code

The UK MkIVs Forum
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 15 December 2003 :  11:26:26  Show Profile
If you want to move the name to the top of the quote, you can do this in post.asp
if strRqMethod = "TopicQuote" then
			TxtMsg = "[ i]Originally posted by " & chkString(rs("M_NAME"),"display") & "[ /i][ quote]" & vbNewline
			TxtMsg = TxtMsg & rs("T_MESSAGE") & vbNewline
			TxtMsg = TxtMsg & "[ /quote]"
		end if

Do it for ReplyQuote also

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

xx ENIGMA xx
Junior Member

166 Posts

Posted - 15 December 2003 :  12:24:07  Show Profile  Send xx ENIGMA xx an AOL message
quote:
Originally posted by cripto9t

If you want to move the name to the top of the quote, you can do this in post.asp
if strRqMethod = "TopicQuote" then
			TxtMsg = "[ i]Originally posted by " & chkString(rs("M_NAME"),"display") & "[ /i][ quote]" & vbNewline
			TxtMsg = TxtMsg & rs("T_MESSAGE") & vbNewline
			TxtMsg = TxtMsg & "[ /quote]"
		end if

Do it for ReplyQuote also


thanks cripto9t, I tried moving the [ quote] as you showed here
and it just moved Originally posted by author out of the
table alltogether and just above it (above the 1st cell w/quote:)

any further ideas?



my little forum playground

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.32 seconds. Powered By: Snitz Forums 2000 Version 3.4.07