View Full Version : Deleted/Moderated Posts/Threads Manager - Show more than 4 per page

08 Oct 2006, 15:23
Just got this from Jake @ vb.com, and figured others would find it useful, so here you go.

This will allow you to see more than 4 posts/threads per page in the Deleted/Moderated Posts and Deleted/Moderated Threads manager.

Edit Template USERCP_SHELL.

Add the green code:

<if condition="$show['deleteditems'] OR $show['moderateditems']">
<td class="thead">$vbphrase[moderation]</td>
<if condition="$show['deleteditems']">
<td class="$navclass[deletedthreads]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewthreads&amp;type=deleted&amp;pp=X">$vbphrase[deleted_threads]</a></td>
<td class="$navclass[deletedposts]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewposts&amp;type=deleted&amp;pp=X">$vbphrase[deleted_posts]</a></td>
<if condition="$show['moderateditems']">
<td class="$navclass[moderatedthreads]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewthreads&amp;type=moderated&amp;pp=X">$vbphrase[moderated_threads]</a></td>
<td class="$navclass[moderatedposts]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewposts&amp;type=moderated&amp;pp=X">$vbphrase[moderated_posts]</a></td>

Where X is the number of posts per page.

The first one is for deleted threads.
The second one is for deleted posts.
The third one is for moderated threads.
The fourth one is for moderated posts.

08 Oct 2006, 15:28
Screenshot or demo ??? :-??

08 Oct 2006, 15:34
Screenshot or demo ??? :-??

it's pretty self-explanatory..

go to your forum's /moderation.php?do=viewposts&type=deleted page. you'll see 4 posts (if you have 4 or more deleted posts).. then add &pp=X (change X to a number greater than 4) to the end of the url. you'll then see that many posts per page.

this changes the links to those sections to make them that many posts per page by default.

08 Oct 2006, 15:54
Cheers m8, me uped it to 20 :)

09 Oct 2006, 11:02
How long has this been a feature :/ this is awesome.

19 Feb 2008, 16:12
Thank you very usefull.

06 Mar 2008, 09:37
The screenshot/demo comment made me chuckle some.

Thanks for the template mod.

23 Oct 2009, 11:03
should be standard feature of vb software! btw, green isnt green anymore :erm:

20 Nov 2012, 13:11
It worked great! Thank you!