Welcome to Makestation! We are a creative arts/indie discussion community — Your center for creative arts discussion, unleashed!
Please note that you must log in to participate in discussions on the forum. If you do not have an account, you can create one here. We hope you enjoy the forum!
Congratulations to @pierreh and @Darvince on their dual-selection as Member(s) of the Month for November!
Makestation Member of the Month - Award Nominations
The Makestation Member of the Month vote is held to recognize that have made positive contributions to the community. The Member of the Month for November, will be recognized for their contributions for the previous month (October).
All qualifying nominations must be received by 30 October to be considered. Voting will begin as soon as I can possibly get one established, but no earlier than 31 October.
Hy good morning, I saw an old plugin:
################### https://mods.mybb.com/view/index-top-posters-2
Name: Index Top Posters
Description: Show Todays / Weekly / Monthly / Forum Top Posters in Index
Compatibility
MyBB 1.4: Yes
MyBB 1.6: Yes
###################
Unfortunately the Entwinkler is no longer available and I myself cannot get this plugin for the Mybb 1.8 to work, do you (Darth-Apple) or also can adapt it for the 1.8? lg Tc4me
I'm just going to call this decade the 20s. I think this year kicked it off. We've been through enough. Here we go.
Anyway, I've noticed a lot has changed. Most free softwares have sort of fallen by the wayside. Those that are still running free forums are running simpler (not more advanced) communities, almost with fewer features.
MyBB's support forum is only a shadow of its old self. It's still alive and has a dedicated following, and a number of developers still contribute plugins and themes. But the software itself lacks responsiveness and basic features that come with more modern softwares, so it's been difficult for them to attract the new users they deserve. I absolutely love MyBB, so it's a bit of a shame that it seems slower. It seems that it doesn't have the fire it once did though, and I hope that this can change in the long term.
Forums have really been taken over by more modernized solutions, such as Facebook groups. FB groups is huge. I actually thought long and hard about making a presence for MS on FB groups, but my fear is that it would detract from the actual forum itself. We will probably expand long-term into more modernized solutions, but the makestation.net forum is the absolute first priority, and we won't do anything to the detriment of this forum.
That being said, it truly seems that the landscape has changed. The opportunities that were available to us when MS was founded in 2013 just don't seem to be as plentiful now.
What are your thoughts? Where are forums going in this next decade?
Someone on the MyBB community forum requested a reputation bars plugin tonight. I was surprised to find out that no such plugin existed yet for MyBB 1.8. Some previous ones existed for older MyBB versions, but they had restricted licenses prohibiting people like me from porting them.
Long story short, I ended up writing a new one. It's extremely simple at this time, but I figured I'd post here, in case anyone needs a reputation bars plugin and lands here from google.
I was looking at the phpBB default design the other day and had an idea pop into my head with the theme. Long story short, I found myself messing around with it to get a feel for what could be done with it... and lo and behold, a theme comes forth.
I will say that so far it's been VERY different from what I'm used to. I've never messed with phpBB before, so this is a first. That said, it's absolutely awesome working with a tableless, responsive default theme by default, so it's been a huge timesaver. It's gotten a little easier as I've messed with it some more.
What do you guys think of this so far? (I'm thinking about releasing this if it turns out well)
I've done quite a few small CMS-style projects for university and for random purposes. Each time, we ended up having to theme the project and it was always easier to do so by separating the HTML from the PHP. Fortunately, there are many template engines available, but some are very tedious to implement and are not suitable for small projects.
Luckily, it's incredibly easy to do templates with no trouble whatsoever. This template engine is incredibly simple and can be added to your project in less than 5 minutes. I use it on every raw project I've ever done, and it's a great time-saver and makes our code much cleaner and easier to maintain.
I've included the template_engine.php file with this post. It's licenced under the GPL 2, but if you need a different license, please PM me!
1. Create a file called template_engine.php with the downloaded file attached here. Include (or require_once) this file into every file/page of your project (such as index.php, etc). You may want to use your require_once("template_engine.php") in your init or global.php instead, depending on how your project is structured.
2. Now, create a templates folder inside your project. This folder should be in your project root and will contain all HTML template files.
3. Instantiate the template engine in each of these pages, or in your init file. Use the following:
Code:
$templates = new template_engine();
4. Start setting template variables/tags in your code. These variables will be replaced with the values they are set to when the template engine outputs your page. For example, in your index.php, you could set variables like this:
Now, the [@some_variable] tag will be replaced by "1234" by the template engine when it's ready to parse. Likewise, [@username] will be replaced with "Steve". Create as many variables as you like.
5. Create your index.html template in your templates folder. Use something like the following:
As you can see, we've used our new template variables directly in the template file. These variables will be replaced by their corresponding values on the fly by the template engine.
6. Parse the template and echo it. This will process all template tags and will send the resulting page to the browser.
Code:
echo $template->parse("index");
And now, with a simple template engine and 5 minutes of implementation, you can abstract away all HTML from your PHP code. This allows you to completely refactor the style and hTML structure of your theme/page without changing any of your PHP files, and keeps the project much cleaner than it would be with interleaved HTML/PHP.
Simple template engines such as these are perfect for small projects, university/college assignments, etc.
Hope this helps! Feel free to use it in your own projects as needed.
More Information (click spoiler):
[spoiler]
Can I change a variable/tag after it's already been set? Yes! So long as you haven't parsed your template (sent it to the browser) yet, you can use the $templates->set function as many times as you need. It will overwrite the previous value of the tag with your new value.
How should I handle template headers/footers?
I recommend having a separate header.html and footer.html template. At the very beginning of your PHP page, parse these using the following:
Now, in your index.html template, you may use the header/footer tags as normal:
Code:
[@header]
<h1> My page content </h1>
[@footer]
This allows you to use the same header/footer template for all of your pages, preventing you from having to duplicate the HTML in every page of your website.
Can I use templates inside of templates?
Yes! In fact this is recommend and is standard practice for simple template engines such as these. See the example above on how to do this.
What about the license? Feel free to use this in your own projects, that's what it's for! I wouldn't have licensed this at all, but I don't want someone stealing it, saying they wrote it, and then licensing it under some restrictive license. If you need a different license, please PM me!
[/spoiler]
FluxBB is an extremely bare-bones, simplified forum software that takes away almost all bloat that could be conceived. It's so simple that the entire ModCP and ACP are combined into one page, but yet it works and it's easy, and it's quite refreshing really. Much less cluttered, which is nice.
I installed it to experiment today (was always fond of PunBB, Flux's upstream parent). It doesn't have many features, but the interface is extremely simple and clean and the ACP is extremely easy to use. It has a huge mod database for such a bare-bones software as well. Some of them look pretty interesting.
I would never use it personally. It's a little too simple for my tastes(which is the whole point of it really), but it's perhaps the most streamlined mainstream forum software on the internet. For forums that need simplicity, it's nice. And judging by the mods, it apparently is pretty popular.
That being said, the default theme is absolutely horrendous, but some people have come up with some nice ones.
Didn't think it would be this hard, but it was absolutely the right thing to do. He will be missed like no other. Poor cat was crying like a baby. Never heard a cat cry like that, but I found out what it was like on Sunday, and it wasn't a pretty sight.
We made the call to end his suffering the easiest way possible. He was obviously dying and in excrutiating pain (despite pain relievers and sedatives), so we decided this was the best thing we could do for him. The vet was shocked he was still alive when we arrived. FIP had been diagnosed too late for us to treat it. (By the way, if anyone knows someone whose pet is fighting FIP, have them contact me. I know of treatments that can cure it if it's caught early).
Seems cliche because we all lose pets we love, but this one was harder than usual. Poor thing was much too young to die, and he had a force of will to be reckoned with. He refused to let go, even in his final hours.
I figured I'd move on like usual, I've lost friends and family and it's been so much easier. But this particular time it hit me hard. I'm glad the vet let us be near him in his final hours (Covid restrictions usually restrict that), but it doesn't make it any more bearable.
Please make your selection or the Member of the Month for October 2020.
This vote is to recognize members for their contributions for the previous month. In this case, a user's contributions for the month of September lead to their nomination for the October Member of the Month.
The poll is anonymous, and no one will see your vote.