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

Posted by Homdax on 17-03-2007 19:22
#1

Thats why it is Beta. :p I have to review it for text in context.

Posted by slaughter on 10-04-2007 18:45
#2

nice infusion :)
Keep on working ;)

Posted by muscapaul on 11-04-2007 00:04
#3

Thx!

Posted by skorpion on 21-04-2007 04:26
#4

Hello!
At me a problem in work of the dictionary.
On all site works perfectly, but at a forum for it a problem. At display of the reference(link) it(he) cuts all words. For example "school" it(he) makes of a word here so: "sc<br />hool"

I cannot understand where a problem and how to correct? Here the site for the test where it happens:
http://cst-m.ru/forum/viewthread.php?forum_id=12&thread_id=1

But everywhere except for a forum all works perfectly. Even at the forum before addition of the message in prevu the reference(link) correct, but after a premise of the message in a forum (publication) any word in any language is divided(shared) into parts.
The site does not accept screenshots... Here the reference(link) to a screenshot:
http://cst-m.ru/lang/help_dictionary.jpg

Please prompt as to correct.
Excuse for my bad English.


Notice: Undefined index: post_edituser in /home/muscapal/public_html/print.php on line 114
Edited by skorpion on 21-04-2007 04:29

Posted by muscapaul on 21-04-2007 14:03
#5

First, do not worry about your english. I can understand perfectly well what you mean. ;)
At the moment I cannot yet check out the cause (family life, you know), but I will look at it a.s.a.p. If I am lucky I can check tonight, otherwise it will be Monday morning.

Posted by skorpion on 21-04-2007 23:59
#6

muscapaul wrote:
First, do not worry about your english. I can understand perfectly well what you mean. ;)
At the moment I cannot yet check out the cause (family life, you know), but I will look at it a.s.a.p. If I am lucky I can check tonight, otherwise it will be Monday morning.

Thanks huge! =)
This plug-in of the dictionary is simply magnificent and very necessary.
I express the gratitude for his creation. We do not have analogues.
I shall be very grateful for the shown help in the decision of my question. =)

Posted by muscapaul on 23-04-2007 13:09
#7

skorpion,

I could not find anything in the scripts in the downloadable package that would explain the error. Did you use the custom prepared maincore.php file or did you do a manual edit of the file? If you edited it yourself, can you zip it and attach it in a reply?

For everyone's information: After the last PHP-Fusion version update I still have to update the included maincore.php.

Posted by skorpion on 23-04-2007 13:26
#8

Greetings! I changed this file manually, because at me many different changes besides the basic maintenance(contents).


Notice: Undefined index: post_edituser in /home/muscapal/public_html/print.php on line 114
Edited by skorpion on 23-04-2007 13:27

Posted by muscapaul on 23-04-2007 16:09
#9

I am not able to reproduce the error or find its cause. The <br /> in the link can can only be inserted when the term is parsed to convert the [ glos]term[/ glos] to the appropriate link. In the whole infusion the <br /> is only found in the locale files (where they should be changed to <br> until PHP-Fusion is made XHTML compliant anyway). So, I cannot figure out where it comes from, and I have found no indication for that in other parts of your maincore.php. I asume you did not alter any other of the infusion's files?

Posted by muscapaul on 24-04-2007 12:28
#10

Well, let's see if this has the right effect. Upload the files included in the zipfile to your server, but make a backup of your exisiting maincore.php first. Then try if it works and let me know.

Posted by skorpion on 25-04-2007 00:07
#11

Excuse me, but the problem has turned to horror. If to use new files that a forum it is not displayed at all, and contents of a folder "term" too more to look it is impossible. I have returned as was earlier. So though on all site, except for forum, all perfectly works. All the same thanks. =)


At me a question: How to add in search Russian letters? I thought that in a file "term.php" to add here:
Code

   $search = array(
      "A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R",
      "S","T","U","V","W","X","Y","Z","0","1","2","3","4","5","6","7","8","9",
      "h0;","h1;","h2;","h3;","h","h5;","f5;","h6;","h7;","h8;","h9;","i0;","i1;","i2;","i3;","i4;","i","i6;",
      "i7;","i8;","i9;","j0;","j1;","j2;","j3;","j4;","j5;","j","j7;","j8;","j9;","k0;","k1;"
   );




but it has not helped.
How it to realize?

p.s.
Russian letters at you on a site are not displayed.... These letters I alphabet:
Code

 "h0;","h1;","h2;","h3;","h","h5;","f5;","h6;","h7;","h8;","h9;","i0;","i1;","i2;","i3;","i4;","i","i6;",
