vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Mindestic GlosPro 1.1.3 (https://vborg.vbsupport.ru/showthread.php?t=111863)

tbaleno 05-05-2006 02:54 PM

Quote:

Originally Posted by Oddjob
I get the same error.

Ditto. After the upgrade I get the same error as well.

SS9267547 05-05-2006 03:00 PM

If the function does not work on your server, at this time you'll need to disable the feature for now since I havn't figured out why it works and it doesn't work lol.

tbaleno 05-05-2006 10:28 PM

It has to do with text that contains invalid characters like ' or / and stuff like that. I saw some references to preg_quote, but not being that great with php I have no clue how to impliment it.

But thats the problem on my end anyway. I hope this helps you come up with a fix.

SS9267547 05-05-2006 11:11 PM

Thanks, yeah anything to help me figure out a fix is great lol. Still working on that bug still.

tbaleno 05-06-2006 02:22 AM

Here is what I came up with.

replace:

$findotherterms[] = "/(\s+|^)".$foundterms['glossaryname']."(\s+|$)/";

with:

$tmptrms=str_replace("'","\\'",$foundterms['glossaryname']);
$tmptrms=str_replace("/","\\/",$tmptrms);
$findotherterms[] = "/(\s+|^)".$tmptrms."(\s+|$)/";

Should be around line 43 of includes/function_glossary.php

Its realy a horrible hack and may have other issues because only ' and / are replaced.

It may point someone in the right direction for a proper fix.

caliman 05-07-2006 03:10 PM

@SS9267547 - what are the steps to upgrade to the latest version? Do I need to upload all the files or just redo the plugin?

Also - should I be concerned about the php errors people are reporting with this version?

Thanks in advance..

SS9267547 05-07-2006 09:58 PM

tbaleno: Thanks! I have come up with something so we will test it in the next few days.

caliman: What version are you running right now? Anyway I will upload all the version up today fo you. Just download each one and follow the steps if you want to upgrade. As for the errors they only show up when you enable crosslinking, if they show up just disable the feature. I have come up with a possiable fix for the next version set to be released in the next few days.

ChErAbOo 05-09-2006 12:17 AM

I am also getting the same errors on 1.1.2

Warning: preg_replace(): Unknown modifier 't' in /includes/functions_glossary.php on line 49

Warning: preg_replace(): Unknown modifier 't' in /includes/functions_glossary.php on line 49

Warning: preg_replace(): Unknown modifier 'b' in /includes/functions_glossary.php on line 49

etc I am working with php 5.0.3 I have disabled that feature until a fix comes but its a nice add on :)

SS9267547 05-09-2006 02:49 AM

A possiable fix wll be released later this week I hope :)

Billspaintball 05-09-2006 04:00 AM

Ohh this looks nice.

Im currently using cinqs (paid) hack, but this looks like it might better suit my requirements.

Testing :)


All times are GMT. The time now is 10:01 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.01360 seconds
  • Memory Usage 1,734KB
  • 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_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