##
##
## 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.
##
401 2007-05-12 23:48
Topic: Deleted post log 1.0 (4 replies, posted in PunBB 1.2 modifications, plugins and integrations)
402 2007-05-12 22:17
Re: query help (7 replies, posted in PunBB 1.2 troubleshooting)
sweeeeeet. i think i forgot the "p." in front of deleted when I tried it.
404 2007-05-12 14:24
Re: query help (7 replies, posted in PunBB 1.2 troubleshooting)
Thanks. That's good enough.
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 2007-05-12 03:01
Re: query help (7 replies, posted in PunBB 1.2 troubleshooting)
Sweet, thanks. What is that "p." all the time?
406 2007-05-12 02:29
Topic: query help (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 2007-05-11 21:25
Re: functions.php (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 2007-05-11 18:20
Topic: functions.php (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 2007-05-11 02:05
Re: Log of deleted posts (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
410 2007-05-10 18:48
Re: Log of deleted posts (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.
411 2007-05-10 17:44
Re: Need To Install the Punportal or Miniportal at another directory. help (45 replies, posted in PunBB 1.2 modifications, plugins and integrations)
i can post some instructions (modified for you ) in a few hours if you have a little patience
412 2007-05-10 17:43
Re: [Release?] Extern.php News Extension (81 replies, posted in PunBB 1.2 modifications, plugins and integrations)
just use one of the rss mods you don't even need the news mod
413 2007-05-10 10:22
Re: Need To Install the Punportal or Miniportal at another directory. help (45 replies, posted in PunBB 1.2 modifications, plugins and integrations)
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)
414 2007-05-10 00:52
Re: navmenu (3 replies, posted in PunBB 1.2 modifications, plugins and integrations)
love you, smartys
works...
415 2007-05-10 00:48
Re: navmenu (3 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Yep, you're right.
Just edited it.
416 2007-05-09 21:44
Topic: navmenu (3 replies, posted in PunBB 1.2 modifications, plugins and integrations)
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?
417 2007-05-09 21:42
Re: Need To Install the Punportal or Miniportal at another directory. help (45 replies, posted in PunBB 1.2 modifications, plugins and integrations)
content of punportal
418 2007-05-06 22:59
Re: Just wondering if someone can help me with my site (28 replies, posted in General discussion)
login -> manage submissions -> new project...
419 2007-05-06 19:49
Re: Just wondering if someone can help me with my site (28 replies, posted in General discussion)
NOOOO!!! Not PunComplete! That's mine! (At least I am working on it).
420 2007-05-05 23:31
Re: Best CMS? (25 replies, posted in General discussion)
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?
421 2007-05-04 18:22
Re: using userinfo on another site? (4 replies, posted in PunBB 1.2 modifications, plugins and integrations)
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 2007-05-03 17:46
Re: Best CMS? (25 replies, posted in General discussion)
I am using cmsmadesimple right now for this website.
423 2007-05-03 01:23
Re: Best CMS? (25 replies, posted in General discussion)
what exactly do you mean?
424 2007-05-02 18:23
Re: Best CMS? (25 replies, posted in General discussion)
How do you guys like cmsmadesimple?
425 2007-05-01 20:25
Re: Automatic Image Upload with Thumbnails (154 replies, posted in PunBB 1.2 modifications, plugins and integrations)
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)...