"i7;","i8;","i9;","j0;","j1;","j2;","j3;","j4;","j5;","j","j7;","j8;","j9;","k0;","k1;"




Instead of them any hieroglyphs and a set of letters not my alphabet.


Notice: Undefined index: post_edituser in /home/muscapal/public_html/print.php on line 114
Edited by skorpion on 25-04-2007 00:46

Posted by muscapaul on 25-04-2007 00:13
#12

Okay, I was looking for a way to strip the <br /> from the text but apparently the way I tried does not work. Any chance you can find out which add-ons to your PHP-Fusion core use <br />? I suspect it might be due to another installed infusion or another mod.

Posted by skorpion on 25-04-2007 02:25
#13

I have solved a problem with a forum. I have completely replaced it(him) with another. It(he) is already in advance made with additions. And the dictionary was established(installed) as cast! I express you lkl9;l7;kl2;m0; and gratitude for creation. Now it is necessary to add only Russian for search.

p.s. The problem was not in the dictionary, hi is in the forum.
At me FUSION-v6.01.8

Posted by skorpion on 25-04-2007 04:13
#14

Greetings!
I have found a small mistake(error) in a file "terms_settings.php"
Right at the end superfluous closings of the table of data.
From for it(this) the bottom part of the table scatters.
Here that was:
Code

</tr>
</table>
</form>\n";
echo "</td></tr></table></center>";
closetable();

echo "</td>\n";
require_once BASEDIR."footer.php";
?>





And here is how should be:
Code

</tr>
</table>
</form>\n";

closetable();

require_once BASEDIR."footer.php";
?>




Posted by muscapaul on 25-04-2007 13:05
#15

Thanks, I'll check it out and correct if necessary. :)

Posted by skorpion on 26-04-2007 01:40
#16

How to me to add Russian letters for search under my native language?
Whether the help is possible(probable)?

And at me a question: What for so it is a lot of folders with languages? I shall enclose translation(transfer), but one file for glossary is meanwhile ready only. It(he) meanwhile not overdive is not tested on correctness of declination of language turns(turnovers). Hardly later I shall attach a final Russian language file. Only tell, what for so it is a lot of folders with languages?

Posted by muscapaul on 26-04-2007 02:17
#17

There is a huge similarity between the three locales, I know. The 0locale are for use as Glossary, the 1locale for use as Dictionary, the 2 locale is for Default use (no choice made between the other two). If you can do all translations, I'd be very happy.

I have no idea on how to incorporate the use of Russian characters. :(

Posted by muscapaul on 11-05-2007 16:33
#18

Update:
* Modiefied core files updated for PHP-Fusion 6.01.10.
* An html layout issues was corrected.

Infusion upgraded from RC1 to full release.

To update from the previous version, simply replace the existing files in the ../infusions/terms/ folder, but please remember to keep the names of the separate infusion files correct.

DOWNLOAD:
Terms_20070511.zip (last updated: 11.05.2007)


Notice: Undefined index: post_edituser in /home/muscapal/public_html/print.php on line 114
Edited by muscapaul on 11-05-2007 16:34

Posted by muscapaul on 18-10-2007 01:50
#19

New version: v1.01

Changes:
* Modiefied core ../maincore.php updated for PHP-Fusion 6.01.12.

To update from the previous version, simply replace the existing ../maincore.php in the changed-files folder and replace the existing files in the ../infusions/terms/ folder, but please remember to keep the names of the separate infusion files correct.

DOWNLOAD:
Terms_v1.01_2007.10.17.zip (last updated: 17.10.2007)


Notice: Undefined index: post_edituser in /home/muscapal/public_html/print.php on line 114
Edited by muscapaul on 18-10-2007 01:52

Posted by gdaze on 07-12-2007 12:16
#20

Hi there muscapaul.

I like this infusion a lot. I'm currently working with a site that wishes to use a Glossary set up in a medical-terms environment. Much of their articles will refer to acronyms and other medical goobledegook.

We write articles using TinyMCE activated, and would like to have our glossary items show up as Popup Windows, linked back to the relevant Term (and ID) in the Terms table.

Is there a way to use TinyMCE's Event Properties (such as onfocus or mouseover) to display the Glossary Terms 'Explanation' only in the popup window?

Have you used it in this context?

I know this capability exists in the Joomla CMS, but I'm also guessing a lot of pokery jiggery goes on trying to link words inside articles to mapped glossary links from elsewhere within the CMS.

Would be interesting to get your feedback on this particular aspect.

Cheers!

George (gdaze)