vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Word Links FREE (Turn words into links) by BOP5 (https://vborg.vbsupport.ru/showthread.php?t=263699)

naisho 12-04-2014 06:28 AM

After upgrading to php 5.4 the mod doesn't work any more.
I get this at the beginning of each post (or cms article).
I am using the Gold version of the mod.
Any advice to fix this?

Quote:

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<span class="boplink">span class="boplink">span class="boplink">span class="boplink">span class="boplink">span class="boplink">span class="boplink">span class="boplink">span class="boplink">span class="boplink">span class="boplink">span class="boplink">span class="boplink">span class="boplink">span class="boplink">span class="boplink">span class="boplink">span class="boplink">span class="boplink">span class="boplink">span class="boplink">span class="boplink">span class="boplink">span class="boplink">span class="boplink">span class="boplink">span class="boplink">span class="boplink">span class="boplink">span class="boplink">span class="boplink">span class="boplink">span class="boplink">span class="boplink">The text

Marv 12-04-2014 07:27 AM

Quote:

Originally Posted by ozzy47 (Post 2525486)
Ummm, not sure, as this is BOP's mod not mine. :)

Ermmmm....*gnarf*.. I should read before I write. All credits to BirdofPrey ;)

postcd 12-17-2014 02:40 PM

Hi,

please how can i add an ěščřž???? characters (ISO-8859-2) into word replacement wordlinks file?

I tried as it is, html entities and unicode converted text. but none works to show replacement only text without diacritics is ok..

please how to fix it? Thank you

postcd 12-17-2014 03:39 PM

Quote:

Originally Posted by nektar (Post 2500882)
As of php 5.4 default encoding for htmlspecialchars is UTF-8.
So if your forum is in another encoding (like ISO-8859-1 which is mine) then you will have all the above problems.
The solution is to use your encoding with htmlspecialchar:

I tried this but im getting error when i use: ISO-8859-2


Warning: htmlspecialchars() [function.htmlspecialchars]: charset `ISO-8859-2' not supported, assuming iso-8859-1 in [path]/includes/functions_bop_wordlinks.php on line 123

iso-8859-1 dont show-up links for me

naisho 12-21-2014 09:11 AM

The solution given by nektar worked fine for me.
In functions_bop_wordlinks.php file, I did that (around line 121):

Code:

//    $bopfind = preg_quote (htmlspecialchars($bopfind));
      define('CHARSET', 'ISO-8859-1');
      define('REPLACE_FLAGS', ENT_COMPAT | ENT_XHTML); 
      $bopfind = preg_quote (htmlspecialchars($bopfind,REPLACE_FLAGS, CHARSET));


boffin_adi 03-10-2015 10:17 PM

I have rebuld the cpanel and restore the complete data of the site. And now the process is complete but now i recived this message when i Enable Word Links FREE by BOP5 VB4

"Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 207502281 bytes) in /home/public_html/includes/class_postbit.php(340) : eval()'d code on line 117"

BirdOPrey5 03-10-2015 10:29 PM

How many words do you have setup? If itis hundreds (or more) it may be too much for your server to handle.

If you only have a few it could be something too short it's being matched too often or maybe you have an unbalanced number of keywords vs links?

Try removing all your keywords and links and replacing with just one keyword/link and see if you get the same error.

boffin_adi 03-10-2015 11:41 PM

I Use sample_wordlinks_data.csv and one Words/Phrases To Link and one link still i have problem
And i also try remove all Words and link still i have problem

ForceHSS 03-11-2015 01:21 AM

Quote:

Originally Posted by boffin_adi (Post 2540078)
I Use sample_wordlinks_data.csv and one Words/Phrases To Link and one link still i have problem
And i also try remove all Words and link still i have problem

In this post you made about your problem you posted in vb5 but this plugin is for vb4 so either you posted in the wrong section but if you are running vb5 then this plugin will not work for vb5 as its for vb4 so remove it would be your best option

boffin_adi 03-11-2015 01:36 AM

Sorry for i have posting wrong section, but i use Vb4


All times are GMT. The time now is 02:55 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.01360 seconds
  • Memory Usage 1,745KB
  • 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_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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