WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.

Donate with PayPal buttonSpenden mit dem PayPal-Button

  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • General Community »
  • WebsiteBaker Website Showcase »
  • A site I've recently baked
  • Print
Pages: [1]   Go Down

Author Topic: A site I've recently baked  (Read 14955 times)

FreshWebDesign

  • Guest
A site I've recently baked
« on: April 09, 2007, 07:55:14 PM »
I love website baker. The simplicity is something thats unreal compared to other cms's.

Anyways heres my second site, http://www.westernlakedistrict.com

all the menu's are controlled in the admin, 3 in total. I used the news stippet addon, the ajax gallery and mass mail, I also created a little addon for mass mail to allow users to signup to the newsletter without being a member, youll see what i mean on the main page you can put your email in to sign up.

Give me your thaughts, if anybodies interested in the template just let me know and i would be willing to release it.
Logged

pcwacht

  • Guest
Re: A site I've recently baked
« Reply #1 on: April 09, 2007, 10:23:51 PM »
Looks good to me

Nicely done

John
Logged

Offline frankyboy

  • Posts: 122
  • Gender: Male
  • Sächsischer Schlagerstar
    • wXw Wrestling
Re: A site I've recently baked
« Reply #2 on: April 10, 2007, 01:34:01 PM »
great page. the lake district is one of may favourite places! i would like to have a look at your massmail-addon, thought about that for a long time; sounds like a very usefull improvement!
Logged

FreshWebDesign

  • Guest
Re: A site I've recently baked
« Reply #3 on: April 10, 2007, 03:57:30 PM »
Create a form on your site for somebody to enter there email address like this but change the url


<form method="post" name="form1" action="http://www.yoursite.com/index.php?page_id=24">
<input type="text" name="mail_to" value=""> 
<input type="hidden" name="group_id" value="1">
<input type="submit" value="Go">
<input type="hidden" name="MM_insert" value="form1">
</form>

Create a new page in wb that is hidden and remember the page id from the top, put this page id
number where 24 is in the form above where it says page_id=

then in the page add this code

---------------------------------------------------------------------
<?php
# FileName="Connection_php_mysq l.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_site = "databasehostname";
$database_site = "database name";
$username_site = "database username";
$password_site = "databasepassword";
$site = mysql_pconnect($hostname_site, $username_site, $password_site) or trigger_error(mysql_error(),E_USER_ERROR);

function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
{
  $theValue = (!get_magic_quotes_gp c()) ? addslashes($theValue) : $theValue;

  switch ($theType) {
    case "text":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;   
    case "long":
    case "int":
      $theValue = ($theValue != "") ? intval($theValue) : "NULL";
      break;
    case "double":
      $theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
      break;
    case "date":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;
    case "defined":
      $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
      break;
  }
  return $theValue;
}

$editFormAction = $_SERVER['PHP_SELF'];
if (isset($_SERVER['QUERY_STRING'])) {
  $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
}

if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
  $insertSQL = sprintf("INSERT INTO testwbmod_massmail_ addresses (group_id, mail_to) VALUES (%s, %s)",
                       GetSQLValueString($_POST['group_id'], "int"),
                       GetSQLValueString($_POST['mail_to'], "text"));

  mysql_select_db($database_site, $site);
  $Result1 = mysql_query($insertSQL, $site) or die(mysql_error());
  echo "<center>THANK YOU <br>Thanks for subscribing to our newsletter and any time you can unsubscribe by clicking a link in your newsletter</center>";
}
?>
-------------------------------------------------------------------------------------------

The code above was created in dreamweaver, I made it completely independent to wb, i didnt really want
to fiddle with core files because i was in a real hurry to get the site done.

If you want to rewrite it to coincide with wb, feel free

the form simply adds an email address to the database table that mass mail uses, it's only
simple, but is limited, however it does just what i wanted.
Logged

seagull

  • Guest
Re: A site I've recently baked
« Reply #4 on: April 13, 2007, 10:20:41 PM »
Nice site and a straight template!

I am sure interested in this template.

Jan

Logged

FreshWebDesign

  • Guest
Re: A site I've recently baked
« Reply #5 on: April 16, 2007, 10:15:27 PM »
just got my broadband back on after two week downtime thanks to Tiscali isp, i will get my template packaged up for yous to use
Logged

