Community Add-Ons
FAQDesk
for osCommerce Online Merchant v2.2
FAQDesk is full faq system with many features and to the best of my ability osC code compliant.
For those that still have not found the solution to the above error.
The function which needs to be placed right before the end of the very last ?> in admin/includes/functions/general.php is in the zip file.
Download this file to fix the error.
There is a new support thread at http://forums.oscommerce.com/index.php?showtopic=265331. The older forum (posted by Steve 24 Jun 2004) not available.
Several errors in this code.
Prev versions were so awfully coded so I decided to make it again from a clear sheet. Here is it. Functions are close to prev version, but the code is much clearer and easier to modify.
same paquage as before only withe german language file translation
deutschen files teilweise übersetzt
to do:
the tep_array_reverse() function still is missing (FAQ can not be delated)
Changes:
Now with an real WYSIWYG Editor (HTMLarea)
Solved:
Problem with nl2br >> br2nl is solved the<br /> tag is on the correct places
to do:
the tep_array_reverse() function still is missing (FAQ can not be delated)
Changes:
Now with an real WYSIWYG Editor (HTMLarea)
to do:
the nl2br >> br2nl problem is still there
the tep_array_reverse() function still is missing (FAQ can not be delated)
with out the nl2br >> br2nl function, because it causes an wrong HTML code
Delating an FAQ makes ann error
Fatal error: Call to undefined function: tep_array_reverse() in /usr/www/users/md10341/test_shop/admin/includes/functions/faqdesk_general.php on line 206
the tep_array_reverse() function is missing
This is the same as the previous upload, except that the categories box fix is in this installation. Includes all install files, including updated install.txt.
I've updated the install instructions to include instructions to make changes to catalog/includes/languages/english.php so that the text variables are defined and therefore read by FAQDesk and displayed instead of the variable names.
This file contains full release of FAQDesk v1.01.1, with the corrected install instructions. Does not include list bug fix of 20 May 2005.
Configuration values for listing order (or existing in faq listing) are not available.
The bug is due with error in var names.
What to do:
in files
catalog/includes/modules/faqdesk/faqdesk_listing.php
catalog/includes/modules/faqdesk/faqdesk_show.php
rename:
FAQDESK_ANSWER_SHORT to FAQDESK_SHORT_ANSWER
FAQDESK_ANSWER_LONG to FAQDESK_LONG_ANSWER
replace all but 'case sensitive' and 'whole word only' !!!!!!
in file included this text only, not package
(not a full release, only the one file changed)
This is a quick Patch to the FaqDesk 1.01 release to fix the problem with no category items showing up in the categories box.
If you have not modified your files, you can simply replace the one file effected:
catalog/includes/boxes/faqdesk.php
Otherwise, there are only two changes:
1. At ~ line 136 add
$counter = 0;
at the top of the code in the init portion.
2. At ~ line 161 change the line
if (!isset($counter)) {
to
if (!$counter) {
EXPLANATION OF CHANGES:
What I figured out finally by studying the code is that $counter is used as an index into arrays; I had assumed that in PHP an uninitialized variable would have a value of zero in that use. However, it appears not and by forcing it to be initialized to zero the code then works.
Lane Roathe
Ideas From the Deep
www.ifd.com
minor changes in 2 files to view images
complete package
www.oscommerce-fr.info
FAQDesk 1.01.x WYSIWYG add-on for short and long answers in admin
With New Faq insert screen design..
Its quite easy to prepare full HTML style answers for your FAQs.
Screenshot is included.
26/09/2004
Expert
Installation
* !!!!! Backup your current /admin/faqdesk.php file (Just rename)
* copy faqdesk.php and htmlarea folder into /admin folder
Note: If you are already using MaxiDVD HTMLArea + Ultrapics contrib you dont need to copy htmlarea folder.
Finally:
* If you think this add-on works perfect you can remove "html_editor" folder under /admin/includes/modules/faqdesk/ (It is replaced by HTMLAREA text area edit feature.)
IUf you need assistance don't hesitate to contact me: snowbird@imeyil.com
This is the complete package.
This is based on the original Carsten contribution.
I have this working to a similar level to the NewsDesk contribution.
- added functionality to the WYSIWYG editor in admin.
- updated code and fixed a lot of bugs (I do mean a lot of bugs).
- fixed the I.E.6 crash issue.
- added support for more languages (upto 9 at the last count).
- added url naming.
I figured since there wasnt a support trhead for this very nice contribute I would start one!
here is the url for the thread for FAQ Desk Support
http://forums.oscommerce.com/index.php?showtopic=99318
Note: This includes the same files as the previous update...
Bad file name.
catalogincludesfunctionsfaqdesk_general-.php
Should be:
catalogincludesfunctionsfaqdesk_general.php NO(-) on the end of general
All I did was rename the file nothing else.
Total package
* Fully compatible for MS2 (It works good with my MS2)
* Removed bb html editor from Admin (it crashes IE6 mostly)
* Turkish support is also included
* Need English approved and Unapproved images are required for the admin area of Reviews. (Turkish ones are included)
Comments:
Maybe some cosmetic changings are necessary for the Catalog side. It may be improved.
ALL CREDITS GOES TO ORIGINAL AUTHOR OF THIS CONTRIB AND OTHER SUPPORTERS.
have you the error...
1064 - You have an error in your SQL syntax near 'select pd.faqdesk_answer_long, pd.faqdesk_answer_short, p.faqdesk_id, p.faqdesk' at line 1
select count(select pd.faqdesk_answer_long, pd.faqdesk_answer_short, p.faqdesk_id, p.faqdesk_date_added, pd.faqdesk_question, pd.faqdesk_answer_long, pd.faqdesk_answer_short from faqdesk_description pd, faqdesk p, faqdesk_to_categories p2c where p.faqdesk_status = '1' and p.faqdesk_id = p2c.faqdesk_id and pd.faqdesk_id = p2c.faqdesk_id and pd.language_id = '2' and p2c.categories_id = '7' order by pd.faqdesk_question) as total
[TEP STOP]
then use the file
Ingo Klein
www.shop-hosting.info
Update MS2
from:
www.shop-hosting.info
FAQDesk is full faq system with many features and to the best of my ability osC code compliant.
