Vacation!
For those of you know don’t know, I’m taking a vacation. I’ll be up at Tahoe for a week. I’ll post pictures if my camera doesn’t screw up again (like last time
)
See you guys back in a week!
Web Development
For those of you know don’t know, I’m taking a vacation. I’ll be up at Tahoe for a week. I’ll post pictures if my camera doesn’t screw up again (like last time
)
See you guys back in a week!
A long while ago Chris had made a blog post on “Bitwise Operators“. Now, just to make it crystal clear, Bitwise Operators are not in MyBB 1.4. MyBB 1.2 was more focused on the code. MyBB 1.4 is focused more on features. Sorry folks, but there isn’t just enough time in the world!
However, I’d like to bring them up again and revisit the idea of what they are and how they work.
To re-iterate what Chris stated on his blog post, Bitwise operators are operators that work on a bit-level. You can assign “levels” to a number. This number indicates the level and later on, will be able to provide us with what users have what permissions. In turn you have an array of users each assigned a specific value.
We’ll use Chris’s crisp and clean example to show how bitwise operators work:
<?php
$notices['can_view'] = 1;
$notices['can_post_threads'] = 2;
$notices['can_post_replies'] = 4;
$notices['can_edit'] = 8;$testers[1] = 1;
$testers[2] = 5;
$testers[3] = 9;
$testers[4] = 14;foreach($testers as $key => $tester)
{
echo “$key”;
foreach($notices as $key => $notice)
{
if($tester & $notice)
{
echo ” – $key”;
}
}
echo “<br />”;
}
?>
Now this code will print out the following:
1 - can_view
2 - can_view - can_post_replies
3 - can_view - can_edit
4 - can_post_threads - can_post_replies - can_edit
Now you may be asking how we got that? In case you missed it, tester 4 has a value of 14. Now look at what the tester got: “can_post_threads - can_post_replies - can_edit". can_posts_threads has a value of 2, can_post_replies has a value of 4, and can_edit has a value of 8. Now what does that all add up to? 14! And so on and so forth; See? Simple!
This system can make our most difficult permissions night-mares as easy as the above example. If our course doesn’t change, I believe you will be seeing a lot more of Mr. Bitwise in 2.0 than ever before.
Just wanted to let everybody know, I have completed an interview with tmhai and DrPoodle. Check out the interview here: http://mybbgames.com/2007/05/11/an-interview-with-tikitiki/
Enjoy
After reading the blog posts on Dennis’s “Removing the copyright is a bad idea”, specifically WJ’s blog post, I decided to bring up his point in the staff forum. Resulting will be a new copyright for MyBB 1.4.
The current copyright
Powered By MyBB
Copyright © 2002-2007 MyBB Group
Will now become
Powered By MyBB, © 2002-2007 MyBB Group.
Both Chris and I feel this new copyright should ease up the constroversy and please more people by making it look less like it’s ours and more like it’s yours.
Aside from MyBB for today, I ask what is love? I’ve been pondering this lately. I realized I’ve been asking myself the same question in lots of different ways. But how do you know if your in love? Are you supposed to feel a certain way? Is it that pounding in your heart? An everlasting feeling? I know some say that you will just know. But how will I know that I know?I’m not expecting an answer to this impossible question, just throwing this out there for today.
It is that time again. The forum market is now in a restoration mode for the oldies. phpBB 3 is imminent for release and rumors are flying about a new vB ACP. This presents a great deal of pressure for the rest of us and causes market share loss. Although this might be bad, it’s also good too. A healthy, competitive market, is a good market. If I might say, MyBB will ‘finally’ have some competition other than SMF, on a free forum level.
On the other hand, it means the MyBB team and everyone else will have to work harder to gain a hair in the already overflowing head of hairs.
Just my 2 cents for the night.
Next up on MyBB, and the first new 1.4 feature to be revealed on my blog, is…
Drum roll please
Plugin Version Checking!
Yep, the new ACP now has a way of checking updating for plugins. It will connect to the MyBB Mods server and returns a list of plugins that need updating.
How is works?
In an effort partly driven to keep this blog at least 5% active I am trying to blog a little more. Here I will be talking about MyBB’s very own “Sexiest Developer“! Which of course, as you all know, is me!
Recently, it came to my attention that the next contest for MyBB Fans didn’t have enough prizes in the case that the date was guessed before the MyBB 1.4 beta starts. I gladly came to the rescue! I am a prize… Well, Sort of.
The prizes listed above will be increased if and only if the winner submitted the winning guess before the MyBB 1.4 beta program starts. In this case, the winner will have the choice of ONE of these prizes:
- $20USD via PayPal and an additional $10USD and a signed photo of Tikitiki, the “sexiest developer” by mail
- One 3-Year new domain registration (choice of .com, .net, .org, .info, .co.uk)
- Three 1-Year new domain registrations (choice of .com, .net, .org, .info, .co.uk)
- One 2-Year, and One 1-year new domain registrations (choice of .com, .net, .org, .info, .co.uk)
These will be accompanied by a 2-year premium membership and one or two email addresses (winner’s choice).
Of course the team loved the idea and were jealous that they weren’t eligible for the prize. Some even thought about quiting if I didn’t send them their own personal copy! I know I’m just soo irresistible huh!
And once again Tikitiki saves the day 
Recently Chris Boulton and I had a 101 lesson on Your and You’re grammar. It went something along the lines of this:
Chris Boulton says:
Your and You’re
Chris Boulton says:
the Chris Boulton 101
Chris Boulton says:
You’re is the shortened version of “you are”
Chris Boulton says:
for example
Chris Boulton says:
instead of saying you are tikitiki, I could say you’re tikitiki
Ryan says:
you’re gay
Ryan says:
like that?
Ryan says:
just kidding.
Chris Boulton says:
your defines posession of something
Chris Boulton says:
IE, your small brain
Chris Boulton says:
just kidding
Ryan says:
rawr
Chris Boulton says:
http://community.mybboard.net/showthread.php?tid=16612&pid=109815#pid109815
Chris Boulton says:
You’re*
Chris Boulton says:
it’s the same with a lot of your posts recently and it gets to me
Ryan says:
pfft
Ryan says:
you remind me of the Atari Community
Chris Boulton says:
http://community.mybboard.net/showthread.php?tid=16597&pid=109701#pid109701 correct. you get a gold star.
Ryan says:
same with dennis
Ryan says:
yay
Ryan says:
how many demerits do I have?
Chris Boulton says:
http://community.mybboard.net/showthread.php?tid=16538&pid=109699#pid109699
Chris Boulton says:
i’m taking it away again
Ryan says:
/me looks up and sees a wall full of demerits
Ryan says:
hmm
Chris Boulton says:
http://community.mybboard.net/showthread.php?tid=16589&pid=109661#pid109661
Chris Boulton says:
+1
Chris Boulton says:
http://community.mybboard.net/showthread.php?tid=16586&pid=109656#pid109656
Chris Boulton says:
-1
Chris Boulton says:
you seem to sit on 0
Ryan says:
-1?!
Ryan says:
why’d I get -1?
Chris Boulton says:
yeah should be -2
Chris Boulton says:
http://community.mybboard.net/showthread.php?tid=16586&pid=109656#pid109656
Chris Boulton says:
err
Chris Boulton says:
Your installing 1.2.1? Your vulnerable to attack,
Ryan says:
+1
Ryan says:
so what now?
Chris Boulton says:
they’re both wrong
Ryan says:
fixed fixed fixed fixed
Ryan says:
I get lots of gold stars?!?!
Ryan says:
btw, this little convo is definately going on my blog.
I guess I’ll have to wait till next year to make this my 2008 New Year’s resolution. And when I say this I don’t mean work on my grammar. I mean to get back at Chris for this. buahahaha
The whole point of the MyBB Import system is that you can merge databases. You can also select what to import, and what not to import. Now it’s not finished, but I’ll explain what the system does and how easy it really is!
The first step – The welcome page! Not all of the converters have been finished, but this shows what will be done by the time 1.4 is released. Currently we’ve finished: MyBB (Merge), SMF, phpBB 2, and PunBB.
The second step shows you the module list. You’ll need to fill in your database configuration details as shown in the picture below.
This page is where you’ll fill in the database details of the database you want to import.
Once you are done with that, you’ll get back to the module page. Here you’ll see that you can select a module to start out from. These modules need to be done first because data is required from these modules for other modules.
![]()
Here you’ll input how many of the module you selected you want to import. Once you’re done with this, click next to continue.
![]()
At this screen, it shows you whats been run in the module. Click next to continue; If there are more it will continue on with the module, otherwise you’ll be sent back to the module list as depicted in the picture below.
Here you’ll be able to select the next module, or, if your finished, you can press ‘Clean Up’ and it will show the next page.
![]()
The is the last page of the importer before you can visit your new imported board
You can also pause modules so you don’t have to run them all. Say you only wanted to import 10 threads. And of course, you can resume the module if you wish to continue importing them, but we’ll get into that more later