292501
Freetime
Re: Login form in header part
  • 2003/8/4 22:10

  • Freetime

  • Just popping in

  • Posts: 31

  • Since: 2003/7/30


yeah... got something...
http://wiki.xoops.org/wakka.php?wakka=SmartyVariables

<{$xoops_isuser}>
True if the visitor is a logged in user

<{$xoops_userid}>
User ID of the member

<{$xoops_uname}>
Uname for the member

That means....hmm
<{if $xoops_isuser == 0}> "do form..." <{/if}> 
Hello <{$xoops_userid}>!


Am I right?!?

Freetime



292502
Hober
Re: Login form in header part
  • 2003/8/4 21:48

  • Hober

  • Just popping in

  • Posts: 40

  • Since: 2003/6/13


Probably...there has to be some variable you can check to see if the user is logged in. You could try and find that and then just check that way.



292503
Freetime
Re: Login form in header part
  • 2003/8/4 21:45

  • Freetime

  • Just popping in

  • Posts: 31

  • Since: 2003/7/30


Yes... that's one way. Is there any other?



292504
Hober
Re: Login form in header part
  • 2003/8/4 21:40

  • Hober

  • Just popping in

  • Posts: 40

  • Since: 2003/6/13


that might work, but only if you don't plan on putting anything else in that block area, you don't want to wind up with a list of recent discussions in the forums filling up your whole header and making everything ugly.



292505
Freetime
Re: Login form in header part
  • 2003/8/4 21:37

  • Freetime

  • Just popping in

  • Posts: 31

  • Since: 2003/7/30


Quote:

Hober wrote:
use the blocks manager to put it in the middle


I'd like it in header.. not in the block part.
Or.. should I move one of block-areas inside header?





292506
Hober
Re: Login form in header part
  • 2003/8/4 21:32

  • Hober

  • Just popping in

  • Posts: 40

  • Since: 2003/6/13


use the blocks manager to put it in the middle



292507
Freetime
Login form in header part
  • 2003/8/4 21:30

  • Freetime

  • Just popping in

  • Posts: 31

  • Since: 2003/7/30


Hello.

How can I change locaction of "Login form" from block to header?

The login form:

<form action="<{$xoops_url}>/user.php" method="post"><{$block.lang_username}><input type="text" name="uname"  value="<{$block.unamevalue}>" /><{$block.lang_password}><input type="password" name="pass" /><input type="hidden" name="op" value="login" /><input type="submit" value="Login" /><brform>


I can put it to the theme but... I'd like to hide the form after login... just like in block. If user loged in - block is hiden. I'd like it works just like the same.

Sorry about my english.... :)

Freetime



292508
tom
Re: New Hosting Provider Wanted
  • 2003/8/4 20:51

  • tom

  • Friend of XOOPS

  • Posts: 1359

  • Since: 2002/9/21


Try one and one, it's a UK company also based in Germany as there main HQ, I have a dedicated server with them, never had any major problems with them, one little one though, I once found my site was down, I E-mailed them to find out the problem, it took less than 5 mins and it was back on line again, So any problem is resolved quickly.

An excellent company in my opinion that cares for it's customers.

One & One Hosting



292509
Jaypee
Re: New Hosting Provider Wanted
  • 2003/8/4 19:57

  • Jaypee

  • Just popping in

  • Posts: 19

  • Since: 2003/4/26


I use WhizHost (http://www.whizhost.com).

For $99/year, you get 3GB of space and 30GB/month traffic.
You can host up to 10 domains on the account.


Web Control Panel for All
Anonymous Name Server
Unlimited E-Mail Accounts
Unlimited E-Mail Redirects
Unlimited MySQL DB's
Proactive Spam Filtering
CGI-Bin, Perl, PHP 4, SSI
Shared SSL, GD Support
FrontPage 2000/2002 Ext
Password Protected Files
Customizable Error Page
Graphical Statistics, Logs
Streaming Media Support
WebMail, Autoresponders

(No, I don't work for them. I just cut and pasted the above from their site)

I've been using them for about 2 years now. The only drawback is that they don't offer smtp mail. So, you'll have to use your ISP's server for outbound mail or use sendmail/qmail or php mail function.



292510
patagon
Re: New Hosting Provider Wanted
  • 2003/8/4 19:39

  • patagon

  • Quite a regular

  • Posts: 235

  • Since: 2002/1/8 0


Ronhab:

I had similar problems a long time ago. I went with pair (pair.com) many years ago and I am satisfied. I think you can get much better prices in other hosts (though I havent been checking lately) and their support hasnt been very helpful at times (they do answer but sometimes the responses were not as helpful as I would have liked). However I hardly ever needed to contact support and their reliability (IMO) has been incredible. They also have (or had, havent checked lately) a limit on the number of mails a process can send, which caused me a lot of troubles when I setted up a mailing list (if sending a lot of mails is one of your needs you may want to check now the details of that).

my opinion is that there is no such thing as a perfect host, though for me and my needs, pair has been enough...

hope this helps.







Login

Who's Online

189 user(s) are online (164 user(s) are browsing Support Forums)


Members: 0


Guests: 189


more...

Donat-O-Meter

Stats
Goal: AU$15.00
Due Date: Jul 31
Gross Amount: AU$0.00
Net Balance: AU$0.00
Left to go: AU$15.00
Make donations with PayPal!

Latest GitHub Commits