Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 01:32:01 AM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155533 Posts in 21713 Topics by 7738 Members
Latest Member: Pattieardathfe
* Home Help Search Login Register
Pages: [1] 2   Go Down
Print
Author Topic: Skinable frontend account template - first try :)  (Read 5835 times)
crnogorac081
AddOn Development
*
Offline Offline

Posts: 1706



« on: October 23, 2009, 08:21:48 AM »

Hi,

I tried Stefek's solution from this post: http://www.websitebaker2.org/forum/index.php/topic,15692.0.html

and here is a small demo

username: test
pass: demo123

have fun and try to log in Smiley
I.


Please do not change prefered language when you log in, as site goes under construction for next person who logs in with same username...
« Last Edit: April 05, 2010, 12:05:07 PM by crnogorac081 » Logged

Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
mr-fan

Offline Offline

Posts: 1556


WWW
« Reply #1 on: October 23, 2009, 10:25:17 AM »

wow - nice backed

i like the combination with your PM mod.... wink

i've send you a PM on your site

regards martin
Logged

 
crnogorac081
AddOn Development
*
Offline Offline

Posts: 1706



« Reply #2 on: October 23, 2009, 10:34:32 AM »

I like it too Smiley

That idea just crossed my mind so I did a quick rework during my job break Smiley

By the way, my basic idea was to prevent users to see backend Smiley They dont have to see backend now when they want to change their preferences Smiley Only if they know the structure of WB and type /admin Smiley

cheers
« Last Edit: October 23, 2009, 10:36:31 AM by crnogorac081 » Logged

Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
mr-fan

Offline Offline

Posts: 1556


WWW
« Reply #3 on: October 23, 2009, 10:43:50 AM »

ok the skinnable backend is such a new stuff - but i'm looking for some real good tutorials for a tutorials project to support and enlarge the help project...

i've this patch will get in the 2.8.1 - could you write a little tutorial (not in the forum - a real tut)?

i will write you again - for now it's just to have it in minds... wink

regards martin
Logged

 
crnogorac081
AddOn Development
*
Offline Offline

Posts: 1706



« Reply #4 on: October 23, 2009, 10:57:38 AM »

Do you mean about this panel in frontend ?
Logged

Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
mr-fan

Offline Offline

Posts: 1556


WWW
« Reply #5 on: October 23, 2009, 11:28:31 AM »

yes....it's very nice use of the patch.... cool
« Last Edit: October 23, 2009, 11:33:33 AM by mr-fan » Logged

 
maverik

Offline Offline

Posts: 1568



WWW
« Reply #6 on: October 23, 2009, 11:29:09 AM »

very nice, much better than my small copy and paste solution  smiley

can you share, post the code of the panel?

sorry for my bad english
Logged

Signatur wird geladen...
Stefek
WebsiteBaker Org e.V.

Online Online

Posts: 4884



« Reply #7 on: October 23, 2009, 11:32:15 AM »

Wow Ivan,
looks really cool!!!

I am glad to see that the work I did on the patch was not a 'wasted time project' and some designers can see the advantages it offers wink

Kind regards,
Stefek

« Last Edit: October 23, 2009, 11:53:43 AM by Stefek » Logged

"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
crnogorac081
AddOn Development
*
Offline Offline

Posts: 1706



« Reply #8 on: October 23, 2009, 11:34:56 AM »

Guys,

I will post it as soon as I get home Smiley Also I want to try some design adjustments Smiley

cheers
Logged

Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
LordDarkman
Development Team
*****
Offline Offline

Posts: 343


WWW
« Reply #9 on: October 23, 2009, 05:55:38 PM »

Ok first I klicke daround a little bit, than I logged me in unter massages. Than I went do /admin/, logged out and again in... Now my mind:
First of all I like the Theme for login. Only the margin doesn't fit in IE. FF everything is allright. Same is with the Top bar. At IE I have to scroll to the right to see everything. After I klicked on Login at FF I can't see the Forgotten your details? Link. This works in IE.
The solution with Changing details is more than perfekt. Only thing I would like to ask: Is it possible to change the view? Maybe it's possible to disply a Special section, menu site or something there... I have users witch are just able to edit special sites and this way they can have a "quicklink". Changing settings is not nesesary every time.

That's it for the moment.

CU Moritz

And again: GREAT WORK!!!
Logged
crnogorac081
AddOn Development
*
Offline Offline

Posts: 1706



« Reply #10 on: October 23, 2009, 06:54:41 PM »

I am playing a bit with the styling, all should fit just fine when I finish.

Well, my idea was to set preferences page here, but you can put in this panel whatever you like Smiley

What do you mean by changing a view ? do you have some other idea ?

