Search found 768 matches

by mad-manne
Sat Apr 09, 2005 1:59 pm
Forum: [2.0.x] MOD Writers Discussion
Topic: Attempting to add post text content to email - whats wrong
Replies: 34
Views: 1097

I am being told I can't "play" on my computer today - we have people for supper :( ... so can't get back to this until tomorrow :wink: Same with me ... the secretary of leisure (my wife) has arranged that we'll go out on a party tonight. We'll be leaving in about an hour and won't be back before to...
by mad-manne
Sat Apr 09, 2005 12:47 pm
Forum: [2.0.x] MOD Writers Discussion
Topic: Attempting to add post text content to email - whats wrong
Replies: 34
Views: 1097

... what was really confusing me was that $post_data['post_username'] was not giving me any data .... adventually looking at the data in the table it appears that this field is no longer used and is always empty - trust me to pick a redundent field to be using as my test field :roll: in posting.php...
by mad-manne
Sat Apr 09, 2005 12:21 pm
Forum: [2.0.x] MOD Writers Discussion
Topic: Attempting to add post text content to email - whats wrong
Replies: 34
Views: 1097

This needs to be turned into a language-variable That is why I was going to put a template within a template and as the email templates are held within the ./language/lang_english/email directory it will be language specific :) So the way you want, it there will always be a 'RE: ' followed by eithe...
by mad-manne
Sat Apr 09, 2005 12:06 pm
Forum: [2.0.x] MOD Writers Discussion
Topic: Attempting to add post text content to email - whats wrong
Replies: 34
Views: 1097

Manfred - fantastic ... just what I needed. You're welcome :wink: I need to now just sort out the setting for UCP and then implement it. Might change the template into a two templates ... one to be insterted into the other so that if the UCP setting is turned off the email will still look fine. Whi...
by mad-manne
Sat Apr 09, 2005 8:04 am
Forum: [2.0.x] MOD Writers Discussion
Topic: Attempting to add post text content to email - whats wrong
Replies: 34
Views: 1097

Now this went smoother than expected :mrgreen: Here we go: First add this new function to the bottom of includes/functions_post.php // mod start - Notify includes post message function get_post_details($post_id) { // initialize some vars ... global $db, $lang; $my_details = array(); $tmp_poster_name...
by mad-manne
Sat Apr 09, 2005 6:58 am
Forum: [2.0.x] MOD Writers Discussion
Topic: Attempting to add post text content to email - whats wrong
Replies: 34
Views: 1097

Sorry, but yesterday evening I couldn't get my hands on it ... Finally I have decided how to solve this: As you said, we're not going to change the function-call itself, so we're not adding any arguments! Instead, we'll stick to your initial idea of adding a function-call inside the notify-function ...
by mad-manne
Fri Apr 08, 2005 4:30 pm
Forum: [2.0.x] MOD Writers Discussion
Topic: Attempting to add post text content to email - whats wrong
Replies: 34
Views: 1097

I had some problems with my SMTP-Server today and so I couldn't do any testing this morning ... 8O
SMTP is up & running again, so I see if I can take this up this evening.

Cheers,
Manfred
by mad-manne
Fri Apr 08, 2005 10:03 am
Forum: [2.0.x] MOD Writers Discussion
Topic: Attempting to add post text content to email - whats wrong
Replies: 34
Views: 1097

had some other stuff coming in by phone that I nee dto work on ...so will take a bt longer than expected! :idea: First thing I figured out, is that $post_data doesn't seem to contain all that you'd expect within posting.php . I'm trying to figure that out. The message itself might also be obtained w...
by mad-manne
Fri Apr 08, 2005 8:14 am
Forum: [2.0.x] MOD Writers Discussion
Topic: Attempting to add post text content to email - whats wrong
Replies: 34
Views: 1097

chilling wrote: what else is required?
As I said .. I'm fiddling around with it. Your additional function still doesn't return any data, and about the rest, I'll try and find out :wink:

Cheers,
Manfred.
by mad-manne
Fri Apr 08, 2005 7:57 am
Forum: [2.0.x] MOD Writers Discussion
Topic: Attempting to add post text content to email - whats wrong
Replies: 34
Views: 1097

Added both of your suggestions but still no data! There are more errors in it ... I think you will need some more lookups or something, because from reading your code, it's clear that the message itself doesn't appear, but subject and poster_name are also empty, so they donÄt seem to be "known" in ...
by mad-manne
Fri Apr 08, 2005 7:50 am
Forum: [2.0.x] MOD Writers Discussion
Topic: Attempting to add post text content to email - whats wrong
Replies: 34
Views: 1097

Joe Belmaati wrote: BTW,
here's a make shift strip bbcode_uid regex
Hi Joe,
thanks for the code ... but as he's trying to send the post_text in a plain-text mail, he needs something to strip out the complete BBCode-tags ...

Do you skills provide some code for that too :roll:

Cheers,
Manfred
by mad-manne
Fri Apr 08, 2005 7:33 am
Forum: [2.0.x] MOD Writers Discussion
Topic: Attempting to add post text content to email - whats wrong
Replies: 34
Views: 1097

Re: Attempting to add post text content to email - whats wro

Not sure I understand the $db->sql_fetchrow($result) command ... I assume that this should be returning an array of the row in phpbb_posts_text containing the message detail for $post_id. I believe that I can then call the elements as $post_text['field_name'] ..... is this correct? You're on the ri...
by mad-manne
Fri Apr 08, 2005 7:09 am
Forum: [2.0.x] MOD Writers Discussion
Topic: Attempting to add post text content to email - whats wrong
Replies: 34
Views: 1097

Re: Attempting to add post text content to email - whats wro

Any help would be apprciated - I am sure it is something very silly :oops: Hi chris, maybe you should tell us, what the problem is :roll: Doesn't it work at all, does it raise errors ... whatever? And finally ... what is it supposed to do anyway? Cheers, Manfred. [EDIT: And finally ... what is it s...
by mad-manne
Thu Apr 07, 2005 3:06 pm
Forum: [2.0.x] MODs in Development
Topic: [ALPHA] NewTopic RequiresAdditionalFields 0.1.0b
Replies: 309
Views: 183864

I am sure Manfred will get around to fixing this as soon as he has some spare time :) Hi there, I'm sorry to say that I still didn't restart working on this :oops: I hope to be able to finish some other stuff soon, and am planning to use my spare time then to get this MOD further ... anyway I don't...
by mad-manne
Wed Apr 06, 2005 9:24 pm
Forum: [2.0.x] MOD Writers Discussion
Topic: GNU GPL Discussion for MOD Authors wanting to make money.
Replies: 43
Views: 6211

The GPL is all about free as in free speech, not free as in free beer. ;) I already knew that before, but I never really had a final clue :roll: I am sure the FAQ will help you understand these issues and the intent of the GPL a lot clearer: http://www.gnu.org/licenses/gpl-faq.html I. Am. Serious ....

Go to advanced search