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)

apokphp 01-21-2007 02:25 PM

I have an article system that uses pop-up crosslinking successfully, but it is for a non vb related program. Would taking a look at the code for that help any? If so, I'd be more than happy to send it to you. I don't use the system for the fact that I prefer a more integrated article/glossary system than this one. But the code is very good. I can send you the relevant parts of code if you like.

Here it is in action: http://onlinedebate.net/lore/article.php?id=004

There is a right margin, so decrease the window size of your browser until the horiz bar n the window appears, then adjust the window accordingly. What happens when the word is near the right side of the page, is that the pop-up re-adjusts its right edge to match that of the right edge of the window's display (so it never goes off page).

Don't know if it helps, if so, pm me for more info.

Vossi 01-23-2007 10:50 AM

Quote:

Originally Posted by SS9267547 (Post 1162602)
dendrob: The 'already exists' issue is that there is a new feature added that checks for duplicate terms. So the title of the term you are editing is already in the database some where else. At this time there is no settings to turn this feature off or on. If you chnage the title it shoudl work. With the popup I haven?t tested it with images. I will take a look into this issue since I see it too on your site and did not see it on my beta site. As for the link issue, there is kinda sort like a bug where it will not link words if there is nothing end at the end of the word which I've mentioned in another post. Basically you need to have at the end is ,.!? etc or a space other wise it won't link. An on going issue.

Hi Lucas,

does that mean, that my users can only change the content of a topic, when they change the issue by adding a blank etc. to it? :confused:

SS9267547 01-23-2007 12:12 PM

apokphp: I'll pm you about this. Thanks.

Vossi: If I think I'm understanding you correctly, when your users edit a glossary topic that is in the system already they don't need to rename the name to make changes. What the duplicate check system does is makes sure that for example a user does not add or change a term to one that is already in the system. So for example I have the term 'DVD' in the system. Now I can add to the term and save the changes as DVD. Now if I were to edit the term 'HDDVD' and try to save it as 'DVD' which is already a term in the system it will not allow me.

Lightmaster-AH 01-23-2007 12:39 PM

Hallo, and sorry for my bad english,

if I want to edit a glossary topic the system says "There is already a glossary term named 'xxxxxx'. You may not create duplicate names." It`s not a new term.

Is there any idea where the problem is?

Thanks: Lightmaster-AH

SS9267547 01-23-2007 12:52 PM

The term you are editing, did you change the name of the term? Also from where are you editing the term, user side or admincp side?

Lightmaster-AH 01-23-2007 01:10 PM

From user side.

I go to the glossery to one term and klick there on "Edit Glossary Term". After I edit the term (without editing the name) the system says "There is allready...."

I just look, the same in the admincp side.

(I hope you understand my bad english) Thanks for answer!

Vossi 01-23-2007 01:53 PM

Quote:

Originally Posted by SS9267547 (Post 1165712)
Vossi: If I think I'm understanding you correctly, when your users edit a glossary topic that is in the system already they don't need to rename the name to make changes. What the duplicate check system does is makes sure that for example a user does not add or change a term to one that is already in the system. So for example I have the term 'DVD' in the system. Now I can add to the term and save the changes as DVD. Now if I were to edit the term 'HDDVD' and try to save it as 'DVD' which is already a term in the system it will not allow me.

Hi Lucas,

hm, let me explain it like this:

There already is an entry called DVD and one of my users looks at it and wants to edit this entry by writing some more text into it. My user ist chooses the Edit-Funktion and is getting the edit-window. When he complete the entry and wants to save it, the system says

Quote:

There is already a glossary term named 'DVD'. You may not create duplicate names.
Well, of coz there is a term called DVD, but he just wanted to edit the text.

That's actually the thing which I don't understand. :o Is there a function in AdminCP which I have to change? Or any known bug for this?

Even I as the admin cannot edit the text our of the normal board, only when I join the AdminCP and change it there.

Lightmaster-AH 01-24-2007 06:42 AM

The same by me, but likewise in the ACP I cannot edit the text.

SS9267547 01-25-2007 09:21 AM

Okay I've test this issue on my test site and I can't recreate this issue you guys are having however I have looked into the current release of the mod and I have noticed that it is missing some code lol. Don't know how that happened but for anyone having this issue you will need to do the following. Let me know if it works. Find this code in the glossary.php under the 'editconfirm' request:
PHP Code:

if (strtolower($checkname['glossaryname']) == strtolower($vbulletin->GPC['subject'])) 

Replace it with this new code:
PHP Code:

if (strtolower($checkname['glossaryname']) == strtolower($vbulletin->GPC['subject']) AND ($checkname['glossaryid'] != $vbulletin->GPC['glossaryid'])) 

Then in admin_glossary.php find the following code in the 'edit_confirm' request:
PHP Code:

        if (strtolower($checkname['glossaryname']) == strtolower($vbulletin->GPC['glossaryname'])) 

Replace it with this code:

PHP Code:

        if (strtolower($checkname['glossaryname']) == strtolower($vbulletin->GPC['glossaryname']) AND ($checkname['glossaryid'] != $vbulletin->GPC['glossaryid'])) 

I will do a offical fix on next release.

Vossi 01-25-2007 09:32 AM

Thanks a lot for your support, but honestly, there still is no change for me. It still says
Quote:

There is already a glossary term named 'DVD'. You may not create duplicate names.
I can change the name from DVD into DVDOLD, save it, edit it again by changing the name back into DVD and then save it. But I suppose that this way aint the one you wanted.

The Hack is great, so please dont lose interest into it. Its worth it...


All times are GMT. The time now is 04:02 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.01542 seconds
  • Memory Usage 1,760KB
  • 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
  • (4)bbcode_php_printable
  • (4)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