ahh making me read Chacmool :-p
lol zypher those are i believe being put in on 1.2 version
EDIT: oo i c Chacmool. I understand why they don't

ahh why  not. its a great tool to have

ahh good idea, a reset button would be a great thing.
I like the code

Well i was woundering if any one has made a code for sub forums or not. It would be a great code to have because you could seperate the forum areas more then regular.

its tight, so people cal show how much they like each mod, but i don't like where it is. and also maybe ther should be a record of who gave that person a + or a - , just  athought

31

(35 replies, posted in PunBB 1.2 discussion)

nope i have almost never,  buts its nice to have. I use show all posts as read. I must use it at least 50 times a day

32

(1,382 replies, posted in General discussion)

person
(no idea what the real one is)

33

(6 replies, posted in PunBB 1.2 discussion)

hmm maybe he wants to do it because it will make every one who reads it feel special and it will be in 3ed person wink  instead of it saying Me made this for all of you out there. it will be  Lothia made this for all of you Rickard of you out there wink

then make the code and post in in the mods wink

he can't. PS: i know you don't know  a code for what im asking. the IP one i don't really need, but the post count one we do.
oh yeah the reason he can't is there some rule that only he can have the FTP so he can't give it so us.

This was his last email
"hey if i create a clan next round would you support us and like figure a way to make an alliance work out?"

still need the one so that posts in parts of the forum dont count toward post count

I am not sure i believe that we are all put onto the owners Ip address
I'm the main admin at your biggest forums
http://lnx.propolingo.com/labb/presiden … /index.php
just not the owner, its ben a problem. Also u have 1.2, and ours is only 1.1.5 we updated it finally, but if we try to update again it says we have the highest one...
PS: is there a code for that?

Well i was woundering is there a mod so I can make a forum that posts in it don't count towards your post count?
ALso is ther a mod so that each person has a differnet IP, at the moment all of our members are showing the same IP and we can't IP ban people

39

(18 replies, posted in PunBB 1.2 troubleshooting)

well theres 2 things, one is gary, you can get the soruce code for the forums, *none updated* from this website, but u can't get his, and i did ask pres but he didn't quite understand the question.
lol we are the oldest type of forum there is.

40

(18 replies, posted in PunBB 1.2 troubleshooting)

well you 2 finally found these forums
It probably was one of our mods doing something stupid but ot willing to admit it wink

41

(2 replies, posted in Programming)

no its a alpha blending color in DGI/PHP

42

(2 replies, posted in Programming)

This code is in GDI
and its a Alpha Blending a Bitmap
Im doing this for a team. And this is my current project and cannot change it. I need help with it. I need to know what area blends the colors. Then i need a Blend of 2 colors with 8 main cases.. if u understand any of this please help

void DrawAlphaBlend (HWND hWnd, HDC hdcwnd)
{
    HDC hdc;               // handle of the DC we will create 
    BLENDFUNCTION bf;      // structure for alpha blending
    HBITMAP hbitmap;       // bitmap handle
    BITMAPINFO bmi;        // bitmap header
    VOID *pvBits;          // pointer to DIB section
    ULONG   ulWindowWidth, ulWindowHeight;      // window width/height
    ULONG   ulBitmapWidth, ulBitmapHeight;      // bitmap width/height
    RECT    rt;            // used for getting window dimensions
    UINT32   x,y;          // stepping variables
    UCHAR ubAlpha;         // used for doing transparent gradient
    UCHAR ubRed;        
    UCHAR ubGreen;
    UCHAR ubBlue;
    float fAlphaFactor;    // used to do premultiply
            
    // get window dimensions
    GetClientRect(hWnd, &rt);
    
    // calculate window width/height
    ulWindowWidth = rt.right - rt.left;  
    ulWindowHeight = rt.bottom - rt.top;  

    // make sure we have at least some window size
    if ((!ulWindowWidth) || (!ulWindowHeight))
        return;

    // divide the window into 3 horizontal areas
    ulWindowHeight = ulWindowHeight / 3;

    // create a DC for our bitmap -- the source DC for AlphaBlend 
    hdc = CreateCompatibleDC(hdcwnd);
    
    // zero the memory for the bitmap info
    ZeroMemory(&bmi, sizeof(BITMAPINFO));

    // setup bitmap info 
    // set the bitmap width and height to 60% of the width and height of each of the three horizontal areas. Later on, the blending will occur in the center of each of the three areas.
    bmi.bmiHeader.biSize = sizeof(BITMAPINFOHEADER);
    bmi.bmiHeader.biWidth = ulBitmapWidth = ulWindowWidth - (ulWindowWidth/5)*2;
    bmi.bmiHeader.biHeight = ulBitmapHeight = ulWindowHeight - (ulWindowHeight/5)*2;
    bmi.bmiHeader.biPlanes = 1;
    bmi.bmiHeader.biBitCount = 32;         // four 8-bit components
    bmi.bmiHeader.biCompression = BI_RGB;
    bmi.bmiHeader.biSizeImage = ulBitmapWidth * ulBitmapHeight * 4;

    // create our DIB section and select the bitmap into the dc
    hbitmap = CreateDIBSection(hdc, &bmi, DIB_RGB_COLORS, &pvBits, NULL, 0x0);
    SelectObject(hdc, hbitmap);

    // in top window area, constant alpha = 50%, but no source alpha
    // the color format for each pixel is 0xaarrggbb 
    // set all pixels to blue and set source alpha to zero
    for (y = 0; y < ulBitmapHeight; y++)
        for (x = 0; x < ulBitmapWidth; x++)
            ((UINT32 *)pvBits)[x + y * ulBitmapWidth] = 0x000000ff; 

    bf.BlendOp = AC_SRC_OVER;
    bf.BlendFlags = 0;
    bf.SourceConstantAlpha = 0x7f;  // half of 0xff = 50% transparency
    bf.AlphaFormat = 0;             // ignore source alpha channel

    if (!AlphaBlend(hdcwnd, ulWindowWidth/5, ulWindowHeight/5, 
                    ulBitmapWidth, ulBitmapHeight, 
                    hdc, 0, 0, ulBitmapWidth, ulBitmapHeight, bf))
        return;                     // alpha blend failed
    
    // in middle window area, constant alpha = 100% (disabled), source 
    // alpha is 0 in middle of bitmap and opaque in rest of bitmap 
    for (y = 0; y < ulBitmapHeight; y++)
        for (x = 0; x < ulBitmapWidth; x++)
            if ((x > (int)(ulBitmapWidth/5)) && (x < (ulBitmapWidth-ulBitmapWidth/5)) &&
                (y > (int)(ulBitmapHeight/5)) && (y < (ulBitmapHeight-ulBitmapHeight/5)))
                //in middle of bitmap: source alpha = 0 (transparent).
                // This means multiply each color component by 0x00.
                // Thus, after AlphaBlend, we have a, 0x00 * r, 
                // 0x00 * g,and 0x00 * b (which is 0x00000000)
                // for now, set all pixels to red
                ((UINT32 *)pvBits)[x + y * ulBitmapWidth] = 0x00ff0000; 
            else
                // in the rest of bitmap, source alpha = 0xff (opaque) 
                // and set all pixels to blue 
                ((UINT32 *)pvBits)[x + y * ulBitmapWidth] = 0xff0000ff; 
            endif;
    
    bf.BlendOp = AC_SRC_OVER;
    bf.BlendFlags = 0;
    bf.AlphaFormat = AC_SRC_ALPHA;  // use source alpha 
    bf.SourceConstantAlpha = 0xff;  // opaque (disable constant alpha)
   
    if (!AlphaBlend(hdcwnd, ulWindowWidth/5, ulWindowHeight/5+ulWindowHeight, ulBitmapWidth, ulBitmapHeight, hdc, 0, 0, ulBitmapWidth, ulBitmapHeight, bf))
        return;

    // bottom window area, use constant alpha = 75% and a changing
    // source alpha. Create a gradient effect using source alpha, and 
    // then fade it even more with constant alpha
    ubRed = 0x00;
    ubGreen = 0x00;
    ubBlue = 0xff;
    
    for (y = 0; y < ulBitmapHeight; y++)
        for (x = 0; x < ulBitmapWidth; x++)
        {
            // for a simple gradient, base the alpha value on the x 
            // value of the pixel 
            ubAlpha = (UCHAR)((float)x / (float)ulBitmapWidth * 255);
            //calculate the factor by which we multiply each component
            fAlphaFactor = (float)ubAlpha / (float)0xff; 
            // multiply each pixel by fAlphaFactor, so each component 
            // is less than or equal to the alpha value.
            ((UINT32 *)pvBits)[x + y * ulBitmapWidth] 
                = (ubAlpha << 24) |                       //0xaa000000
                 ((UCHAR)(ubRed * fAlphaFactor) << 16) |  //0x00rr0000
                 ((UCHAR)(ubGreen * fAlphaFactor) << 8) | //0x0000gg00
                 ((UCHAR)(ubBlue   * fAlphaFactor));      //0x000000bb
        }

    bf.BlendOp = AC_SRC_OVER;
    bf.BlendFlags = 0;
    bf.AlphaFormat = AC_SRC_ALPHA;   // use source alpha 
    bf.SourceConstantAlpha = 0xbf;   // use constant alpha, with 
                                     // 75% opaqueness

    AlphaBlend(hdcwnd, ulWindowWidth/5, 
               ulWindowHeight/5+2*ulWindowHeight, ulBitmapWidth, 
               ulBitmapHeight, hdc, 0, 0, ulBitmapWidth, 
               ulBitmapHeight, bf);

    // do cleanup
    DeleteObject(hbitmap);
    DeleteDC(hdc);
    
}

43

(0 replies, posted in PunBB 1.2 troubleshooting)

I need help on whow to make one it says i need a webserver

i downloaded apochee and it gives me this url stuff and my email

do i neeed a forumalready? or what or is this jut taking down what my forum info wil be? lol could any one help me.. if u understand it


also can i just use any type of forum then use this program to modify it? or what

44

(1 replies, posted in PunBB 1.2 troubleshooting)

On the forum im on our Admin can't assign any one to mod any more could there be any reason for this?