cheers
Logged

Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
crnogorac081
AddOn Development
*
Offline Offline

Posts: 1706



« Reply #11 on: October 23, 2009, 08:29:10 PM »

Now a bit more styled.. Working fine in FF 3.5 IE 8 and Chrome, tested myself Smiley

By the way, dont think that it brakes design. I manualy put down the language menu on my site, because this panel was overlaping it and I couldnt change language Smiley

Is there anything you want to add/change before I post the code ?

by the way, is there a simple way to change background color for combo box ?

cheers
« Last Edit: October 23, 2009, 08:33:23 PM by crnogorac081 » Logged

Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
LordDarkman
Development Team
*****
Offline Offline

Posts: 343


WWW
« Reply #12 on: October 24, 2009, 12:04:00 AM »

Is still the Same. I made a screenshot maybe it helps. Look at the scrollbar at the bottom.

What I was thinking aout is this: I have a user who's taking care about the news. So when he logged in, display the news section there.
Or Display pn if you use this Modul or even be able to set up a shortcut list. In my case I offten use Addon file editor, from the admin panel, so I would like to place a shortcut there.
But this all depense on the user logged in. I know it's strange but display diffrent things depend on logged in / not logged in and wich user would be gread.

CU Moritz
Logged
crnogorac081
AddOn Development
*
Offline Offline

Posts: 1706



« Reply #13 on: October 24, 2009, 01:26:28 AM »

Just dont tell me that you are using IE6 Smiley



Well, basicly you can put anything in the panel, and user doesnt have to be loged in Smiley, but you will have just one panel - the one where is log in and sign up..

But you can use one panel to login or sign up, and when he is loged in, there is another panel with 3 fields to put what you need..

I am not a coder, so I cant code this just to check modules in backend ang get this in frontend, but you can manualy add whatever you want there...(I put preferences page, but you can place some droplets- or even transform anynews snippet into droplet and put it there..)

I will try tomorrow to put another section block in the panel to be displayed when you are loged in, and see if it works Smiley just my crazy ideas Smiley

all best
I.
Logged

Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
crnogorac081
AddOn Development
*
Offline Offline

Posts: 1706



« Reply #14 on: October 24, 2009, 01:31:59 AM »

and little off topic:

If I have two blocks: Left and right, (left is main, right is side bar) which target (like _blank for new window) or whatever I must define that when I click on link in right block, new content opens in it, and not in main (left) block ? or if I click on link in Left block to open page in right and reverse..?

cheers
Logged

Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
crnogorac081
AddOn Development
*
Offline Offline

Posts: 1706



« Reply #15 on: October 26, 2009, 03:17:29 PM »

and little off topic:

If I have two blocks: Left and right, (left is main, right is side bar) which target (like _blank for new window) or whatever I must define that when I click on link in right block, new content opens in it, and not in main (left) block ? or if I click on link in Left block to open page in right and reverse..?

cheers

Does anyone have any hint for this ?

cheers
Logged

Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
Stefek
WebsiteBaker Org e.V.

Online Online

Posts: 4884



« Reply #16 on: November 19, 2009, 06:21:12 PM »

Guys,

I will post it as soon as I get home Smiley Also I want to try some design adjustments Smiley

cheers

Hello Ivan,
you didn't post your trick till now, right?

Could you explain how you did include all the boxes in top?

Kind Regards,
Stefek
Logged

"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
crnogorac081
AddOn Development
*
Offline Offline

Posts: 1706



« Reply #17 on: November 19, 2009, 11:26:23 PM »

Guys,

I will post it as soon as I get home Smiley Also I want to try some design adjustments Smiley

cheers

Hello Ivan,
you didn't post your trick till now, right?

Could you explain how you did include all the boxes in top?

Kind Regards,
Stefek

Oupsss , totaly forgot Sad sorry

Ok here it is:

Ih index.php of the temlate add following code into head

Code:
<link href="<?php echo TEMPLATE_DIR?>/account-htt/css/slide.css" rel="stylesheet" type="text/css" media="screen" />

AND ALSO

<script src="<?php echo TEMPLATE_DIR?>/account-htt/js/slide.js" type="text/javascript"></script>




Now, just below <body> tag I added this code:

Code:

<!-- Panel -->
<div id="toppanel">
    <div id="panel">
        <div class="content clearfix">
       
        <?php
        
if(FRONTEND_LOGIN AND !$wb->is_authenticated()) {
        
?>

                <div class="left">
                <h1>Welcome to this Web-site</h1>
                <h2>This is great site..</h2>        
                <p class="grey">Next step is to drop text from from global block!</p>
                <h2>This is Header</h2>
                <p class="grey">this is raw design.. but its working :)</p>
            </div>
           
               <div class="left">
            <?php
                
