Quote:
Originally Posted by dsmcd01
I was playing around this weekend, trying to get the Learn button to appear only for specific users.
It was easy enough to get the userid to the openspell function in spellmessage.js by adding $bbuserinfo[userid] to the template code, but I can't seem to get the userid from there to spelling.js where it'd do some good.
No big deal, and I understand I'm using the hack and phpSpell in a non-standard way. But, has anyone gotten this to work?
TIA,
D.
|
I would appreciate if you could share with us your progress on this issue. I have no Java programming experience, so I am at a total loss trying to alter those .js scripts, and I would like to have the learn button appear for a certain usergroup. Unfortunatelly, I have no idea how to pass the $bbuserinfo['usergroupid'] to the js files.
Any idea would be really appreciated.
Rgds