Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - snoopy-virtual
16
Wonderful.

So I have been 7 months trying to forget the word "mods" and call them "plugins" instead and now Arantor says the proper word is "add-ons" and Nao want to call them mods again.

Can you please make your mind?  :eheh:

Only joking. As a lot of you have already said it doesn't really matter, because the people will get use to whatever word you chose. For example when I started with SMF ages ago, I came from the Joomla community and was used to call them components, modules and mambots, so the word mods was new to me and I adapted really quick.

In fact I think the word that make more sense is "add-ons", because they are not "modifying" anything in the core but "adding" a functionality.
17
Personally I love the Wine design you are doing.

There is only one thing I am not happy with: I only drink beer.  :lol:
18
Off-topic / Re: Either I'm going mad or I found a PHP bug
« on July 8th, 2011, 01:09 AM »
Funny enough I saw a similar problem a year ago. I had in one of my mods an array of members suspicious of being spammers and I had to do some process with them to be sure if they were spammers or not.

The array of members to process was called $members_data and I had in the code:

Code: [Select]
foreach ($members_data as $row)
{
(do some process)
}

After the foreach had processed all the members that were supposed to be there, it was also processing another one with NULL values.

I was ages trying to find out where this last NULL member had come from and couldn't find it, so at the end I assumed I had made a mistake somewhere else loading the members into the $members_data array and just added this to sort it:

Code: [Select]
foreach ($members_data as $row)
{
if (!empty($row['id_member']))
{
(do some process)
}
}

That of course sorted the problem because it was not precessing the NULL member, but I have been always going back to that problem trying to sort it properly (finding where the NULL member had coming from in the first place).

I never thought it could be a bug in PHP.
19
The Pub / [Archive] Re: Logo Madness
« on July 7th, 2011, 01:04 PM »
Well I started when I was 16 and I'm going to be 55 in 2 weeks time. So I'm not old at all (I need to admit I fart a lot though)  :eheh:
20
The Pub / [Archive] Re: Logo Madness
« on July 7th, 2011, 12:37 AM »
I had a small Casio computer back in 82 with just 64Kb of Ram (no hard drive) working only in basic. Had to load DOS every time I turned it on using a tape recorder (no floppys) and could run only a program at a time.  :lol:

In fact the processors inside any of the synthesisers I have now are a lot more powerful than the one that small thing had.  :eheh:
21
The Pub / [Archive] Re: Logo Madness
« on July 6th, 2011, 07:21 PM »
Hippies? Don't think so. Look at the way I was in 1982:



Just a little hippie, but not too much.  :niark:

Btw, I have changed a lot since then. My hair has the same length, but is more white now.  :eheh:
22
The Pub / [Archive] Re: Logo Madness
« on July 6th, 2011, 04:09 AM »
I only shave when I need to go and meet a customer face to face.

In fact you can say how long I have been hiding in my room doing all the work via internet without going out to meet a customer by the length of my beard.  :eheh:
23
Off-topic / Re: Unknown's thoughts on Wedge
« on July 4th, 2011, 11:36 PM »
I didn't know there was hostings sharing the same sourcedir between a few forums. It would be very dangerous indeed if they could edit the files there.

Well ... My first advise when somebody comes with that problem has always been: "Change your hosting", so I suppose I will stick with that one.

One thing is sure, I would never use one of those hostings.
24
Off-topic / Re: Unknown's thoughts on Wedge
« on July 4th, 2011, 04:13 PM »
Quote
ViewFile thing... hmm. I can't see any huge reason to get rid of it, and I can see a smallish reason for keeping it: people *do* post its output when things are broken, because when you have file edits, it can show what's broken. Though for the most part I'd probably argue it doesn't help, but that doesn't mean it hurts to keep it either.
In all the time I have been giving support, I have seen some people in cheap servers with no FTP access nor a good control panel, so the only way they have, if they ever need to edit a file, is using this feature.

If file edits are going to be ever needed I would even suggest you could extend that feature to all the files (not only the Theme files) for that people without FTP.
25
Features: Theming / Re: JavaScript caching
« on July 2nd, 2011, 09:20 PM »
Well ... I am not banned there (yet  :eheh: ) but I cannot see it either.
26
Off-topic / Re: Unknown's thoughts on Wedge
« on June 28th, 2011, 02:53 AM »
Quote
SD 2.0 still requires multiple file edits (which I swear I said several times)
Yes of course, the SMF version. But I was talking about Simple Desk for Wedge. And don't tell me that's not done yet, because I am sure it is. Maybe not physically, but it's already in your head. And I bet that version hasn't got any file edits at all.

Maybe I'm wrong but I suppose, all the time you were creating SD 2.0 for SMF, you were thinking how you could have done every small detail for the Wedge version and, all the work you have done lately here, you have done it taking into consideration all those things you were thinking while creating SD for SMF. Don't remember exactly where I have seen it, but I am sure you have said something very similar a couple of times here.
Quote
But since it's become increasingly clear that I'm barking up another wrong tree, I might as well revert what I've done and go with my first plan of enhancing what's there and praying to $deity that my fears are baseless, except I know full well I'm right there.
I think if you do that it will be a wrong move. I think the right decision was when you decided to forget completely file edits and do everything with hooks. Of course it's not up to me at all to decide what you are going to do. It's up to you.
27
Off-topic / Re: Unknown's thoughts on Wedge
« on June 27th, 2011, 07:44 PM »
My personal opinion is that if it can be done using only hooks I would prefer it.

I don't know how many hundreds of hours I have lost asking questions like "OK, let me see what Theme you are using to see why you are having problems with this mod" or "Give me the list of the mods you have in your forum to see if I can find out which one is interfering with that one", etc etc. (Of course you don't just ask those questions. After they answer you need to dig inside to find the problem and sometimes you find it in a minute and sometimes you need hours to find it).

Or the amount of hours lost updating mods every time there is a new version in SMF (not only my mods but also the mods I use in my forums that have nobody updating them just now) or helping people with less experience to update their forums.

I know for me is not going to be easy to learn how to port my SMF mods to Wedge using only hooks, but I know 3 things:

1.- If Arantor says it's possible to do it I believe it. I trust his opinion there.

2.- Learning how to do it is going to be fun (at least for me).

3.- Once I manage to do one (even if it takes me a lot of work at the beginning) I won't need to worry any more about that mod. No more updates every time there is a new version in the core. No more worries about any other plugins interfering with it or changing my plugins because they are not compatible with a particular Theme etc.
Quote from Dragooon on June 27th, 2011, 04:37 PM
The reason being that I cannot see everything being done with file edits, I need file edits for WePortal which is more or less the first mod for Wedge(Unless someone beats me to it). So please keep file edits, but instead frown them upon.
What about letting Arantor take a wee look at your code to see if he can find out how to do it using only hooks? If he has managed to do Simple Desk 2.0 (a really big mod) using only hooks he may have some ideas that could help you out there.

I could think on a few more solutions, but maybe would be better to talk about them inside the proper place in private.
28
Other software / Re: I can hardly wait
« on June 26th, 2011, 02:01 AM »
It doesn't matter where it is. We will win that one too.  :eheh:
29
Other software / Re: I can hardly wait
« on June 25th, 2011, 12:13 AM »
For you it's fun because you just got your driving license.

Wait till you are older and you have 4 kids in the back seat asking every 2 seconds "Are we there yet?"  :niark:
30
Development blog / Re: Package Manager, how we won't miss thee
« on June 24th, 2011, 12:19 PM »
Another thing I never liked from the SMF Package Manager is it never tells you if your mods are up-to-date or if any of them has been upgraded and you missed it.

Normally when you open your Package Manager you see all your mods with a green light and you could think all of them are up-to-date. It happened to me at the beginning until I noticed I had to subscribe to receive notifications of updates of the mods I was interested in.

Are you planning to change that?