CUSTOMIZATION FRONTEND LOGIN & MORE

Post custom hacks and enhancements for phpwcms here only. Maybe some of these things will be included in official release later.
kurtyy
Posts: 23
Joined: Mon 8. Mar 2004, 15:37

blog

Post by kurtyy »

hey...

the blog isn't my stuff, it's an other hack i just wan't to try, so just drop this stuff ;-)
it doesn't work on my cms too.

i don't publish my file dir, thats why the folders 1..10 , thumbs an so on are not provided !

IT's no install version !!!!!!

r.
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Re: NEW cust_act_download.php

Post by frold »

kurtyy wrote:okay the new file is available under:
http://kurtyy.dyn.dns.org/cmsdev/cust_a ... php.tar.gz

please replace the cust_act_download.php provided in inculde/inc_act - directory

r.
where to find this?
http://www.studmed.dk Portal for doctors and medical students in Denmark
kurtyy
Posts: 23
Joined: Mon 8. Mar 2004, 15:37

Re: NEW cust_act_download.php

Post by kurtyy »

frold wrote:
kurtyy wrote:okay the new file is available under:
http://kurtyy.dyn.dns.org/cmsdev/cust_a ... php.tar.gz

please replace the cust_act_download.php provided in inculde/inc_act - directory

r.
where to find this?
http://kurtyy.dyndns.org/cmsdev/cust_ac ... php.tar.gz
Jan212
Posts: 859
Joined: Wed 28. Jan 2004, 21:38
Location: Solingen
Contact:

Post by Jan212 »

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_ac ... 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
Last edited by Jan212 on Sun 14. Mar 2004, 22:21, edited 8 times in total.
Regards/ Grüsse/ Groetjes - JAN212
------------------------------------------------
null212 - Büro für Kommunikation und Design
------------------------------------------------
Lyrikfetzen des Tages
1. Ist der Quelltext auch valide fragt Herr Müller ganz perfide.
2. Wat is dat een lekker ding.
3. Wer Vision hat soll zum Arzt gehen.
------------------------------------------------
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

http://www.studmed.dk Portal for doctors and medical students in Denmark
Jan212
Posts: 859
Joined: Wed 28. Jan 2004, 21:38
Location: Solingen
Contact:

Post by Jan212 »

thanks frold - it's my saturday night blindness :oops:
Regards/ Grüsse/ Groetjes - JAN212
------------------------------------------------
null212 - Büro für Kommunikation und Design
------------------------------------------------
Lyrikfetzen des Tages
1. Ist der Quelltext auch valide fragt Herr Müller ganz perfide.
2. Wat is dat een lekker ding.
3. Wer Vision hat soll zum Arzt gehen.
------------------------------------------------
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

Jan212 wrote:thanks frold - it's my saturday night blindness :oops:
the night is young!! :wink:
http://www.studmed.dk Portal for doctors and medical students in Denmark
Jan212
Posts: 859
Joined: Wed 28. Jan 2004, 21:38
Location: Solingen
Contact:

Post by Jan212 »

that's right - but i am allready stoned*... :lol: :shock: :cry: :wink: (*of course from my legally tobacco - i think it's because one of the 2400 additives and sitting 24hours on my computer)
Regards/ Grüsse/ Groetjes - JAN212
------------------------------------------------
null212 - Büro für Kommunikation und Design
------------------------------------------------
Lyrikfetzen des Tages
1. Ist der Quelltext auch valide fragt Herr Müller ganz perfide.
2. Wat is dat een lekker ding.
3. Wer Vision hat soll zum Arzt gehen.
------------------------------------------------
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

Jan212 wrote:...and sitting 24hours on my computer)
Now I know why... try to jump off your computer.. why sitting on it? :D
http://www.studmed.dk Portal for doctors and medical students in Denmark
Jan212
Posts: 859
Joined: Wed 28. Jan 2004, 21:38
Location: Solingen
Contact:

Post by Jan212 »

