collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18366
  • stats Total Topics: 2501
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: modules/Mail.php  (Read 43852 times)

0 Members and 1 Guest are viewing this topic.

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: modules/Mail.php
« Reply #15 on: March 30, 2007, 04:14:45 pm »
Replace " with ' in the itemref before posting it in the blob, works for me all the time with the standard make_blob() function.

Offline lazarus

  • BeBot User
  • **
  • Posts: 25
  • Karma: +0/-0
Re: modules/Mail.php
« Reply #16 on: June 13, 2007, 03:25:11 pm »
For some reason I cant send mails... it give me the empty tell. and I understand that is because of missing permissions? well I have tryed all the access lvls, but it's the same.


Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: modules/Mail.php
« Reply #17 on: July 19, 2007, 04:36:48 am »
1 thing im after not sure if u got
is mailbot for ALL admin or leader etc
was thinking maybe were owner can see all msg for leader/admin/superamin/owner
but like admin only see leader/admin

these msgs being sent are not specifit for any 1 just AN admin

i was thinking of making somit along the line but look like it would be better as part of ur module

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: modules/Mail.php
« Reply #18 on: July 19, 2007, 04:43:30 am »
oh and also i run SVN
Quote
Fatal error: Call to a member function on a non-object in /home/Bots/Testbot/modules/Mail.php on line 109

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: modules/Mail.php
« Reply #19 on: July 19, 2007, 10:13:09 am »
It doesn't do what you want, it's just a kind of offline message system between users.

Though I don't see any possible error in line 109 - did you download the file version in my post here?

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: modules/Mail.php
« Reply #20 on: July 19, 2007, 12:17:53 pm »
yes i downloaded it from this topic on 1st post

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: modules/Mail.php
« Reply #21 on: July 19, 2007, 03:49:26 pm »
how can you not see this Problem?
Because I'm talking about the version I posted, which is this one here.

It is already up-to-date for 0.3.5 or current SVN.

Basically it's a slightly modified version of the one Blueeagle posted first.

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: modules/Mail.php
« Reply #22 on: July 19, 2007, 11:20:24 pm »
Oh yer sorry

Offline Nytridr

  • BeBot Expert
  • ****
  • Posts: 262
  • Karma: +0/-0
    • Rising Sun
Re: modules/Mail.php
« Reply #23 on: November 24, 2007, 01:59:26 am »
I am having a proble with the following line

Code: [Select]
$query="INSERT INTO #___mail_message (mailbox, recipient, sender, message, expires) VALUES('$mailbox', '$recipient', '$sender', '$message', 'FROM_UNIXTIME($expires)')";

Line 264

it will not accept
FROM_UNIXTIME($expires)'
for somereason it keeps with the whole thing.. and the time is in the ()'s

Code: [Select]
rsbot [2007-11-24 00:57:44]     [TELL]  [INC]   Nytridra: !mail send nytridr tes
ties
MySQL error (# 0) on query: INSERT INTO rsbot_mail_message (mailbox, re
cipient, sender, message, expires) VALUES('Metanyt', 'Nytrid
r', 'Nytridra', 'testies', 'FROM_UNIXTIME(1211587064)')
Incorrect datetime value: 'FROM_UNIXTIME(1211587064)' for column 'expires' at ro
w 1
rsbot [2007-11-24 00:57:44]     [TELL]  [OUT]   -> Nytridra: Message sent to Nyt
ridr (Metanyt).

this use to work.. so IDK what changed..
Co-Prez of Rising Sun RK1 (1st & only org I will ever belong to)

 

* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm ]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am ]

* Who's Online
  • Dot Guests: 71
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal