Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 27, 2012, 03:04:01 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter
hier
und auf unserer
neuen Webseite
.
155555
Posts in
21715
Topics by
7737
Members
Latest Member:
gx-world
WebsiteBaker Community Forum
English
Modules
(Moderator:
Argos
)
WB and PHP address Book
Pages: [
1
]
Go Down
Author
Topic: WB and PHP address Book (Read 3150 times)
vinny84
Offline
Posts: 5
WB and PHP address Book
«
on:
April 27, 2008, 05:59:39 AM »
http://sourceforge.net/project/screenshots.php?group_id=157964
hi there i am building A website for our community n i need a directory. address book.
i have found this simple address book n i was wondering if we could some how embed into the web baker so it could only be accessed by there members of the web site.
i really need some thing of this sort please help.
cheers and thanks in advance
Vinny
Logged
Innocence
Offline
Posts: 11
Re: WB and PHP address Book
«
Reply #1 on:
April 27, 2008, 09:06:00 PM »
Hi Vinny !
I suggest to use the Event Calendar module for websitebaker, and adapt it to your needs. Can be found in the addons section.
Paul.-
Logged
webfuzzy
Offline
Posts: 4
Re: WB and PHP address Book
«
Reply #2 on:
May 13, 2008, 11:05:29 PM »
Hi Vinny,
I can provide you my simple address book implementation.
It should be pretty much self-explanatory if you are familiar with the common wb backend concept:
Just install it and create a page.
You can create chapters to arrange your addresses.
Then fill out the address form and assign the information to a section.
There is an option page which lets you change the layout for display and there are language files for English and German.
I provide it "as is" without any support but with a little PHP knowhow you can easily modify or extend it yourself. e.g. adding more fields if needed.
Hope this helps,
Hubert
Logged
BerndJM
Offline
Posts: 1764
Re: WB and PHP address Book
«
Reply #3 on:
May 13, 2008, 11:51:26 PM »
Hi Hubert,
sorry, your attched zip-file is not correct packed and cannot be installed.
You must zip only the content of the folder and not the whole folder with the content.
See the attached one for the difference.
Regards Bernd
Logged
In theory, there is no difference between theory and practice. But, in practice, there is.
erpe
Offline
Posts: 2077
Re: WB and PHP address Book
«
Reply #4 on:
May 14, 2008, 12:39:10 PM »
Hi Hubert,
I got the following error-messages (installation with the zip-file from BerndJM) in the frontend:
Code:
Notice: Undefined variable: dlsearch in /opt/lampp/htdocs/rptest/modtest/modules/addressbook/view.php on line 88
Notice: Undefined variable: prechapter in /opt/lampp/htdocs/rptest/modtest/modules/addressbook/view.php on line 147
Notice: Undefined variable: settings_chapterheader in /opt/lampp/htdocs/rptest/modtest/modules/addressbook/view.php on line 162
Notice: Undefined variable: settings_chapterfooter in /opt/lampp/htdocs/rptest/modtest/modules/addressbook/view.php on line 164
and these messages in the backend:
Code:
Notice: Undefined variable: settings in /opt/lampp/htdocs/rptest/modtest/modules/addressbook/modify.php on line 79
Notice: Undefined variable: settings in /opt/lampp/htdocs/rptest/modtest/modules/addressbook/modify.php on line 163
Any ideas to prevent them?
Regards
erpe
Logged
stories about
be part of the Tutorials-Project
visit the jQuery-Showroom
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7973
Re: WB and PHP address Book
«
Reply #5 on:
May 14, 2008, 01:19:30 PM »
Hello,
@erpe
these are only notices when you set in WB Options PHP Error messages to E_ALL. If you set it to E_NONE the notices disapper.
@webfuzzy
you should rework your code and fix these notices. For modul developper it is recommanded to use E_ALL. this way they can fix possible coding issues.
Matthias
Logged
erpe
Offline
Posts: 2077
Re: WB and PHP address Book
«
Reply #6 on:
May 14, 2008, 01:47:37 PM »
Thanks for information
Logged
stories about
be part of the Tutorials-Project
visit the jQuery-Showroom
webfuzzy
Offline
Posts: 4
Re: WB and PHP address Book
«
Reply #7 on:
May 14, 2008, 09:58:20 PM »
Hi all,
sorry for the botched zip file; apparently it was already too late last night.
@ruebenwurzel: unfortunately I cannot reproduce these notices in my local environment.
In exchange for the inconvenience I provide an improved version 0.8 with a birth date field.
Have fun,
Hubert
Logged
BerndJM
Offline
Posts: 1764
Re: WB and PHP address Book
«
Reply #8 on:
May 14, 2008, 10:12:09 PM »
Hi Hubert,
if you can't reproduce the notices even with errorlevel set to E_ALL I think you use a WB Version < 2.7
I would strongly recommend to upgrade at least your local test installation to Version 2.7
It makes (module developers) life much more easier
Regards Bernd
Logged
In theory, there is no difference between theory and practice. But, in practice, there is.
Bramus
Forum Team
Offline
Posts: 601
Re: WB and PHP address Book
«
Reply #9 on:
May 14, 2008, 10:21:03 PM »
Hi this module is not working here with WB 2.7, i installed it (succes fully) made a new page called Test made a chapter and 1 address but when i go check the page i cant see anything except the page title (called from the Template)
Logged
BRAMUS Internet Services
erpe
Offline
Posts: 2077
Re: WB and PHP address Book
«
Reply #10 on:
May 15, 2008, 10:44:08 AM »
Hi Bramus,
that is right, but the version from Bernd works with WB 2.7
regards
erpe
Logged
stories about
be part of the Tutorials-Project
visit the jQuery-Showroom
webfuzzy
Offline
Posts: 4
Re: WB and PHP address Book
«
Reply #11 on:
May 15, 2008, 09:50:49 PM »
Okay, guys!
Thanks to Bernd I spend some research with the different wb versions 2.6.7 and 2.7 and I could see and clean up the notices now. Also I found another little incompatibility which I hope I have resolved now.
@Bramus: I have no idea what your problem is. I could not reproduce that effect.
I am using windows XP, SP2 and tested with PHP 4.4.2 and PHP 5.1.2, Apache 2.0.55.
All my combinations work fine now.
Find fixed version attached. Again without further support
Regards, Hubert
«
Last Edit: May 15, 2008, 10:27:31 PM by webfuzzy
»
Logged
snark
Guest
Re: WB and PHP address Book
«
Reply #12 on:
November 04, 2009, 02:29:32 PM »
the value submitted with the radio buttons
man / woman / company
is not displayed in the addresslist,, any suggestions how this can be achieved
Logged
aldus
Offline
Posts: 1238
Re: WB and PHP address Book
«
Reply #13 on:
November 04, 2009, 02:54:25 PM »
Seems to me that it is simple forgotten in the view.php...
a) Add "anrede" to the select query in line 81.
b) Add "[ANREDE]" to the $var -array in line 169.
c) Add "$address['anrede']" to the array in line 171
d) Add "[ANREDE]" in the loop-address field of the settings where you want to display it.
That's it ...
Regards
Aldus
Logged
webfuzzy
Offline
Posts: 4
Re: WB and PHP address Book
«
Reply #14 on:
November 06, 2009, 01:10:45 PM »
Perfect Response.
Thanks, Aldus
Logged
Pages: [
1
]
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> WebsiteBaker Website Showcase
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
=====> Modules / Extensions
===> Suggestions
===> Software bugs
=> Help & Support
=> Modules
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
=> jQuery
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
=> Archive (posts up to 2007)
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
=====> Module / Extensions
===> Vorschläge
===> Softwarefehler
===> Erfahrungs und Testberichte
=> Hilfe/Support
=> Module & Snippets
=> Templates & Design
=> Tutorials
=> jQuery
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...