News:

Join the Facebook Fan Page.

Main Menu

Glossary

Started by slinouille, December 24, 2008, 10:33:47 AM

Previous topic - Next topic

Augustine


Draffi

Sorry...may i ask, for what is this

[glossary]WORD[/glossary]

BBC good for?

It seems, that it is not working in my board (SMF 2.0.6)....

Hristo

It can work in 2.0.6, but you have to make some changes which are discussed in this topic. Here is a summary of them:
http://www.simplemachines.org/community/index.php?topic=282158.msg3485881#msg3485881

Draffi

oohhh...

sorry, my mistake. IT IS WORKING IN SMF 2.0.6. (Following the instruction some posts before...)

What i mean is:

The BBC-Button have no effect in SMF 2.0.6




Hristo

You have to enter the words in the glossary, then the bbc will work for these words. Go to glossary's menu and press "Add a new key word" add some word, lets say "glossary", then the it will work for that word. I may be wrong on some things though, because I do not use it now due to lack of support for Cyrillic. But I remember it worked fine with Latin letters.

Draffi

???

Why i need to mark a word, when it is automatically marked by the glossary Mod ?

Hristo

Now I see what you wonder. Yes, the mod works with and without the tag and frankly I do not know/remember why the tag is needed at all.

Kindred

because
1- many people have the automatic link part turned OFF.
2- even with it turned on, it may only mark the first occurrence of the word - and you also want a later occurrence linked.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Draffi

thank you @Kindred

Now i understand...


petb

#489
Quote from: GlitchPC on September 13, 2013, 09:43:11 PM
Gonna try this again...not sure if anyone can help but will give it another shot.

Any time anyone clicks the "Categories" link it creates an entry in my Error Log.  (See below)

http://glitchpc.net/index.php?action=glossary&sa=categories
8: Undefined index: id
File: /xxx/xxx/xxxxx/xxxxxxxx/xxxxxxxx/Sources/Glossary.php
Line: 776

Line 776 of the Glossary.php file reads like this:

//Get list of all ids
            $ids_list .= ';'.$res['id'];
      }

Anyone care to shine a little light on this matter for me?  Thanks, in advance...

Is there really no one who can help us with the undefined Index: id ?

Please,.....

Maybe there is only a global "id" to set ? 
Or to make a change in the DB do declare the "ID" field as an key ore something else ?

Thank you for reading our Search for Help.



Oooohhhh, its sad.

If you have Links to somewhere, or Links to Images, even when they are between IMG Tags,
the Mod corrupts the Link so the Link wont work any more.

Unfortunately, this is disappointing, because otherwise it's a great mod.

Is there a similar Mod available ?

Hristo

The closest to Glossary mod I know of is:
http://custom.simplemachines.org/mods/index.php?mod=1593
Not as powerful, but still something.

moal

Hi there,

in my error logs keep on getting the following error:

http://www.meine-domain.de/index.php?pretty;action=glossary
8: Undefined index: glossary_change_group_all
Datei: /mnt/web1/a0/01/51373001/htdocs/meine-domain/Themes/default/Glossary.template.php (main sub template - eval?)
Zeile: 321


I use SMF2.0.7 with a customized theme based on Elegant.

The following modifications are installed.
Activity in Profile 1.1    
Auto Refresh Who Index    1.1
Add Table, Td, Tr Button    1.0
cb|GeSHi-mod    1.2
Clone Topic 0.4
Custom Action Mod    3.2
Glossary    0.3.1
Google Translate for SMF 2.0    1.4
Track IP on ip-adress.com [nofollow] 1.0    
Member Color Link    3.1
MetaTags Modification 2.0.2
NoFollow BBCode 1.1
Pretty URLs Extras    1.0
Pretty URLs 1.1.1a
Show BBCode to guests    0.1.7
SimplePortal 2.3.5
SimplePortal - German 2.3.5
Tidy Child Boards 1.4.1
Topic Solved 1.1.1


Please help me, this error worry me.

best regards moal

Sorry for my English, I use the goggle translator.

Kindred

well, don't worry....   that error just means that one of the variables is not defined.

You will need to turn off eval to get a better idea in which bit of code the error is actually happening.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

moal

Quote from: Kindred on May 06, 2014, 08:22:17 AM
You will need to turn off eval to get a better idea in which bit of code the error is actually happening.

And how do I do that?  :-[

Kindred

See the other thread where you asked the same questions and I answered in more detail
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Sakae

Working great on my SMF 2.0.10 using instructions given here http://www.simplemachines.org/community/index.php?topic=282158.msg3485881#msg3485881

Just one though, is it possible to define a word using a picture? (you know, one picture equals a thousand words)
http://www.tigrelog.com.br
l: simple p: machines

Kindred

I do not believe so  -- not without some recoding (possibly major)
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Baloch

Is it still useful for the SMF 2.0.11?

petb

Quote from: Baloch on June 21, 2016, 07:51:49 PM
Is it still useful for the SMF 2.0.11?
I think so!
It is much useful.

Kindred

This line added in Subs.php generates a php deprecated error...
working on finding the correct replacement


      $message = preg_replace(
        '/((<a.+\/a>)|(\b'. preg_quote(strtr($word, array('\'' => '&#039;')), '/'). '(?=[^A-Za-z0-9&agrave;-??-??-?_\-s]))|(\b'.preg_quote(strtr($word, array('\'' => '&#039;')), '/').'\b))/'. (!empty($modSettings['glossary_none_sensitive']) ? 'i' : '') .'e' ,
        "'\$2' == '\$1' ? stripslashes('\$1') : '<span class=\"glossary\" title=\"".addslashes($definition)."\">$1</span>'",
        $message,
        (isset($modSettings['glossary_unique_word']) && $modSettings['glossary_unique_word']==1) ? 1 : -1
      );
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: