dorje

  • Krabi krabong: the wedge of martial arts. :P
  • Posts: 97
Once upon a time...
« on October 21st, 2011, 11:36 AM »
... there was a smf community member that replies to every tech related question about smf in about 5 or 10 minutes. :)

I've posted a simple question 30 minutes ago, when will I have a reply? :eheh:

P.S. - Off course: thank you Arantor for all the support you gave me in smf forum in the past. :)
Krabi Krabong & programming :D

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Once upon a time...
« Reply #1, on October 21st, 2011, 11:43 AM »
I tried my best, didn't always work out so well though :/

In answer to the question posted, if it's something simple, you can usually expect an answer inside 10 minutes these days if a certain team member is around. Less than that if you bump within 24 hours, to be told not to bump. Said person is VERY good at that, as well as telling people that it will be replied to if and when someone knows the answer, which seems to be very infrequent.

Oh, you posted in the coding board? Hmm, answers are not prompt there, and are reasonably seldom as to their accuracy too.

The PM form itself is in PersonalMessage.template.php, however it's a beast of a file (so is PersonalMessage.php in the Sources folder), so unless you're looking at something pretty specific, you may have a bit of trouble sifting out what it is you want to do.
When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest. | Game Memorial

dorje

  • Krabi krabong: the wedge of martial arts. :P
  • Posts: 97
Re: Once upon a time...
« Reply #2, on October 21st, 2011, 12:03 PM »
 :yahoo:

Well, I've already looked in the PersonalMessage.template.php, but I can't find where it generates the body textarea... The only textarea I've found threre is the one for reporting a message... :hmm:

I want to do something very simple: send other arguments to ?action=pm;sa in order to populate the subject and body fields with certain content... :)

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Once upon a time...
« Reply #3, on October 21st, 2011, 12:06 PM »
The textarea is not part of the template, it calls the richtext editor component elsewhere, so the actual textarea is only supplied when template_control_richedit() is called.

For setting the body, look for control_create_richedit(). There should even be an example of grabbing the body of a PM and injecting it when quoting a message ($_GET['quote'] will be checked for, and $_GET['pmsg'] will be set in that case)

For setting the subject, that'll be a regular <input> not a textarea control.

dorje

  • Krabi krabong: the wedge of martial arts. :P
  • Posts: 97
Re: Once upon a time...
« Reply #4, on October 21st, 2011, 12:26 PM »
Thank you, I'll take a look now!  :cool:
Posted: October 21st, 2011, 12:08 PM

Works as espected. :yahoo:

Thank you very much Arantor! :)

Dismal Shadow

  • Madman in a Box
  • Me: Who is Arantor? Cleverbot: It stands for time and relative dimensions in space.
  • Posts: 1,185
Re: Once upon a time...
« Reply #5, on October 21st, 2011, 07:23 PM »
I remembered when I joined the community and the quickest reply I've found was from Arantor when he first helped me. As times went by, we have all learned from him and understand him better. He became more than a friend to the majority of us. :)
“I will stand on my ground as an atheist until your god shows up...If my irreligious bothers you much, and if you think everything I do is heresy to your god I don't care. Heresy is for those who believe, I don't. So, it isn't heresy at all!


   Jack in, Wedge,
   EXECUTE!

dorje

  • Krabi krabong: the wedge of martial arts. :P
  • Posts: 97
Re: Once upon a time...
« Reply #6, on October 22nd, 2011, 09:12 AM »
Quote from ~DS~ on October 21st, 2011, 07:23 PM
I remembered when I joined the community and the quickest reply I've found was from Arantor when he first helped me. As times went by, we have all learned from him and understand him better. He became more than a friend to the majority of us. :)
:+1:

live627

  • Should five per cent appear too small / Be thankful I don't take it all / 'Cause I'm the taxman, yeah I'm the taxman
  • Posts: 1,668
Re: Once upon a time...
« Reply #7, on October 22nd, 2011, 09:28 AM »
Has this turned into a reminiscing thread :P

I remember constantly being surprised at the speed of his replies (and I know who the person mentioned in the first reply is Oo)
A confident man keeps quiet.whereas a frightened man keeps talking, hiding his fear.

dorje

  • Krabi krabong: the wedge of martial arts. :P
  • Posts: 97
Re: Once upon a time...
« Reply #8, on October 22nd, 2011, 09:55 AM »
Quote from live627 on October 22nd, 2011, 09:28 AM
Has this turned into a reminiscing thread :P
:angel:
Quote from live627 on October 22nd, 2011, 09:28 AM
I remember constantly being surprised at the speed of his replies
Really! And now something fantastic: I've posted a question in smf.org, and I got the answer in wedg.org! 8-)
Quote from live627 on October 22nd, 2011, 09:28 AM
(and I know who the person mentioned in the first reply is Oo)
I think I don't know that person...

tfs

  • Wow! You guys have been busy beavers. :)
  • Posts: 78
Re: Once upon a time...
« Reply #9, on October 31st, 2011, 05:51 PM »
You guys are all off base!  Didn't you know?  Arantor is a bot.  An AI that monitors the forums.  I can't believe you guys didn't know that!   :angel:
"God is dead." -Nietzsche 1883
"Nietzsche is dead." -God 1900

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Once upon a time...
« Reply #10, on October 31st, 2011, 06:07 PM »
Oh, that story has resurfaced, eh, where I'm a bot from the future, after SMF 7 (the one with time travel) is released, come back to prevent SMF 6 from ruining the world. Or something. I forget the details.

Dismal Shadow

  • Madman in a Box
  • Me: Who is Arantor? Cleverbot: It stands for time and relative dimensions in space.
  • Posts: 1,185

tfs

  • Wow! You guys have been busy beavers. :)
  • Posts: 78

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278

Dismal Shadow

  • Madman in a Box
  • Me: Who is Arantor? Cleverbot: It stands for time and relative dimensions in space.
  • Posts: 1,185
Re: Once upon a time...
« Reply #14, on November 1st, 2011, 03:53 AM »
Quote from Arantor on October 31st, 2011, 06:19 PM
Quote from ~DS~ on October 31st, 2011, 06:10 PM
But the Tardis had been destroyed...
Don't think you'll find it has... I'm assuming from that, that you're in season 5 still. It's explained in the finale, and it very definitely isn't in season 6. They even find the swimming pool.
nope, still stuck somewhere in season 3 still. :p