[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.

[Discontinued] Company Enhancements MOD

Postby Jérôme » Tue Mar 23, 2004 15:44

I am sorry to tell you that I don't have the time to develop a new version of this MOD to make it compatible with the newest releases of phpwcms. DON'T install this MOD on your phpwcm. It will NOT work and probably harm your phpwcms installation.

Code: Select all
############################################################################################
## MOD Title: phpwcms Company Mod
## MOD Author: Jerome < spam@jerome-gamez.de > (Jerome Gamez) http://jerome-gamez.de/
## MOD Description: Adds company-related functionality to phpwcms
## MOD Version: 1.3.1
##
## Installation Level: Easy
## Installation Time: 5-10 Minutes
##
## Requirements:   - phpwcms V1.1-RC4
##
## Files To Edit:  phpwcms.php
##                 index.php
##                 include/inc_front/content.func.inc.php
##
###########################################################################################
## For Security Purposes, Please Check http://www.phpwcms.de/forum/viewtopic.php?p=7223
## for the latest version of this MOD. Downloading this MOD from other sites could cause
## malicious code to enter into your phpwcms-installation. As such, phpwcms will not
## offer support for MOD's not offered at: http://www.phpwcms.de/forum/
###########################################################################################
## Author Notes:
##
##     WARNING:     The deletion of entries is hard. That means, unlike the usual
##                  phpwcms behavior, the entries are completely deleted from the
##                  database and not just marked as "deleted".
##
##     If there are some hidden folders or files calles _MACOSX, .DSStore, etc.
##     neglect them or delete them. They are Mac OS X system files/folders that I
##     could not delete before.
##
###########################################################################################
## MOD History:
##
##   2004-06-01 - Version 1.3.1
##      * Checked and cleaned up the code for issues causing "Notice:" alerts in PHP/Apache
##
##   2004-06-01 - Version 1.3
##      * Checked for RC4 compatibility
##      * Improved the code a little
##
##   2004-04-20 - Version 1.2
##      * This MOD is not dependent on the <ul>/<li>-MOD anymore.
##      * Use of the WYSIWYG-editors for the releases (this is not yet possible for the
##        detail fields of a product)
##      * fixed some minor bugs
##
##   2004-04-20 - Version 1.1.2
##      * Fixed bugs with displaying product information like images, price lists, etc.
##
##   2004-04-13 - Version 1.1.1
##      * Fixed bug when adding a product
##
##   2004-04-07 - Version 1.1
##      * Added addtional product property 'description'
##      * Added option to add a picture to a product
##
##   2004-04-04 - Version 1.0.3
##      * Replaced the mb_strlen()-Function because most PHPs don't have the needed
##        library
##
##   2004-04-04 - Version 1.0.2
##      * Some mor small bugfixes
##
##   2004-04-04 - Version 1.0.1
##      * Fixed some evil bugs in the installation instructions
##      * Added all other languages to the backend language files to avoid errors
##
##   2004-04-02 - Version 1.0
##      * Adapted for phpwcms V1.1-RC2 2003-03-28
##      * Improved installation instructions
##      * Full german and english localization
##
##   2004-03-23 to 2004-04-02 - Version 0.1 - 0.6.1
##      * For phpwcms V1.1-RC2 2003-02-20
##
###########################################################################################
## Before Adding This MOD To Your phpwcms, You Should Back Up All Files Related To This MOD
###########################################################################################


Screenshots (Version 1.x):

Backend
Frontend

Downloads

Download Link disabled

ToDo
The following features will be included sooner or later
  • Products
    • Addition of a picture to one product
    • Prices: Tax information and inclusion for calculations
  • Configurable Categories in Admin area
  • Projects
  • References
  • Use of the WYSIWYG-editors to enter data (This will not be implemented yet, because it would require a "dirty hack" which I am not ready to do. One of the next release will enable a more flexible way of implementing the WYSIWYG-Editors. Until then, you can make use of frolds hack that you can find here.)

Wishlist
It is not possible to say whether or not features on the wishlist will be included into this MOD. Time will show.
  • Customizable fields for each object (e.g. weight, height, width, etc.) (ionrock)
  • Search engine (ionrock)
  • Shopping bag (frold)
  • Eventplanner (for courses, fairs, etc.) (pappnase)


Links to keep in mind

http://www.zend.com/codex.php?id=650&single=1
Last edited by Jérôme on Fri Nov 26, 2004 10:40, edited 50 times in total.
Jérôme
 
Posts: 481
Joined: Tue Mar 16, 2004 11:33
Location: Cologne, Germany

Postby feelX » Tue Mar 23, 2004 16:16

follow up ... i keep my eyes on it ... ;)
felix - proud member of los locos

"Never argue with an idiot. They drag you down to their level, then beat you with experience."
feelX
 
Posts: 76
Joined: Wed Feb 25, 2004 04:13
Location: 127.0.0.1

Postby Jérôme » Tue Mar 23, 2004 16:59

I have done some changes/improvements:

Version 0.1.1 (23.03.2004)
- Changed terms to english language
- Use of icons for the actions
- Screenshots actualized
Jérôme
 
Posts: 481
Joined: Tue Mar 16, 2004 11:33
Location: Cologne, Germany

Postby Jan212 » Tue Mar 23, 2004 17:02

interessting thing... :)
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.
------------------------------------------------
Jan212
 
Posts: 859
Joined: Wed Jan 28, 2004 22:38
Location: Solingen

Postby Fulvio Romanin » Tue Mar 23, 2004 17:07

i definitely look forward at your improvements. Keep me informed.
Completeness is reached through subtraction, not through addition
User avatar
Fulvio Romanin
 
Posts: 394
Joined: Thu Dec 04, 2003 12:12
Location: Udine, Italy

Postby pSouper » Tue Mar 23, 2004 17:41

I think I kind of like the idea but would like to see more about how it works/looks within phpwcms. is it a catalogue? is thier room for pictures? can we define the amout of columns and rows/items per page?
I know I sound picky but I would like to se all of the above very much :)

Off topic sorry:
@ fulvio, nice signature but of course taking that statement to extreems you would be saying that 'Nothing is complete' ;)
Last edited by pSouper on Tue Mar 23, 2004 17:45, edited 1 time in total.
User avatar
pSouper
 
Posts: 1553
Joined: Tue Nov 11, 2003 16:45
Location: London

Postby Jérôme » Tue Mar 23, 2004 17:44

There is a download available now.

Version 0.1.2 (23.03.2004)
- Changed the file names to english language
- Moved all files to one single folder "mod_company"
- Exported SQL-Structure
Jérôme
 
Posts: 481
Joined: Tue Mar 16, 2004 11:33
Location: Cologne, Germany

Postby frold » Tue Mar 23, 2004 19:26

It looks great so far....!! But It would be very nice if you could build in the admin of this mod into the phpwcms backend...eg. under Admin > Products - I haven´t tested it when I have that I will give you more feedback
http://www.studmed.dk Portal for doctors and medical students in Denmark
frold
 
Posts: 2151
Joined: Tue Nov 25, 2003 23:42

Postby Jérôme » Tue Mar 23, 2004 19:31

Thank you for your reply, frold. I don't know how to include it in admin until now, but I will have a look at it.

But then just the admin will be able to edit information although it's intended that every user can do this. So I will look after including it into the user interface.

I am just sceptical in changing the core code - each phpwcms-update would require to change the core-code again.

Do I see something wrong?
Jérôme
 
Posts: 481
Joined: Tue Mar 16, 2004 11:33
Location: Cologne, Germany

Postby frold » Tue Mar 23, 2004 19:40

Jérôme wrote:I am just sceptical in changing the core code - each phpwcms-update would require to change the core-code again.


Yes, until the plugin system is done and that will take a while....
http://www.studmed.dk Portal for doctors and medical students in Denmark
frold
 
Posts: 2151
Joined: Tue Nov 25, 2003 23:42

Postby Jérôme » Tue Mar 23, 2004 19:42

pSouper wrote:I think I kind of like the idea but would like to see more about how it works/looks within phpwcms. is it a catalogue? is thier room for pictures? can we define the amout of columns and rows/items per page?
I know I sound picky but I would like to se all of the above very much :)

Unfortunately I am really new to phpwcms and so I have no idea how to include this to the system.

On the other side... I think, when the functionality is there, it should not be too difficult to include it to phpwcms?
Jérôme
 
Posts: 481
Joined: Tue Mar 16, 2004 11:33
Location: Cologne, Germany

Postby pSouper » Tue Mar 23, 2004 20:21

Including it in to phpwcms is a snap: download IonRock's 'Blog' mod and see exactly how this has been implemented. Although I would not suggest you place it in the top menu as with the 'blog' mod the method is the same for placing it on the left menu within the ADMIN area.
User avatar
pSouper
 
Posts: 1553
Joined: Tue Nov 11, 2003 16:45
Location: London

Postby frold » Tue Mar 23, 2004 20:25

pSouper wrote: download IonRock's 'Blog' mod


Can be downloaded from here: http://ionrock.umemusic.com/index.php?id=5,8,0,0,1,0
http://www.studmed.dk Portal for doctors and medical students in Denmark
frold
 
Posts: 2151
Joined: Tue Nov 25, 2003 23:42

Postby Jérôme » Wed Mar 24, 2004 10:23

Info:

I am just trying to include all this into phpwcms itself. But it's quite difficult for me as I am not such a hardcore programme. *sigh* :oops:

In the same time, I am including installation instructions as it is done with phpBB-MODs, as described in "MOD Template - Tutorial" and "MOD Template".

I think this is very good to ease the installation of a MOD (as I would call it here, too).
Jérôme
 
Posts: 481
Joined: Tue Mar 16, 2004 11:33
Location: Cologne, Germany

Postby Jérôme » Wed Mar 24, 2004 16:43

Well, things have been done:

- I included the whole thing into phpwcms. I first tried to do it exactly the same way Oliver has done it (by using and/or modifying his functions), but I simply did not get it. So I did it like I did it :)

- Localization is now possible. I've done it in german, I will include english translation in the next release.

- I have not yet included the "prices"-section. This will follow in the next days.
Jérôme
 
Posts: 481
Joined: Tue Mar 16, 2004 11:33
Location: Cologne, Germany

Next

Return to hacks & enhancements

Who is online

Users browsing this forum: No registered users and 0 guests

cron