vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Add-On Releases - vBulletin-Glossary (https://vborg.vbsupport.ru/showthread.php?t=188189)

kud0gfx 12-11-2008 01:33 AM

In the vBulletin Language system

a squared 12-11-2008 01:40 AM

Languages & Phrases>>>Import Language XML File???

Create New Language I suppose? And name it what?

Vossi 12-11-2008 05:09 AM

Quote:

Originally Posted by a squared (Post 1682842)
Languages & Phrases>>>Import Language XML File???


Create New Language I suppose? And name it what?

Don't create a new language but choose the language you want to import (eg. german).

kud0gfx 12-11-2008 12:17 PM

Hi vossi, is there anyway to make an option when the edits of the entrys will be moderated as the new entries by usergroups? because there are some fools that dont have nothing better to do, that delete all the entrys, and yes, i know i can get it back, but if they know it has to be aproved first, wont do it...

is that possible? or i cant just see the option

i'm actually thinking also miss an option to make the reports go to a subforum, not pm...

and also wondering how much will cost the branding free

Vossi, can you contact me by mp please?

Vossi 12-11-2008 12:33 PM

Quote:

Originally Posted by kud0gfx (Post 1683080)
Hi vossi, is there anyway to make an option when the edits of the entrys will be moderated as the new entries by usergroups? because there are some fools that dont have nothing better to do, that delete all the entrys, and yes, i know i can get it back, but if they know it has to be aproved first, wont do it...

is that possible? or i cant just see the option

Hm, I dont know exactly what you mean. You can moderate new entries, no doubt about that. But that has nothing to do with users deleting entries. You can simply turn that off within the grouprights.

Is that what you meant?
Quote:

Originally Posted by kud0gfx (Post 1683080)
i'm actually thinking also miss an option to make the reports go to a subforum, not pm...

That option is not available yet, but we might incloude it for the next release.
Quote:

Originally Posted by kud0gfx (Post 1683080)
and also wondering how much will cost the branding free

Vossi, can you contact me by mp please?

You got a PM about that.

kud0gfx 12-12-2008 06:05 AM

i mean when an user edit some existent entry, before his edit will be visible to public, it should be aproved by some mod, with that option, no one will try to ++++ it up...

physiart 12-12-2008 07:00 PM

Hi there Vossi and the rest of the team, excellent add-on!

I have a situation. I needed the glossary to work in Greek, so I hacked vbglossar.php to generate the Greek Alphabet:

I found
Code:

        // now do alpha-characters
        for ($i = 65; $i < 91; $i++)
        {
                $currentletter = chr($i);
                $linkletter =& $currentletter;
                $show['selectedletter'] = $ltr == $currentletter ? true : false;

                eval('$glossarletterbits .= "' . fetch_template('vbglossar_letterbits') . '";');
        }

and changed it to call the Greek characters. The problem here is that char 210 is not a valid Greek letter so I had to add some more code:
Code:

        // now do alpha-characters
        for ($i = 193; $i < 210; $i++)
        {
                $currentletter = chr($i);
                $linkletter =& $currentletter;
                $show['selectedletter'] = $ltr == $currentletter ? true : false;

                eval('$glossarletterbits .= "' . fetch_template('vbglossar_letterbits') . '";');
        }
                for ($i2 = 211; $i2 < 218; $i2++)
        {
                $currentletter = chr($i2);
                $linkletter =& $currentletter;
                $show['selectedletter'] = $ltr == $currentletter ? true : false;

                eval('$glossarletterbits .= "' . fetch_template('vbglossar_letterbits') . '";');
        }

I've located the string $i in the script and I've duplicated it using $i2 wherever it appears. For example after the code:
Code:

                for ($i = 0; $i < count($elist); $i++)
                {
                        eval('$entryidstodelete .= "' . fetch_template('vbglossar_checkedentries') . '";');
                }

I have added
Code:

                for ($i2 = 0; $i2 < count($elist); $i2++)
                {
                        eval('$entryidstodelete .= "' . fetch_template('vbglossar_checkedentries') . '";');
                }

. The problem is that I have found in line 371 the following:
Code:

                        for ($i = 0; $i < sizeof($keywords); $i++)
and I'm not sure what to duplicate there. However, the Greek alphabet appears allright.

The result is that whenever I add a new entry I get the message:
Warning: htmlentities () [function.htmlentities]: charset 'ISO-8859-7' not supported, assuming iso-8859-1 in [path]/includes/class_dm_vbglossar_entry.php on line 314

The entry is being added though, but the alphabet sorting does not work properly.

I would really really really appreciate any help on my problem, as I have been waiting for such a splendid add-on for quite a while...

a squared 12-13-2008 01:37 AM

Vossi, thank you. Turned out that I didn't need to upload the file. I was a little confused at first with the language files. I've edited the product-vbglossar.xml to correct "Glossar" to "Glossary" wherever viewable on the client side (including Admin CP, Mod CP) as well as a few other spelling mistakes and English grammar issues that just don't translate well from German. I would like to e-mail you the new file so that you can review it and possibly use it for the current upload package.


Quote:

Originally Posted by Vossi (Post 1682923)
Don't create a new language but choose the language you want to import (eg. german).


Vossi 12-13-2008 11:27 AM

Quote:

Originally Posted by a squared (Post 1684248)
I would like to e-mail you the new file so that you can review it and possibly use it for the current upload package.

You just got PM :)
Quote:

Originally Posted by physiart (Post 1684043)
I would really really really appreciate any help on my problem, as I have been waiting for such a splendid add-on for quite a while...

Could you send me the URL and an account to that forum in order for me to check that myself (via PM)? I might have an idea...

Hugo Holbling 12-14-2008 09:45 AM

I hope it's okay to ask this: how does this glossary compare with the Geek Auto-linker?


All times are GMT. The time now is 08:26 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02031 seconds
  • Memory Usage 1,755KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete