PDA

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


mkdevo
10-07-2006, 10:00 PM
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']">
<tr>
<td class="thead">$vbphrase[moderation]</td>
</tr>
<if condition="$show['deleteditems']">
<tr>
<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>
</tr>
<tr>
<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>
</tr>
</if>
<if condition="$show['moderateditems']">
<tr>
<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>
</tr>
<tr>
<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>
</tr>

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.

shadowevil
10-08-2006, 02:28 PM
Screenshot or demo ??? :-??

mkdevo
10-08-2006, 02:34 PM
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.

bashy
10-08-2006, 02:54 PM
Cheers m8, me uped it to 20 :)

Hornstar
10-09-2006, 10:02 AM
How long has this been a feature :/ this is awesome.

mrthe
02-19-2008, 03:12 PM
Thank you very usefull.

mikkitine
03-06-2008, 08:37 AM
The screenshot/demo comment made me chuckle some.

Thanks for the template mod.

Traxdata
10-23-2009, 10:03 AM
should be standard feature of vb software! btw, green isnt green anymore :erm:

quickregister
11-20-2012, 01:11 PM
It worked great! Thank you!