I am using version 1.2.5-DEV and needed a Frontend login for phpwcms. However, I have done it.
For me, a person normally doing hard programming in C++, it was a very hard job, because I normally avoid scripting languages like the devil avoids holy ground, but I needed it ... and voila. I will upload this on one of my pages
http://www.3d-middleware.de
or
http://www.3d-middleware.com
or
http://www.grolo.de
... i think it will be middleware.de, but I'm not sure.
both are in German, but I will specify the link here as soon as I have uploaded the package (have to do some cleanup work before), so those of you who don't speak German don't have to mess around with translation.
The handling is simple. You simply have to replace the submitted php-files and add some new ones into your root path. After that you will have to modify conf.inc.php and add two additional lines:
// This is where the login sattelite script returns after login/logout. I tried $REQUEST_URI, worked on my test server at home, but not at my webspace ... maybe someone can fix this.
$phpwcms['FR_LOGIN_RETURN_TO'] =
'http://www.3d-middleware.com/index.php';
// This is the URL (full or relative to root path) which shows the message 'for registered users only'.
$phpwcms['FR_LOGIN_RESTRICTED_PHP'] = 'frontend_login_restricted.php';
The login-box can be inserted anywhere within the page with the replacement tag {FRONTEND_LOGIN}.
If you will get some strange debug output (think I removed all ... but I'n not sure) let me know about ... I will remove it.
One thing left to say:
I red some very bad criticism about phpwcms. Of course it does not have many modules, and the lack of a frontend login really suxx, but it's simplicity is worth using it.
I don't like all these colorful cms-systems, with thousands of funny colored images in the backend ... It's what I call overfeatured ....
phpwcms is my first choice, because of the simplicity and the ease of use. It's rather quick and I can produce content as soon as it's installed. I really does not deserve this hard kind of criticism.
Another ting to say:
If you use frontend login and find it useful .... take some time to promote my project on 3d-middleware.com and my ambitions on gigadef.de. If you like 3d computer games you probably want to have quality games for a fair price. This is what these projects are about.
Frontend login - for 1.2.5-DEV
aaaarg ... ok, howto added .... and bug fixed
frontend only users did not work .... it's fixed.
Another fix ....
Well, I was too fast uploading it
The current version avoids frontend users to login into backend when calling phpwcms.php directly ..... this is of course very critical, so I included it into the new package.
The current version avoids frontend users to login into backend when calling phpwcms.php directly ..... this is of course very critical, so I included it into the new package.
Hi grolo
Where can I download the latest Version that you describe in your post So Feb 12, 2006 16:57
I try the version from http://www.3d-middleware.de/index.php?download. This Version has also the issue "direct call phpwcms.php"
But looks cool
Thanks, Sven
Where can I download the latest Version that you describe in your post So Feb 12, 2006 16:57
I try the version from http://www.3d-middleware.de/index.php?download. This Version has also the issue "direct call phpwcms.php"
But looks cool






Thanks, Sven
Frontend login
Ok, i simply replaced the newest version with the old one ... or o make it short: I don't have a very good version management.ssyfrig wrote:Hi grolo
Where can I download the latest Version that you describe in your post So Feb 12, 2006 16:57
I try the version from http://www.3d-middleware.de/index.php?download. This Version has also the issue "direct call phpwcms.php"
But looks cool![]()
![]()
![]()
![]()
![]()
![]()
Thanks, Sven
Ok, the new version also has the replacement tag {ARTICLE_LIST} to show a list of articles ... a hack and not very customizable, but it works for my purpose and you can do enhancement hacks.
see 3d-middleware.com for an example (not very rich in it's contents and a lot of mistypes - those who speak German will note is very quickly - but a good start off hopefully ... and yes, I'm looking for 3d Programmaers to participate ... sorry for the adertisement, but It's my baby).