Visual Basic Foro
General => General => Mensaje iniciado por: E N T E R en Octubre 17, 2011, 12:05:58 pm
-
Se le puede intregrar esta herramienta al foro? Seria muy bueno mas prolijo el codigo asi. Es solo una sugerencia.
http://www.simplemachines.org/community/index.php?topic=290024.0 (http://www.simplemachines.org/community/index.php?topic=290024.0)
Aca Link de descarga
http://code.google.com/p/syntaxhighlighter/downloads/list (http://code.google.com/p/syntaxhighlighter/downloads/list)
Saludos!!!
-
si, yo ya lo habia pedido aca:
Sobre BBCodes (http://leandroascierto.com/foro/index.php?topic=916.0)
-
Hola ya intente instalar la SyntaxHighlighter_1-0.zip pero dice no ser compatible con esta versión del foro, la verdad ya me canse de buscar sin éxito, si alguno sabe de alguna posta, y como instalarlo se agradece.
-
EJEM:
mira en mi foro (sin intencion de hacer SPAM)
www.gmks.com.ar en la seccion de programacion.
EDIT:
http://custom.simplemachines.org/mods/index.php?mod=3070
Si no lo pueden instalar, aganme admin xD
-
Hola bien descargue la que me dijo Mr. x
http://custom.simplemachines.org/mods/index.php?mod=3070
despues intente instalarlo como un pack, pero no me lo permitio, entoses me fije en la ayuda, la cual era para la 2.0 pero igual seguí los paso
http://custom.simplemachines.org/mods/index.php?action=parse;mod=3070;attach=180424;smf_version=2.0
modifique todos los archivos que indican (hice bakup), luego tiro un error, asi que copie del .Zip (geshi (es la carpeta con todos los lenguages de programacion) y geshi.php) y las pegue en /public_html/foro/Sources y bien funciono a medias ya que se muestra asi
Option Explicit
' ------------------------------------------------------
' Autor: Leandro I. Ascierto
' Fecha: 17 de Julio de 2010
' Web: www.leandroascierto.com.ar
' ------------------------------------------------------
Dim cMenuImage As clsMenuImage
por lo que vi en el foro de Mr. X debería verse asi http://gmks.com.ar/index.php/topic,24.0.html?PHPSESSID=d6c3b3f0daa8705eb2bb28f3ae5d0dae
Que estoy haciendo mal?, orientame asi doy por culminado esto.
-
Ahora no puedo xq estoy desde el celu, pero cuando me conecte, t ayudo.
Primero borra el paquete, despues ve a administracion->paquetes
lo subes, pero no lo instales.
Regresas a el admin de paketes, y abajo hay un link ke dice avanzado, lo presionas, y sale una caja de texto ke dice SMF 2.0.1 y lo cambias a SMF 2.0 Y haces click en aplicar, lo instalas, y de nuevo en donde pusiste SMF 2.0 pones SMF 2.0.
Si no podes, haceme admin, y te lo soluciono el viernes
-
UF!
lo instale el lunes, pero recien ahora me puedo conectar de nuevo xD
EDITO: Un tuto para usar GeSHi
http://codebirth.com/index.php?topic=81.0
Se usa asi:
[code=VB] Código de VB [/code]
Y queda asi:
Option Explicit
Private Const FOREGROUND_BLUE = &H1
Private Const FOREGROUND_GREEN = &H2
Private Const FOREGROUND_RED = &H4
Private Const BACKGROUND_BLUE = &H10
Private Const BACKGROUND_GREEN = &H20
Private Const BACKGROUND_RED = &H40
Private Const BACKGROUND_INTENSITY = &H80&
Private Const BACKGROUND_SEARCH = &H20&
Private Const FOREGROUND_INTENSITY = &H8&
Private Const FOREGROUND_SEARCH = (&H10&)
Private Const ENABLE_LINE_INPUT = &H2&
Private Const ENABLE_ECHO_INPUT = &H4&
Private Const ENABLE_MOUSE_INPUT = &H10&
Private Const ENABLE_PROCESSED_INPUT = &H1&
Private Const ENABLE_WINDOW_INPUT = &H8&
Private Const ENABLE_PROCESSED_OUTPUT = &H1&
Private Const ENABLE_WRAP_AT_EOL_OUTPUT = &H2&
Private Const STD_OUTPUT_HANDLE = -11&
Private Const STD_INPUT_HANDLE = -10&
Private Const STD_ERROR_HANDLE = -12&
Private Const INVALID_HANDLE_VALUE = -1&
Private Declare Function AllocConsole Lib "kernel32" () As Long
Private Declare Function FreeConsole Lib "kernel32" () As Long
Private Declare Function CloseHandle Lib "kernel32" (ByVal hObject As Long) As Long
Private Declare Function GetStdHandle Lib "kernel32" (ByVal nStdHandle As Long) As Long
Private Declare Function WriteConsole Lib "kernel32" Alias "WriteConsoleA" (ByVal hConsoleOutput As Long, lpBuffer As Any, ByVal nNumberOfCharsToWrite As Long, lpNumberOfCharsWritten As Long, lpReserved As Any) As Long
Private Declare Function ReadConsole Lib "kernel32" Alias "ReadConsoleA" (ByVal hConsoleInput As Long, ByVal lpBuffer As String, ByVal nNumberOfCharsToRead As Long, lpNumberOfCharsRead As Long, lpReserved As Any) As Long
Private Declare Function SetConsoleTextAttribute Lib "kernel32" (ByVal hConsoleOutput As Long, ByVal wAttributes As Long) As Long
Private Declare Function SetConsoleTitle Lib "kernel32" Alias "SetConsoleTitleA" (ByVal lpConsoleTitle As String) As Long
Private hConsoleOut As Long, hConsoleIn As Long, hConsoleErr As Long
Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer
Private sSource As String
Si quieren remarcar o destacar lineas del codigo, pueden usar:
[code=VB,6,9,10][/code]
Y queda:
Option Explicit
Private Const FOREGROUND_BLUE = &H1
Private Const FOREGROUND_GREEN = &H2
Private Const FOREGROUND_RED = &H4
Private Const BACKGROUND_BLUE = &H10
Private Const BACKGROUND_GREEN = &H20
Private Const BACKGROUND_RED = &H40
Private Const BACKGROUND_INTENSITY = &H80&
Private Const BACKGROUND_SEARCH = &H20&
Private Const FOREGROUND_INTENSITY = &H8&
Private Const FOREGROUND_SEARCH = (&H10&)
Private Const ENABLE_LINE_INPUT = &H2&
Private Const ENABLE_ECHO_INPUT = &H4&
Private Const ENABLE_MOUSE_INPUT = &H10&
Private Const ENABLE_PROCESSED_INPUT = &H1&
Private Const ENABLE_WINDOW_INPUT = &H8&
Private Const ENABLE_PROCESSED_OUTPUT = &H1&
Private Const ENABLE_WRAP_AT_EOL_OUTPUT = &H2&
Private Const STD_OUTPUT_HANDLE = -11&
Private Const STD_INPUT_HANDLE = -10&
Private Const STD_ERROR_HANDLE = -12&
Private Const INVALID_HANDLE_VALUE = -1&
Private Declare Function AllocConsole Lib "kernel32" () As Long
Private Declare Function FreeConsole Lib "kernel32" () As Long
Private Declare Function CloseHandle Lib "kernel32" (ByVal hObject As Long) As Long
Private Declare Function GetStdHandle Lib "kernel32" (ByVal nStdHandle As Long) As Long
Private Declare Function WriteConsole Lib "kernel32" Alias "WriteConsoleA" (ByVal hConsoleOutput As Long, lpBuffer As Any, ByVal nNumberOfCharsToWrite As Long, lpNumberOfCharsWritten As Long, lpReserved As Any) As Long
Private Declare Function ReadConsole Lib "kernel32" Alias "ReadConsoleA" (ByVal hConsoleInput As Long, ByVal lpBuffer As String, ByVal nNumberOfCharsToRead As Long, lpNumberOfCharsRead As Long, lpReserved As Any) As Long
Private Declare Function SetConsoleTextAttribute Lib "kernel32" (ByVal hConsoleOutput As Long, ByVal wAttributes As Long) As Long
Private Declare Function SetConsoleTitle Lib "kernel32" Alias "SetConsoleTitleA" (ByVal lpConsoleTitle As String) As Long
Private hConsoleOut As Long, hConsoleIn As Long, hConsoleErr As Long
Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer
Private sSource As String
-
Excelente!!!
-
Espectacular Mr. X, muchas gracias asi queda mas lindo el foro.
-
Se agradece a Mr. X por darle un punto final a este tema. :D esperemos que ante cualquier actualización no aya que reinstalarlo jeje.
-
No es nada. Cualquier cosa por mi foro favorito :-*