Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
2 registered (KuKuKaChu, FordDoctor), 55 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 05/13/08
Posts: 596
Top Posters (30 Days)
Ruben 51
Gizmo 24
DennyP 24
Dunny 14
SteveS 14
AllenAyres 12
dbremer 10
SD 10
drkknght00 9
driv 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Topic Options
#188074 - 06/21/07 07:44 PM Posted Code window size
ntdoc Offline
Registered: 11/09/06
Posts: 3384
Where can I change the window size of posted CODE ?

Currently posted code window is way too small (IMHO)
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#188075 - 06/21/07 07:45 PM Re: Posted Code window size [Re: ntdoc]
ntdoc Offline
Registered: 11/09/06
Posts: 3384
Sample:

 Code:
Function DefaultAutoexecNT($Ext,$Bak)
  If @INWIN=2 Exit 1 EndIf
  Dim $File,$FileBackup,$WL
  Dim $Handle,$OpenFile,$CloseFile
  $File = '%SYSTEMROOT%\SYSTEM32\AUTOEXEC.'+$Ext
  $FileBackup = '%SYSTEMROOT%\SYSTEM32\AUTOEXEC.'+$Bak
  If Exist($FileBackup)
  ;Assumes a valid backup already exists so we will now create all new default file
  Else
    If Exist($File)
  	  Move $File $FileBackup
  	  If @ERROR Exit @ERROR EndIf
    EndIf
  EndIf
  $WL='@echo off'+ @CRLF+
  @CRLF+
  'REM AUTOEXEC.BAT is not used to initialize the MS-DOS environment.'+@CRLF+
  'REM AUTOEXEC.NT is used to initialize the MS-DOS environment unless a'+@CRLF+
  'REM different startup file is specified in an application'+"'"+'s PIF.'+@CRLF+
  @CRLF+
  'REM Install CD ROM extensions'+@CRLF+
  'lh %SystemRoot%\system32\mscdexnt.exe'+@CRLF+
  @CRLF+
  'REM Install network redirector (load before dosx.exe)'+@CRLF+
  'lh %SystemRoot%\system32\redir'+@CRLF+
  @CRLF+
  'REM Install DPMI support'+@CRLF+
  'lh %SystemRoot%\system32\dosx'+@CRLF+
  @CRLF+
  'REM The following line enables Sound Blaster 2.0 support on NTVDM.'+@CRLF+
  'REM The command for setting the BLASTER environment is as follows:'+@CRLF+
  'REM    SET BLASTER=A220 I5 D1 P330'+@CRLF+
  'REM    where:'+@CRLF+
  'REM        A    specifies the sound blaster'+"'"+'s base I/O port'+@CRLF+
  'REM        I    specifies the interrupt request line'+@CRLF+
  'REM        D    specifies the 8-bit DMA channel'+@CRLF+
  'REM        P    specifies the MPU-401 base I/O port'+@CRLF+
  'REM        T    specifies the type of sound blaster card'+@CRLF+
  'REM                 1 - Sound Blaster 1.5'+@CRLF+
  'REM                 2 - Sound Blaster Pro I'+@CRLF+
  'REM                 3 - Sound Blaster 2.0'+@CRLF+
  'REM                 4 - Sound Blaster Pro II'+@CRLF+
  'REM                 6 - SOund Blaster 16/AWE 32/32/64'+@CRLF+
  'REM'+@CRLF+
  'REM    The default value is A220 I5 D1 T3 and P330.  If any of the switches is'+@CRLF+
  'REM    left unspecified, the default value will be used. (NOTE, since all the'+@CRLF+
  'REM    ports are virtualized, the information provided here does not have to'+@CRLF+
  'REM    match the real hardware setting.)  NTVDM supports Sound Blaster 2.0 only.'+@CRLF+
  'REM    The T switch must be set to 3, if specified.'+@CRLF+
  'SET BLASTER=A220 I5 D1 P330 T3'+@CRLF+
  @CRLF+
  'REM To disable the sound blaster 2.0 support on NTVDM, specify an invalid'+@CRLF+
  'REM SB base I/O port address.  For example:'+@CRLF+
  'REM    SET BLASTER=A0'+@CRLF
  $Handle = FreeFileHandle()
  $OpenFile = Open($Handle, $File,5)
  $WL = WriteLine($Handle,$WL + @CRLF)
  $CloseFile = Close($Handle)
  Exit @ERROR
EndFunction 

Top
#188076 - 06/21/07 07:48 PM Re: Posted Code window size [Re: ntdoc]
Mark S Offline
Carpal Tunnel
Registered: 07/04/06
Posts: 4447
Loc: Liverpool : England : UK
its a browser thing i'm lead to believe.

you seeing it in FF or IE

when i post code i add a few carriage returns at the end ;\)
i think i'm right, testing.

 Code:
its a browser thing i'm lead to believe.

you seeing it in FF or IE

when i post code i add a few carriage returns at the end ;)
i think i'm right, testing.





saying that i don't know but could it be wider ?
_________________________
Version v7.5.6 smile smile < Threads satisfaction status
People who inspire me Rick Gizmo Ian David jgeoff ntdoc
Oooo i hear 8 is coming? just after 7 my friend.
Top
#188077 - 06/21/07 07:49 PM Re: Posted Code window size [Re: Mark S]
Mark S Offline
Carpal Tunnel
Registered: 07/04/06
Posts: 4447
Loc: Liverpool : England : UK
i'm in IE 7 now and it looks the same,
i'm in agreement with you.

bigger please ;\)
_________________________
Version v7.5.6 smile smile < Threads satisfaction status
People who inspire me Rick Gizmo Ian David jgeoff ntdoc
Oooo i hear 8 is coming? just after 7 my friend.
Top
#188079 - 06/21/07 07:52 PM Re: Posted Code window size [Re: Mark S]
ntdoc Offline
Registered: 11/09/06
Posts: 3384
Yes I'd like to change the Width, Height settings to make it bigger before the scroll bars kick in.
Top
#188080 - 06/21/07 07:58 PM Re: Posted Code window size [Re: ntdoc]
Mark S Offline
Carpal Tunnel
Registered: 07/04/06
Posts: 4447
Loc: Liverpool : England : UK
The result is more pleasing in quote tags ;\)

 Quote:
Function DefaultAutoexecNT($Ext,$Bak)
If @INWIN=2 Exit 1 EndIf
Dim $File,$FileBackup,$WL
Dim $Handle,$OpenFile,$CloseFile
$File = '%SYSTEMROOT%\SYSTEM32\AUTOEXEC.'+$Ext
$FileBackup = '%SYSTEMROOT%\SYSTEM32\AUTOEXEC.'+$Bak
If Exist($FileBackup)
;Assumes a valid backup already exists so we will now create all new default file
Else
If Exist($File)
Move $File $FileBackup
If @ERROR Exit @ERROR EndIf
EndIf
EndIf
$WL='@echo off'+ @CRLF+
@CRLF+
'REM AUTOEXEC.BAT is not used to initialize the MS-DOS environment.'+@CRLF+
'REM AUTOEXEC.NT is used to initialize the MS-DOS environment unless a'+@CRLF+
'REM different startup file is specified in an application'+"'"+'s PIF.'+@CRLF+
@CRLF+
'REM Install CD ROM extensions'+@CRLF+
'lh %SystemRoot%\system32\mscdexnt.exe'+@CRLF+
@CRLF+
'REM Install network redirector (load before dosx.exe)'+@CRLF+
'lh %SystemRoot%\system32\redir'+@CRLF+
@CRLF+
'REM Install DPMI support'+@CRLF+
'lh %SystemRoot%\system32\dosx'+@CRLF+
@CRLF+
'REM The following line enables Sound Blaster 2.0 support on NTVDM.'+@CRLF+
'REM The command for setting the BLASTER environment is as follows:'+@CRLF+
'REM SET BLASTER=A220 I5 D1 P330'+@CRLF+
'REM where:'+@CRLF+
'REM A specifies the sound blaster'+"'"+'s base I/O port'+@CRLF+
'REM I specifies the interrupt request line'+@CRLF+
'REM D specifies the 8-bit DMA channel'+@CRLF+
'REM P specifies the MPU-401 base I/O port'+@CRLF+
'REM T specifies the type of sound blaster card'+@CRLF+
'REM 1 - Sound Blaster 1.5'+@CRLF+
'REM 2 - Sound Blaster Pro I'+@CRLF+
'REM 3 - Sound Blaster 2.0'+@CRLF+
'REM 4 - Sound Blaster Pro II'+@CRLF+
'REM 6 - SOund Blaster 16/AWE 32/32/64'+@CRLF+
'REM'+@CRLF+
'REM The default value is A220 I5 D1 T3 and P330. If any of the switches is'+@CRLF+
'REM left unspecified, the default value will be used. (NOTE, since all the'+@CRLF+
'REM ports are virtualized, the information provided here does not have to'+@CRLF+
'REM match the real hardware setting.) NTVDM supports Sound Blaster 2.0 only.'+@CRLF+
'REM The T switch must be set to 3, if specified.'+@CRLF+
'SET BLASTER=A220 I5 D1 P330 T3'+@CRLF+
@CRLF+
'REM To disable the sound blaster 2.0 support on NTVDM, specify an invalid'+@CRLF+
'REM SB base I/O port address. For example:'+@CRLF+
'REM SET BLASTER=A0'+@CRLF
$Handle = FreeFileHandle()
$OpenFile = Open($Handle, $File,5)
$WL = WriteLine($Handle,$WL + @CRLF)
$CloseFile = Close($Handle)
Exit @ERROR
EndFunction
But Not PHP Taggs

 PHP:
