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)
 modifying the "quote" display form...
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

tuningsv
New Member

El Salvador
67 Posts

Posted - 18 September 2003 :  17:27:03  Show Profile  Visit tuningsv's Homepage
hello, i am looking for some mod to display in a different
way when you reply with quote...
something like this
http://tuningsv.com/test/index.htm

if someone have any idea please post it here.

thanks a lot.


Edited by - ruirib on 18 September 2003 17:42:12

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 19 September 2003 :  05:03:25  Show Profile
Here are a couple of topics that may help you make this change:

http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=23401
http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=29932&SearchTerms=quote,table

I'm sure there's more than that, they shouldn't be too difficult to turn up with a quick search.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

tuningsv
New Member

El Salvador
67 Posts

Posted - 19 September 2003 :  11:31:16  Show Profile  Visit tuningsv's Homepage
thanks a lot for the links
but the links in the topic "quote by author" do not work


i checked the other topic... but i have the 3.4 version
and i do not have the inc_function.asp file
so, i don't find where is the "quote function"(the code that makes
the quote reply)



Edited by - tuningsv on 19 September 2003 16:12:55
Go to Top of Page

cyber Knight
Starting Member

41 Posts

Posted - 20 September 2003 :  09:44:28  Show Profile
I might be wrong but you can find it in inc_func_common.asp .

I needed to do the same thing for the [ code] because i have the forum set to RTL and when the code posted sometimes it mess up the page so to be posted in a table makes it easier to view or copy.
thats what i did:

fString = doCode(fString, "[quote]", "[ /quote]", "<BLOCKQUOTE id=""quote""><table border=""1"" style=""border-collapse: collapse"" bgcolor=""#C4DCF7"" bordercolor=""#111111"" id=""quote"">Quote:<tr id=""quote""><td id=""quote""><font size=" & strFooterFontSize & " face=""" & strDefaultFontFace & """ id=""quote"">" & ":", "</font id=""quote""></td id=""quote""></tr id=""quote""></table id=""quote""></BLOCKQUOTE id=""quote"">")

fString = doCode(fString, "
", "[ /code]", "<BLOCKQUOTE id=""code""><table border=""1"" style=""border-collapse: collapse"" bgcolor=""#C4DCF7"" bordercolor=""#111111"" id=""code"">Script code:<tr id=""code""><td id=""code""><font size=" & strFooterFontSize & " face=""" & strDefaultFontFace & """ id=""code"">" & ":", "</font id=""code""></td id=""code""></tr id=""code""></table id=""code""></BLOCKQUOTE id=""code"">")

it worked with the [quote] but not with the [ code] i don't know where
did i go wrong?!
If any of you gurus can help me out i would be very grateful,and if it not too
much to ask i need the code to be centered.

tuningsv that captured image you posted was it from a php forum?
if it not too much trouble can you post the source code page,it might help to see how its done.
P.S : if there were any stupid errors in the code i posted above please excuse my ignorance am still learning.



Edited by - cyber Knight on 20 September 2003 09:47:01
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 20 September 2003 :  11:13:37  Show Profile
How about this line, CK? Take the space out of the bit in red.

fString = doCode(fString, "[ quote]", "[/quote]", "<BLOCKQUOTE id=""quote""><table border=""1"" style=""border-collapse: collapse"" bgcolor=""#C4DCF7"" bordercolor=""#111111"" id=""quote""><br></br><tr><td><font size=" & strFooterFontSize & "></font>Quote:</td></tr><tr id=""quote""><td id=""quote""><font size=" & strFooterFontSize & " face=""" & strDefaultFontFace & """ id=""quote"">", "</font id=""quote""></td id=""quote""></tr id=""quote""></table id=""quote""></BLOCKQUOTE id=""quote"">")


The [ code] portion is missing the opening [ code] (in blue):


fString = doCode(fString, "[ code]", "[ /code]", "<BLOCKQUOTE id=""code""><table border=""1"" style=""border-collapse: collapse"" bgcolor=""#C4DCF7"" bordercolor=""#111111"" id=""code"">Script code:<tr id=""code""><td id=""code""><font size=" & strFooterFontSize & " face=""" & strDefaultFontFace & """ id=""code"">" & ":", "</font id=""code""></td id=""code""></tr id=""code""></table id=""code""></BLOCKQUOTE id=""code"">")

Edited by - Carefree on 20 September 2003 11:14:30
Go to Top of Page

cyber Knight
Starting Member

41 Posts

Posted - 20 September 2003 :  13:03:44  Show Profile
Thank you Carefree ,it worked

quote:
The [ code] portion is missing the opening [ code] (in blue):



its there but i forgot to put a space thats why it didn't show(if you reply with quote you will see it )but thats another problem i have to ask in the newbie's section (how to post a snitz code within the code okay now i managed to confuse myself and i doubt anyone will know what the heck am saying

Thanks again Carefree, I hope tuningsv can get it to work too.
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 22 September 2003 :  04:34:32  Show Profile
You're welcome ;-)
Go to Top of Page

tuningsv
New Member

El Salvador
67 Posts

Posted - 09 October 2003 :  15:36:30  Show Profile  Visit tuningsv's Homepage
hello....
i made the changes but when the quote includes two or more replies
the html code displays inside the "quote" part of the post.

Go to Top of Page

cyber Knight
Starting Member

41 Posts

Posted - 09 October 2003 :  18:12:52  Show Profile
I had no problem ,so far it works nicely .
in my forum i use it for [ code] and in some posts 4 or 5 tables and it shows the way its supposed to.


BTW tuningsv about that http://tuningsv.com/test/index.htm
i managed to exract the script for it ,if any of you guys wanted:
hers its in a zip file


there is another one am trying to get because it has the line number which makes it user friendly for those who posts codes and want to point a line number



Edited by - cyber Knight on 09 October 2003 18:15:20
Go to Top of Page

Ez4arab
Junior Member

479 Posts

Posted - 12 October 2003 :  17:12:32  Show Profile  Visit Ez4arab's Homepage
I have idea for you why don't use CSS?
what you need is only this

/* Code blocks */
.code{background:#fafafa;border:1px solid #d1d7dc;color:#006600;
font:11px Courier,"Courier New",sans-serif;padding:5px}


Ez4arab web site Ez4arab |
Go to Top of Page
  Previous Topic Topic Next Topic  
 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.34 seconds. Powered By: Snitz Forums 2000 Version 3.4.07