[Discontinued] Company Enhancements MOD

Post custom hacks and enhancements for phpwcms here only. Maybe some of these things will be included in official release later.
Post Reply
Jérôme
Posts: 481
Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:

Post by Jérôme »

No cigarettes, but with the sleep, your are right. That's wai mai inglisch is leiding be-under it, too ;).

It's just: when I am excited to do something, I can never stop, and I wanted to do it. And so I did. But I must admit, I had a break from 7 pm to 10pm yesterday when I went to a formal event with the wife of my boss ;). Well...Blubb.
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

Jérôme wrote:I went to a formal event with the wife of my boss ;). Well...Blubb.
Does the boss know that?.... I don´t hope he is in the forum too :D *lol*
http://www.studmed.dk Portal for doctors and medical students in Denmark
Jérôme
Posts: 481
Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:

Post by Jérôme »

*lol* We first wanted to make a threesome, but he missed the plane from Berlin ;). It was really just a formal reunition, because we have made an internet café for young people for charity and it has been the "grand opening". Well. :) Not too interesting, isn't it?

And first and foremost: it is off topic!! :lol:
Don't take me too serious!
User avatar
Fulvio Romanin
Posts: 394
Joined: Thu 4. Dec 2003, 11:12
Location: Udine, Italy
Contact:

Post by Fulvio Romanin »

oh

so the v1.0 has no shopping basket? :)

(wink wink nudge nudge) :)
Completeness is reached through subtraction, not through addition
Jérôme
Posts: 481
Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:

Post by Jérôme »

*sigh* No.
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

I must say Im very impressed by the work you have made... I look forward to the comming releases :D if there will be some ;-)
http://www.studmed.dk Portal for doctors and medical students in Denmark
Jérôme
Posts: 481
Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:

Post by Jérôme »

Sure, frold, I think there will always be some funtionality to add and improvements to make, isn't it?

But I will do it a bit slower until now, it was quite exhausting the last weeks... ;)

@Fulvio: The shopping basket is one huge thing, I don't think I will be able to do it too quickly.
User avatar
Fulvio Romanin
Posts: 394
Joined: Thu 4. Dec 2003, 11:12
Location: Udine, Italy
Contact:

Post by Fulvio Romanin »

too quickly....uhm

so you say it won't be ready for tomorrow? :)




jokes apart, there are some neat shopping pre-made scripts - what about integrating them into your script?

here's a nice reccomendation engine you might consider integrating...

http://www.zend.com/codex.php?id=650&single=1
Completeness is reached through subtraction, not through addition
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

I got this error when installing: the ul list mod is installed... Standart lang is da
Warning: main(./include/inc_module/inc_lang/backend/da/lang.inc.php): failed to open stream: No such file or directory in W:\www\allergia\phpwcms.php on line 32

Fatal error: main(): Failed opening required './include/inc_module/inc_lang/backend/da/lang.inc.php' (include_path='.;/usr/local/PHP/includes;/usr/local/PHP/pear') in W:\www\allergia\phpwcms.php on line 32

Update I renamed en - > da

But when I click on "Company enhancements" nothings happens the url change to http://localhost/allergia/phpwcms.php?do=modules&p=1 but nothning happens
http://www.studmed.dk Portal for doctors and medical students in Denmark
Jérôme
Posts: 481
Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:

Post by Jérôme »

It was my fault, I am sorry.

I will update the installation instructions asap.

Please perform the following:

Code: Select all

#
#-----[ OPEN ]------------------------------------------
#

phpwcms.php


#
#-----[ FIND ]------------------------------------------
#

require_once ('./include/inc_module/inc_lang/backend/'.$_SESSION["wcs_user_lang"].'/lang.inc.php');


#
#-----[ AFTER, ADD ]------------------------------------------
# 
require_once ('./include/inc_module/mod_company/inc_lang/backend/'.$_SESSION["wcs_user_lang"].'/lang.inc.php');
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

then I get this worning_

Code: Select all

Warning: main(./include/inc_module/mod_company/inc_lang/backend/da/lang.inc.php): failed to open stream: No such file or directory in W:\www\allergia\phpwcms.php on line 32

Fatal error: main(): Failed opening required './include/inc_module/mod_company/inc_lang/backend/da/lang.inc.php' (include_path='.;/usr/local/PHP/includes;/usr/local/PHP/pear') in W:\www\allergia\phpwcms.php on line 32
http://www.studmed.dk Portal for doctors and medical students in Denmark
Jérôme
Posts: 481
Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:

Post by Jérôme »

Oh frold, it has really been to late yesterday for me. I should not do sth like this any more. I will correct it and repost it.

I am very, very sorry. :oops: :cry:
Jérôme
Posts: 481
Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:

Post by Jérôme »

Okay. The change in the following compared to the original (and wrong) version is, that it is not AFTER, ADD but REPLACE WITH. See?

phpwcms.php

Code: Select all

#
#-----[ FIND ]------------------------------------------
#

		case "modules":	//Modules -> later
						echo 'in preparation - will follow later';
						break;


#
#-----[ REPLACE WITH ]------------------------------------------
#

		case "modules":	//Modules
	   					switch ($p) {
							case 1: // Company MOD
									include_once "./include/inc_module/mod_company/main.inc.php";
									break;
									
							default: echo '';
									 break;
						}
						break;
If you change your language to "da", the folder

./include/inc_module/mod_company/inc_lang/backend/da/

must be available.
Jérôme
Posts: 481
Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:

Post by Jérôme »

frold wrote:then I get this worning_

Code: Select all

Warning: main(./include/inc_module/mod_company/inc_lang/backend/da/lang.inc.php): failed to open stream: No such file or directory in W:\www\allergia\phpwcms.php on line 32

Fatal error: main(): Failed opening required './include/inc_module/mod_company/inc_lang/backend/da/lang.inc.php' (include_path='.;/usr/local/PHP/includes;/usr/local/PHP/pear') in W:\www\allergia\phpwcms.php on line 32
Please do not only rename the folder, but first copy and then rename it.

In the next release, I will provide all languages within the package.
Jérôme
Posts: 481
Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:

Post by Jérôme »

Company MOD 1.0.1 released

This is a bugfix release that has alle other languages included (but not translated), so that no parse errors will occur (thanks frold for the hint).

The installation instructions were partly incorrect, too and should now be corrected.
Post Reply