Search found 59 matches

by dajoker
Thu Jul 25, 2013 5:23 pm
Forum: Bug reports
Topic: Glossary term in FAQ title causes jumping text
Replies: 3
Views: 5480

Glossary term in FAQ title causes jumping text

I haven't looked at this (the code) closely yet, but I'm not strong with the CSS force so I'm skeptical that I can fix it. Basically the symptom shows up when a glossary term shows up in a FAQ title when viewing the entire FAQ via the regular web interface (vs. seeing the title in a list of results,...
by dajoker
Thu Jul 25, 2013 5:19 am
Forum: Bug reports
Topic: Performance increase in Helper/Search.php on big resultset
Replies: 1
Views: 2970

Performance increase in Helper/Search.php on big resultset

It's been a while, but it's good to be back. While poking through some code I found the ./phpmyfaq/inc/Helpder/Search.php function which is doing some neat pagination stuff of course. An idea for a performance improvement, for which I have yet to find any downsides, is to NOT loop through the pages ...
by dajoker
Tue Jun 15, 2010 9:09 pm
Forum: Bug reports
Topic: PMF Customized Config Reverting, PMF 2.6.5
Replies: 5
Views: 4707

Re: PMF Customized Config Reverting, PMF 2.6.5

Sorry... I was unclear. This is good to know about for when I start adding these configuration options to my deployment, though. I meant that I had not, at all, customized the configuration page for any of my configuration values. My booleans were reset because they existing in the table, but my int...
by dajoker
Tue Jun 15, 2010 4:30 pm
Forum: Bug reports
Topic: PMF Customized Config Reverting, PMF 2.6.5
Replies: 5
Views: 4707

Re: PMF Customized Config Reverting, PMF 2.6.5

I think I understand, and that makes sense. Because of how a form POST sends (or doesn't) values to the server the code is finding any values that are in the table which were NOT sent via the form (presumably checkboxes) which were set to true but now are unchecked because they did not come in via t...
by dajoker
Tue Jun 15, 2010 3:03 am
Forum: Bug reports
Topic: PMF Customized Config Reverting, PMF 2.6.5
Replies: 5
Views: 4707

PMF Customized Config Reverting, PMF 2.6.5

I'm having a hard time figuring out why this code is as it is: <code language='php' file='./phpmyfaq/admin/configuration.php'> foreach ($oldConfigValues as $key => $value) { if (isset($newConfigValues[$key])) { continue; } else { if ($oldConfigValues[$key] == 'true') { $newConfigValues[$key] = 'fals...
by dajoker
Mon Jun 14, 2010 11:41 pm
Forum: Bug reports
Topic: Error Deleting FAQ, PMF 2.6.5
Replies: 2
Views: 3195

Re: Error Deleting FAQ, PMF 2.6.5

I should mention that the web-based interface (vs. the PostgreSQL logging) has the following error(s) and messages: <quote> phpMyFAQ warning [2]: pg_query(): Query failed: ERROR: column "record_lang" does not exist LINE 1: ... FROM faqdata_user WHERE record_id = 10101192 AND record_lan... ...
by dajoker
Mon Jun 14, 2010 11:38 pm
Forum: Bug reports
Topic: Error Deleting FAQ, PMF 2.6.5
Replies: 2
Views: 3195

Error Deleting FAQ, PMF 2.6.5

I do not think this is related to any changes I've made but I could be wrong. The SQL doing this doesn't sound familiar so I think it must just be part of the system. When deleting a FAQ the following SQL is used and the included errors as well: <quote> 2010-06-14 16:24:24.553 MDT phpmyfaqdb phpmyfa...
by dajoker
Sun Jun 13, 2010 7:55 am
Forum: Proposals
Topic: PMF Fulltext Search Addition (postgresql)
Replies: 3
Views: 15367

Re: PMF Fulltext Search Addition (postgresql)

Found that after making the changes above the difference between the faqdata and faqdata_revisions table caused a warning to be thrown when modifying FAQs. The following additional SQL statement resolves it by getting the two tables to match but there is no need to add the trigger or index on faqdat...
by dajoker
Sun Jun 13, 2010 3:35 am
Forum: Bug reports
Topic: Jump to top of page on Changelog click, PMF 2.6.5
Replies: 5
Views: 4814

Re: Jump to top of page on Changelog click, PMF 2.6.5

The three links in the body on the 'Configuration' page within the administrative interface also have this same problem. The same fix resolves things: <diff file='./phpmyfaq/admin/configuration.php' version='2.6.5'> 82c82 < <legend><a href="#" onclick="javascript:toggleConfig('Main');...
by dajoker
Thu Jun 10, 2010 12:00 am
Forum: General discussions
Topic: FAQ search result duplication when using multiple categories
Replies: 4
Views: 6454

Re: FAQ search result duplication when using multiple categories

Remove FAQ duplicates when querying and a FAQ is associated w/multiple categories. Several changes for this one, and more to do to make it work for all possible databases (plus testing) but it seems to work without completely rewriting the searchEngine method. First, enable it in the database: INSER...
by dajoker
Wed Jun 09, 2010 4:00 pm
Forum: General discussions
Topic: TinyMCE spellchecker implementation
Replies: 5
Views: 5282

Re: TinyMCE spellchecker implementation

I do not know the best way to implement this for other customers easily but I implemented this in my system to have a custom, localized library work fairly easily. From my notes: Verify pspell works within PHP if that is the method to be used (it is in my case): <?php if (function_exists('pspell_new...
by dajoker
Wed Jun 09, 2010 4:17 am
Forum: Bug reports
Topic: Jump to top of page on Changelog click, PMF 2.6.5
Replies: 5
Views: 4814

Re: Jump to top of page on Changelog click, PMF 2.6.5

Perfect. Thank-you for that fix.
by dajoker
Wed Jun 09, 2010 3:15 am
Forum: Bug reports
Topic: FAQ authoring user/group link limitation, PMF 2.6.5
Replies: 1
Views: 2378

FAQ authoring user/group link limitation, PMF 2.6.5

Per the database tables' setup, and I believe by design, a FAQ can be associated with many users/group as far as rights to see the FAQ are concerned. Currently I believe the UI only permits associating a FAQ with one user/group at a time (or letting anonymous have access to it). Making the user/grou...
by dajoker
Wed Jun 09, 2010 1:33 am
Forum: Proposals
Topic: Optional FAQ number inclusion in search results
Replies: 0
Views: 5805

Optional FAQ number inclusion in search results

A customer likes having the FAQ number included with the search results. Including this is fairly trivial and the following adds it only to the text on the screen (not the element's title or the tooltip of the same). The number is also only added if it is not already in the title of the document bei...
by dajoker
Tue Jun 08, 2010 6:58 pm
Forum: Bug reports
Topic: Jump to top of page on Changelog click, PMF 2.6.5
Replies: 5
Views: 4814

Re: Jump to top of page on Changelog click, PMF 2.6.5

Um.... errr....... no. My initial analysis was completely wrong since the JS function actually adds 'edit' on the beginning. Still looking for something valid.....