Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

Plugin Code shows up in this scenario....
https://www.tinywebgallery.com/forum/viewtopic.php?f=12&t=1713
Page 1 of 1

Author:  CaymanAndy [ 19. Nov 2008, 17:15 ]
Post subject:  Plugin Code shows up in this scenario....

Hi there,

When I set the plug-in to 'Registered' users only and enter the {joomla_flash_uploader.... } code within a Joomla article....

1) If people are logged in, it all works fine.

but

2) If people aren't logged in, the {joomla... } code shows - Is there any easy way to hide this in this scenario?

If not, it's not a major thing and I'll work around it somehow.... but thought you may have a quick solution!

Thanks

Andy

Author:  TinyWebGallery [ 19. Nov 2008, 17:39 ]
Post subject: 

You can use the component for this - there you can specify what happens if a non registered user accesses the page. Read the group help for details.

In my code I already check if the plugin is enabled - I actually have to investigate if there is a better way to do this with registered mode.

/Michael

Author:  CaymanAndy [ 19. Nov 2008, 17:43 ]
Post subject: 

OK Thanks - Sorry I missed that on Group Help. :shock:

Golden Rule for all - Check the forum and help first!!!!!

Author:  TinyWebGallery [ 19. Nov 2008, 18:09 ]
Post subject: 

I have posted in the Joomla forum if there is a way to detect the access level of a plugin and remove the { ...}.

If there is a way I'll update the pluin.

/Michael

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/