WebsiteBaker Community Forum (upd)

General Community => WebsiteBaker Website Showcase => Topic started by: ProSam on January 31, 2007, 03:22:33 PM

Title: My Second WB Site, What you think?
Post by: ProSam on January 31, 2007, 03:22:33 PM
The content is not all there but it's up and running.

http://www.holysoundproductions.us/

I want to thanks the WB community for helping me put the original template to work with WB. It was a bit of a pain but WB is awesome so it was well worth it.

So give me your opinions.
Title: Re: My Second WB Site, What you think?
Post by: ruebenwurzel on January 31, 2007, 03:23:45 PM
Hello,

nice side but personally i hate frames  :wink:

Matthias
Title: Re: My Second WB Site, What you think?
Post by: ProSam on January 31, 2007, 03:52:00 PM
Yeah, I know. I've heard it 1000 times already, I don't like frames either but its for a purpose.  :-)
Title: Re: My Second WB Site, What you think?
Post by: ruebenwurzel on January 31, 2007, 03:54:30 PM
Hello,

as far as i remember there was no other way to solve the playerincluding then with frames, right?

what i say, really nice baked

Matthias
Title: Re: My Second WB Site, What you think?
Post by: ProSam on January 31, 2007, 08:45:15 PM
Thanks, anyone else?
Title: Re: My Second WB Site, What you think?
Post by: kweitzel on January 31, 2007, 09:37:23 PM
Great ... just for me a shame that it's only in spanish (right?). But lovly design, the interoperability (FF2, IE6 & IE7) ... the only "issue" I saw, was that in IE6 the Whole page was running out of space at the bottom ... but that is such a minor thing ...

Maybe for the login you would want to make a different page instead of just linking the Admin Login ... use the login part of the template tutorial, but echo each line from a code page. make it less obvious, what CMS is behind it.

cheers

Klaus
Title: Re: My Second WB Site, What you think?
Post by: ProSam on February 01, 2007, 04:53:39 PM
Quote from: kweitzel on January 31, 2007, 09:37:23 PM
Maybe for the login you would want to make a different page instead of just linking the Admin Login ... use the login part of the template tutorial, but echo each line from a code page. make it less obvious, what CMS is behind it.
Could you elaborate a little more on how to do that or point me in the right direction?
Title: Re: My Second WB Site, What you think?
Post by: kweitzel on February 01, 2007, 08:36:41 PM
In the footer of your template you have a little navigation bar ... one of the links in there is the login link.

But that link refers back to the Admin Login, which tells everybody plainly that they are dealing with WebsiteBaker.

But if you create a page only designed with a login form (the code is in the WIKI, template Tutorial), people cann not see immediately that they are dealing with WebsiteBaker which gives you a little advantage over "wannabe" hackers ...

If you now take the code from the Tutorial, put it into a page of type code and wrap every line in an "echo" statement (with the required form changes), you have a login form fitting the design of your template.

cheers

Klaus
Title: Re: My Second WB Site, What you think?
Post by: ProSam on February 01, 2007, 08:40:44 PM
Oh,
Very cool. Thanks. I'll try that out.
Title: Re: My Second WB Site, What you think?
Post by: ProSam on February 02, 2007, 03:20:16 PM
Quote from: kweitzel on February 01, 2007, 08:36:41 PM
But if you create a page only designed with a login form (the code is in the WIKI, template Tutorial), people cann not see immediately that they are dealing with WebsiteBaker which gives you a little advantage over "wannabe" hackers ...

If you now take the code from the Tutorial, put it into a page of type code and wrap every line in an "echo" statement (with the required form changes), you have a login form fitting the design of your template.
I can't find the code in the Wiki. Are you sure its available in english? I have no idea how to speak or read german. :(
Title: Re: My Second WB Site, What you think?
Post by: jollylama on February 02, 2007, 06:03:34 PM
Nice design,

I like how you incorporated the flash audio player. How did you do that? I'll be working on my friends 'recording studio' website shortly and will be picking your brain shortly.

nice work,

