1,151

(35 replies, posted in General discussion)

actually i have my own hosting company.... DR Jeckyl got two accounts with me.. and several other rc and car clubs also.. there not bad and cheap for a reseller account.. there on a share cluster system. so if a system dies u never lose ur stuff... but i only host for a few friends and my personal 1000 sites..lol.

1,152

(66 replies, posted in General discussion)

kewl... so it worked for you on local host?


Q

1,153

(66 replies, posted in General discussion)

yea i got it up and running .. but sunbird got issue connecting...

1,154

(66 replies, posted in General discussion)

off the path.. but does anyone know of a opensource calendar program that can sync with outlook or sunbird from a www calendar?

hcgtv. i have did usb linux's version and other usb autorun systems.. even usb nas servers. i know it is do-able......
Q

1,155

(66 replies, posted in General discussion)

hey hcgtv..
now what would be kewl would be.. the forum db be hosted somewhere on the web and files be local..... so that each person could run punbb from there own desktop.. but requires internet access....

hmm...

and a neat little punbb splash screen !

1,156

(66 replies, posted in General discussion)

winrar..
or 7-zip

either one will do ......
Q

1,157

(66 replies, posted in General discussion)

here a company that customizes thumbdrives......
http://www.memorysuppliers.com/cuusbfld … OAodxwXEEw

get the punbb logo printed on it....

Q

1,158

(66 replies, posted in General discussion)

kewl.. u dont need much hd space..
about 64 usb stick will work... not unless u do a linux os...

hehe....

Q

1,159

(66 replies, posted in General discussion)

lmao......

1,160

(66 replies, posted in General discussion)

here is the link to download punbb_lighttpd version
http://southernhotbody.com/lighttpd.rar
then click unzip, click ok then close
now go to my computer then open up the c drive
double click the folder lighttpd
next double click the icon labeled start-lighttpd
wait about 5 seconds then open your browser(internet explorer, firefox, opera, lynx, etc)
in the address bar type
http://localhost
hit enter
now click login
username: admin
password: password
and your logged into the admin account for punbb and you're done


Enjoy!

Q

this is my yahoo or aim scot405583
msn scot405583@passport.com

hit me up....

the MM site is custom there are several site script sorta like it and myspace out there.
that codding is for a new page say a contact page.
this is my contact.php file...
just change the your@email.com
if user doesnt fill out everything it will not send it....
what about a link to your site?

<?php
 
define('PUN_ROOT', './');
define('PUN_QUIET_VISIT', 1);
require PUN_ROOT.'include/common.php';
 
//Set the page title here
$page_title = pun_htmlspecialchars($pun_config['o_board_title']) . ' / Contact';
define('PUN_ALLOW_INDEX', 1);
require PUN_ROOT.'header.php';
require PUN_ROOT.'include/parser.php';
 
?>
        <div class="block">
            <h3><span>Contact</span></h3>
            <div class="box">
                <div class="inbox">
                   <? 
/*
########################## Contact Form 1.3 #########################
### |-----------------------------------------------------------| ###
### |      WRITTEN 2006 by planetluc.com c/o Lukas Stalder      | ###
### |      THIS SMALL SCRIPT IS FREE AND MAY BE REDISTRIBUTED   | ###
### |-----------------------------------------------------------| ###
#####################################################################
*/ 



/*
// ################ INSTALLATION #################

1. open the .php file where you want to have the contact form in.
2. paste this whole code in there
3. adapt values in the config section below to your needs.
4. upload the file - that's it!

// ############## END INSTALLATION ###############
*/




// ################### CONFIG ###################



// CSS classes & styles
$classError = "error"; // class for error messages below input fields
$classTxt = "text"; // class for field caption cell
$classField = "field"; // class for input/textarea field cell
$classInputbutton = "inputButton"; // class for submit button
$classInputline = "inputLine"; // class for input lines
$classInputfield = "inputField"; // class for textareas

$styleInputline = "width:355px;"; // add. styles for input lines
$styleInputfield = "width:355px; height:100px;"; // add. styles for textareas
$styleInputbutton = "width:355px;"; // add. styles for submit button
$styleInputradio = "vertical-align:middle;"; // add. styles for radio input fields
$styleInputselect = "width:355px;";

// email
$targetAddress = "your@email.com";
$emailSubject = "Website Request modelcrowd.com";

// misc text
$txtSend = "Send";
$txtMandatory = "mandatory";
$msgDate = "Date";
$dateFormat = "d. M Y, H:i";

$msgIndent = 11;

//thank you messages
$txtThankyou = "<div class='$classTxt'><h2>Thank you for getting in contact with us!</h2>Your request has been sent and you'll be contacted as soon as possible.</div>";


