Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
September 06, 2010, 09:02:08 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
.
121686
Posts in
17370
Topics by
9217
Members
Latest Member:
darkforceheals
WebsiteBaker Community Forum
English
Modules
(Moderators:
Argos
,
BerndJM
)
Feedback Module
Pages:
1
[
2
]
3
Author
Topic: Feedback Module (Read 10590 times)
Galynet
Offline
Posts: 7
Re: Feedback Module
«
Reply #25 on:
July 01, 2009, 07:20:14 PM »
Hi,
I will send you the package to Spanish translation,
best regards
Logged
Ralf (Berlin)
Offline
Posts: 922
Don't panic...
Re: Feedback Module
«
Reply #26 on:
July 01, 2009, 07:41:22 PM »
Thank you for the translation!
Best regards
Ralf
Logged
phpManufaktur
- Professionelles Webworking für Sie und Ihre Kunden
Xing
-
Facebook
-
Twitter
-
WebsiteBaker Usergroup Berlin
ssotos
Offline
Posts: 1
Re: Feedback Module
«
Reply #27 on:
August 19, 2009, 07:54:35 AM »
I 'm sorry
I didn't see any captcha, how do I enable it?
Logged
Hans
Offline
Posts: 507
Re: Feedback Module
«
Reply #28 on:
September 03, 2009, 05:43:27 PM »
Hi Ralph (or anyone else able to help)
I'm using this great module on a WB 2.8.0 installation. Everything works fine except the captcha.
Is it possible to turn this on somewhere?
Thanks!
Hans
Logged
Hans - Nijmegen - The Netherlands
sangallo
Offline
Posts: 27
Re: Feedback Module
«
Reply #29 on:
September 08, 2009, 07:25:38 PM »
Same problem here ...
How to enable the cptcha function in wb 2.8?
Ich suche mir einen Wolff und versteh nicht, wie und wo ich das Captcha integrieren oder aktivieren soll :-))
Herzlichen Dank,
sangallo
Logged
Ralf (Berlin)
Offline
Posts: 922
Don't panic...
Re: Feedback Module
«
Reply #30 on:
September 09, 2009, 08:07:45 AM »
Hmmm, the feedback module was originally written in PHP 4.1 for WB 2.6 and got a special routine to enable captcha in WB 2.7.
But now it seem to be neccessary to rewrite the whole code and shift it to PHP 5.2 and WB 2.8 ...
Please spend me some time and I will spend you a new feedback module...
ok - please be patient, a new version will come.
Regards
Ralf
Logged
phpManufaktur
- Professionelles Webworking für Sie und Ihre Kunden
Xing
-
Facebook
-
Twitter
-
WebsiteBaker Usergroup Berlin
Hans
Offline
Posts: 507
Re: Feedback Module
«
Reply #31 on:
September 09, 2009, 10:31:02 PM »
Great! Thanks!
Hans
Logged
Hans - Nijmegen - The Netherlands
jim2mullered
Offline
Posts: 2
Re: Feedback Module
«
Reply #32 on:
October 22, 2009, 09:53:34 PM »
Hello Ralf,
Congrats on a great module. I have been trying it out on my first WB test site and all is working well. I have one question though and I am unable to work out how to do it so I was wondering if you could point me in the right direction please. On the feedback form on the front end of the website I was wondering if it is possible that when a registered user is logged into the frontend of the website that the Name and Email fields are automatically filled in on the form with his or her display name and email for example.
I am sure this should be possible but putting the PHP statements in the feedback form template to call the logged in users display name or email doesn't work.
I look forward to hear your suggestions and pointers.
Many thanks,
James
Logged
Ralf (Berlin)
Offline
Posts: 922
Don't panic...
Re: Feedback Module
«
Reply #33 on:
October 23, 2009, 07:33:42 AM »
Hello James,
Quote from: jim2mullered on October 22, 2009, 09:53:34 PM
direction please. On the feedback form on the front end of the website I was wondering if it is possible that when a registered user is logged into the frontend of the website that the Name and Email fields are automatically filled in on the form with his or her display name and email for example.
This functionally is implemented but buggy...
Please edit
/modules/feedback/class.feedback.php
(i.e. with
AFE
), goto line 1265 and replace:
Code:
// Der Name muss nur eingegeben werden, wenn der User nicht angemeldet ist
$parser->add('title_name', fb_title_name);
if (!isset($_REQUEST['fb_name'])) {
$wb->is_authenticated() ? $name = $wb->get_display_name() : $name = ''; }
else {
$name = stripslashes($_REQUEST['fb_name']); }
$parser->add('name', $name);
// Die E-Mail Adresse muss nur eingegeben werden, wenn der User nicht angemeldet ist
$parser->add('title_email', fb_title_email);
if (!isset($_REQUEST['fb_email'])) {
$wb->is_authenticated() ? $email = $wb->get_email() : $email = ''; }
else {
$email = $_REQUEST['fb_email']; }
$parser->add('email', $email);
with this code:
Code:
// Der Name muss nur eingegeben werden, wenn der User nicht angemeldet ist
$parser->add('title_name', fb_title_name);
$wb->is_authenticated() ? $name = $wb->get_display_name() : $name = '';
if (isset($_REQUEST['fb_name']) && !empty($_REQUEST['fb_name'])) {
$name = stripslashes($_REQUEST['fb_name']); }
$parser->add('name', $name);
// Die E-Mail Adresse muss nur eingegeben werden, wenn der User nicht angemeldet ist
$parser->add('title_email', fb_title_email);
$wb->is_authenticated() ? $email = $wb->get_email() : $email = '';
if (isset($_REQUEST['fb_email']) && !empty($_REQUEST['fb_email'])) {
$email = $_REQUEST['fb_email']; }
$parser->add('email', $email);
Regards
Ralf
Logged
phpManufaktur
- Professionelles Webworking für Sie und Ihre Kunden
Xing
-
Facebook
-
Twitter
-
WebsiteBaker Usergroup Berlin
jim2mullered
Offline
Posts: 2
Re: Feedback Module
«
Reply #34 on:
October 23, 2009, 08:36:09 PM »
Hello Ralf,
Thank you for prompt reply. Tried the code and it seems to have done the trick.
Thanks for your help with that.
I have been modifying the CSS and template files to fit into my website and it is getting there. I also added a little bit of code within the class.feedback.php to hide the comments link when a user is not logged in and display a sign up link instead. It still display's the posted comments to visitors who are not logged in which is exactly how I wanted the comments to work.
Added this around line 1109.
Replaced:
Code:
$parser->add('intro', sprintf(fb_frontend_intro, WEBSITE_TITLE, $_SERVER['PHP_SELF'].'?fb_action=feedback'.'#'.fb_anchor));
With this:
Code:
if ($_SESSION['USERNAME'] == NULL ) { ?>
<ul>
<li class="message">You need to be registered and logged in to submit comments. <a href="
<?php
echo
SIGNUP_URL
;
?>
">Sign Up?</a></li>
</ul>
<?php
}
else {
$parser
->
add
(
'intro'
,
sprintf
(
fb_frontend_intro
,
WEBSITE_TITLE
,
$_SERVER
[
'PHP_SELF'
].
'?fb_action=feedback'
.
'#'
.
fb_anchor
));
};
I am not a PHP coder so this is probably not the best way to do it but it works for me. Just thought I would share what I have done.
Keep up the good work Ralf.
Thanks,
James
Logged
GWC
Offline
Posts: 2
Re: Feedback Module
«
Reply #35 on:
December 27, 2009, 07:00:13 PM »
Hi Ralph,
great module, just what i needed.......but
Ive noticed a small problem, when i ask the module to send the comment to me (admin) for approval, it actually sends the approval link to the author of the comment and the 'comment approved link' to me.
i should think its an easy fix but i thought i would let you know.
that aside, great work!
Logged
PurpleEdge
Offline
Posts: 103
Re: Feedback Module
«
Reply #36 on:
January 11, 2010, 09:12:11 AM »
The supplied module doesn't handle apostrophies (single quotes) very well? It crashes the mysql update query. Your live version slashes the apostrophy which is marginally better. (eg Peter's - > Peter\'s)
I actually thought that website baker would have functions in the "framework" to automatically sanitize all input, but apparently not?
Logged
Artis
Offline
Posts: 1
Re: Feedback Module
«
Reply #37 on:
January 21, 2010, 01:08:38 PM »
Thanks, Great module. But I need encode module to utf8, how I do it?
Thanks.
Logged
javaguy78
Offline
Posts: 20
Re: Feedback Module
«
Reply #38 on:
February 02, 2010, 09:34:04 PM »
Quote from: PurpleEdge on January 11, 2010, 09:12:11 AM
The supplied module doesn't handle apostrophies (single quotes) very well? It crashes the mysql update query. Your live version slashes the apostrophy which is marginally better. (eg Peter's - > Peter\'s)
I actually thought that website baker would have functions in the "framework" to automatically sanitize all input, but apparently not?
I have made some changes to the module to sanitize single quote (apostrophes) in the following text fields:
Comment Name, Subject, Text and Admin's comment to a comment.
I also cleaned up the CSS a bit to make function with 2.8. My Changes are attached here and at my website at:
http://www.themaskedcrusader.com/media/dloadable/feedback.zip
Logged
TeddyBare
Offline
Posts: 2
Re: Feedback Module
«
Reply #39 on:
February 07, 2010, 04:54:32 PM »
Hi, I only started using WebsiteBaker yesterday, so apologies if I have missed something fundamental here, but I have 'installed' this module, but can't find any information in English about how to use it.
I am assuming that I have to add some content to each page I want feedback on perhaps, but it's really guess work.
Can anyone help me out please?
Thanks in advance
Logged
Ralf (Berlin)
Offline
Posts: 922
Don't panic...
Re: Feedback Module
«
Reply #40 on:
February 07, 2010, 05:40:35 PM »
Hello,
just add a new section of type "Feedback" to the page where you want use this module. You will see it's easy to use.
Regards
Ralf
Logged
phpManufaktur
- Professionelles Webworking für Sie und Ihre Kunden
Xing
-
Facebook
-
Twitter
-
WebsiteBaker Usergroup Berlin
TeddyBare
Offline
Posts: 2
Re: Feedback Module
«
Reply #41 on:
February 08, 2010, 02:30:17 PM »
Just that tiny bit of information was enough
Didn't know there were sections, but now I do.
Sorry, it was easy, once I knew what to look for.
Life would be so much easier if I just RTFM.
Thanks
Mike
Quote from: Ralf (Berlin) on February 07, 2010, 05:40:35 PM
Hello,
just add a new section of type "Feedback" to the page where you want use this module. You will see it's easy to use.
Regards
Ralf
Logged
WDStudio
Offline
Posts: 13
Professional Web Design Studio
Re: Feedback Module
«
Reply #42 on:
February 10, 2010, 11:07:18 PM »
Hi,
Great work this module only have a small problem here in Macedonia and the Cyrillic alphabet is a problem makes for some characters such as "Р" is replaced with the �€ and the like such as:
"п�€аво да се кандиди�€ам за декан и факултетот ќе избе�€еше по п�€и�€оден пат декан кој ве�€увам �€екто�€от ќе го потв�€ди"
I hope that someone is a detail from administrators and fast will help me.
Regards,
Martin
Logged
pieterb
Offline
Posts: 40
Re: Feedback Module
«
Reply #43 on:
February 13, 2010, 07:11:58 PM »
Hi everybody,
Where can I change the language? I would like to use a Dutch version.
I would also like to have the feedback form directly below my text in stead of switching to another page with the feedback form. How can I achieve this? Exactly like on
http://phpmanufaktur.de/cms/topics/feedback-modul.php
.
Thanks.
Logged
Ralf (Berlin)
Offline
Posts: 922
Don't panic...
Re: Feedback Module
«
Reply #44 on:
February 13, 2010, 10:02:47 PM »
Hello Martin,
Quote from: WDStudio on February 10, 2010, 11:07:18 PM
problem makes for some characters such as "Р" is replaced with the �€ and the like such as:
Hmm, ac hoc I have no solution for this problem. I will deliberate about this question.
Regards
Ralf
Logged
phpManufaktur
- Professionelles Webworking für Sie und Ihre Kunden
Xing
-
Facebook
-
Twitter
-
WebsiteBaker Usergroup Berlin
Ralf (Berlin)
Offline
Posts: 922
Don't panic...
Re: Feedback Module
«
Reply #45 on:
February 13, 2010, 10:06:09 PM »
Hi,
Quote from: pieterb on February 13, 2010, 07:11:58 PM
Where can I change the language? I would like to use a Dutch version.
I would also like to have the feedback form directly below my text in stead of switching to another
NL.php is "on board" just switch the language of your page/section to NL.
To have the feedback form at the foot of your page please add a section of type feedback module to it (please have a look at the WebsiteBaker manual).
Regards
Ralf
Logged
phpManufaktur
- Professionelles Webworking für Sie und Ihre Kunden
Xing
-
Facebook
-
Twitter
-
WebsiteBaker Usergroup Berlin
oeh
Offline
Posts: 158
German Pischer's, what's life without them?
Re: Feedback Module
«
Reply #46 on:
February 13, 2010, 11:02:35 PM »
Quote from: WDStudio on February 10, 2010, 11:07:18 PM
Hi,
Great work this module only have a small problem here in Macedonia and the Cyrillic alphabet is a problem makes for some characters such as "Р" is replaced with the �€ and the like such as:
"п�€аво да се кандиди�€ам за декан и факултетот ќе избе�€еше по п�€и�€оден пат декан кој ве�€увам �€екто�€от ќе го потв�€ди"
I hope that someone is a detail from administrators and fast will help me.
Regards,
Martin
Think you have to convert all the Macedonian Cyrillic letters in to HTML entities
in the language files. All language files have to be encoded in UTF-8.
Code:
Macedonian Cyrillic letters => HTML entities
А => А а => а
Б => Б б => б
В => В в => в
Г => Г г => г
Д => Д д => д
Ѓ => Ѓ ѓ => ѓ
Е => Е е => е
Ж => Ж ж => ж
З => З з => з
Ѕ => Ѕ ѕ => ѕ
И => И и => и
Ј => Ј ј => ј
К => К к => к
Л => Л л => л
Љ => Љ љ => љ
М => М м => м
Н => Н н => н
Њ => Њ њ => њ
О => О о => о
П => П п => п
Р => Р р => р
С => С с => с
Т => Т т => т
Ќ => Ќ ќ => ќ
У => У у => у
Ф => Ф ф => ф
Х => Х х => х
Ц => Ц ц => ц
Ч => Ч ч => ч
Џ => Џ џ => џ
Ш => Ш ш => ш
«
Last Edit: February 13, 2010, 11:06:26 PM by oeh
»
Logged
Regards
oeh ;-}>
Ralf (Berlin)
Offline
Posts: 922
Don't panic...
Re: Feedback Module
«
Reply #47 on:
February 14, 2010, 08:08:37 AM »
Quote from: oeh on February 13, 2010, 11:02:35 PM
Think you have to convert all the Macedonian Cyrillic letters in to HTML entities
in the language files. All language files have to be encoded in UTF-8.
thank you for this hint. So the solution should be to force the parser to encode/decode the cyrillic letters.
Please edit class.parser.php from /modules/feedback and complete the to functions:
Code:
function encodeSpecialChars(&$value) {
$value = ereg_replace("ä","ä",$value);
$value = ereg_replace("Ä","Ä",$value);
$value = ereg_replace("ö","ö",$value);
$value = ereg_replace("Ö","Ö",$value);
$value = ereg_replace("ü","ü",$value);
$value = ereg_replace("Ü","Ü",$value);
$value = ereg_replace("ß","ß",$value);
$value = ereg_replace("€","€",$value);
return $value;
}
function decodeSpecialChars(&$value) {
$value = ereg_replace("ä","ä",$value);
$value = ereg_replace("Ä","Ä",$value);
$value = ereg_replace("ö","ö",$value);
$value = ereg_replace("Ö","Ö",$value);
$value = ereg_replace("ü","ü",$value);
$value = ereg_replace("Ü","Ü",$value);
$value = ereg_replace("ß","ß",$value);
$value = ereg_replace("€","€",$value);
return $value;
}
in the same manner with the codes oeh has posted.
Regards
Ralf
Logged
phpManufaktur
- Professionelles Webworking für Sie und Ihre Kunden
Xing
-
Facebook
-
Twitter
-
WebsiteBaker Usergroup Berlin
pieterb
Offline
Posts: 40
Re: Feedback Module
«
Reply #48 on:
February 14, 2010, 11:09:15 AM »
Hi Ralph,
Quote
NL.php is "on board" just switch the language of your page/section to NL.
My page is setup to be Dutch, but it doesn't pick up the language.
Quote
To have the feedback form at the foot of your page please add a section of type feedback module to it (please have a look at the WebsiteBaker manual).
I know, it IS at the bottom of my page, but now it gives me the message "Bitte teilen Sie uns und allen Besuchern von Welkom bij COC Rotterdam Ihre Meinung zu diesem Artikel mit." and I have to click on the words "Ihre Meinung zu diesem Artikel" before I can type in my feedback. I would like to have the form in which you can type immediately on the page, not needing an extra click to reload the same page, but showing the feedback form. Please take a look at my hidden page
http://www.cocrotterdam.nl/pages/de-vereniging/blog-van-het-bestuur.php?lang=NL
and you will probably see what I mean.
Thanks for your help.
Logged
Ralf (Berlin)
Offline
Posts: 922
Don't panic...
Re: Feedback Module
«
Reply #49 on:
February 14, 2010, 11:53:50 AM »
Quote from: pieterb on February 14, 2010, 11:09:15 AM
Quote
NL.php is "on board" just switch the language of your page/section to NL.
My page is setup to be Dutch, but it doesn't pick up the language.
ok - it seem the feedback module doesn't recognize the language. Solution: please rename in /modules/feedback/languages/ the file DE.php to _DE.php and then rename NL.php to DE.php (quick & dirty...)
It ist not intended to show the feedback dialog directly, it always will be shown after clicking the link.
http://phpmanufaktur.de/cms/topics/feedback-modul.php
does not use the feedback module, it uses the the comment function of the topics module...
Regards
Ralf
Logged
phpManufaktur
- Professionelles Webworking für Sie und Ihre Kunden
Xing
-
Facebook
-
Twitter
-
WebsiteBaker Usergroup Berlin
Pages:
1
[
2
]
3
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> 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
=> 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)
-----------------------------
=> English
=> Deutsch
Loading...
-->