Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 10    Views: 71

Bonzo
Apple Fan
Profile
Posts: 783
Reg: Jan 30, 2012
Basingstoke
13,530
12/27/13 10:26 AM (11 years ago)

Uploading plugin package

I have just tried to upload a plugin package i have been working on and it says ".PHP files cannot be in the package" is there any way around this? the .PHP files are needed for my plugin. I notice some of the standard BT plugins have .php files so i assumed it was OK? Thanks Steve
 
Red Dog
buzztouch Evangelist
Profile
Posts: 805
Reg: Jun 16, 2011
Southern Califo...
18,800
like
12/27/13 11:55 AM (11 years ago)
Hi Steve. If you see a plugin that still has .php files, then it has not been updated for BT 3.0. All new plugins need to use html instead of php.
 
Red Dog
buzztouch Evangelist
Profile
Posts: 805
Reg: Jun 16, 2011
Southern Califo...
18,800
like
12/27/13 11:58 AM (11 years ago)
 
shenry
Aspiring developer
Profile
Posts: 469
Reg: Jan 10, 2012
Orange County, ...
13,390
like
12/27/13 03:02 PM (11 years ago)
I wanted to use David Book's plugins, Share via email or Share via SMS, I get this error: .PHP files are not allowed in plugin packages. It seems odd that he wouldn't update his own plugins for v3. Am I missing something?
 
nadthevlad
Code is Art
Profile
Posts: 1025
Reg: Jun 07, 2012
Denver
21,850
like
12/27/13 04:19 PM (11 years ago)
That was one of the big changes moving into 3.0, plugin developers can't upload php files to the buzztouch server. Big security risk. David let us do it before because he personally vetted each plugin. But vetting is a big time suck. Now we use javascript instead of php for the plugins.
 
shenry
Aspiring developer
Profile
Posts: 469
Reg: Jan 10, 2012
Orange County, ...
13,390
like
12/27/13 04:44 PM (11 years ago)
I knew that was one of the changes in moving into 3.0, but don't understand why David Books didn't update his own plugins (share via email, share via SMS)? For me, the plugins show that they still use php, therefore will not upload. Seems odd.
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
12/27/13 05:51 PM (11 years ago)
I've had reasonable success by uploading 'outdated' plugin files manually. Will that work? Cheers! -- Smug
 
MacApple
Apple Fan
Profile
Posts: 4675
Reg: Oct 25, 2010
USA
61,150
like
12/27/13 06:00 PM (11 years ago)
'Reasonable' like it. Always a way. Worked for me with the ones I used.
 
nadthevlad
Code is Art
Profile
Posts: 1025
Reg: Jun 07, 2012
Denver
21,850
like
12/27/13 11:35 PM (11 years ago)
If this is regarding self hosted then just upload the plugin with ftp. The php files still work.
 
shenry
Aspiring developer
Profile
Posts: 469
Reg: Jan 10, 2012
Orange County, ...
13,390
like
12/27/13 11:41 PM (11 years ago)
Yes they upload with the FTP, but I've found they won't download within a v3 project.
 
Bonzo
Apple Fan
Profile
Posts: 783
Reg: Jan 30, 2012
Basingstoke
13,530
like
12/28/13 05:22 AM (11 years ago)
I'm trying to do the same with the interactive quiz plugin which has quite a few phP files which are obviously created by the BT team. I can upload via FTP ok although I haven't downloaded via 3.0 yet.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.