now i am going to jump off it... good night everybody.
Regards/ Grüsse/ Groetjes - JAN212
------------------------------------------------
null212 - Büro für Kommunikation und Design
------------------------------------------------
Lyrikfetzen des Tages
1. Ist der Quelltext auch valide fragt Herr Müller ganz perfide.
2. Wat is dat een lekker ding.
3. Wer Vision hat soll zum Arzt gehen.
------------------------------------------------
ionrock
Posts: 279
Joined: Fri 20. Feb 2004, 17:04

Post by ionrock »

Hey all,
I was out of town and will post Jan's tutorial and the file on my site tomorrow. It looks like great stuff.

Also, if anyone is having problems with the blog hack please let me know. I don't know if I will make any updates to it for a while but I know there are some things I need to add to clear up some issues.

I missed spending too much time on these forums ;)
StefanR
Posts: 78
Joined: Thu 12. Feb 2004, 16:11
Location: Rostock

Post by StefanR »

Das ist ja alles sehr toll, was der Kurtyy und sein Kollege da gemacht haben, aber mich interessiert einfach mal, wass passiert wenn Oliver G. ein neues Update rausbringt, ob das denn alles überschrieben wird oder ob da was abgesprochen wurde.
Jan212
Posts: 859
Joined: Wed 28. Jan 2004, 21:38
Location: Solingen
Contact:

Post by Jan212 »

Kein Problem, die Entwicklung läuft, das richtet sich ja momentan hier an Leute die ambitioniert die Weiterentwicklung verfolgen, und die wissen auch bescheid was sich ändert. Der Olli weiß auch bescheid, wir werden da schon 'ne gute Lösung finden. (wahrscheinlich wird das ein oder andere von kurtyys works eh schon im nächsten patch mit dabei sein.)
Regards/ Grüsse/ Groetjes - JAN212
------------------------------------------------
null212 - Büro für Kommunikation und Design
------------------------------------------------
Lyrikfetzen des Tages
1. Ist der Quelltext auch valide fragt Herr Müller ganz perfide.
2. Wat is dat een lekker ding.
3. Wer Vision hat soll zum Arzt gehen.
------------------------------------------------
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

YAY: internet back up: my isp has been down and i was sad :cry:

now I have installed as best as i know how, all the kurty/ionrock mods but either can't get the [login][/login] etc.. to work or just don't understand what to do.

I was using [LOGIN]login here[/LOGIN] as i would any other repTag - i this correct? I dont get anything show up in the article :(

should i MOVE the contents of the new INC dir to anywhere ? or leave in the phpwcmsRoot/inc forlder ?

{SITEMAP} works, thanks ;)
---------------------------------------------------------------------------
Blog works BUT my htmlarea throw errors messagebox's now...

1: [JavaScript Application] ERROR [createSelect]: can't find the requested dropdown definition.

2: [JavaScript Application] FIXME: unknown toolbar item: insertimagebd

3: [JavaScript Application] ERROR [createSelect]: can't find the requested dropdown definition.

4: [JavaScript Application] FIXME: unknown toolbar item: grepsite


any ideas?

ps. all the inc_moduls/modBlog contents should be MOVED to thier coresponding dir's
kurtyy
Posts: 23
Joined: Mon 8. Mar 2004, 15:37

...

Post by kurtyy »

HEy...

pleas try the following stuff:

[NOLOGIN]

{LOGIN}

[/NOLOGIN]

[LOGIN]

logged in as: {FRONTUSERNAME}

useremail: {FRONTUSEREMAIL}

{FRONTLOGOFF}

[/LOGIN]

{SITEMAP}


-------------------------------


[NOLOGIN][/NOLOGIN]
-->only visble to users not logged in to frontend
{LOGIN}
--> show the Login Form








the htmlarena problem look's to me like, not all customized files are in use !!!!

make sure to use the new:
./include/inc_lib/htmlarea.editor.inc.php

also the new files in htmlarena/popup folder & the htmlarea.js are needed too !!!

r. kurtyy
Post Reply