ben
Title: Re: My Second WB Site, What you think?
Post by: ProSam on February 02, 2007, 06:54:44 PM
Thanks!

I'm using Jeroen Wijering's (http://www.jeroenwijering.com/?item=Flash_MP3_Player) flash mp3 player. One of the best out there. Very easy to use and customize. I then placed it inside a frame, though that's not a very popular thing to do.

See the thread HERE (http://forum.websitebaker.org/index.php/topic,5168.0.html)
Title: Re: My Second WB Site, What you think?
Post by: ProSam on February 06, 2007, 07:41:36 PM
Quote from: ProSam on February 02, 2007, 03:20:16 PM
Quote from: kweitzel on February 01, 2007, 08:36:41 PM
But if you create a page only designed with a login form (the code is in the WIKI, template Tutorial), people cann not see immediately that they are dealing with WebsiteBaker which gives you a little advantage over "wannabe" hackers ...

If you now take the code from the Tutorial, put it into a page of type code and wrap every line in an "echo" statement (with the required form changes), you have a login form fitting the design of your template.
I can't find the code in the Wiki. Are you sure its available in english? I have no idea how to speak or read german. :(

Hey Klaus,
I've yet to find that info in the wiki, could you help a fellow baker out?  :-)
Title: Re: My Second WB Site, What you think?
Post by: kweitzel on February 06, 2007, 09:16:37 PM
bugger ... it's actually not in the tutorial ... will have to extend this one:

http://projects.WebsiteBaker.org/websitebaker2/wiki/Docs-EN-TemplateTutorial

But here is the code how Matthias (Ruebenwurzel) uses it:

Create a WYSIWYG Page and paste following in the source code view of your editor:


<form class="login_table" method="post" action="http://www.runaway-music.de/account/login.php?redirect=http://www.runaway-music.de/pages/mitgliederbereich.php" name="login">
    <table width="50%" cellspacing="0" cellpadding="5" border="0" align="center">
        <tbody>
            <tr>
                <td style="text-align: right;">Benutzername:</td>
                <td><input type="text" name="username" /></td>
            </tr>
            <tr>
                <td style="text-align: right;">Passwort:</td>
                <td><input type="password" name="password" /></td>
            </tr>
            <tr>
                <td style="text-align: left;">&nbsp;</td>
                <td><input type="submit" value="Anmelden" name="submit" /></td>
            </tr>
            <tr align="left">
                <td style="text-align: center;" colspan="2"><a href="http://www.runaway-music.de/account/forgot.php">Anmeldedaten vergessen?</a></td>
            </tr>
        </tbody>
    </table>
</form>


Put this here in the footer of your template:


<?php if(FRONTEND_LOGIN == 'enabled' AND is_numeric($wb->get_session('USER_ID'))) { ?>
<a href="<?php echo WB_URL?>/pages/mitgliederbereich.php">Mitgliederbereich</a>
<?php ?>
<?php page_footer(); ?>
<?php if(FRONTEND_LOGIN == 'enabled' AND VISIBILITY != 'private' AND $wb->get_session('USER_ID') == '') { ?>
<a href="<?php echo WB_URL?>/pages/login.php">Login</a>
<?php } elseif(FRONTEND_LOGIN == 'enabled' AND is_numeric($wb->get_session('USER_ID'))) { ?>
<a href="<?php echo LOGOUT_URL?>">Logout [ <?php echo $wb->get_display_name(); ?> ]</a>
<?php ?>


You need to customise the code for your needs though ... there is a redirect URL in the first part of the code. This URL goes to a memberpage of a different DOMAIN ... so change it to the admin startpage of your installation!

The original (in german) can be found here: http://forum.WebsiteBaker.org/index.php/topic,5362.msg33666.html#msg33666

cheers

Klaus
Title: Re: My Second WB Site, What you think?
Post by: ProSam on February 06, 2007, 11:03:07 PM
Is there some sort of module I need to install cuz I've done what you said above and it is not working. THe reason I ask is because the php if statements keep saying like if front end login. What is that?

This what I got so far:
<form class="login_table" method="post" action="http://www.holysoundproductions.us/account/login.php?redirect=www.holysoundproductions.us/admin/index.php" name="login">
  <table align="center" border="0" cellpadding="5" cellspacing="0" width="50%"> <tbody>
    <tr>
      <td style="text-align: right;">Usuario:</td>
      <td>
      <input name="username" type="text" /></td>
    </tr>
    <tr>
      <td style="text-align: right;">ContraseƱa:</td>
      <td>
      <input name="password" type="password" /></td>
    </tr>
    <tr>
      <td style="text-align: left;">&nbsp;</td>
      <td>
      <input value="Somete" name="submit" type="submit" /></td>
    </tr>
    <tr align="left">
      <td style="text-align: center;" colspan="2"><a href="http://www.holysoundproductions.us/account/forgot.php">Olvido su ContraseƱa?</a></td>
    </tr> </tbody>
  </table>
</form>


<?php if(FRONTEND_LOGIN == 'enabled' AND is_numeric($wb->get_session('USER_ID'))) { ?>
<a href="<?php echo WB_URL?>/admin/index.php">Login</a>
<?php ?>
<?php page_footer(); ?>
<?php if(FRONTEND_LOGIN == 'enabled' AND VISIBILITY != 'private' AND $wb->get_session('USER_ID') == '') { ?>
<a href="<?php echo WB_URL?>/pages/login.php">Login</a>
<?php } elseif(FRONTEND_LOGIN == 'enabled' AND is_numeric($wb->get_session('USER_ID'))) { ?>
<a href="<?php echo LOGOUT_URL?>">Logout [ <?php echo $wb->get_display_name(); ?> ]</a>
<?php ?>
Title: Re: My Second WB Site, What you think?
Post by: ruebenwurzel on February 06, 2007, 11:09:55 PM
Hello,

How is the name of the page where you added the code in the codesection of the WYSIWYG Editor?

This name you have to add to the second code for the footer of your template (replace the name login.php wich your pagename.

Matthias
Title: Re: My Second WB Site, What you think?
Post by: ProSam on February 06, 2007, 11:20:26 PM
it is called login.php

http://www.holysoundproductions.us/pages/login.php

The table is there but after login it doesn't seem to work.
Title: Re: My Second WB Site, What you think?
Post by: ruebenwurzel on February 06, 2007, 11:38:18 PM
Hello,

I hate frames  :evil:. Code is written and tested only on normal pages  :-D not on f....ing frame pages. I know you need it for the player.

Matthias
Title: Re: My Second WB Site, What you think?
Post by: ProSam on February 06, 2007, 11:39:55 PM
the page I linked above is not in a frame and it still does not work.
Title: Re: My Second WB Site, What you think?
Post by: ruebenwurzel on February 07, 2007, 05:32:04 AM
ooops sorry, seems it was to late yesterday night.

To your problem will later have a look.

Matthias
Title: Re: My Second WB Site, What you think?
Post by: ProSam on February 09, 2007, 02:23:07 PM
Hey Matthias,
Anything you can do help me out here?


Thanks,

Sammy
Title: Re: My Second WB Site, What you think?
Post by: ruebenwurzel on February 09, 2007, 02:41:44 PM
Hello,

sorry forgot to answer. Try it with adding a whole URL after the redirect call. ("http://www...." instead of only "www....")

Matthias
Title: Re: My Second WB Site, What you think?
Post by: deeve007 on February 11, 2007, 08:53:31 AM
Yeek, frames!!!  :cry:

http://www.webreference.com/programming/css_frames/
Title: Re: My Second WB Site, What you think?
Post by: CobraCMS on August 16, 2007, 02:17:01 AM
Quote from: ProSam on January 31, 2007, 03:22:33 PM
The content is not all there but it's up and running.

http://www.holysoundproductions.us/

I want to thanks the WB community for helping me put the original template to work with WB. It was a bit of a pain but WB is awesome so it was well worth it.

So give me your opinions.

Te felicito por tu sitio, es muy agradable a la vista y esta todo muy bien ordenado.

Excelente!