Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 27, 2012, 05:02:46 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Interested in joining the WebsiteBaker team?
For more Information read
here
or on our
new website
.
155555
Posts in
21715
Topics by
7737
Members
Latest Member:
gx-world
WebsiteBaker Community Forum
English
Modules
(Moderator:
Argos
)
Feedback Module
Pages:
1
2
[
3
]
4
Go Down
Author
Topic: Feedback Module (Read 18426 times)
oeh
Offline
Posts: 190
Re: Feedback Module
«
Reply #50 on:
February 14, 2010, 04:30:41 PM »
Quote from: Ralf (Berlin) on February 14, 2010, 07:08:37 AM
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
I've added allot of HTML entities to the class.parser.php
Inn all, it is 578 lines.
Al so I've attached a file with just the HTML entities tabe
for use with other parser files.
Give me a howl, if there are any errors wit the new file
Se attached files.
«
Last Edit: March 08, 2010, 01:51:17 AM by oeh
»
Logged
Good bye ;-{(
oeh ;-}>
ereemst
Offline
Posts: 16
Re: Feedback Module
«
Reply #51 on:
March 05, 2010, 07:37:32 PM »
Hi, i have smal question..
i use the Portfolio module to show restaurants in the area of Egmond (http:www.egmondonline.nl choose - eten en uitgaan..
And i want to use the feedback module to give the visitors the chance to give there feedback/review about the restaurant of shop
but because the portfolio module gets its info from a details page if you click on restaurant and not in the portfilio catalog witch i have a extra section made for feedback it shows al the feedbacks in every restaurant the same.. i was wandering do you have a solution for it...
what i really want is the same as the topic module has.. but i am nog php expert....
gr. Erik
Logged
Ralf (Berlin)
Offline
Posts: 1314
Re: Feedback Module
«
Reply #52 on:
March 06, 2010, 05:00:22 AM »
Hello Erik,
there is no solution for this problem. The Feedback Module is bounded to the id of page, where it is shown and it doesnt care frome where the contents will come.
Regards
Ralf
Logged
Ralf (Berlin)
Offline
Posts: 1314
Re: Feedback Module
«
Reply #53 on:
April 03, 2010, 03:26:41 AM »
Because of a security vulnerability it is highly recommend to upgrade to Feedback Module, Release 0.30!
Download:
Feeback Module
.
Regards
Ralf
Logged
rimbimbi
Offline
Posts: 29
Re: Feedback Module
«
Reply #54 on:
April 05, 2010, 10:39:43 AM »
Hallo,
ich hatte im Januar eine ziemlich kritische Sicherheitslücke im Formular Modul (war warscheinlich die die du behoben hast?) gemeldet, aber keinerlei Feedback erhalten. Ich wußte nicht einmal ob ein Ticket erstellt wurde.
Hatte auch einen konkreten Lösungsvorschlag mitgeschickt.
Warum wurde es dann erst jetzt gefixt?
Grüße,
Michael
Logged
Urlaub Tegernsee
kweitzel
Forum administrator
Offline
Posts: 6977
Re: Feedback Module
«
Reply #55 on:
April 05, 2010, 11:04:24 AM »
@Michael:
1) hier geht es um das Feedback Modul und nicht das Formularmodul ...
2) Wenn es sich um ein WebsiteBaker Kernmodul (mit ausgeliefert) handelt, kannst Du auch selber sicherstellen, daß ein Ticket geschrieben wird:
http://project.websitebaker2.org/newticket
... solange Du da alle Daten (inkl. E-Mail Adresse) eingibst, wird das auch bearbeitet werden. Alle Tickets kannst Du hier einsehen:
http://project.websitebaker2.org/report/7
Gruß
Klaus
Logged
WebsiteBaker Org e.V. - for WebsiteBaker
rimbimbi
Offline
Posts: 29
Re: Feedback Module
«
Reply #56 on:
April 05, 2010, 03:32:02 PM »
Ups... wer lesen kann ist klar im Vorteil
sorry...
Hatte die Sicherheitslücke hier gemeldet:
http://www.websitebaker2.org/en/community/security-issues/report-a-security-incident.php
Werde ich dann wohl nochmal machen müssen...
Logged
Urlaub Tegernsee
Waldschwein
Guest
Re: Feedback Module
«
Reply #57 on:
April 05, 2010, 03:56:55 PM »
Hallo!
Entschuldigung, dass ich hier dazwischen funke:
Das Formular ist eingetroffen vor einiger Zeit und wird auch momentan vom Dev-Team bearbeitet. Ich bin nicht der Meinung, dass man sicherheitsrelevant
e Sachen in trac breittreten sollte, das fördert nicht gerade das Vertrauen in die Software.
Leider haben die Formulare momentan keine "Rückmeldung" (weil ursprünglich nicht vorgesehen), aber das erfordert erstmal etwas Absprache.
Ich bin der Meinung: Bugs gehören in trac, Sicherheitsprobleme nicht. Aber ich bin kein Dev, ich habe nur die Formulare kopiert...
Gruß Michael
Logged
erpe
Offline
Posts: 2077
Re: Feedback Module
«
Reply #58 on:
April 06, 2010, 08:30:34 AM »
Isn't this the english part of the forum?
Maybe a mod can move the post to the german thread.
rgds
erpe
Logged
stories about
be part of the Tutorials-Project
visit the jQuery-Showroom
maya
Offline
Posts: 38
ä problem
«
Reply #59 on:
April 14, 2010, 09:00:48 AM »
hi
I like this model and I want to use it in my hebrew language site, but it replace some chars with non hebrew chars.
(ä ö etc.) I tried to change the class.parser but it its not working for me.
can I get some help?
Thanks
Logged
Ralf (Berlin)
Offline
Posts: 1314
Re: Feedback Module
«
Reply #60 on:
April 14, 2010, 02:17:17 PM »
Quote from: maya on April 14, 2010, 09:00:48 AM
I like this model and I want to use it in my hebrew language site, but it replace some chars with non hebrew chars.
(ä ö etc.) I tried to change the class.parser but it its not working for me.
At the moment the only chance is to mask the chars like in the parser.class.php. There is no better solution available because the parser does not really supports utf8.
Sorry,
Regards
Ralf
Logged
maya
Offline
Posts: 38
Re: Feedback Module
«
Reply #61 on:
April 15, 2010, 07:15:47 AM »
Hi Ralph
thank. do you know were I can find the right chars so i can find the chars in hebrew to try to fix it it?
Logged
Ralf (Berlin)
Offline
Posts: 1314
Re: Feedback Module
«
Reply #62 on:
April 15, 2010, 08:00:41 AM »
Please have a look here:
Hebrew Characters
.
Regards
Ralf
Logged
adysnake
Offline
Posts: 2
Re: Feedback Module
«
Reply #63 on:
June 24, 2010, 12:15:13 PM »
Hi there, tnx for this modul is great.
I have same questions
1. How to stay always displayed these fields:
2. In to mail sent to admin for approval may be include URL pages were added feedback?
«
Last Edit: June 24, 2010, 12:21:27 PM by adysnake
»
Logged
Ralf (Berlin)
Offline
Posts: 1314
Re: Feedback Module
«
Reply #64 on:
June 25, 2010, 03:59:08 AM »
Hi,
both is not possible with the actual version, Sorry.
Regards
Ralf
Logged
adysnake
Offline
Posts: 2
Re: Feedback Module
«
Reply #65 on:
June 25, 2010, 09:29:11 AM »
tnx for reply ... i waiting update
Logged
Ralf (Berlin)
Offline
Posts: 1314
Re: Feedback Module
«
Reply #66 on:
September 07, 2010, 02:44:01 AM »
I've just released Feedback Module 0.31, this version solve two problems:
date/time formatting in NL.php
replacement of deprecated functions in class.parser.php
Download Feedback Module
.
Regards
Ralf
Logged
Hans
Offline
Posts: 565
Re: Feedback Module
«
Reply #67 on:
September 13, 2010, 04:28:50 PM »
Hello Ralf
there is a strange output in the comments. Is it possible to show only the date and time and not the text in the box (attachment) and, of course, how?
WB 2.8.1.
Thanks!
Hans
Logged
Hans - Nijmegen - The Netherlands
Ralf (Berlin)
Offline
Posts: 1314
Re: Feedback Module
«
Reply #68 on:
September 20, 2010, 06:17:16 AM »
Hello Hans,
sorry, I had some free days...
Please edit the language file i.e. NL.php and look for
Code:
define('fb_frontend_comment_header', '<a href="mailto:%s">%s</a> schreef op %s:');
define('fb_feedback_datetime',
'd-m-Y \o\m H:i');
you may change to:
Code:
define('fb_frontend_comment_header', '%3$s:');
define('fb_feedback_datetime',
'd-m-Y \o\m H:i');
to show
only
the date/time.
Please look at
PHP Manual - sprintf()
to understand, how to format the strings.
Regards
Ralf
Logged
snark
Guest
Re: Feedback Module
«
Reply #69 on:
September 20, 2010, 06:49:58 AM »
Why not just modify the languagefile of the guestbookmodule and use that as feedbackmodule?
With the guestbookmodule you have much more functions
Logged
Hans
Offline
Posts: 565
Re: Feedback Module
«
Reply #70 on:
September 20, 2010, 07:26:51 AM »
@Ralf,
thanks for helping. I changed the code and everything works fine now
@snoork, I'll give that a try, thanks.
Hans
«
Last Edit: September 20, 2010, 07:40:14 AM by Hans
»
Logged
Hans - Nijmegen - The Netherlands
D72
Offline
Posts: 253
Re: Feedback Module
«
Reply #71 on:
September 22, 2010, 12:49:13 PM »
I am trying to use the Feedback module as well.
I made some test entries and i noticed that the feedback comments are visible too in the main blog page.
Can i customize the module so the feedback comments arel only visible when people are reading the long story?
My main blog is:
Code:
www.website.com/blog.php
The feedback comments should be only visible at:
Code:
www.website.com/posts/the-long-story-of-an-article.php
Is this possible?
Logged
lt635
Offline
Posts: 36
Re: Feedback Module
«
Reply #72 on:
September 27, 2010, 09:39:49 PM »
Hi,
Thank you for a great module. I am trying out the feedback module on one of my websites that we are just about to go live with.
I am having some problems removing/changing some of the text in the language file. PHP is not one of my strengths so I am hoping somebody can assist me here.
Line 131 approx (using Dreamweaver):
Original text:
Quote
define('fb_frontend_intro', 'Please tell us and all visitors of <strong>%s</strong> <a href="%s">your opinion about this article</a>.');
This is what I have at the moment:
Quote
define('fb_frontend_intro', '
%s
<br /><a href="%s">Click here to give us your feedback</a>.');
How can I remove the
%s
in red above without breaking the link? I only want the text to say 'Click here to give us your feedback'.
I appreciate any help with this.
Thanks
Regards
Lene
Logged
dbs
WebsiteBaker Org e.V.
Offline
Posts: 3719
Re: Feedback Module
«
Reply #73 on:
September 27, 2010, 09:55:38 PM »
hi, try this:
Code:
define('fb_frontend_intro', '<!-- Please tell us and all visitors of <strong>%s</strong> --><a href="%s">Click here to give us your feedback</a>.');
Logged
Ralf (Berlin)
Offline
Posts: 1314
Re: Feedback Module
«
Reply #74 on:
September 28, 2010, 05:05:13 AM »
Quote from: lt635 on September 27, 2010, 09:39:49 PM
Quote
define('fb_frontend_intro', '
%s
<br /><a href="%s">Click here to give us your feedback</a>.');
How can I remove the
%s
in red above without breaking the link? I only want the text to say 'Click here to give us your feedback'.
You can tell the Feedback Module to use only the second argument in this way:
Code:
define('fb_frontend_intro','Click <a href="%$2s">here</a> to give us your feedback');
For understanding the
sprintf()
function and the usage of the arguments please
look at the PHP manual
.
Regards
Ralf
Logged
Pages:
1
2
[
3
]
4
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...