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/Code)
 Alternate 'code' code
 New Topic  Reply to Topic
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 17 January 2007 :  05:47:48  Show Profile  Visit MarcelG's Homepage  Reply with Quote
OBModerator ; the code you're trying to put in inc_header.asp (below in RED) is HTML.
You trying to post it inbetween ASP without ending the ASP first.
"<!--" & vbNewLine & _
      .scrollcode
   {
      height:200;
      width:650;
      overflow:scroll;
      color:#<%= strDefaultFontColor %>;
      background-color:#<%= strAltForumCellColor %>;
      border : thin solid #<%= strTableBorderColor %>;
      font : 9pt #<%= strDefaultFontFace %>;
   }
      "a:link

Convert it to response.writes first:
Replace the red part with this:
"	.scrollcode" & vbNewLine & _
"		height:200;" & vbNewLine & _
"		width:650;" & vbNewLine & _
"		overflow:scroll;" & vbNewLine & _
"		color:#" & strDefaultFontColor & ";" & vbNewLine & _
"		background-color:#" & strAltForumCellColor & ";" & vbNewLine & _
"		border : thin solid #" & strTableBorderColor & ";" & vbNewLine & _
"		font : 9pt #" & strDefaultFontFace & ";" & vbNewLine & _
"	}" & vbNewLine & _
<

portfolio - linkshrinker - oxle - twitter
Go to Top of Page

OBmoderator
New Member

98 Posts

Posted - 17 January 2007 :  06:24:00  Show Profile  Reply with Quote
Thanks Marcel,
I still don't get the boxes like here.
Is it possible to repost the mod again in it's entirety?

I must be missing something<
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 18 January 2007 :  01:28:04  Show Profile  Visit MarcelG's Homepage  Reply with Quote
The boxes like here are completely different, and they're not made using the code I provided.<

portfolio - linkshrinker - oxle - twitter
Go to Top of Page

OBmoderator
New Member

98 Posts

Posted - 18 January 2007 :  08:18:05  Show Profile  Reply with Quote
well this code doesn't seem to work on my forum I get scrollcode in the brackets with the content but no boxes

Marcell do you have a mod that will accomplish the same thing?
I'm looking at yours above and it seems just two changes.
One goes in the inc-header.asp (I think)
not sure where the other goes<
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 18 January 2007 :  08:26:05  Show Profile  Reply with Quote
This is a replacement for the [code] tag, it does not add a new tag to your forum.

<

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

OBmoderator
New Member

98 Posts

Posted - 18 January 2007 :  09:11:00  Show Profile  Reply with Quote
OK let me get back to the beginning.......
I want the boxes showing in my forum like above.
How do I do it?
I have tried using the "replacements" mentioned by HuwR and Marcel
but it doesn't work.
what I get is the words scrollcode and /scrollcode in the [ ] brackets with the code visible
After I use the "replacements" and try using the normal code tages I get the same look.
but I get the words code and /code in the [ ] brackets<
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 19 January 2007 :  13:51:17  Show Profile  Visit MarcelG's Homepage  Reply with Quote
OBmoderator, this mod does not provide you with the tags [scrollcode][/scrollcode].
Instead, it provides you an alternate method of displaying the normal [code] tags.<

portfolio - linkshrinker - oxle - twitter
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 19 January 2007 :  14:18:23  Show Profile  Visit MarcelG's Homepage  Reply with Quote
Instructions for this mod have been updated for 3.4.06.

The updated mod is available here.<

portfolio - linkshrinker - oxle - twitter
Go to Top of Page

NiteOwl
Junior Member

Canada
403 Posts

Posted - 28 December 2007 :  13:26:25  Show Profile  Visit NiteOwl's Homepage  Reply with Quote
Interesting, I followed the instructions to a "t" that were provided by MarcelG and I too now have the words scrollcode and /scrollcode in the [ ] brackets with all the code visible and also when I use the normal code tags I get the words code and /code in the [ ] brackets.

I have only edited the inc_header_short, the inc_header and the inc_function_common

I have backed out the inc_function_common changes for now, and my code/code functions properly again, I too would like to have the scrollcode/scrollcode abilities just like SNiTZ. I suspect that a step has been left out or something from the link provided?? or is it because I am using SNiTZ 3.4.05
<

-=NiteOwl=-

Edited by - NiteOwl on 28 December 2007 13:27:23
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 28 December 2007 :  13:54:03  Show Profile  Visit MarcelG's Homepage  Reply with Quote
NiteOwl, my mod changes the way the CODE tags look once posted...it does not add the scrollcode tags.
If you post something like this, it should work as normal.
[code]code
code
code
etc[/code]


But, if you post this, you'll definitely get the scrollcode text, cause my function does not do anything with the [scrollcode] tag
[code][scrollcode]code
code
code
etc[/scrollcode][/code]


If you want the codeboxes as shown here on Snitz.com, you should follow Huw's post on the previous page.<

portfolio - linkshrinker - oxle - twitter

Edited by - MarcelG on 28 December 2007 13:57:38
Go to Top of Page

NiteOwl
Junior Member

Canada
403 Posts

Posted - 28 December 2007 :  18:15:47  Show Profile  Visit NiteOwl's Homepage  Reply with Quote
Oh, thank you MargelG I thought this was designed to incorporate the scrollcode into the forum similar to what the SNiTZ forum has, so that I can post code and have the scrollable windo, I will open a new topic, (after a search of course) to find out how to bring in the scrollcode to my forum.
<

-=NiteOwl=-
Go to Top of Page

top
Junior Member

150 Posts

Posted - 02 May 2012 :  07:34:16  Show Profile  Reply with Quote
Thank you works well now
And I was there in addition to not copy the text Topics forum
How can working copy the text Only in the context text[/scrollcode
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Previous Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.1 seconds. Powered By: Snitz Forums 2000 Version 3.4.07