inherit
205702
0
Feb 23, 2014 20:18:50 GMT -8
infinitasimpetum
2
February 2014
infinitasimpetum
|
Post by infinitasimpetum on Feb 20, 2014 12:02:27 GMT -8
i am trying to create a random banner plugin but i want to later on add a theme whitelist or black list so only it works on certain themes. also so certain banners show on specific themes too.
so i need to know how to get what theme is currently being used.
|
|
inherit
The Dream Crusher (Ret.)
164921
0
Apr 1, 2014 11:00:25 GMT -8
Tim Camara
Teach a man to fish, etc., etc.
1,721
March 2011
tcamara
|
Post by Tim Camara on Feb 20, 2014 13:17:16 GMT -8
pb.data('user').theme_id
|
|
inherit
205702
0
Feb 23, 2014 20:18:50 GMT -8
infinitasimpetum
2
February 2014
infinitasimpetum
|
Post by infinitasimpetum on Feb 20, 2014 15:53:09 GMT -8
thank you
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Feb 21, 2014 1:31:30 GMT -8
there is also a "forum search" setting you can set to "themes" for a plugin's user-interface. you could make it where they can simply select a list of themes to not run the plugin.
additionally, the plugin permission settings themselves allow you to make a plugin only run on specific themes.
|
|