Authentication screen

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
nkosztad
Posts: 27
Joined: Fri 29. Oct 2004, 13:28

Authentication screen

Post by nkosztad »

So, I'd like to make some authentication frame or content for my restricted content (portal.diaelec.hu). How can I make this? And the 2nd problem is a next:
1) after when I can make some authentication process I'd like to give that authentication value for another php script
2) portal.diaelec.hu/dev that is a temporally site but I'd like to give my authentication for this php/site
nkosztad
Posts: 27
Joined: Fri 29. Oct 2004, 13:28

Where are the files

Post by nkosztad »

So I found this post:

Code: Select all


Posted: Sat Mar 13, 2004 22:49    Post subject:    

--------------------------------------------------------------------------------
 
THE ADDON IS RELEASED BY KURTYY_RESPECT TO HIM 


SHORT TUTORIAL 

INSTALLATION 
Download the files at: 
http://www.mendt.de/cmsdev.tar.gz 
http://kurtyy.dyndns.org/cmsdev/cust_act_download.php.tar.gz 


1. Run the CMS Basic Setup. Setup the right values in cms/.htpassword and .htaccess 

1a) Don't patch up (now it's on 15.02.2004) - kurtyy will patch it as soon as possible. 

2. Run the following SQL Code: 
a) To create frontend user 
------------------------------------------------ 
CREATE TABLE `phpwcms_front_users` ( 
`user_id` tinyint(4) NOT NULL auto_increment, 
`creation_date` timestamp(14) NOT NULL, 
`user_name` varchar(100) NOT NULL default '', 
`user_pass` varchar(255) NOT NULL default '', 
`user_full_name` varchar(255) NOT NULL default '', 
`user_email` varchar(255) NOT NULL default '', 
`user_active` char(1) NOT NULL default 'Y', 
`user_admin` char(1) NOT NULL default 'N', 
PRIMARY KEY (`user_id`) 
) TYPE=MyISAM; 
------------------------------------------------ 

b) Create the Blog Addons Table 
------------------------------------------------ 
CREATE TABLE `phpwcms_blog` ( 
`blog_id` int(11) NOT NULL auto_increment, 
`blog_author` varchar(255) NOT NULL default '', 
`blog_date` datetime NOT NULL default '0000-00-00 00:00:00', 
`blog_uid` int(11) NOT NULL default '0', 
`blog_title` varchar(255) NOT NULL default '', 
`blog_summary` blob NOT NULL, 
`blog_aktiv` int(1) NOT NULL default '0', 
`blog_public` int(1) NOT NULL default '0', 
PRIMARY KEY (`blog_id`), 
KEY `date` (`blog_date`) 
) TYPE=MyISAM 
------------------------------------------------ 
WARNING - remember to include your "db_prepend" eg: cms_table_phpwcms_front_users !!! 

3. That's it. 



FEATURES 

You can use the following Replacement Tags. 

1. {LOGIN} - showw the Login Form (Login for Frontend Users). 
2. {SITEMAP} - creates a menu based sitemap in a pop up window. 
3. {FRONTUSEREMAIL} - shows the email of the frontend user. 
4. {FRONTUSERNAME} - shows the whole name of the frontend user. 
5. {FRONTLOGOFF} - generates a logoff button for the frontend user. 

With this Tags you can define the Content status. 

6. [LOGIN] only visible for logged in users [/LOGIN] 
7. [NOLOGIN] only visible for logged out users [/NOLOGIN] 
8. [ADMINLOGIN] only visible for logged in admins [/ADMINLOGIN] 


ADMINAREA 

1. You can setup the Frontend Users 
2. Htmlarena comes with two new features 
-include dyn-functions (date...) --> if u need more, tell me 
-add pictures from database, just using an comfortable select list 
(pictures need to be set public AND active in the file area !!!!) 

And another nice thing: 

Now you can include PHP in articles like this: 
<? echo date("D.M.Y") ; ?> 

 Questions
_________________
Regards/ Grüsse/ Groetjes - JAN212 
------------------------------------------------ 
New Project: 
HARIS PILTON 
------------------------------------------------

Last edited by Jan212 on Sun Mar 14, 2004 22:21; edited 8 times in total 
but I can't download the necessary files!
This file is not found!

Code: Select all

tp://kurtyy.dyndns.org/cmsdev/cust_act_download.php.tar.gz
Does anybody have this file? Or where can I download it?
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

Hi

maybe you find something there

--...--/
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
nkosztad
Posts: 27
Joined: Fri 29. Oct 2004, 13:28

Post by nkosztad »

OK I found something but that new solution doesn't work!
nkosztad
Posts: 27
Joined: Fri 29. Oct 2004, 13:28

Post by nkosztad »

I found the cust_act_download.php file but if I want to use it, so it gives me this error message:

Warning: Failed opening '' for inclusion (include_path='.:/usr/share/php') in /srv/www/phpwcms/include/inc_front/front.func.inc.php on line 1309

What's that?
Post Reply