The one include in the first post of this thread is the correct one, which doesn't need the extra instructions I wrote.
But dman must have gotten his version from somewhere, so I'm guessing it's an old version of JustDaves graemlinpanel.php. Might be good to mention that.
Update: I bit of research tells me that the graemlinpanel.php of JustDaves Popup Graemlin Panel hack has been updated by Astaran with the added javascript function. This was to make sure the graemlin is inserted at the cursor when possible (I think, didn't read too closely). Perhaps an update of this hack is needed to include the most current version of the graemlinpanel.php and have it work. That way there won't be compatibility problems like this. =]
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.