![]() |
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:
|
Quote:
|
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 |
Quote:
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 |
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)); |
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" |
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. |
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 |
Quote:
|
Sorry for i have posting wrong section, but i use Vb4
|
Quote:
i found ISO-8859-2 is not supported in htmlspecialchars() function: http://php.net/manual/en/function.htmlspecialchars.php Please any idea how to replace (htmlentities?) that function or safelly skip it so this Word Links plugin works with that charset? functions_bop_wordlinks.php CODE: Code:
// $bopfind = preg_quote (htmlspecialchars($bopfind)); |
Talk to your host
|
Quote:
But looking at the description you could just try replacing htmlspecialchars with htmlentities in the code- the function should work the same way, |
Quote:
|
Thank you very much
It work fine but I have some problem with this one https://vborg.vbsupport.ru/showthrea...hlight=hashtag Can you check please. Thank you. |
Quote:
Create a new plugin on the global_bootstrap_init_start hook with an execution order of 3. Code: Code:
function bop5htmlspecialchars ($t) |
Quote:
only UTF-8, but im unsure why then links are not added to words when they contain some of ě?čř????? characters.. so there is no way to modiffy Code:
// $bopfind = preg_quote (htmlspecialchars($bopfind)); |
I'm afraid as I said earlier I am not able to support non-English languages, sorry, I just don't know how PHP works when not using the letters I am familiar with. Maybe someone else had an idea.
|
Quote:
|
dear
Does not work on the vBulletin 4.2.3 Beta 4 version The problem: White page when open any Post |
<a href="http://www.qapla.com/mods/showthread.php/1189-Word-Links-Test" target="_blank">I use it on my site on 4.2.3 beta 4</a>, so if you are getting white pages there is some other problem.
Check your PHP Error Log for an actual error. |
Quote:
I apologize for the delayed response There is no error in php I am puzzled by it |
Hello dear
These are mistakes error_log file PHP Code:
|
Your PHP Memory Limit is fairly small for VB4. You or your host should increase it to 128M.
(That would be 128 Mega Bytes.) |
Quote:
But the same problem Look Quote:
|
How many keywords and links do you have? Can you paste the keywords here? If not, can you PM them to me?
|
Quote:
|
Please answer the question. If you have 5,000 keywords/links or 5 keywords/links or something in between I need to know what I'm dealing with.
Did you upgrade PHP or anything else when you upgraded to 4.2.3 Beta 4? What version of VB was it working on for you? What version of PHP are you using now? |
Quote:
Best regards |
How about making this for vb 5 - vb5 is the wave of the future!
I was stuck in vb3 for years but now that I've upgraded to vb5 over all I am glad I made the move. |
By the way, when I was using vb3 and vbseo, there was a feature in vbseo that did this called "vbSEO acronym expander." But back then vbseo had to modify their code for me so that it worked for HTTPS (not just HTTP) urls.
So I dunno, maybe that is the key to how to address this problem for vb5 too. In any case, this would be a great mod for vb5 - to allow the changing of select words automatically as they appear in all posts into hyperlinks. |
We'll see- the way it needs to work in VB5 is a bit different, but I have an early beta working on VB5 already- I may release it at some point if I feel I can get it ready.
|
Nice! Thanks. Look forward to it, and any other useful vb5 mods.
|
BOP - Is there any way you can do a 'minor' update to this thing so that it never "links to itself"??
IE I'm linking mainly to internal pages with this, and it looks kind of silly when a thread has several links to itself. What do you think?? |
Quote:
|
Still would like to see this for vb 5.
|
Is there a way to tell the parser to disregard a specific post? Like a bbcode or a word that will tell it not to create links for this post.
There are isolated instances where I want the forum the post is in to be enabled, but some posts, maybe not. Thank you! |
Did you try noparse BBcode?
|
Quote:
No I haven't. I'll see how that works out. Thanks *edit* It stopped bbcode from parsing, but the word links continued. Any other ideas? |
Quote:
1st in BBCode Manager you need to make a new BBCode... call it nolink or something like that. Make the replacement: Code:
<nolink>{param}</nolink> Then you need to edit the Word Links mod settings. At the bottom of the settings the option called Custom Regex You should have some existing code in this box, at the very end of it, making sure to leave no space, add the following code: Code:
|</nolink> And if all works then you should be able to write Quote:
|
All times are GMT. The time now is 04:12 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|