include (WB_PATH '/account/login_form.php');
            
?>

            </div>

            <div class="left right">
             <?php
                
include (WB_PATH '/account/signup_form.php');
            
?>

               </div>
     
        <?php
        
} elseif (FRONTEND_LOGIN AND $wb->is_authenticated()) {
        
        include (
WB_PATH '/account/preferences_form.php');

        
?>


        <?php
        
}
        
?>



        </div>
    </div> <!-- /login -->    

    <!-- The tab on top -->    
    <div class="tab">
        <ul class="login">
            <li class="left">&nbsp;</li>
            <li>
                <?php
                
echo $TEXT['WELCOME_BACK'].'&nbsp;';
                if(
$wb->is_authenticated()) {
                echo 
$wb->get_display_name().' | <a href="'.LOGOUT_URL.'">'.$MENU['LOGOUT'].'</a> ';
                } else{
                echo 
'Guest';
                }
                
?>

           
            </li>
            <li class="sep">|</li>
            <li id="toggle">
                <?php
                
if($wb->is_authenticated()) {
                echo 
'<a id="open" class="open" href="#">'.$MENU['PREFERENCES'].'</a>';
                } else{
                echo 
'<a id="open" class="open" href="#">Log In | Register</a>';
                }
                
?>

                <a id="close" style="display: none;" class="close" href="#">Close Panel</a>            
            </li>
            <li class="right">&nbsp;</li>
        </ul>
    </div> <!-- / top -->
   
</div> <!--panel -->

And add this account-htt (attached) into your template dir.


that should do the trick Smiley

cheers
Logged

Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
Stefek
WebsiteBaker Org e.V.

Online Online

Posts: 4884



« Reply #18 on: November 20, 2009, 03:51:37 AM »

Cool Ivan!

Thank you for sharing.

Works excelent.

Kind regards,
Stefek
Logged

"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
crnogorac081
AddOn Development
*
Offline Offline

Posts: 1706



« Reply #19 on: November 20, 2009, 12:39:12 PM »

Im glad Smiley this panel could be used for anything.. example: news or events for registered users Smiley or something like that..

cheers
Logged

Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
Stefek
WebsiteBaker Org e.V.

Online Online

Posts: 4884



« Reply #20 on: November 20, 2009, 01:44:36 PM »

Hello Ivan,
yes thats right.
A kind of sitemap/page-hotlinks or a search input field is a good idea too wink

I was just interested how you did include the external files, and this way:
Quote from: Ivan
Code:
<?php
                
include (WB_PATH '/account/login_form.php');
            
?>

            </div>

            <div class="left right">
             <?php
                
include (WB_PATH '/account/signup_form.php');
            
?>

               </div>
... brings some new ways of usage of my patch into mind.

For example using a code section I can make a page, where the user has both: the opportunity to login or to register on one page.

 smiley

Kind regards,
Stefek
Logged

"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
crnogorac081
AddOn Development
*
Offline Offline

Posts: 1706



« Reply #21 on: November 20, 2009, 02:44:05 PM »

Yea, you can use it for anything Smiley You just need a good idea Smiley
Logged

Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
Argos
Moderator
**
Offline Offline

Posts: 2161


WWW
« Reply #22 on: November 30, 2009, 12:48:31 PM »

I like the sliding thingy, but maybe you can use a jquery version to keep WB as much jquery-oriented as possible?

I tried to login in with test/demo123, but the only thing I see is a Website Under Construction page...
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
crnogorac081
AddOn Development
*
Offline Offline

Posts: 1706



« Reply #23 on: November 30, 2009, 03:49:32 PM »

Yep, I knew what was the issue the moment I read your post Smiley

If you go to backend: http://ivan.milicevic.me/admin , you will see that somebody changed prefered language from english to Poland (I just put it back to english so that demo can work again..)

The problem is that site goes under construction when user logs in , if he choose preferred language which is different than each page's language..

I wrote about that here: http://www.websitebaker2.org/forum/index.php/topic,15731.msg102177.html#msg102177

You can now try the demo, and also test this "bug" , and change language some other, and see that site goes under construction.. but then please go to backend and put language back to english so that other people can see the demo too Smiley

cheers
Logged

Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
Stefek
WebsiteBaker Org e.V.

Online Online

Posts: 4884



« Reply #24 on: November 30, 2009, 04:06:03 PM »

Hello Ivan,
one of the positive features of the Customizable Frontend Account Template is the fact that you can remove input fields you don't want your logged in visitors to change.
For example you can remove or hide the "language" input field / select box and they wan't be able to change it.

wink
Regards,
Stefek
Logged

"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
Pages: [1] 2   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!