HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Re: How do I write a Plugin with a Module?
No, I mean that if your mobile theme does not have the panel, simply add it to the tpl. then anything that is on the panel will also work for the mobile. Mobile themes by default don't contain the panel. I added it to my themes because I wanted to have the panel and it's contents also available for mobile. Adding the panel… -
Re: How do I write a Plugin with a Module?
-
Re: How do I write a Plugin with a Module?
@R_J, a plethora of new information I have to process first, really cool stuff! Pure CSS really could be it, but is the shown CSS hack cross-browser compatible? With CSS I'm always afraid having to make specific adaptations for various browsers to have it look the same whichever browser the visitor has in use.… -
Re: How do I write a Plugin with a Module?
It's so easy, let's do it here together :) And if it is ready, we could ask some mod to split the discussion and move it to the tutorials. I'd split it up into 3 steps which are also the files that you need: 1. Create the plugin: /plugins/Countdown/class.countdown.plugin.php 2. You want to create a module, so let's create… -
Re: How do I write a Plugin with a Module?
I wanted to go through the code and make some annotations. I've told you that your module needs two functions, but gave you a hint that they could be replaced. While I would always stick to the ToString function, I guess it would not be bad to replace AssetTarget. AssetTarget determines where your module should be… -
Re: How do I write a Plugin with a Module?
Well, I'm in teaching mode, so here is step2: class.countdownmodule.php A module should do/show something and you have already written some code. Mind sharing it with us? We could implement it in the skeleton I'll construct in this post. Here we go. As I've said above, we need to create our own class and there is a naming… -
Re: How do I write a Plugin with a Module?
OK, I have put it all in place. Some things I'd like to comment on: I have implemented it with single pictures because it was the easiest that I can do on a short notice. Have a look at my test setup >>> here <<< to see my hacky-style implemention at work. That's exactly how I wanted it to look like, and I could not figure… -
Re: How do I write a Plugin with a Module?
Oh boy, I wish I could write my own Vanilla plugins! I wanted to learn how to do it for quite some time now, but never got around it. I had to implement a countdown button in the side panel for our forum just recently, which was when I discovered that I can't just insert PHP code into the default master template file. My… -
Re: How do I write a Plugin with a Module?
Wow, you are amazing, @R_J, this will be really a great help not only for me. Right now I really can't start playing around with this (have to work), but in the meantime I can let you know how exactly I have implemented that countdown functionality with my "hacky" style. library/vendors/SmartyPlugins/function.countdown.php…
9 results