About the Vbulletin
Im toying with the idea of starting a site like this but locally and not mazda only oriented, and i figured to ask the experts
how to do get the vbulletin, do you really need to pay 160 bucks for it??
hahaha i mean, thats as much as Stuek paid for a car
( I still cant believe it)
and ok lets say i buy it and install it and what about the "bvgarage" did you programed it? buy it? were???? , and what about the free ones like the phpbb ??
how to do get the vbulletin, do you really need to pay 160 bucks for it??
hahaha i mean, thats as much as Stuek paid for a car
( I still cant believe it) and ok lets say i buy it and install it and what about the "bvgarage" did you programed it? buy it? were???? , and what about the free ones like the phpbb ??
The guy you wanna talk to is tailland. He's got a small Euro-site for the 323/Protege that he runs himself.
He's a great guy, but isn't over here too much, so you might be better off talking to him here:
http://forum.protege323.com/index.php
He's TStar on that forum.
He's a great guy, but isn't over here too much, so you might be better off talking to him here:
http://forum.protege323.com/index.php
He's TStar on that forum.
^^ now i see it 8)
well, i coded the whole site on my own.... the user/donate/downloadsystem of the infosection i coded on my own last year, later added a small forum (phpbb) and modded it heavily afterwards. the "rides" was originally a pretty complicated (and partially useless) plugin i downloaded and i had to recode the thing 100% because the original code shot some major security holes into the phpbb... so the actual "rides" plugin can be seen as my very own...
the next plan would be to combine my forum with the infosite, same logins,donation/download system integrated into the forum etc... but honestly... that's a hell lot of work and i wouldn't really know if it would be worth the effort.
if you want to set up and modify a forum, you should become familiar with php+(my)sql,cgi,web server administration etc... at least...
Im a Guy from the www.mazda3club.com "DEm", KArgoboy gave your site address, and im wondering how did you mount your page, I noticed you are using the phpbb, I'v use it before, im wondering about the "rides"part did you code it? i leave you my email, dem@dagieu.com drop me a line or pm at mazda3club ill be happy to hear from you
hehehe, but that way i have to register... hehehe
anyway, I found some "mods" thats what those a re called, one called vbgarage, but it seems supercomplicated, and some others, so I guess ill just start experimenting on my own
anyway, I found some "mods" thats what those a re called, one called vbgarage, but it seems supercomplicated, and some others, so I guess ill just start experimenting on my own
the next plan would be to combine my forum with the infosite, same logins,donation/download system integrated into the forum etc... but honestly... that's a hell lot of work and i wouldn't really know if it would be worth the effort.
if you want to set up and modify a forum, you should become familiar with php+(my)sql,cgi,web server administration etc... at least...
Last edited by tailland; Aug 8, 2006 at 12:03 PM.
Ill like to think im a well seasoned web designer... but thats just me.. hehehe
so i know my way around php and all that stuff you mentioned i already installed a phpbb forum ( a lot of work ) i think i have to click my mouse like 10 times and supply a password) (sarcastic) so.... hehehe
what about if you enlightme and letme use you "mod" Rides with the name of "la cochera" that means garage on spanish, cause my site its gonna be on spanish and in exchange ill keep the credits
Mod Rides (la cochera) made by supercool dude Tailland at the site http://forum.protege323.com all rights reserved blablabla
and ill make an Altar were all the members of my site will worship you
so i know my way around php and all that stuff you mentioned i already installed a phpbb forum ( a lot of work ) i think i have to click my mouse like 10 times and supply a password) (sarcastic) so.... hehehe
what about if you enlightme and letme use you "mod" Rides with the name of "la cochera" that means garage on spanish, cause my site its gonna be on spanish and in exchange ill keep the creditsMod Rides (la cochera) made by supercool dude Tailland at the site http://forum.protege323.com all rights reserved blablabla
and ill make an Altar were all the members of my site will worship you
hm i never actually intended to spread that mod, but ok.... this mod is for the 2.19/20 version of phpbb and i have no clue if it works on 3.0 ...
if you're familiar with php/mysql, then you might already be satisfied with this:
the "heart" of the engine is little routine, creating thumbnails off externals sources (if link is a valid picture file), copying them to an internal cache at your server, the gd-library is needed for picture manipulation.
called by
then the results are handled by:
the rest is simple sql queries and pushes, handing the variables over to the templates; dont forget to clean all user based entries before working with them in the script. work with an extra table "usercars" in your db, will speed up things a lot. you're free to optimise since the orig code was never to be published.
if you're familiar with php/mysql, then you might already be satisfied with this:
the "heart" of the engine is little routine, creating thumbnails off externals sources (if link is a valid picture file), copying them to an internal cache at your server, the gd-library is needed for picture manipulation.
Code:
<?php
function createthumb($o_file, $t_file)
{
if (!$imageinfo = @getImageSize($o_file))
{
return false;
}
else
{
if ($imageinfo[2] == 1)
{
$o_im = imagecreatefromgif($o_file);
}
elseif ($imageinfo[2] == 2)
{
$o_im = imagecreatefromjpeg($o_file);
}
elseif ($imageinfo[2] == 3)
{
$o_im = imagecreatefrompng($o_file);
}
$maxx = 170;
$maxy = 127;
$origx = $imageinfo[0];
$origy = $imageinfo[1];
// Calc, if thumb has has to be squeezed from width or height
if($origx >= $origy AND $origx > $maxx)
{
$faktor = $origx / $maxx;
$newx = $origx / $faktor;
$newy = $origy / $faktor;
}
elseif($origy > $origx AND $origy > $maxy)
{
$faktor = $origy / $maxy;
$newx = $origx / $faktor;
$newy = $origy / $faktor;
}
else
{
$newx = $origx;
$newy = $origy;
}
$t_im = imagecreatetruecolor($newx, $newy);
imagecopyresampled($t_im, $o_im, 0, 0, 0, 0, $newx, $newy, $origx, $origy);
imagejpeg($t_im,$t_file);
imagedestroy($o_im);
imagedestroy($t_im);
return true;
}
return false;
}
?>
Code:
/** CREATING THE THUMBNAILS **/
include($phpbb_root_path . 'usercars_thumbcreate.'.$phpEx);
if ($usercars_pic1 != '') {
$usercars_pic1thumb = "usercars/".$user_id."_pic1";
if (createthumb($usercars_pic1, $usercars_pic1thumb) === false)
{
$usercars_pic1 = '#';
$usercars_pic1thumb = 'usercars/empty.jpg';
}
else {
}
}
if ($usercars_pic2 != '') {
$usercars_pic2thumb = "usercars/".$user_id."_pic2";
if (createthumb($usercars_pic2, $usercars_pic2thumb) === false)
{
$usercars_pic2thumb = 'usercars/empty.jpg';
}
else {
}
}
if ($usercars_pic3 != '') {
$usercars_pic3thumb = "usercars/".$user_id."_pic3";
if (createthumb($usercars_pic3, $usercars_pic3thumb) === false)
{
$usercars_pic3thumb = 'usercars/empty.jpg';
}
else {
}
}
if ($usercars_pic4 != '') {
$usercars_pic4thumb = "usercars/".$user_id."_pic4";
if (createthumb($usercars_pic4, $usercars_pic4thumb) === false)
{
$usercars_pic4thumb = 'usercars/empty.jpg';
}
else {
}
}
Code:
// EDIT ENTRY START
else if ($submit_edit)
{
if ($HTTP_POST_FILES["datei"]["name"] == '')
{
if ($HTTP_POST_VARS['deletepic'])
{
// DELETE PIC
unlink("./" . $HTTP_POST_VARS['usercars_pic_edit']);
$usercars_pic = '';
}
else
{
$usercars_pic = $HTTP_POST_VARS['usercars_pic_edit'];
}
}
else
{
if($HTTP_POST_FILES["datei"]["tmp_name"] == "")
{
message_die(GENERAL_MESSAGE, $lang['L_USERCARS_MOD4']);
exit;
}
if($HTTP_POST_FILES["datei"]["size"] == 0)
{
message_die(GENERAL_MESSAGE, $lang['L_USERCARS_MOD5']);
exit;
}
if($HTTP_POST_FILES["datei"]["size"] > 131072)
{
message_die(GENERAL_MESSAGE, $lang['L_USERCARS_MOD4']);
exit;
}
if (($HTTP_POST_FILES["datei"]["type"] != "image/jpeg") && ($HTTP_POST_FILES["datei"]["type"] != "image/jpg") && ($HTTP_POST_FILES["datei"]["type"] != "image/jpeg") && ($_FILES["datei"]["type"] != "image/gif"))
{
message_die(GENERAL_MESSAGE, $lang['L_USERCARS_MOD6']);
exit;
}
// RENAME FILE START
$current_user_date_time = $userdata['user_id'] . "_" . date(ymd) . "_" . time();
$HTTP_POST_FILES["datei"]["name"] = $current_user_date_time;
// RENAME FILE END
move_uploaded_file($HTTP_POST_FILES["datei"]["tmp_name"], $phpbb_domain_uploaddir . $HTTP_POST_FILES["datei"]["name"]);
// UPLOAD PICTURE END
// DELETE OLD PIC
if ($HTTP_POST_VARS['usercars_pic_edit'] != '')
{
unlink("./" . $HTTP_POST_VARS['usercars_pic_edit']);
}
$usercars_pic = $phpbb_domain_uploaddir . $HTTP_POST_FILES["datei"]["name"];
}
Last edited by tailland; Aug 11, 2006 at 11:04 AM.