FreshWebDesign

  • Guest
Re: A site I've recently baked
« Reply #6 on: April 17, 2007, 10:44:51 AM »
Hi guys, and girls,

attached is the template i made for the www.westernlakedist rict.com site, its free to use and change etc belongs you keep a link on there somewhere to http://www.fresh-web-design.com

for this template to work you would need the news anywhere addon and also show_menu2 & mass mail,

you would also need to do the addon i listed above for the mass mail, i've commented out the newsletter part in the index.php just in case you didnt want to use the mass mail feature.

If you need any help just give me an email

[gelöscht durch Administrator]
« Last Edit: May 01, 2007, 11:57:24 AM by AddictedDesign »
Logged

seagull

  • Guest
Re: A site I've recently baked
« Reply #7 on: April 21, 2007, 06:23:37 PM »
thanks....
Logged

FreshWebDesign

  • Guest
Re: A site I've recently baked
« Reply #8 on: April 22, 2007, 04:23:43 PM »
Your welcome. Just a quick note though, i've now changed the address of my site to http://addicteddesign.com so if you do use the template please could you add that link to the bottom instead.
Logged

Offline Mesum

  • Posts: 19
  • Gender: Male
  • I want to make history.
    • Bible On Web - Read, Listen and Study Bible Online
Re: A site I've recently baked
« Reply #9 on: April 28, 2007, 01:17:19 PM »
Great template and very nice site. Thank you very much for the share.
Logged
Bible On Web - Read, Listen and Study Holy Bible Online

FreshWebDesign

  • Guest
Re: A site I've recently baked
« Reply #10 on: May 01, 2007, 11:59:54 AM »
I have amended the copyright details to be http://addicteddesign.com use the template as you please, let us know if you do use it, i wouldnt mind seeing variations of it produced

[gelöscht durch Administrator]
Logged

Offline Mesum

  • Posts: 19
  • Gender: Male
  • I want to make history.
    • Bible On Web - Read, Listen and Study Bible Online
Re: A site I've recently baked
« Reply #11 on: May 01, 2007, 05:29:40 PM »
Quote from: AddictedDesign on May 01, 2007, 11:59:54 AM
I have amended the copyright details to be http://addicteddesign.com use the template as you please, let us know if you do use it, i wouldnt mind seeing variations of it produced

I just installed this one and all the content went blank.
Logged
Bible On Web - Read, Listen and Study Holy Bible Online

FreshWebDesign

  • Guest
Re: A site I've recently baked
« Reply #12 on: May 05, 2007, 10:28:30 AM »
that sounds a little strange. Talk us through it. Did it install correctly? is it blank when you go to the main root page? or in admin section
Logged

Offline Mesum

  • Posts: 19
  • Gender: Male
  • I want to make history.
    • Bible On Web - Read, Listen and Study Bible Online
Re: A site I've recently baked
« Reply #13 on: May 13, 2007, 09:03:47 PM »
Quote from: AddictedDesign on May 05, 2007, 10:28:30 AM
that sounds a little strange. Talk us through it. Did it install correctly? is it blank when you go to the main root page? or in admin section
Sorry for the late reply.
Yes it installed just as any other template does but when I hit the main page, it was blank... no content.
Same thing with the menu and footer text.
Logged
Bible On Web - Read, Listen and Study Holy Bible Online

Offline bgg

  • Posts: 103
Re: A site I've recently baked
« Reply #14 on: May 21, 2007, 05:32:38 PM »
which event mod u r using??

a great site!!!
Logged

Panther

  • Guest
Re: A site I've recently baked
« Reply #15 on: May 22, 2007, 11:01:46 PM »
Quote from: bgg on May 21, 2007, 05:32:38 PM
which event mod u r using??

a great site!!!

That's the "Event Calendar" module with tweeked css it looks like.

Also looks like the border=0 was turned off on the previous and next images, but looking at the source it's still there... must be over-ridden in the CSS somewhere.


Logged

orko3001

  • Guest
Re: A site I've recently baked
« Reply #16 on: October 08, 2007, 02:51:46 AM »
In reply to the third post. I'm not sure it is adding anything to the database as it is empty :S
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • General Community »
  • WebsiteBaker Website Showcase »
  • A site I've recently baked
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2