News:

Wondering if this will always be free?  See why free is better.

Main Menu

Glossary

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

Previous topic - Next topic

Bigguy


Kindred

Сл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."

Masterd

When you will update this mod for SMF 2.0 RC4?

Kindred

Quote from: Kindred on December 09, 2010, 01:03:45 AM
I have it working on 40konline.com

Although that SAYS RC3, it is actually running RC4
Сл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."

Bigguy

Quote from: Masterd on December 12, 2010, 07:09:20 AM
When you will update this mod for SMF 2.0 RC4?

It works on RC4.

Baloch

I am getting error  in Package Installation.
Screen shout is attached herewith


blue_shadow

Glossary installer doesn't use table prefix in RC4, otherwise the install is easy. My friend found the install bug, here's the install fixes for RC4.

Find:
'register' => array(
'title' => $txt['register'],
'href' => $scripturl . '?action=register',
'show' => $user_info['is_guest'],
'sub_buttons' => array(
),
'is_last' => !$context['right_to_left'],
),


Add this before it:
'glossary' => array( 'title' => $txt['glossary'], 'href' => $scripturl . '?action=glossary', 'show' => $context['allow_view_glossary'], 'sub_buttons' => array( ), ),


Find:
array(),
array(
'image' => 'list',
'code' => 'list',
'before' => '[list]\n[li]',
'after' => '[/li]\n[li][/li]\n[/list]',
'description' => $txt['list_unordered']


Add this before it:
array(
'image' => 'glossary',
'code' => 'glossary',
'before' => '[glossary]',
'after' => '[/glossary]',
'description' => $txt['bbc_glossary']
),


Good luck guys.

Baloch

Quote from: blue_shadow on December 17, 2010, 01:23:06 PM
Glossary installer doesn't use table prefix in RC4, otherwise the install is easy. My friend found the install bug, here's the install fixes for RC4.

Find:
'register' => array(
'title' => $txt['register'],
'href' => $scripturl . '?action=register',
'show' => $user_info['is_guest'],
'sub_buttons' => array(
),
'is_last' => !$context['right_to_left'],
),


Add this before it:
'glossary' => array( 'title' => $txt['glossary'], 'href' => $scripturl . '?action=glossary', 'show' => $context['allow_view_glossary'], 'sub_buttons' => array( ), ),


Find:
array(),
array(
'image' => 'list',
'code' => 'list',
'before' => '[list]\n[li]',
'after' => '[/li]\n[li][/li]\n[/list]',
'description' => $txt['list_unordered']


Add this before it:
array(
'image' => 'glossary',
'code' => 'glossary',
'before' => '[glossary]',
'after' => '[/glossary]',
'description' => $txt['bbc_glossary']
),


Good luck guys.

Kindly mention the file name in which we have to edit for RC4.


Baloch

on test forum I have installed it with error and now getting following error:

Table 'baaskcom_smf3.smf_glossary_groups' doesn't exist
File: /home/baaskcom/public_html/forum/Sources/Glossary.php
Line: 422

Kindred

did you run the db script to add the tables& columns?
Сл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

Quote from: Kindred on December 19, 2010, 07:50:13 AM
did you run the db script to add the tables& columns?
no

from where I can get the DB SCRIPT and from which point should I run that script?

Kindred

it is in the mod package. You can extract and run it from your forum root
Сл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

Quote from: Kindred on December 19, 2010, 02:38:27 PM
it is in the mod package. You can extract and run it from your forum root

got this error
Notice: Undefined index: glossary in /home/baaskcom/public_html/forum/Sources/Subs.php on line 4249

Kindred

looks like the text strings did not get installed....   seriously... did you actually successfully install this mod?
Сл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."

blue_shadow

Opps, I did forget to mention the filenames, didn't I? Sorry, here we go:

Find in $sourcedir/Subs.php:
'register' => array(
'title' => $txt['register'],
'href' => $scripturl . '?action=register',
'show' => $user_info['is_guest'],
'sub_buttons' => array(
),
'is_last' => !$context['right_to_left'],
),


Add this before it:
'glossary' => array( 'title' => $txt['glossary'], 'href' => $scripturl . '?action=glossary', 'show' => $context['allow_view_glossary'], 'sub_buttons' => array( ), ),


Find in $sourcedir/Subs-Editor.php:
array(),
array(
'image' => 'list',
'code' => 'list',
'before' => '[list]\n[li]',
'after' => '[/li]\n[li][/li]\n[/list]',
'description' => $txt['list_unordered']


Add this before it:
array(
'image' => 'glossary',
'code' => 'glossary',
'before' => '[glossary]',
'after' => '[/glossary]',
'description' => $txt['bbc_glossary']
),


REMEMBER: this is the fix for RC4, not sure how it is in RC3 or before, but if the code seems similar, try it.

wiwaedu

Hello, exists this MOD for 1.1.13 ??

Bigguy

From what the mod site says unfortunately no it does not.

Baloch

I dont want to take any risk to install this mode with errors.
Why you guys don't update SMF MOD page so that anyone could get benefit from your Mod?

Bigguy

It's up to the mod author to update.

saks

how can I add string with Russian letters ?

Advertisement: