Header Log In Help
Post new topic   This topic is locked: you cannot edit posts or make replies.   Printer Friendly Page     Forum IndexThemes
Author Message
dadki
Heavy poster


Joined: Dec 17, 2007
Posts: 158

PostPost subject: Header Log In Help
Posted: Wed Dec 03, 2008 9:48 am
Reply with quote

hey

I started to make a Show/hide a nice Login Panel using Mootools 1.2 in the header which can be found at link :

web-kreation.com/index...otools-12/

I've paste path to css files and javascript form but I can not get to work as I want to show me here below:

After body tags :

Code:
<!-- Login -->
	<div id="login">
		<div class="loginContent">
			<form action="" method="post" enctype="multipart/form-data" accept-charset="utf-8>
				<label for="log"><b>Username: </b></label>
			<input type="text"  id="ulogin" class="field" name="ulogin" size="18" maxlength="25" />

				<label for="pwd"><b>Pass:</b></label>
				<input type="password" class="headerlogin" id="pwd" name="user_password" size="8" maxlength="15" />
				<input type="submit" value=""class="button_login" />
				<input type="hidden" name="index.php?name=Your_Account" value="login"/>
				
			</form>
			<div class="left">
            	<label for="rememberme"><input name="rememberme" id="rememberme" class="rememberme" type="checkbox" checked="checked" value="forever" /> Remember me</label></div>
			<div class="right">Not a member? <a href="#">Register</a> | <a href="#">Lost your password?</a></div>
		</div>
		<div class="loginClose"><a href="#" id="closeLogin">Close Panel</a></div>
	</div> <!-- /login -->

    <div id="container">
		<div id="top">
		<!-- login -->
			<ul class="login">
		    	<li class="left">&nbsp;</li>
		        <li>Hello Guest!</li>
				<li>|</li>
				<li><a id="toggleLogin" href="#">Log In</a></li>
			</ul> <!-- / login -->
		</div> <!-- / top -->


	</div><!-- / container -->

I can not get it to redirect to the page after the user is logged in as the same like general user info block do.


dadki's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
xp/2.0.1/5.0.45/4.4.7/9.2
Back to top
View user's profile
Dizfunkshunal
Platinum Supporter


Joined: Mar 23, 2006
Posts: 2079

PostPost subject: Re: Header Log In Help
Posted: Wed Dec 03, 2008 12:26 pm
Reply with quote

Try adding

Theme.php
Code:
$userinfo

in the theme header function.

Should looks something like this
Code:
function themeheader() {
	global $slogan, $sitename, $banners, $mainindex, $adminindex, $cpgtpl, $site_logo, $CPG_SESS, $userinfo;

_________________
Diz Web Design Status: Open (Use of resources requires registration.)

Dizfunkshunal's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Multiple Setups
Back to top
View user's profile Send e-mail Visit poster's website Yahoo Messenger
dadki
Heavy poster


Joined: Dec 17, 2007
Posts: 158

PostPost subject: Re: Header Log In Help
Posted: Wed Dec 03, 2008 3:14 pm
Reply with quote

Dizfunkshunal wrote:
Try adding

Theme.php
Code:
$userinfo

in the theme header function.

Should looks something like this
Code:
function themeheader() {
	global $slogan, $sitename, $banners, $mainindex, $adminindex, $cpgtpl, $site_logo, $CPG_SESS, $userinfo;


I paste it into header.php $userinfo but nothing happens, it should appear in the login info achieve user is logged in, because now is the same after logged in as outside


dadki's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
xp/2.0.1/5.0.45/4.4.7/9.2
Back to top
View user's profile
Dizfunkshunal
Platinum Supporter


Joined: Mar 23, 2006
Posts: 2079

PostPost subject: Re: Header Log In Help
Posted: Thu Dec 04, 2008 12:16 am
Reply with quote

Sorry I will not be assisting you any further. I cant stand unnecessary censorship of posts and threads. Some people need to get a life instead of sitting on the computer all day being power happy @#%$@#%@^ !
_________________
Diz Web Design Status: Open (Use of resources requires registration.)

Dizfunkshunal's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Multiple Setups
Back to top
View user's profile Send e-mail Visit poster's website Yahoo Messenger
Phoenix
Site Admin


Joined: Apr 19, 2004
Posts: 8729
Location: Netizen

PostPost subject: Re: Header Log In Help
Posted: Thu Dec 04, 2008 12:28 am
Reply with quote

Your post was inappropriate, did not reflect DF policy, and could be misleading to our users.

Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website
Dizfunkshunal
Platinum Supporter


Joined: Mar 23, 2006
Posts: 2079

PostPost subject: Re: Header Log In Help
Posted: Thu Dec 04, 2008 1:13 am
Reply with quote

@dadki: come to www.dfthemes.com for support on your problem. I do not care if you show DF credits or not. Give me about 15 minutes to create some forums.




@Phoenix: My post pacifically stated it was not DF policy. As well as it did not break any forum rules at all. Your opinion as to whether or not it was appropriate or inappropriate is irrelevant. As long as a post or thread does not break the rules of this forum, you should not be permitted to censor it. Censoring any post or thread that does not break forums rules is abuse of your admin position. You can ban me again if you want to. I do not care anymore. Bad moderators such as yourself are responsible for running everyone off to other CMS systems. Your killing the Dragonfly Community. Your a great developer, but someone like you should never be permitted to have a position of authority. This is my personal opinion. I know several other DF users that share this opinion.

_________________
Diz Web Design Status: Open (Use of resources requires registration.)

Dizfunkshunal's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Multiple Setups
Back to top
View user's profile Send e-mail Visit poster's website Yahoo Messenger
Phoenix
Site Admin


Joined: Apr 19, 2004
Posts: 8729
Location: Netizen

PostPost subject: Re: Header Log In Help
Posted: Thu Dec 04, 2008 1:29 am
Reply with quote

You're free to express to your opinion, just not free to mislead users.

For the record, you were previously (briefly) suspended for excessive abuse, nothing more, nothing less.

I also know several others who share your opinion, nothing new there Laughing if DF management wish me to move on, I'm fine with that too. I have never presumed to call myself a developer, far from it, but I would lay claim to being a good tweaker Smile

Credit strippers unite - away from here is great. Topic sealed since you're taking it elsewhere.


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.   Printer Friendly Page     Forum IndexThemes All times are GMT
Page 1 of 1


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

stopsoftwarepatents.eu petition banner
User Info [x]

Welcome Anonymous

Nickname
Password
(Register)

Last CVS commits [x]

Languages [x]

Community [x]

Support for DragonflyCMS in a other languages:

Deutsch
Español

X-links [x]
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

Preview theme [x]
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.


You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
This page generated in 1.0881 seconds with 16 DB Queries in 0.0477 seconds
Memory Usage: 2.92 MB
Interactive software released under GNU GPL, Code Credits, Privacy Policy