![]() |
I imagine it has to do with regular expressions and character encoding- unfortunately I don't know how to fix the issue. The issue has been mentioned in comments on php.net but there's no easy fix.
|
Thanks for the answer, i'll try to analyze encoding settings and regexp deeper.
|
Quote:
These should all be links to amazon, but some are coming up with the links defined in this mod. The phrases are defined in a file. Maybe it has something to do with the dots and dashes? |
Error when use this mod Add Alt Text to Linked Images by BOP5 (VB 4.1.10+)
If in alt images has a word link, this mod will error Please fix it Ex: In alt images is "i love vbulletin", i settings vbulletin is word link in admincp, it will display error "i love HTML Code:
<a href="http://vbulletin.org">vbulletin</a> I forced uninstall this mod Can you fix it! |
Quote:
Image Resizer Code And add this code- Code:
onload="NcodeImageResizer.createOn(this);" |
Quote:
|
Hello. This error only appears if the option setting:
Match Whole Words Only? If "Yes" will link whole words only. Example: If "Jeep" is a keyword, "Jeeps" will not be linked. If "No" it will match partial words. Using the same example you'd see "<a href="http://www.jeep.com" target="_blank">Jeep</a>s." This error appears on all post with quote: <a> div class = "BBCode_Container"> And the quotes box is gone: https://vborg.vbsupport.ru/ And in the post if you quote appears: a> https://vborg.vbsupport.ru/external/2014/05/21.jpg Help please. thanks PS: Sorry for my english |
What is the keyword causing the problem?
Can you provide a link to your site? |
Quote:
|
Quote:
thanks |
I loved the this MOD on VB4, is it likely you will be porting it for VB5 ?
|
Quote:
|
How do links created with this mod work with skimlinks?
|
Quote:
|
I know, but I'm not sure if skimlinks will change these links AFTER your mod turns specific words into links, that's what I need clarification on.
For example, with your mod, if I have the word 'amazon', automatically create a link to www.amazon.com, will skimlinks still turn that into an affiliate link? |
Yes it does.
To be sure- Make a new thread or reload a page if making a quick reply (skimlinks only works on links already on the page when the original page was generated- a limitation of the javascript) Right click on an Amazon link, choose "Copy link URL" or "Copy Link Location" - whatever your browser has. Now paste that link text into notepad, or some other text editor, or even just a text box on your forum.... rather than the simple http://www.amazon.com link you will have a very long URL that has the skimlinks affiliate code in it. Note- this long URL is only visible by copying/pasting the URL. Mousing-over the URL will show the regular/original URL. |
Quote:
Can you think of any way to circumvent that limitation?? Maybe by having your mod create the links BEFORE the skimlinks javascript executes? idk... wishful thinking maybe. Can't believe how much revenue I'm missing out on because this won't work on existing posts, only new ones. :( |
Quote:
This mod works fine with Skimlinks. Regardless of this mod being installed Smimlinks has a limitation that it will not work on any posts added by quick-reply (added by ajax) until the page is reloaded. In normal operating of your forum only the person posting the link would ever see the link before the page reloaded, there is very little actual traffic that might be affected. I only brought it up because if you are testing the link as I suggested you might try to test a link you posted via quick reply, and I wanted you (or anyone testing) to understand why it may not work for you in that one case. |
Maybe I'm misunderstanding.
Well what I did was, added the word amazon to the list of words, and set the URL to http://www.amazon.com Then I did a search for threads with the word Amazon in it. I checked one out, a thread from a while back, has the word amazon in the first post. The word is definitely getting hyperlinked via your mod, however that link is not getting "skimlinked". So as of now I don't think ANY links created via your MOD are being changed by skimlinks. |
Quote:
For skimlink are you using the footer javascript code? Can you post or PM me the URL to this post? |
I just right-clicked it like you said, and copied/pasted the URL into the browser manually to check. I'll PM you.
|
Hello sir, I do not intend to hit this thread, but has been unable to resolve this problem?
thanks Quote:
|
Quote:
http://www.juot.net/forums/showpost....57&postcount=1 In the last line of the first post is an auto-link to Amazon. Right click on it and paste the URL and see what you see... so I am sure it should work. I'm wondering if maybe you are using the built in Skimlinks integration rather than just putting the line of javascript code in your footer that skimlinks provides- I know the footer code affiliates all links no matter where they are on the page or how they were made. --- You know what you could do- and in fact I do on most domains- use the Skimlinks URL shortener to create an affiliate link to Amazon and your other sites, then use that short URL as the URL in Word Links- this was the user clicks on Amazon and they go to http://buyth.at/j9ty2 (or whatever your short URL is.) Then you wouldn't need worry about changing the skimlinks integration and it would even work with people who block javascript. |
Quote:
|
Quote:
Looks like your site is having the same issue as mine. |
Quote:
I had to disable the skimlinks editor to confirm it was working, and it is. When i right click on the Amazon link i get this URL- Code:
http://go.redirectingat.com/?id=21651X798175&site=juot.net&xcust=thread94446&xs=1&isjs=1&url=http%3A%2F%2Fwww.amazon.com%2F&xguid=5f1deea36e1d7b554cd3d6de895e069f&xcreo=0&xed=0&sref=http%3A%2F%2Fwww.juot.net%2Fforums%2Fshowthread.php%3Ft%3D94446&pref=http%3A%2F%2Fwww.juot.net%2Fforums%2Fforumdisplay.php%3Ff%3D46&xtz=240 |
Thanks for this very good mod. I might purchase the Gold version to be able to use it on the CMS as well.
I have a little issue though: For words with accentuated letters it doesn't seem to work when I use a csv file. Both database and csv files are saved with Unicode UTF-8 settings. It does work when not using a csv file. Any advice on how this could be fixed? (I have a list of 175 words and prefer to use the csv method). |
In your Language Manager for your language, in settings, what is the HTML Character Set set to? If it isn't UTF8 I would try encoding the csv file the same as this setting.
|
Perfect! I thought it was UTF-8 but it was ISO-8859-1.
Now everything is fine with my csv file. Thanks a lot! |
Quote:
What happens? Thank you cr?dito estrella de la ma?ana estrella doji de la ma?ana |
Quote:
|
Quote:
"I have located the words that cause problems" Quote:
ISO-8859-1 Thank you |
Quote:
Also- Are links stored in a csv file or directly in the mod settings data boxes? |
Hi.
I'm trying to move my forum to a new server with php 5.4 and I'm getting this error when the product is disabled (running 4.2.1) Code:
mod_fcgid: stderr: PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 576656709 bytes) ..... line 135 Thanks. |
This is the line which causes the error:
Code:
$bop_message = preg_replace ($bop_find_array, $bop_replace_array, $bop_message, $boplim, $bopcount); |
After removing all Greek words from Words/Phrases To Link everything works ok.
So this is a combination of non-English characters with php 5.4? |
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: First Define your encoding: PHP Code:
PHP Code:
PHP Code:
|
hi. thanks for this mod, it is exactly what i was looking for.
my forum is in utf8 and users type their posts in Hebrew. the mod works fine with english words but i cant make it work on hebrew words. the language is in ut8 and also the db. can you please advise what to do? |
What really come in handy would be some sort of stats, that show how often a keyword has been turned into a link. Any chance that this could be added, Ozzy?
|
Ummm, not sure, as this is BOP's mod not mine. :)
|
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:
|