vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Deleted/Moderated Posts/Threads Manager - Show more than 4 per page (https://vborg.vbsupport.ru/showthread.php?t=128569)

mkdevo 10-07-2006 10:00 PM

Deleted/Moderated Posts/Threads Manager - Show more than 4 per page
 
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:

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

Quote:

Originally Posted by shadowevil
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!


All times are GMT. The time now is 11:21 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01062 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete