Thread subject: muscapaul's PHP-Fusion website :: Terms Infusion v1.xx

Posted by muscapaul on 20-07-2006 00:11
#1

The infusions directory is in the folder php-files... but it appears as if the uploaded zip file gets corrupted. The zip file is okay when I extract it after compression. Uploading and then downlaoding it again gives a corrupted version. I will try to upload from another computer.

EDIT: The last downloaded file seemd to be okay. please try with a freshly downloaded zip archive.


Notice: Undefined index: post_edituser in /home/muscapal/public_html/print.php on line 114
Edited by muscapaul on 20-07-2006 00:38

Posted by BadBoy on 20-07-2006 20:38
#2

Okay, it seems to be running pretty good so far.

1 question. When the are "Submitted Terms" and I click on the "Submitted Terms" link, it takes me to the terms admin page, but there is no way to tell which terms have been submitted. Or am I missing something? I am using this as the 'terms' infusion.

Posted by muscapaul on 21-07-2006 00:28
#3

As admin, you have the option with Show Synonyms to display all submitted terms, including the ones that were placed in other categories.

Posted by muscapaul on 25-07-2006 15:13
#4

The link in the Terms Submissions panel has been updated to show a complete list of all submitted terms rather than the terms in the category 'Submitted'. Also a slight improvement to the readme to indicate where the same list can be obtained from the regular terms list (see above).

DOWNLOAD:
Terms_beta20060725.zip (last updated: 25.07.2006)


Notice: Undefined index: post_edituser in /home/muscapal/public_html/print.php on line 114
Edited by muscapaul on 25-07-2006 15:15

Posted by muscapaul on 25-09-2006 12:53
#5

New update:
* Modified maincore.php updated for PHP-Fusion v6.01.5.
* Bug in page navigation when sorting by starting letter/number fixed.

DOWNLOAD:
Terms_beta20060925.zip (last updated: 25.09.2006)

Posted by BadBoy on 25-09-2006 20:12
#6

After I click on a glossary term to go see the definition, whenever I try to hit the "Back to previous page" button nothing happens except for a javascript error.

Posted by muscapaul on 25-09-2006 20:52
#7

I will check for compatability issues with different browsers. MacOS X Firefox is problemless but Safari does not respond to the click. IE 6 on WinXP Pro also refuses but Firefox again is okay.


Notice: Undefined index: post_edituser in /home/muscapal/public_html/print.php on line 114
Edited by muscapaul on 26-09-2006 13:41

Posted by muscapaul on 26-09-2006 13:44
#8

New update:
* JavaScript cod button 'Back to previous page' in ../infusions/terms/terms.php updated and now compatible with major browsers.
* Code of ../infusions/terms/terms.php cleaned to comply with W3C standards. Other files will follow.

DOWNLOAD:
Terms_beta20060926.zip (last updated: 26.09.2006)

Posted by BadBoy on 26-09-2006 17:47
#9

Ok, the Back button is fixed, but now when I click on a bb code glossary term, it takes me to the complete list of terms. Just before I updated to the latest that you posted above, it went directly to the word with no problem.

Posted by muscapaul on 26-09-2006 17:56
#10

Just the tiniest bit over-enthusiastic when cleaning up to code. Two changes reverted and that should cure the problem.

DOWNLOAD:
Terms_beta20060926.zip (last updated: 26.09.2006)


Notice: Undefined index: post_edituser in /home/muscapal/public_html/print.php on line 114
Edited by muscapaul on 26-09-2006 17:58

Posted by BadBoy on 27-09-2006 02:38
#11

Thanks! Working good now. :)

One more question: How do you get the letter categories in the terms list like you have here?

Posted by muscapaul on 27-09-2006 21:42
#12

You mean like below?
A
apple
artichoke
B
banana
berry
C
cauliflower
cherry

So first a first letter, then all terms with that particular first letter, then the next first letter followed by the relevant terms, etc.?

All terms are sorted alphabetically, then the first letter is taken and capitalised. If the previous term had the same first letter, this letter is ignored and the term is given. If the first letter is new (another first letter or the first term on a page), the capitalised first letter is given in bold and font +1 followed by the term..

Posted by BadBoy on 02-10-2006 02:19
#13

So do I have to edit something in order to get that to work for me? I'm not sure.

One other thing....my terms.php page has a table problem it seems since I updated. Screenshot [HERE].

Posted by muscapaul on 02-10-2006 13:32
#14

Have you set the infusion as dictionary or as glossary? That feature built in but only available for the glossary.

I thought the table error might have been caused by incomplete cleaning of the code. Now I found that that particular error only occurs in some themes, so apparently not every theme responds to an error in the same way. I have found one closetable () statement that, when removed, will yirld a correct display in at least two themes that earlier gave an error. I will check what the result is in the themes that previously did not have a problem. As soon as I have checked I will update the download.


Notice: Undefined index: post_edituser in /home/muscapal/public_html/print.php on line 114
Edited by muscapaul on 03-10-2006 00:16

Posted by muscapaul on 03-10-2006 12:54
#15

Well, I hope I solved the layout problem. Those d****d tables always get back at you in more complicated layouts, especially if the opentable () and closetable () definitions in the various themes are different. I hope the solutions do not cause problems in other themes and other views. I hope the code now is clean, too.

Replacing the files should do.

Edit: I have seen at least one theme that has an error in the Dictionary mode, so I will have to re-do my homework. :(

DOWNLOAD:
Terms_beta20060926.zip (last updated: 03.10.2006)


Notice: Undefined index: post_edituser in /home/muscapal/public_html/print.php on line 114
Edited by muscapaul on 03-10-2006 16:40

Posted by BadBoy on 03-10-2006 19:51
#16

muscapaul wrote:
Have you set the infusion as dictionary or as glossary? That feature built in but only available for the glossary.


Ok. I really like that feature and was using the infusion as dictionary. I have now changed it to the glossary. :p

I do not see any table errors using this as the glossary infusion.

Posted by muscapaul on 05-10-2006 12:53
#17

I will see if I can change it to a setting somewhere, either user choice or admin choice. What would you prefer?

muscapaul wrote:
Edit: I have seen at least one theme that has an error in the Dictionary mode, so I will have to re-do my homework. :(

Silly me, uploaded the wrong file to my own site. :S

DOWNLOAD:
Terms_beta20060926.zip (last updated: 03.10.2006)

Posted by muscapaul on 06-10-2006 12:35
#18

New update:
* Modified maincore.php updated for PHP-Fusion v6.01.6.
* Code cleaned to comply with W3C standards (hopefully finished).

DOWNLOAD:
Terms_beta20060925.zip (last updated: 25.09.2006)

Posted by BadBoy on 14-10-2006 07:43
#19

muscapaul wrote:
I will see if I can change it to a setting somewhere, either user choice or admin choice. What would you prefer?


I would prefer the letters being displayed. Looks more organized and professional in my opinion. ;)


muscapaul wrote:
New update


Is this an update only for terms? I only see terms related files and none for dictionary. Just want to make sure.


Notice: Undefined index: post_edituser in /home/muscapal/public_html/print.php on line 114
Edited by BadBoy on 14-10-2006 07:46

Posted by muscapaul on 16-10-2006 00:30
#20

The whole infusion is the Terms infusion. The collection of terms can either be in the Dictionary (translations) or in the Glossary (explanations). They use the same files except for the infusion.php file and the locale files. The locale files are selected automatically upon infusion, so the only thing you should have to worry about is using the correct infusion.php file. ;)