View Full Version : New vBulletin code box SUCKS!!! VERY MUCH!!!

03-24-2009, 11:20 AM
Hopefully there is some new config option so I can put this back to it's former state and wear egg on my face for such an irate post.

One thing I love(d) about cboard was that when I went to another programming board with the scrolling code box I would think wow, that is really stupid by comparison.

Now it appears things are going backward here! This is a PROGRAMMING BOARD. When I look at a post, I want to see CODE -- not a bunch of comments, signatures, and avatars with a little box for the...wait a minute...what did that say...code!!!

03-24-2009, 11:24 AM
I agree and I don't care who knows it!

I just noticed the thing proportionally adjusts, so in addition to creating a need to scroll EVERY PIECE OF CODE, no matter how small, the ones with huge long horizontal lines will still require scrolling right with the browser window anyway, because the box doesn't have a fixed size or limit.

From a design standpoint, I would say that is "the worst of both worlds".

03-24-2009, 12:41 PM
Actually, I prefer scrolling textboxes for code...

Not so keen on the new ads, but then they arent nearly as bad as daniweb, and someone wants to make some money I guess. Daniweb is like ad-spam hell. @ Someone, please dont ever let this board get like that.

03-24-2009, 02:13 PM
I prefer it. If I want a better look at the code, I'll select all and paste it into notepad or a better IDE. Large code blocks can distract from the content of the post and in some cases are not even required to give a reasonable response. That's not to say that people shouldn't post any code that they feel is pertinent; I'm just saying that sometimes the responders can better determine what is pertinent or not to a particular query.

03-24-2009, 02:17 PM
I'm not seeing any scrolling textboxes ...

03-24-2009, 02:25 PM
I agree, the ads have got to go. as for the code boxes, let me see what teh fuss is about

#include <windows.h>
void DrawFrame(HDC hdc){
HDC hdcMemory;
hdcMemory = CreateCompatibleDC(hdc);
//hdc = GetDC( hwnd );
hbmNoSignal = CreateDIBitmap(hdc , (BITMAPINFOHEADER *)&bufNoSignal[2] , CBM_INIT , &bufNoSignal[54] , (BITMAPINFO *)&bufNoSignal[2] , DIB_RGB_COLORS );
//ReleaseDC( hwnd , hdc );
SelectObject(hdcMemory, hbmNoSignal);
BitBlt(hdc, BMPX, BMPY, bm.bmWidth, bm.bmHeight, hdcMemory, 0, 0, SRCCOPY);

void fglInitialize(int bufferWidth, int bufferHeight)
BITMAPINFO bitmapinfo;
hDC = CreateCompatibleDC(NULL);
gBufferWidth = bufferWidth;
gBufferHeight = bufferHeight;
//gViewportWidth = bufferWidth;
//gViewportHeight = bufferHeight;
bitmapinfo.bmiHeader.biSize = sizeof(BITMAPINFOHEADER);
bitmapinfo.bmiHeader.biWidth = bufferWidth;
bitmapinfo.bmiHeader.biHeight = -bufferHeight;
bitmapinfo.bmiHeader.biPlanes = 1;
bitmapinfo.bmiHeader.biBitCount = 24;
bitmapinfo.bmiHeader.biCompression = BI_RGB;
bitmapinfo.bmiHeader.biSizeImage = 0;
bitmapinfo.bmiHeader.biClrUsed = 0;
bitmapinfo.bmiHeader.biClrImportant = 0;
gOurBitmap = CreateDIBSection(hDC, &bitmapinfo, DIB_RGB_COLORS, &gFrameBuffer0, 0, 0);
gPDC = CreateCompatibleDC(NULL);
gOld = SelectObject(gPDC, gOurBitmap);
// -----------------------------------------------------------------------------
// This function is called each frame, and is supposed to draw gFrameBuffer0 to the screen
void fglSwapBuffers()
PAINTSTRUCT paintStruct;
HDC hDC = BeginPaint(GetActiveWindow(), &paintStruct);
BitBlt(hDC, 0, 0, gBufferWidth, gBufferHeight, gPDC, 0, 0, SRCCOPY);
EndPaint(GetActiveWindow(), &paintStruct);

I dont notice the scrolling boxes, what are you talkign about?

03-24-2009, 02:34 PM
The ads by google were always there. They are just visual, now, rather than basically being text-based. There is only one and it's not particularly intrusive. I feel fully comfortable dealing with the one ad if it saves webmaster some bandwidth cost or forces him to request donations.

03-24-2009, 02:38 PM
I'm neutral on the scroll bars themselves - but what seems weird is they allow inconsistent size, and don't scroll much - regardless of the code size, if I get scroll bars they only scroll a few characters worth.

As far the ads - I can't complain. Webmaster keeps the server updated really well - someone's gotta pay for that, and the site's always very responsive.

edit: I'm betting the scroll bars are a browser-thing, anyway

03-24-2009, 02:38 PM
I dont notice the scrolling boxes, what are you talkign about?
I do not see vertical scroll bar - but I see horizontal scroll bar - and it is better than having all the page extended to the right

03-24-2009, 02:41 PM
well, I keep html code off so that may be why I dont see teh scrollies

03-24-2009, 02:57 PM
Cool! I like it.
Now I don't have to burn out my mouse wheel when someone posts 1000 lines of code just to show you the 1 line that's giving them a problem (although in those cases I just click back and don't even bother reading the rest of it).

03-24-2009, 05:05 PM
I can't figure out how to turn HTML off, so I have decided the best thing for me to do is to give up on computers and get a degree in game development.

03-24-2009, 08:43 PM
I don't see the scroll bars or the ads.

03-25-2009, 09:35 PM
i can live with the ads even though they are somewhat annoying.