// form fields
/*
  every form field is an array consisting of 6 elements:
  1) field caption
  2) field name
  3) field type: line, field, radio
  4) additional info: if field type is 
     - 'radio' this field contains the radio captions/values like so: {caption1|value1} {caption2|value2} {caption3|value3}...
     - 'select' this field contains the radio captions/values like so: {caption1|value1} {caption2|value2} {caption3|value3}...
     - 'email' the field value must be a valid emailaddress
  5) mandatory ('*') or not ('')
  6) error message if empty on submit and set to mandatory previously
*/

$fields[] = array("Company", "company", "line", "", "", "");
$fields[] = array("Name", "name", "line", "", "*", "Please enter a name");
$fields[] = array("Address", "address", "line", "", "", "");
$fields[] = array("Zip/City", "city", "line", "", "", "");
$fields[] = array("Phone", "phone", "line", "", "*", "Please enter a phone number");
$fields[] = array("Email", "email", "line", "email", "*", "Please enter a valid email address");
$fields[] = array("Reply by", "replyby", "radio", "{Email|by email}{Phone|by phone}{Post|by post}", "*", "Please select a reply mode");
$fields[] = array("Contact", "contact", "select", "{-- please choose --|}{Photographer}{Owner}{Webmaster}", "*", "Who would you like to contact?");
$fields[] = array("Request", "request", "field", "", "*", "Please enter a request");


// ################ END  CONFIG ##########################################################
// #######################################################################################







$version = "1.3";

function spaces($num, $fill=" "){
    $foo="";
    for ($i=0; $i<$num; $i++) $foo.=$fill;
    return $foo;
}

function isValidEmail($addr){
    if(eregi("^[a-z0-9]+([_.-][a-z0-9]+)*@([a-z0-9]+([.-][a-z0-9]+)*)+\\.[a-z]{2,4}$", $addr))
        return true;
    else
        return false;
}


// start form evaluation
unset($error);
if ($_REQUEST['do']=="send"){
    $error = false;
    $fromAddress = "";
    $message = "";
        
    foreach ($fields as $field){
        if ($field[4] == "*"){
            if ($field[3] == "email"){
                if (!isValidEmail($_REQUEST[$field[1]])) $error[$field[1]] = $field[5];
            }else{
                if ($_REQUEST[$field[1]] == "") $error[$field[1]] = $field[5];
            }        
        }        
    }    
    
    if ($error === false){
    
        $message  = $emailSubject."  \n";
        for ($i = 0; $i < strlen($emailSubject); $i++) $message .= "*";
        $message .= "  \n\n$msgDate:".spaces($msgIndent-strlen($msgDate)).date($dateFormat);
        foreach ($fields as $field){
            $message .= "\n".$field[0].":".spaces($msgIndent-strlen($field[0]));
            if ($field[3] == "email"){
                $message .= "mailto:".$_REQUEST[$field[1]];
                $fromAddress = "From: ".$_REQUEST[$field[1]];
            }else $message .= $_REQUEST[$field[1]];
            $message .= "  ";
        }
            
        mail($targetAddress, $emailSubject, $message, $fromAddress);
        echo $txtThankyou;
        
    }

}

