![]() |
One query per page. That isn't possiable. If you have the word "Soda" as a link going to coke.com, and a user says. I like to drink soda. It will show up as a link. There isn't a way around it unless you deigne something where it can tell the PHP how the user is using the word.
|
I think the geek auto linker only has one query per page.
|
As this one does also.
|
hehe what you wrote didnt make sense...anyway I just tested auto linker again, and it seems to do what I described above.
not sure which system to use :) |
Quote:
I would use whatever fits your needs, this isn't any sort of competition. :) |
I installed it, but it's not working as well as I hoped, so I'll be removing it. My beef with it is that it messes up the formatting of posts right now.... Sometimes it removes the newlines in posts, and sometimes it removes the preceeding space, making posts really cluttery...
Let me know when you beef this up and fix the errors.. |
i acually never seen this error. Got a screenshot?
|
At first, I have to say "Thank you" for this excellent work!
I found out why the redirect phrases are not working - they phrasetypeid is wrong. I use the german vB3, so I don't know how the type is called in the english version, must be something like "Control Panel: Messages" - the phrasetypeid is "9000" (as sayed, in the german version). After installing the hack, i asked myself: If someone asks "Where do I find the homepage of XYZ", and XYZ is in the TextReplacement-Table, the other users will think he is completely insane, because there is no option to tell this automatic link from the others. So I did the following modification: I changed one line in the code to insert in functions_bbcodeparse.php from PHP Code:
PHP Code:
Next, I created a custom vb-Code: Name: autolink Tag: autolink Code to insert: Code:
<span class="autolink"><a title="this link has been created automatically" href="{option}" target="_blank">{param}</a>*</span> At last, I went to the custom CSS-Definitions and inserted the following: Code:
.autolink a:link Additionally, the links will be underlined. If you alreade use "underline" for the normal Links, you should use any other CSS-Definition. |
Thank you for that! I will definitly be looking at your above post when I port this to 3.5.0! :)
|
Feel free to do so :)
Just found another problem: If the text to replace is followed by a ".", it will not work. And if the word to replace is the first in a line, the link will "jump" to the end of the line before, even if there are one ore more blank lines in between. (Tried this also with the original hack without my modifications, same behaviour). Any idea? |
All times are GMT. The time now is 09:30 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|