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)
-   -   Major Additions - AutoLinker Lite, keyword linker for vBulletin 3.7 and 4.x, and vbcms (https://vborg.vbsupport.ru/showthread.php?t=239167)

angeljs 04-02-2010 08:29 AM

What does 'remember to escape double quotes' mean?

kermit2 04-03-2010 10:37 AM

Quote:

Originally Posted by angeljs (Post 2014515)
What does 'remember to escape double quotes' mean?

Sorry, it means that if you use double quotes inside the 'content' box, they need to be escaped with a slash - eg \" rather than just "

Alfa1 04-04-2010 12:29 AM

Thanks for the explanation.

soundbarrierpro 04-04-2010 05:26 PM

Bought it, using it with currently over 1,000 links made.

By far and away one of the top mods made. This thing is awesome!

*Installed/Nominated

Mike_K 04-05-2010 08:45 AM

It works for me in the standard settings.

But if I want to edit a display template the following DB error comes:

Quote:

Invalid SQL:
UPDATE `autolinker_templates` SET title="test", tname="test",
style="font-style:Normal;text-decoration:Underline;text-transform:None;font-size:100%;color:#000000;", image="1", mouseover="popup", href="none", link_target="_top",
bgcolor="#DDDDDD", bordercolor="#000000", borderwidth="1", padding="500", windowtitle="", shadow="0",
sticky="1", titlebar="1", opacity="95", fadein="300", fadeout="300",
WHERE id="1";

MySQL-Fehler : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id="1"' at line 5
Fehler-Nr. : 1064
Fehler-Zeit : Monday, 05.04.2010 @ 11:38:10
Datum : Monday, 05.04.2010 @ 11:38:10
Skript : http://www.domain.de/test/admincp/au...updatetemplate
Referrer : http://www.domain.de/test/admincp/au...ttemplate&id=1
IP-Adresse : 11111.1.111..1111
Benutzername : Mike
Klassenname : vB_Database
MySQL-Version : 5.0.51a-24+lenny2+spu1

RedPoint 04-05-2010 09:03 AM

Error when i edit a template

Code:

Datenbankfehler in vBulletin 4.0.2:

Invalid SQL:
UPDATE `vb3_autolinker_templates` SET  title="server", tname="server",
                                        style="font-style:Normal;text-decoration:None;text-transform:None;font-size:100%;", image="2", mouseover="popup", href="link", link_target="_blank",
                                        bgcolor="#DDDDDD", bordercolor="#363D9C", borderwidth="1", padding="500", windowtitle="", shadow="1",
                                        sticky="1", titlebar="1", opacity="95", fadein="300", fadeout="300",
                                        WHERE id="1";

MySQL-Fehler  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id="1"' at line 5
Fehler-Nr.    : 1064
Fehler-Zeit  : Monday, 05.04.2010 @ 11:51:48
Datum        : Monday, 05.04.2010 @ 11:51:49
Skript        : http://www.xyz.ro/forum/admincp/autolinker_admin.php?do=updatetemplate
Referrer      : http://www.xyz.ro/forum/admincp/autolinker_admin.php?do=edittemplate&id=1
IP-Adresse    : xxx.xxx.xxx.xxx
Benutzername  : XYZ
Klassenname  : vB_Database
MySQL-Version : 5.0.26-log


kermit2 04-05-2010 09:38 AM

Mike_K, RedPoint : sorry about that, you've both found the same bug. I've fixed it and uploaded version 1.0.1 (the link is on the first post in the thread).

You won't need to reinstall to apply the fix - just extract the zip file, and upload admincp/autolinker.php (overwriting the existing file). No need to upload any of other files

RedPoint 04-05-2010 11:20 AM

thanks, its run now

tazattitude 04-05-2010 01:08 PM

Hello,
Looks like a nice add-on!

I installed it and am getting an error on the top of the admin settings page

HTML Code:

Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in [path]/a_control_panel/autolinker_admin.php  on line 1039

Warning: file_get_contents(http://www.autolinker.com/latest_lite.txt) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in [path]/a_control_panel/autolinker_admin.php on line 1039

Any idea what is causing this. It's only on the admin settings page.
I changed the cpanel to a_control_panel, not for sure if this caused the error.

Also, when I set "number of autolinks to show in any post" to 1, it does only show one autolink, but it still highlights all the other keywords... but does not link them. Is there a way not do do both once it's pass the specified amount of autolinks per post (not to link AND not to highlight).
It would be nice to limit it per "thread"

Mike_K 04-05-2010 01:22 PM

Quote:

Originally Posted by kermit2 (Post 2016070)

You won't need to reinstall to apply the fix - just extract the zip file, and upload admincp/autolinker.php (overwriting the existing file). No need to upload any of other files

Now it works, thank you. But you meant autolinker.php ind the folder /autolinker ?
Only updating the file in the admincdp (autolinker_admin.php) didn't solve the problem.


All times are GMT. The time now is 05:56 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.01275 seconds
  • Memory Usage 1,746KB
  • 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
  • (1)bbcode_html_printable
  • (3)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