if ($error!==false){

    // draw form
    echo "\n\n <!-- ContactForm $version by planetluc.com START -->\n\n";
    echo "<form name=\"form1\" method=\"post\" action=\"\">\n";
    echo "<table  border=\"0\" cellpadding=\"1\" cellspacing=\"0\">\n";
        
    foreach ($fields as $field){
    
        echo "<tr><td class=\"$classTxt\">".$field[0].$field[4]." </td>\n<td class=\"$classField\">";
        
        switch ($field[2]){
        case "line":
            echo "<input type=\"text\" name=\"".$field[1]."\" value=\"".$_REQUEST[$field[1]]."\" class=\"$classInputline\" style=\"$styleInputline\" />";
            if (isset($error[$field[1]])) echo "<div class=\"$classError\">".$error[$field[1]]."</div>";
            break;
        case "field":
            echo "<textarea name=\"".$field[1]."\" class=\"$classInputfield\" style=\"$styleInputfield\" >".$_REQUEST[$field[1]]."</textarea>";
            if (isset($error[$field[1]])) echo "<div class=\"$classError\">".$error[$field[1]]."</div>";
            break;
        case "radio":
            preg_match_all("/\{(.*?)\}/", $field[3], $foo);
            $options = $foo[1];
            $i=1;
            foreach ($options as $opt){
                $opt = explode("|", $opt);
                $label = $opt[0];
                $value = (isset($opt[1])) ? $opt[1] : $opt[0];
                $checked = ($_REQUEST[$field[1]] == $value) ? "checked" : "";
                echo "<input type=\"radio\" name=\"".$field[1]."\" value=\"".$value."\" style=\"$styleInputradio\" id=\"".$field[1].$i."\" $checked/> <label for=\"".$field[1].$i."\">".$label."</label>  ";
                $i++;
            }
            if (isset($error[$field[1]])) echo "<div class=\"$classError\">".$error[$field[1]]."</div>";
            break;
        case "select":
            preg_match_all("/\{(.*?)\}/", $field[3], $foo);
            $options = $foo[1];
            $i=1;
            echo "\n<select name=\"".$field[1]."\" style=\"$styleInputselect\">\n";
            foreach ($options as $opt){
                $opt = explode("|", $opt);
                $label = $opt[0];
                $value = (isset($opt[1])) ? $opt[1] : $opt[0];
                $selected = ($_REQUEST[$field[1]] == $value) ? "selected" : "";
                echo "<option value=\"".$value."\" $selected>$label</option>\n";
                $i++;
            }
            echo "</select>\n";
            if (isset($error[$field[1]])) echo "<div class=\"$classError\">".$error[$field[1]]."</div>";
            break;
        }
        
        echo "</td></tr>\n";
    
    }
    
    echo "<tr><td class=\"$classTxt\"> </td><td align=\"right\" class=\"$classTxt\">* $txtMandatory</td></tr>\n";
    echo "<tr><td class=\"$classTxt\"> </td><td  class=\"$classField\"><input name=\"Submit\" type=\"Submit\" class=\"$classInputbutton\" style=\"$styleInputbutton\" value=\"$txtSend\">\n";
    echo "<input name=\"do\" type=\"hidden\" id=\"do\" value=\"send\"></td>\n";
    echo "</tr></table>\n";
    echo "</form>\n";
    echo "\n <!-- ContactForm $version by planetluc.com END -->\n\n";

}
/*
######################### END Contact Form ##########################
#####################################################################
*/  
?>

                </div>
            </div>
        </div>
<?php
 
require PUN_ROOT.'footer.php';

this is the code for adding a new page to ur punbb!!
this is something to start with...
then look at the main.tpl in the include/template folder for moding the forum to integrate in the site.
just a starter info....


this will include any html inside the punbb style.

this is what im playing with now..
http://bunpai.com

<?php
 
define('PUN_ROOT', './');
define('PUN_QUIET_VISIT', 1);
require PUN_ROOT.'include/common.php';
 
//Set the page title here
$page_title = pun_htmlspecialchars($pun_config['o_board_title']) . ' / New page 1';
define('PUN_ALLOW_INDEX', 1);
require PUN_ROOT.'header.php';
require PUN_ROOT.'include/parser.php';
 
?>
Your code goes here..... html, php, and etc.
<?php
 
require PUN_ROOT.'footer.php';

carl something like this?
http://bunpai.com
or a simple integrations for the forum only.....

Q

it works alot better even with 20 user's but they released a new version and im waiting for the batch file to allow punbb member side functions to work...


Q

hey frank how about catagories sections for this?
that would be a neat mod... to add to it...

Q

1,167

(12 replies, posted in Programming)

i made a quick and dirty one for my site http://bunpai.com

if u need it .. it uses ajax and simple to config....
no db needed...

Q

1,168

(4 replies, posted in PunBB 1.2 show off)

kewl thanks ill try it in a few mins....

Q

1,169

(26 replies, posted in PunBB 1.2 discussion)

lol..
how about godaddy.com u can buy a domain and hosting and use paypal account to pay for it.

1,170

(26 replies, posted in PunBB 1.2 discussion)

yo DR... shhhh... i need some $$ to pay for my childsupport...hahaha..

give me a shout dude.. i got a Q to ask......

1,171

(2 replies, posted in General discussion)

tired of making those buttons for punbb,rss,xhtml and etc....

well i ran across this site that does it for you...
example:
http://modelcrowd.com/pun_rss.gif

http://modelcrowd.com/punbb_punres.gif

http://modelcrowd.com/pun_xhtml.gif

http://modelcrowd.com/punportal.gif

have fun and enjoy making all those buttons
http://tools.dynamicdrive.com/button/

looks goood.....

here a button maker for anyone that wants it...
http://tools.dynamicdrive.com/button/

example:
http://modelcrowd.com/punportal.gif

1,173

(26 replies, posted in PunBB 1.2 discussion)

~james i want 50% to keep quite..hahaaha

1,174

(4 replies, posted in PunBB 1.2 show off)

kato, what part of the css is that..
i have tried.. and it ills me..haha
thanks...
Q

1,175

(4 replies, posted in PunBB 1.2 show off)

ok peps i started messing with the main.tpl
and this is what i got so far.

http://bunpai.com

let me know what you think...

scot