vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - Mindestic GlosPro 1.2.2 (https://vborg.vbsupport.ru/showthread.php?t=132632)

Vossi 01-25-2007 10:05 AM

I forgot to mention, that I can change the content when I'm in the AdminCP (that worked all the time), its just the 'normal user way' that doesn't work.

SS9267547 01-25-2007 08:10 PM

Okay well then you can just remove the check all together for now if you can get it working. Find the following (2 in glossary.php and 2 in admin_glossary.php):

PHP Code:

    $checkglossaryresults $db->query("SELECT glossaryname,glossaryid FROM " TABLE_PREFIX "glossary");
    while (
$checkname $db->fetch_array($checkglossaryresults))
     { 

Delete it and everything under it until the last '}'. There should be about 8 lines altogether to be deleted. Try that for the time being until the next release.

Lightmaster-AH 01-25-2007 09:23 PM

Thanks,

I made your last modification, delete the 8 lines, now it works.

wait for the next release :)

Lightmaster-AH

SS9267547 01-25-2007 11:16 PM

Your welcome!

Vossi 01-26-2007 06:33 AM

Hi Lucas,

when deleting the lines you quoted, it works fine. Actually, now it shouldn't check for double entries anymore, right?

SS9267547 01-26-2007 08:37 AM

Thats correct.

captainslater 01-26-2007 09:29 AM

May you release a version 1.2.2a with the bug fix from above?

I'm to lazy to edit the files :p

SS9267547 01-26-2007 09:30 AM

Haha okay I'll see how I'm feeling this weekend ;)

Vossi 01-27-2007 08:00 AM

Quote:

Originally Posted by SS9267547 (Post 1167614)
Thats correct.

Thanks, Lucas, for your support.

Now it's possible to edit the entry.

The check for double entries isn't working now, but I can live with that until you release 1.2.2a this weekend. Hahaha... LOL!

RS_Jelle 01-27-2007 05:20 PM

A suggestion: better MySQL slave/master server support. There are a lot of old $vbulletin->db->query queries. Replace all those with $vbulletin->db->query_read, $vbulletin->db->query_write or $vbulletin->db->query_first :)

Another suggestion: query optimimalisation. Mindestic GlosPro is using too much queries than necessary:

Add the amount of terms in a category to the glossarycategory table. That's very easy to do with the product file (just a while loop with a count counter etc.) and changing the value after adding or removing a file.
This would remove the need of one query on the glossary home (showglossaries) and the list glossary page.

Use the datastore cache feature for the category info and the custom fields. The datastore is very easy to use and you can remove some queries with caching these things.

Also, please move the product file to outside the uploads folder. I think a minority is using the possibility to give up the server location of the file to install the product. I also don't want it on my server (normal people shouldn't have access to it), it's private and after importing it isn't necessary any more.


All times are GMT. The time now is 02:30 AM.

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.01394 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)bbcode_php_printable
  • (1)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