| Author |
Message |
GlueBeard |
|
Post subject: [[[ QUESTION ]]] Hard-coding the Log-In in the theme.php fil
Posted: Sep 14, 2004 - 05:51 PM
|
|
Pirate Critic
Joined: Aug 18, 2004
Posts: 344
Location: The Isle of GlueBeard
Status: Offline
|
|
How would I hard code the log-in items into the theme.php file?
Specifically, the name, password, and remember me options. |
|
|
| |
|
|
|
 |
mars |
|
Post subject:
Posted: Sep 14, 2004 - 10:49 PM
|
|
Site Admin

Joined: Aug 15, 2004
Posts: 3972
Status: Offline
|
|
Do you mean always have the fields showing?
Or something else?
I really wish you would move over to AutoTheme...
All the things you are having issues with are easily solved with AT. |
|
|
| |
|
|
|
 |
GlueBeard |
|
Post subject:
Posted: Sep 16, 2004 - 02:47 AM
|
|
Pirate Critic
Joined: Aug 18, 2004
Posts: 344
Location: The Isle of GlueBeard
Status: Offline
|
|
|
mars wrote:
Do you mean always have the fields showing?
Or something else?
I really wish you would move over to AutoTheme...
All the things you are having issues with are easily solved with AT.
I tell you what, Mars, I'll try the AutoThemes module, though I don't have any intention of buying it.
The question, though, is what does the pay version allow me to do that the free version doesn't? |
|
|
| |
|
|
|
 |
mars |
|
Post subject:
Posted: Sep 16, 2004 - 02:53 AM
|
|
Site Admin

Joined: Aug 15, 2004
Posts: 3972
Status: Offline
|
|
A few added things, color chooser, online editing of html etc.
I bought the full version to show support of the author since I use it so much, but you will be just fine with the free lite version. |
|
|
| |
|
|
|
 |
GlueBeard |
|
Post subject:
Posted: Sep 16, 2004 - 02:59 AM
|
|
Pirate Critic
Joined: Aug 18, 2004
Posts: 344
Location: The Isle of GlueBeard
Status: Offline
|
|
| If I may suggest, add a link to auto themes in your web links section. |
|
|
| |
|
|
|
 |
mars |
|
Post subject:
Posted: Sep 16, 2004 - 03:58 AM
|
|
Site Admin

Joined: Aug 15, 2004
Posts: 3972
Status: Offline
|
|
DOH!
Good idea... lol
It is http://spidean.mckenzies.net for anyone who doesn't know.
It is also listed at the top of the downloads page here as well. |
|
|
| |
|
|
|
 |
GlueBeard |
|
Post subject:
Posted: Sep 16, 2004 - 12:26 PM
|
|
Pirate Critic
Joined: Aug 18, 2004
Posts: 344
Location: The Isle of GlueBeard
Status: Offline
|
|
I registered at the site, but unlike most sites, it seems to take its sweet time in sending me a password.
So, I can't presently download from there. |
|
|
| |
|
|
|
 |
mars |
|
Post subject:
Posted: Sep 16, 2004 - 10:24 PM
|
|
Site Admin

Joined: Aug 15, 2004
Posts: 3972
Status: Offline
|
|
| Yeah Shawn has been having some issues with the registration over there. |
|
|
| |
|
|
|
 |
GlueBeard |
|
Post subject:
Posted: Sep 17, 2004 - 03:58 AM
|
|
Pirate Critic
Joined: Aug 18, 2004
Posts: 344
Location: The Isle of GlueBeard
Status: Offline
|
|
I am exceedingly unimpressed with his website.
I will try again later to obtain the file from somewhere else. Ray, I believe, provide dme with another location to obtained the desired file. |
|
|
| |
|
|
|
 |
GlueBeard |
|
Post subject:
Posted: Sep 27, 2004 - 08:15 AM
|
|
Pirate Critic
Joined: Aug 18, 2004
Posts: 344
Location: The Isle of GlueBeard
Status: Offline
|
|
Here is the answer to my question above, about how to hard code the log-in into the theme.php file:
<?php
if(!pnUserLoggedIn()){
?>
<div style="text-align:center;">
<form action="http://www.portalthemes.com/user.phtml" method="post"><div> Username
<input type="text" name="uname" size="14" maxlength="25" /> Password
<input type="password" name="pass" size="14" maxlength="20" />
<input type="checkbox" value="1" name="rememberme" /> Remember me
<input type="hidden" name="module" value="NS-User" />
<input type="hidden" name="op" value="login" />
<input type="hidden" name="url" value="http://www.portalthemes.com/index.phtml" />
<input type="submit" value="Login" />
</div>
</form>
<?php
}
?>
|
|
|
| |
|
|
|
 |
mars |
|
Post subject:
Posted: Sep 27, 2004 - 02:14 PM
|
|
Site Admin

Joined: Aug 15, 2004
Posts: 3972
Status: Offline
|
|
Nice find.
I'm sure it will come in handy for some other people. |
|
|
| |
|
|
|
 |
GlueBeard |
|
Post subject:
Posted: Sep 27, 2004 - 04:08 PM
|
|
Pirate Critic
Joined: Aug 18, 2004
Posts: 344
Location: The Isle of GlueBeard
Status: Offline
|
|
| HammerHead and InvalidResponse over at PostNuke.com provided me the answer. |
|
|
| |
|
|
|
 |
AlarConcepts |
|
Post subject:
Posted: Oct 02, 2004 - 05:08 PM
|
|
Joined: Sep 21, 2004
Posts: 3
Location: New York
Status: Offline
|
|
|
GlueBeard wrote:
I tell you what, Mars, I'll try the AutoThemes module, though I don't have any intention of buying it.
The question, though, is what does the pay version allow me to do that the free version doesn't?
For one thing, it offers an opportunity to support an excellent and dedicated effort. I'd say the best part of the commerial AT over the Lite version is that it offers more admin powers. Nonetheless, the Lite version is probably sufficient for most users.
The best part of AT (overall) is that it allows one to fully reconfigure every aspect of their theme, including the entire structure, in a matter of minutes. IMHO, after overcoming the learning curve of AutoTheme, one won't be wondering how they ever lived without it...they'll simply be wondering why they did.
Just my .02,
John |
|
|
| |
|
|
|
 |
|
|