News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

GeSHiSmf

Started by AzaToth, September 25, 2005, 06:50:16 PM

Previous topic - Next topic

BlueSteel

didn't work.. still came up with the error

Quote
Install Actions
Installations actions for "GeSHiSmf":
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

AzaToth

Updated for 1.1.3, also including geshi 0.7.20

BlueSteel

#102
Why am i getting heaps of these errors

I have geshi headers , footers and linenumbers turned on..


hxxp:www.codingmonkeys.com/index.php?topic=704.msg3971 [nonactive]
8: Undefined offset: 2
File: /home/monkey1/public_html/Sources/geshi/geshi.php
Line: 2133

and

hxxp:www.codingmonkeys.com/index.php?topic=616.msg3457 [nonactive]
8: Undefined offset: 0
File: /home/monkey1/public_html/Sources/geshi/geshi.php
Line: 2172

Valodim

Two things:
1) I suggest you add an additional trim() for $data[0] to strip leading and trailing whitespace, because code like this

function blah(int lol) {
}

would have an additional empty line at the end, kinda annoying when you have line numbering enabled.

2) you use the global variable $settings without declaring it (not sure if this is still valid for latest version)

ArkServer

Is it possible to remove the scrollbar and let the user see the entire code, or add an option to do so?
because when i post some larger code the scrollbar becomes annoying.

example:

http://www.engineeringserver.com/t3hc0d3z/using+threads+to+display+the+time-t105.0.html
http://www.engineeringserver.com/t3hc0d3z/create+directory+file+and+write+data-t184.0.html
http://www.engineeringserver.com/t3hc0d3z/program+menu-t86.0.html
etc

thanks, i love the mod :)

K0H_K1u

Cobol
AutoIT
? Where are they!

:D

Valodim

AutoIT is in there, Cobol isn't. Might have to get latest version of geshi
http://sourceforge.net/project/showfiles.php?group_id=114997

arkserver: check the css

ArkServer

#107
What should i cahnge in this:

.geshi {
   color: #000000;
   background-color: #ccceec;
   font-family: monospace;
   font-size: 1.2em;
   border: 1px solid #000000;
   margin: 1px auto 1px auto;
   padding: 1px;
   width: 99%;
   overflow: auto;
   white-space: pre;
   max-height: 24em;
}

nvm ,its done :D

example: http://www.engineeringserver.com/t3hc0d3z/an+example+of+updating+a+textfile+trough+the+net-t249.0.html;msg378;topicseen#new

Thanks a lot for the hint!

b2k

Hi everybdoy...

See, how can i do for take out the scrollbar



Thanks

Valodim

dude, that question was pretty much answered the very post above yours. c'mon. --;

hint: overflow

b2k

Quote from: Valodim on September 15, 2007, 06:00:51 AM
dude, that question was pretty much answered the very post above yours. c'mon. --;

hint: overflow

Hi, i already have like other...see my style.css

.geshi {
color: #000000;
background-color: #eaeced;
font-family: monospace;
font-size: small;
border: 1px solid #303038;
margin: 1px auto 1px auto;
padding: 1px;
width: 99%;
overflow: auto;
white-space: pre;
max-height: 24em;
}

.geshi {
color: #000000;
background-color: #EBE9E6;
font-family: monospace;
font-size: small;
border: 1px solid #303038;
margin: 1px auto 1px auto;
padding: 1px;
width: 99%;
overflow: auto;
white-space: pre;
max-height: 24em;
}

Valodim

remove overflow: auto and max-height properties...

b2k

Thanks...Work Awesome

yo2lux

This mod work on SMF 1.1.4? Any patch (diff) or package exist to solve the problem with SMF 1.1.4 ?
Thanks

drgsldr69

i cant install this on my 1.1.4 smf forum????? it says either corrupt or not compatable
www.camgirlplus.com [nofollow] <- main site.
www.dragosia.com/smf <- website hosting.
www.yah-mart.com/VIP <- yahoo booter site.

Bigguy

The author of the mod has probably not updated it yet to work with 1.1.4

b2k

Hey....Im getting this error in my error`s log

File: /home/*****/public_html/******/Sources/Subs.php(1191) : runtime-created function
Line: 32

Marook

#117
You must install the mod by hand... its works fine with 1.1.4 !

I've got just one strange problem, didnt sure whats wrong. I can post and view code without any problems. But copy+paste a code wont work, because the linefeeds are gone :/ Pasteing the code into a texteditor, it will fill the whole code into one line... any ideas ?

//Edit : ArkServer, have tried to copy and paste a sample source code from your site, it doesn't work because it was pasted in just one line, your linefeeds are also gone with the wind ;)
SMF Rulez ;) | Meet me home ! | My Mods

shinji257

Looks like the most recent version package file is corrupted.  Can't seem to download a good copy anywhere.

Marook

Without working linefeeds it doesn't make sense to use this mod...
SMF Rulez ;) | Meet me home ! | My Mods

Advertisement: