Search found 144 matches
- Wed Oct 23, 2013 6:05 pm
- Forum: [3.x] Discussion
- Topic: porting 3.0 mods to 3.1 extensions...
- Replies: 47
- Views: 60936
Re: porting 3.0 mods to 3.1 extensions...
That's what I thought,and thanks for the clarification.
- Tue Oct 22, 2013 11:32 pm
- Forum: [3.x] Discussion
- Topic: porting 3.0 mods to 3.1 extensions...
- Replies: 47
- Views: 60936
Re: porting 3.0 mods to 3.1 extensions...
Will we still allow modx style mods with validation?? Or will those be history (other than on hack sites)?
- Sun Oct 20, 2013 10:11 pm
- Forum: [3.x] Discussion
- Topic: porting 3.0 mods to 3.1 extensions...
- Replies: 47
- Views: 60936
Re: porting 3.0 mods to 3.1 extensions...
Adding tones of if() statements is not different to the fact that MODs deleted code of core files with a replace-with statement? There are a huge number of validated mods for phpbb3.0.x, and a typical forum operator installs only a few. Are you planning on scattering if statements throughout the co...
- Sun Oct 20, 2013 9:31 pm
- Forum: [3.x] Discussion
- Topic: porting 3.0 mods to 3.1 extensions...
- Replies: 47
- Views: 60936
Re: porting 3.0 mods to 3.1 extensions...
I wasn't planning to sit down and determine what I need until I have some general rules. I think the questions remain: - how should we pass additional variables to a function that doesn't already use array parameters we can tack onto? (I haven't studied the new core code yet, but If the new core cod...
- Sun Oct 20, 2013 8:55 pm
- Forum: [3.x] Discussion
- Topic: porting 3.0 mods to 3.1 extensions...
- Replies: 47
- Views: 60936
Re: porting 3.0 mods to 3.1 extensions...
You're right in the case of submit_post()...for example my save full drafts mod passes new variables to submit_post() via $data so that's a bad example :oops: But there are plenty of other functions where arrays are not passed. What's the preferred way to pass a new variable to functions that do not...
- Sun Oct 20, 2013 8:22 pm
- Forum: [3.x] Discussion
- Topic: porting 3.0 mods to 3.1 extensions...
- Replies: 47
- Views: 60936
Re: porting 3.0 mods to 3.1 extensions...
You really should not add parameters to functions like submit_post (even in phpBB 3.0) Really?? How should a mod author pass additional variables to functions like that? In my first mod attempts (going back to around 2004) I simply added a line in the relevant function declaring the relevant variab...
- Sun Oct 20, 2013 7:56 pm
- Forum: [3.x] Discussion
- Topic: porting 3.0 mods to 3.1 extensions...
- Replies: 47
- Views: 60936
Re: porting 3.0 mods to 3.1 extensions...
Ok, in the simple example of adding a parameter to a call is that the way you actually want us to do it?
- Sun Oct 20, 2013 7:44 pm
- Forum: [3.x] Discussion
- Topic: porting 3.0 mods to 3.1 extensions...
- Replies: 47
- Views: 60936
Re: porting 3.0 mods to 3.1 extensions...
Well in some cases a replace with is only the lazy way for doing something a different way. So if you need something like that, we can add a variable and put a if ($var) around the block Ah, but when you say 'we' you mean the mod author rather than the developers correct? I.e. the only thing the de...
- Sun Oct 20, 2013 11:52 am
- Forum: [3.x] Discussion
- Topic: porting 3.0 mods to 3.1 extensions...
- Replies: 47
- Views: 60936
Re: porting 3.0 mods to 3.1 extensions...
Looking at the tutorial by Joas, it seems that creating extensions for 3.1 is rather impossible for regular community member unlike it was for 3.0 MODs. I have the same concern, since it seems pretty involved and I suspect a lot of mod authors (like me) have never even written classes. If we spend ...
- Sun Oct 20, 2013 10:13 am
- Forum: [3.x] Discussion
- Topic: porting 3.0 mods to 3.1 extensions...
- Replies: 47
- Views: 60936
Re: porting 3.0 mods to 3.1 extensions...
Looking at the tutorial by Joas, it seems that creating extensions for 3.1 is rather impossible for regular community member unlike it was for 3.0 MODs. I have the same concern, since it seems pretty involved and I suspect a lot of mod authors (like me) have never even written classes. If we spend ...