Search found 10 matches

by tipsen
Thu Jul 19, 2007 3:56 pm
Forum: Bug reports
Topic: Bug in Glossary
Replies: 10
Views: 22441

Re: Bug in Glossary

Bambino wrote:There is a bug in glossary class. It cause of dissapiering of FAQ text and subject.
See the file Glossary.php, function insertItemsIntoContent, row 122
For possible fix see:
viewtopic.php?p=19672
viewtopic.php?t=5036
by tipsen
Thu Jul 19, 2007 3:54 pm
Forum: General discussions
Topic: Blank FAQ Content (2.0.2)
Replies: 11
Views: 17456

Re: Blank FAQ Content (2.0.2)

I've narrowed the problem to the file artikel.php line 57-62:

$content = $faq->faqRecord['content']; <-- working ok
$thema = $faq->getRecordTitle($id); <-- working ok
// Add Glossary entries
$oG = new PMF_Glossary($db, $LANGCODE);
$content = $oG->insertItemsIntoContent($content); <-- $content ...
by tipsen
Thu Jul 19, 2007 3:15 pm
Forum: General discussions
Topic: Blank FAQ Content (2.0.2)
Replies: 11
Views: 17456

Re: Blank FAQ Content (2.0.2)

I'm experiencing the exact same symptoms! I also upgraded from v. 2.0.1 to 2.0.2 and now the faq-title and faq-content are missing - it's actually the {writeContent} placeholder that is not properly populated!

Looking further into artikel.tpl I realised that it's {writeThema}, {writeContent} and ...
by tipsen
Thu Jul 19, 2007 1:46 pm
Forum: General discussions
Topic: Blank FAQ Content (2.0.2)
Replies: 11
Views: 17456

Re: Blank FAQ Content (2.0.2)

Hi,

I upgraded from 2.0.1 to 2.0.2, by replacing the changed files (except the style.css file) and ran the upgrade.php script. This completed successfully, but now there is no content in the FAQ's.

Each FAQ belongs to a specific group and all users.

Even the FAQ that is open to all users is ...
by tipsen
Thu Jul 05, 2007 5:21 pm
Forum: General discussions
Topic: Restricted content freely available when using ID#
Replies: 2
Views: 5864

Thorsten wrote:right... can you add this to the bugtracker?
Done!
by tipsen
Wed Jul 04, 2007 11:27 am
Forum: General discussions
Topic: Extend the parsing for glossary items
Replies: 1
Views: 5667

Extended parsing of glossary/dictionary items

I've modified the file .\inc\Glossary.php - more specifically the function insertItemsIntoContent(), line 129:

// c. the glossary item could be everywhere as a distinct word
.'(\s+)('.$item['item'].')\b' // <-- new line
//.'(\s+)('.$item['item'].')(\s+)' <-- old line

I read about the regular ...
by tipsen
Tue Jul 03, 2007 10:49 am
Forum: General discussions
Topic: Restricted content freely available when using ID#
Replies: 2
Views: 5864

Restricted content freely available when using ID#

FAQ entries which are restricted to members of a specific group are freely available to anonymous users when searching for the entry's ID#. Of course this is not easy but since the IDs are sequential it's not too difficult to guess different IDs and perhaps gain access to otherwise restricted content!
by tipsen
Mon Jul 02, 2007 3:42 pm
Forum: General discussions
Topic: Extend the parsing for glossary items
Replies: 1
Views: 5667

Extend the parsing for glossary items

I thought about extending the parsing for glossary items in the file Glossary.php but couldn't figure out how to modify the regular expression...

Glossary item:
IMAP = "Internet Message Access Protocol"

"IMAP server" is parsed correctly but "IMAP-server" is not parsed - I would like to allow for ...
by tipsen
Mon Jul 02, 2007 2:58 pm
Forum: General discussions
Topic: Permission level - medium !== Medium
Replies: 2
Views: 8073

matteo wrote:Hi Tommy,
please could you file a bug in http://bugs.phpmyfaq.de?
Done!
by tipsen
Mon Jul 02, 2007 11:42 am
Forum: General discussions
Topic: Permission level - medium !== Medium
Replies: 2
Views: 8073

Permission level - medium !== Medium

I had some problems regarding the permission level mentioned above! I used "Medium" and not "medium" which caused problems with restricted posts being visible in the Top10 and the 5latest listings.

Several hours of looking in the files and checking the sql-queries as well as the php-code finally ...