Current time: 07-22-2014, 07:19 AM Hello There, Guest! (LoginRegister)


Post Reply 
[Request] Notification after moderating thread
07-28-2007, 11:36 PM (This post was last modified: 07-28-2007 11:53 PM by tristan/SMM.)
Post: #31
RE: [Request] Notification after moderating thread
Gotcha. Thanks guys. One more thing though.... (Don't worry about fixing it, I already restored the original file), I got this error on my site after I edited some of the messages sent by NAM:

Quote:Parse error: syntax error, unexpected '{' in /home/tmtarringer/schoolforums.org/html/inc/plugins/nam.php on line 119

Here is my edited nam.php file, can you please tell me how I screwed up? Any help you can provide is greatly appreciated. I didn't think that simply editing the message sent could cause trouble......

EDIT: Sure, sorry LeX-.


Attached File(s)
.php  nam.php (Size: 15.48 KB / Downloads: 80)

Tristan
Come talk about school, how to improve it, and just chill out here!
SchoolForums.org
Find all posts by this user
Quote this message in a reply
07-28-2007, 11:51 PM
Post: #32
RE: [Request] Notification after moderating thread
Can you attach it ? =P And delete this horrible long message ! =P

MyPluginsFor1.4
Visit this user's website Find all posts by this user
Quote this message in a reply
07-28-2007, 11:56 PM
Post: #33
RE: [Request] Notification after moderating thread
Done. Again, sorry about that....

Tristan
Come talk about school, how to improve it, and just chill out here!
SchoolForums.org
Find all posts by this user
Quote this message in a reply
07-29-2007, 12:05 AM
Post: #34
RE: [Request] Notification after moderating thread
Why are you doing this all the time ?

Ex.

Code:
<i>" {$thread['subject']} "</i>

Delete those " "

MyPluginsFor1.4
Visit this user's website Find all posts by this user
Quote this message in a reply
07-29-2007, 01:12 AM
Post: #35
RE: [Request] Notification after moderating thread
LeX- Wrote:Why are you doing this all the time ?

Ex.

Code:
<i>" {$thread['subject']} "</i>

Delete those " "

'cause you're supposed to put quotes around a title. I forgot that those are also used in php. Rolleyes My bad.

Tristan
Come talk about school, how to improve it, and just chill out here!
SchoolForums.org
Find all posts by this user
Quote this message in a reply
07-29-2007, 02:46 PM
Post: #36
RE: [Request] Notification after moderating thread
If you want to use them, you'll need to escape them.

MyPluginsFor1.4
Visit this user's website Find all posts by this user
Quote this message in a reply
10-01-2007, 02:39 AM (This post was last modified: 10-01-2007 02:40 AM by DamYan.)
Post: #37
RE: [Request] Notification after moderating thread
Great beta-mod Smile
I have problem with merging posts in the same topic. When I try to do this:

Code:
Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/public_html/inc/plugins/nam.php on line 242

Warning: Cannot modify header information - headers already sent by (output started at /home/public_html/inc/plugins/nam.php:242) in /home/public_html/inc/functions.php on line 570

What is wrong?

[Image: moderator-btn.png]
Visit this user's website Find all posts by this user
Quote this message in a reply
10-01-2007, 03:50 PM
Post: #38
RE: [Request] Notification after moderating thread
dunno =P i've added a thing, can you try to new file ? Just reupload.

MyPluginsFor1.4
Visit this user's website Find all posts by this user
Quote this message in a reply
10-01-2007, 07:41 PM (This post was last modified: 10-01-2007 07:41 PM by DamYan.)
Post: #39
RE: [Request] Notification after moderating thread
LeX- Wrote:dunno =P i've added a thing, can you try to new file ? Just reupload.

Thanks, but in my nam.php a have a lot of polish modification... so, can you write here what did you update, which place? This will be very helpful Smile

[Image: moderator-btn.png]
Visit this user's website Find all posts by this user
Quote this message in a reply
10-01-2007, 07:53 PM
Post: #40
RE: [Request] Notification after moderating thread
Find
Code:
function nam_mp($info)
{
    global $db, $mybb, $nam;
Add below
Code:
    $pm_pids = array();

Find
Code:
function nam_split($info)
{
    global $db, $mybb, $nam;
Add Below
Code:
    $pm_pids = array();

MyPluginsFor1.4
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication