Subject: Unable to edit any of the Links in the Links section

Posted on: 06/03/2017 12:38am
By: Anonymous

I created a Link and now I am unable to edit the link. When I click on the pencil, it opens the page for a new link.

This is on version 2.1.2.


Re: Unable to edit any of the Links in the Links section

Posted on: 06/03/2017 06:53am
By: Laugh

Thanks for the report. We hope to have it fixed soon.

For more details see the issue on GitHub: https://github.com/Geeklog-Plugins/forum/issues/21

Re: Unable to edit any of the Links in the Links section

Posted on: 08/05/2017 05:33pm
By: BruceG

The bbcode bug for buttons is fixed in the latest version at least, but this bug persists. I fixed it locally by changing line 531 of admin/plugin/links/index.php from:

PHP Formatted Code
$display .= editlink($mode, Geeklog\Input::fGet('id'));
to
PHP Formatted Code
$display .= editlink($mode, $_GET['lid']);

Re: Unable to edit any of the Links in the Links section

Posted on: 24/05/2017 03:14am
By: Anonymous

Quote by: BruceG

The bbcode bug for buttons is fixed in the latest version at least, but this bug persists. I fixed it locally by changing line 531 of admin/plugin/links/index.php from:

PHP Formatted Code
$display .= editlink($mode, GeeklogInput::fGet('id'));
to
PHP Formatted Code
$display .= editlink($mode, $_GET['lid']);



Thank you for the information, Bruce!

I had been unable to decipher the issue and the github recommendation did nothing to clarify the true issue. I ended up abandoning the use of Geeklog. I really enjoyed using it for awhile.


Re: Unable to edit any of the Links in the Links section

Posted on: 29/06/2017 09:07pm
By: Anonymous

I downloaded v2.1.3 to try it out again.

The issue with being able to edit weblinks is still there.

Your code modification did the trick. Once again, thanks!!

Re: Unable to edit any of the Links in the Links section

Posted on: 30/06/2017 07:00am
By: Laugh

Thanks for the report. This issue somehow got missed. I created a new separate issue for it on GitHub so it doesn't get missed again. Cool

https://github.com/Geeklog-Core/geeklog/issues/798

Re: Unable to edit any of the Links in the Links section

Posted on: 30/06/2017 09:53am
By: masodo

Thanks Harold - you beat me to it Big Grin
Thank you BruceG for the quick-fix... Works like a charm! Cool

Re: Unable to edit any of the Links in the Links section

Posted on: 20/09/2017 10:24am
By: Laugh

This issue is now fixed in the repository on GitHub. The correct fix is to replace the above line with:

PHP Formatted Code

$display .= editlink($mode, Geeklog\Input::fGet('lid'));
 


The only thing wrong was the name of the variable. The other fix works but is not as secure.

Geeklog - Forum
https://www.geeklog.net/forum/viewtopic.php?showtopic=96468