In the instructions, perhaps take the line after it and say "BEFORE, ADD" to reduce confusion?

Yup, that's because the if statement you put that within when you edit the code is one only mods and admins can see...
Try moving it out of that block of code?

7,428

(13 replies, posted in PunBB 1.2 troubleshooting)

Who knows, maybe some other change in the code

7,429

(13 replies, posted in PunBB 1.2 troubleshooting)

#
#---------[ 12. FIND (line: ~708) ]-------------------------------------------
#

    $remote_address = $_SERVER['REMOTE_ADDR'];


#
#---------[ 13. REPLACE WITH ]------------------------------------------------
#

    $remote_address = isset($_SERVER['SHELL']) ? '127.0.0.1' : $_SERVER['REMOTE_ADDR'];

That's from the email digest code

7,430

(13 replies, posted in PunBB 1.2 troubleshooting)

Erm, what are those lines in your code?

7,431

(4 replies, posted in PunBB 1.2 troubleshooting)

If a style is there, it's listed. Therefore, delete the styles you don't want tongue

I'll test it now...

Very odd. When I loaded the script it gave me the "You are in maintenence mode" message tongue
adding the line:

define('PUN_TURN_OFF_MAINT', 1);

fixed it, and the forum worked fine after I used it

7,433

(7 replies, posted in Feature requests)

One sec...

http://img63.exs.cx/img63/95/delete7zk.png

http://img63.exs.cx/img63/95/delete7zk.png

7,434

(7 replies, posted in Feature requests)

Oww, what Connor said smile

7,435

(7 replies, posted in Feature requests)

Edit: What Connor said smile

7,436

(4 replies, posted in General discussion)

And what you're thinking of is in php.ini, although it's the opposite of what you said

; - error_reporting = E_ALL        [Code Cleanliness, Security(?)]
;     By default, PHP surpresses errors of type E_NOTICE.  These error messages
;     are emitted for non-critical errors, but that could be a symptom of a bigger
;     problem.  Most notably, this will cause error messages about the use
;     of uninitialized variables to be displayed.

7,437

(7 replies, posted in Feature requests)

Not unless it's as a mod smile

select [columns] from forum_topics as ft inner join forum_posts as fp on ft.id = fp.topic_id where ft.posted = fp.posted

Just change forum_ to punbb_

Oh yes, and I normally use LIMIT 5 and restrict it to a certain forum

Once I get home I'll pull the code I use

Oooh, I did this before...
Use posted and the post time with the topic id and post topic?

change $pun_root on that line to PUN_ROOT (it's no longer a variable, it's now a constant)

7,442

(4 replies, posted in PunBB 1.2 troubleshooting)

Enable debug mode?

Just put near the beginning a check of $pun_user['is_guest']

Whoops, silly me smile
I really should pay more attention...

Mmm, I just realized that this doesn't have protection against a mod who knows the filename from using it...

LOL, it does the same for me tongue

If you mean a plugin, simply delete the file from the plugins folder.
If you mean a mod, I think you'll have to manually undo any database changes you made to install it, and then you'll need to do the mod install instructions in reverse (ie: put back in the original code, delete extra code, etc)

Enable debug mode and paste the exact error?

That looks like you already ran it...

Did you run mod_install.php