Function DefaultAutoexecNT($Ext,$Bak) If @INWIN=2 Exit 1 EndIf Dim $File,$FileBackup,$WL Dim $Handle,$OpenFile,$CloseFile $File = '%SYSTEMROOT%\SYSTEM32\AUTOEXEC.'+$Ext $FileBackup = '%SYSTEMROOT%\SYSTEM32\AUTOEXEC.'+$Bak If Exist($FileBackup) ;Assumes a valid backup already exists so we will now create all new default file Else If Exist($File) Move $File $FileBackup If @ERROR Exit @ERROR EndIf EndIf EndIf $WL='@echo off'+ @CRLF+ @CRLF+ 'REM AUTOEXEC.BAT is not used to initialize the MS-DOS environment.'+@CRLF+ 'REM AUTOEXEC.NT is used to initialize the MS-DOS environment unless a'+@CRLF+ 'REM different startup file is specified in an application'+"'"+'s PIF.'+@CRLF+ @CRLF+ 'REM Install CD ROM extensions'+@CRLF+ 'lh %SystemRoot%\system32\mscdexnt.exe'+@CRLF+ @CRLF+ 'REM Install network redirector (load before dosx.exe)'+@CRLF+ 'lh %SystemRoot%\system32\redir'+@CRLF+ @CRLF+ 'REM Install DPMI support'+@CRLF+ 'lh %SystemRoot%\system32\dosx'+@CRLF+ @CRLF+ 'REM The following line enables Sound Blaster 2.0 support on NTVDM.'+@CRLF+ 'REM The command for setting the BLASTER environment is as follows:'+@CRLF+ 'REM SET BLASTER=A220 I5 D1 P330'+@CRLF+ 'REM where:'+@CRLF+ 'REM A specifies the sound blaster'+"'"+'s base I/O port'+@CRLF+ 'REM I specifies the interrupt request line'+@CRLF+ 'REM D specifies the 8-bit DMA channel'+@CRLF+ 'REM P specifies the MPU-401 base I/O port'+@CRLF+ 'REM T specifies the type of sound blaster card'+@CRLF+ 'REM 1 - Sound Blaster 1.5'+@CRLF+ 'REM 2 - Sound Blaster Pro I'+@CRLF+ 'REM 3 - Sound Blaster 2.0'+@CRLF+ 'REM 4 - Sound Blaster Pro II'+@CRLF+ 'REM 6 - SOund Blaster 16/AWE 32/32/64'+@CRLF+ 'REM'+@CRLF+ 'REM The default value is A220 I5 D1 T3 and P330. If any of the switches is'+@CRLF+ 'REM left unspecified, the default value will be used. (NOTE, since all the'+@CRLF+ 'REM ports are virtualized, the information provided here does not have to'+@CRLF+ 'REM match the real hardware setting.) NTVDM supports Sound Blaster 2.0 only.'+@CRLF+ 'REM The T switch must be set to 3, if specified.'+@CRLF+ 'SET BLASTER=A220 I5 D1 P330 T3'+@CRLF+ @CRLF+ 'REM To disable the sound blaster 2.0 support on NTVDM, specify an invalid'+@CRLF+ 'REM SB base I/O port address. For example:'+@CRLF+ 'REM SET BLASTER=A0'+@CRLF $Handle = FreeFileHandle() $OpenFile = Open($Handle, $File,5) $WL = WriteLine($Handle,$WL + @CRLF) $CloseFile = Close($Handle) Exit @ERROR EndFunction


I'm in FF
_________________________
Version v7.5.6 smile smile < Threads satisfaction status
People who inspire me Rick Gizmo Ian David jgeoff ntdoc
Oooo i hear 8 is coming? just after 7 my friend.
Top
#188082 - 06/21/07 08:23 PM Re: Posted Code window size [Re: Mark S]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
it's handled in the CSS iirc
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#188083 - 06/21/07 08:24 PM Re: Posted Code window size [Re: Gizmo]
Mark S Offline
Carpal Tunnel
Registered: 07/04/06
Posts: 4447
Loc: Liverpool : England : UK
hard coded not the style sheets ?
or in a template file or something?
_________________________
Version v7.5.6 smile smile < Threads satisfaction status
People who inspire me Rick Gizmo Ian David jgeoff ntdoc
Oooo i hear 8 is coming? just after 7 my friend.
Top
#188085 - 06/21/07 08:32 PM Re: Posted Code window size [Re: Mark S]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
css can define height and width; it's what makes the code/quote tags as wide as they are, and i think it also handles height.

If it's hardcoded, it'd be in libs/ubbthreads.inc.php
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10489 Members
36 Forums
33841 Topics
181707 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image