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 - live627
826
Plugins / Re: Hooking up data loading
« on September 27th, 2011, 12:14 AM »
Quote from Dragooon on September 26th, 2011, 12:47 PM
Especially the query builder example I posted on previous page.
Ah, that was what you wanted before. I thought you wanted comment on the code in the OP... eheh.

I like it, I really do.. :) And to comment on the usability: it's no less something for SMF coders to get used to than the new db structure when they  upgraded their mods from 1.1 to 2.0.
827
Off-topic / Re: Post count fever
« on September 26th, 2011, 07:50 AM »
* live627 goes and edits the database "look I am the top spammer with 501k posts"

Oops... I'm [not] a geek. Pout. Puts the number back.
828
Plugins / Re: Hooking up data loading
« on September 26th, 2011, 07:45 AM »
What I tried to say is I thought I already commented on your code posted in this thread.
829
Plugins / Re: Hooking up data loading
« on September 26th, 2011, 01:00 AM »
I thought I did...
830
Plugins / Re: Hooking up data loading
« on September 25th, 2011, 11:00 PM »
Quote from Arantor on September 25th, 2011, 10:49 PM
I'm tempted to say that INSERT/REPLACE should not be extended in this way but have the parameter list and rows passed to a hook instead to be manipulated (there are no raw INSERTs carried out in the source, they are all done by wesql::insert, and I'd suggest we leave it that way - it is cleaner to do that by not having add-on authors having to deal with the queries' parameterisation)
Could the fifth (IIRC) parameter (for index) be used for the hook name?
Quote
Also, prepareDisplayContext is pretty unique
As I recall, it has one sister, the search. It works the same way. Do they do that for performance?
831
Off-topic / Re: Post count fever
« on September 25th, 2011, 10:43 PM »
Yep. SPAM TEH HELLZ :lol:
832
Off-topic / Re: Post count fever
« on September 25th, 2011, 10:38 PM »
Quote from ~DS~ on September 25th, 2011, 03:39 PM
Dragooon overtaken me in post count. :P
But you're still ahead of me.
833
Features / Re: Template skeleton!
« on September 25th, 2011, 10:23 PM »
I'll get those in a few. It;s r1030.
834
Features / Re: Template skeleton!
« on September 25th, 2011, 03:43 AM »
Hmm, I'm debugging loadBlock() because I ran into what I perceive to be a bug. What I'm trying to do is load a block below 'main' in Post. It works if I specify the default layer, but not if I select the actual block itself.

I found out why I couldn't select a block to add after. It seems that the main block isn't found when loadBlock steps through the layers. 
835
Features / Re: New revs - Public comments
« on September 25th, 2011, 12:04 AM »
The ENUM issue seems to be gone now. Thanks.
836
Features / Re: New revs - Public comments
« on September 24th, 2011, 02:10 AM »
Sure, and while I'm at it, before I run, I have four ENUM columns for my addon. None specify a default, in fact, no /columns have a default. Yet, the query forces a blank default, which throws an error on ENUM. This tripped me up for a while, until I figured out what was going on.

Is there a specific reason for forcing a default? I could circumvent the problem by removing it, which seems to be accepted in MySQL.
837
Features / Re: New revs - Public comments
« on September 24th, 2011, 01:40 AM »
loadAddonLanguage: If the file isn't found, an undefined variable error occurs ($found)
838
Features / Re: New revs - Public comments
« on September 23rd, 2011, 12:18 AM »
Quote
- Removed compactTopicPagesEnable setting
Dragooon's theme disables it
839
Off-topic / Re: I am looking for a favour
« on September 20th, 2011, 10:51 AM »
Quote from MultiformeIngegno on September 20th, 2011, 07:42 AM
Ahah I studied ancient greek too :D
I did - for a year. I'm glad I forgot it all
840
Off-topic / Re: I am looking for a favour
« on September 20th, 2011, 03:40 AM »
lol. I hear it'll help make learning Spanish easier. :lol: