Welcome to Geeklog, Anonymous Wednesday, June 19 2024 @ 04:37 am EDT

Geeklog Forums

Autotags plugin v1.0 - fix for PHP function feature not working


Status: offline

Blaine

Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
I was trying to figure out why the [Edit] feature was not appearing for any of the phpfunction based autotags. A client asked me to install the plugin and create a custom autotag.

After ensuring I had enabled the feature (is enabled by default) but access is disabled. Added the autotags.PHP access right - but still no luck

Tracked down the issue was in functions.inc
Text Formatted Code

function plugin_getListField_autotags($fieldname, $fieldvalue, $A, $icon_arr) {
    global $_CONF, $LANG_ADMIN, $LANG_ACCESS, $_TABLES,$_AUTO_CONF;

 

The global $_AUTO_CONF was not added as global so it always will not be able to get the autotag settings - like is PHP allowed.

After that - all was good.
Thanks Joe :chestslam:
Geeklog components by PortalParts -- www.portalparts.com
 Quote

Status: offline

jmucchiello

Forum User
Full Member
Registered: 08/29/05
Posts: 985
Yeah, there's a comment about that in the original autotags thread. I have a version 1.01 with the fix but just have not had the time to test installing it to my own satisfaction before releasing it. Hopefully by the end of next week when I see a light in my schedule, I'll get it out.
 Quote

All times are EDT. The time is now 04:37 am.

  • 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