##
##
##        Mod title:  Deleted posts log 
##
##      Mod version:  1.0 
##   Works on PunBB:  1.2.* (as far as I know) 
##     Release date:  05-12-2007 
##           Author:  Franz Liedke 
##
##      Description:  Provides a plugin that displays a log of all deleted posts. These posts can be restored or deleted forever. 
##
##       Affects DB:  Yes 
##
##   Affected files:  viewtopic.php 
##                    include\functions.php 
##
##            Notes:  Adds one column to the following database tables:
posts
topics
subscriptions 
##
##     Generated By:  Auto Read-Me(by Caleb Champlin) - http://www.rscheatnet.com/Auto_Readme.zip
##
##       DISCLAIMER:  Please note that 'mods' are not officially supported by
##                    PunBB. Installation of this modification is done at your
##                    own risk. Backup your forum database and any and all
##                    applicable files before proceeding.
##

Download here

402

(7 replies, posted in PunBB 1.2 troubleshooting)

sweeeeeet. i think i forgot the "p." in front of deleted when I tried it.

403

(7 replies, posted in PunBB 1.2 troubleshooting)

anybody?

404

(7 replies, posted in PunBB 1.2 troubleshooting)

Thanks. That's good enough. wink
Anyways, I have one more question:
In viewtopic.php, how can I edit the main query so that it only fetches/shows a post when "deleted=0"?

EDIT: "deleted" exists in the following three tables: subscriptions, topics, and posts.

405

(7 replies, posted in PunBB 1.2 troubleshooting)

Sweet, thanks. What is that "p." all the time?

406

(7 replies, posted in PunBB 1.2 troubleshooting)

I made the following query for a mod:

$result = $db->query("SELECT poster, poster_id, message, topic_id FROM ".$db->prefix."posts WHERE deleted=1");

I don't really have much experience with querys so could somebody please post a query that also fetches the topic subject from the "topics" table for the topic_id mentioned here?
Thanks

407

(3 replies, posted in PunBB 1.2 troubleshooting)

but it stays there even if i correct it. and it's not the first time.

408

(3 replies, posted in PunBB 1.2 troubleshooting)

Almost always when I change something in functions.php, the following error occurs:

Parse error: parse error, unexpected T_VARIABLE, expecting ';' in <mysite>forum/include/functions.php on line 1111

That line is a for-loop at the end (I didn't even edit anything there) of the file and the error is still there even if I undo all my changes.
Help???

409

(4 replies, posted in PunBB 1.2 discussion)

I'll finish it this weekend. Sorry for the delay. I am on a good way though roll

410

(4 replies, posted in PunBB 1.2 discussion)

If you want me to I could try to publish a mod like that tomorrow.
I'll post it here.

i can post some instructions (modified for you wink ) in a few hours if you have a little patience

just use one of the rss mods you don't even need the news mod

the news generator is included in PunPortal. just use that/just copy/paste the code from that mod (it makes changes to main.tpl/header.php and you need the plugin, I think)

love you, smartys big_smile
works...

Yep, you're right. wink
Just edited it.

I want to add this to the function generate_navlinks:

                $links[] = '<li id="navadmin"><a href="admin_index.php">'.$lang_common['Admin'].'</a>';
            if ($pun_config['o_chatbox'] == '1')
      $links[] = '<li id="navchat"><a href="#" onClick="toggleChat('modchat');">'.$lang_common['Chat'].'</a>';

But it returns an error message:

Parse error: parse error, unexpected T_STRING in <mysite>/forum/include/functions.php on line 304

I think this is because of the 'modchat' thing. What can I do against that?

content of punportal

login -> manage submissions -> new project...

NOOOO!!! Not PunComplete! That's mine! wink (At least I am working on it).

420

(25 replies, posted in General discussion)

dude07 wrote:

Another very popular one is eZ publish.

I tried it now. I made one error in the installation though. I chose the wrong template package. How can I select another one that is already installed?

should all be stored in "pun_user" (is an array). I believe you would have to include config.php and some other files. I don't know that for sure.

422

(25 replies, posted in General discussion)

I am using cmsmadesimple right now for this website.

423

(25 replies, posted in General discussion)

what exactly do you mean?

424

(25 replies, posted in General discussion)

How do you guys like cmsmadesimple?

koos wrote:

but most posted messages don't include images - so with this feature you will have to download images every time you post a message, which can become quite irritating

I didn't get that. Could you explain that again, please? I mean couldn't it just insert the bbcode img tag in the post that is provided under the picture? Kind of like the image upload mod. You could throw a look at that and try. Your other features are really good, just keep them. I would just say that that mod should be accessible from post.php and edit.php to insert pictures that have been uploaded before (or also offer an extra upload slot)...