Welcome to Geeklog, Anonymous Wednesday, January 01 2025 @ 12:03 pm EST
Geeklog Forums
Sort of a bug found in current release, not major.
In the config.php file there is a section for 'autolinks' that provides incorrect information.
The default setting is as follows:
$_CONF['disable_autolinks'] = 0; // 0 = autolinks enabled
However, this does not actually create autolinks when a URL is entered in a story.
Changing the value from 0 to 1 does allow autolink creation. Not sure if anyone has ever noticed / mentioned this but I thought it was worth pointing out
The default setting is as follows:
Text Formatted Code
// disables autolinks if set to 1$_CONF['disable_autolinks'] = 0; // 0 = autolinks enabled
However, this does not actually create autolinks when a URL is entered in a story.
Changing the value from 0 to 1 does allow autolink creation. Not sure if anyone has ever noticed / mentioned this but I thought it was worth pointing out
5
6
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Sorry, can you rephrase that, please?
The idea of that option is that when it's set to 1, all autolinks would show up as you entered them (with the square brackets) instead of being replaced with whatever they where supposed to. As far as I can see, that is working as intended. And since the option is checked in PLG_replaceTags, this would then apply to all autotags automatically, so stories shouldn't behave any different from the rest ...
bye, Dirk
The idea of that option is that when it's set to 1, all autolinks would show up as you entered them (with the square brackets) instead of being replaced with whatever they where supposed to. As far as I can see, that is working as intended. And since the option is checked in PLG_replaceTags, this would then apply to all autotags automatically, so stories shouldn't behave any different from the rest ...
bye, Dirk
7
5
Quote
Status: offline
andyofne
Forum User
Chatty
Registered: 08/31/02
Posts: 69
Dirk,
Perhaps I don't understand something here, it's always possible.
When I read 'autolinks disabled' I presume that means html links will not be automatically generated when you type them in a story. For instance, when the default setting is used and I type a URL in a story it will appear in the story a simple unclickable text. It does not generate a link automatically.
When I change the setting to "1", which then means "autolinks disabled" and I type a URL in a story without adding the HTML code myself, the HTML link is automatically generated.
The language posted above appears to be backwards.
It says "disable autolinks if set to 1". But clearly, it is creating links automatically when set to 1.
Regards,
Andrew
Perhaps I don't understand something here, it's always possible.
When I read 'autolinks disabled' I presume that means html links will not be automatically generated when you type them in a story. For instance, when the default setting is used and I type a URL in a story it will appear in the story a simple unclickable text. It does not generate a link automatically.
When I change the setting to "1", which then means "autolinks disabled" and I type a URL in a story without adding the HTML code myself, the HTML link is automatically generated.
The language posted above appears to be backwards.
It says "disable autolinks if set to 1". But clearly, it is creating links automatically when set to 1.
Regards,
Andrew
7
7
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
"Autolinks" refers to the thingies in square brackets, see About Autolinks And Autotags
Links in text-only posts are automatically converted into clickable links and there's currently no option to switch those off.
bye, Dirk
Links in text-only posts are automatically converted into clickable links and there's currently no option to switch those off.
bye, Dirk
7
6
Quote
All times are EST. The time is now 12:03 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content