Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Show All Posts in a thread on a single page Details »»
Show All Posts in a thread on a single page
Version: 1.00, by Scalemotorcars Scalemotorcars is offline
Developer Last Online: Aug 2022 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.8.0 Rating:
Released: 02-10-2011 Last Update: 02-10-2011 Installs: 12
Template Edits
Re-useable Code Code Changes Additional Files Translations  
No support by the author.

I put this together from several posts right here on VB.org. If this has been posted before then my apologies.

What is does.

Basically this is a very simple template and file edit to show all posts from a single thread on one page. It displays a link in the Display Modes drop-down.

To start find in showthread.php
HTML Code:
// *********************************************************************************
// set post order
Right above this add

HTML Code:
if ($_REQUEST['showall'] == 1) {
  $perpage = 123456789;
}
You can change this to any number.

For example if your thread has 500 posts you may want to lower this from 123456789 to something like 200.

Next In the showthread template find.

HTML Code:
<tr>
<td class="thead">$vbphrase[display_modes]<a name="goto_displaymodes"></a></td>
</tr>

Right below add

HTML Code:
<tr><td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="$stylevar[imgdir_button]/view_all.gif" alt="View All Posts" /> <a href="showthread.php?$session[sessionurl]t=$threadid&amp;&showall=1"><strong>View All</strong></a></td></tr>
If you only want admins and moderators to use it then add this code. You may need to change your usergroup id's to fit. Default is below.

HTML Code:
<if condition="is_member_of($bbuserinfo, 5, 6, 7)"><tr><td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="$stylevar[imgdir_button]/view_all.gif" alt="View All Posts" /> <a href="showthread.php?$session[sessionurl]t=$threadid&amp;&showall=1"><strong>View All</strong></a></td></tr></if>
Next add the image below to your images/buttons directory and your all done.



Don't forget to make the template edit in all your styles and the same for the image in your styles/images/buttons folder.
-----------------------------------------------------------------------------------------------------------------

This is not a supported mod. I'm simply sharing what I used on my board. It should work with all 3.0 versions.

Lastly, please feel free to add to this in any way you like. If someone wants to phrase it or make a simple product out of it then please feel free to post the xml.

Enjoy....

Download Now

File Type: zip upload-to-images-buttons.zip (1.2 KB, 46 views)

Screenshots

File Type: gif screenshot.gif (26.7 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
career

Comments
  #2  
Old 02-21-2011, 03:59 PM
Qima Qima is offline
 
Join Date: Feb 2011
Location: Algeria & vBulletin
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice modif , thanks man
Reply With Quote
  #3  
Old 02-22-2011, 04:02 PM
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
 
Join Date: Mar 2006
Location: NC
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad someone can use it. I was starting to wonder where everyone went.
Reply With Quote
  #4  
Old 03-08-2011, 04:47 PM
mesdar mesdar is offline
 
Join Date: Jul 2008
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you very much
Reply With Quote
  #5  
Old 03-08-2012, 01:28 AM
Big Jeff Big Jeff is offline
 
Join Date: Nov 2005
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice mod. Thanks!
Reply With Quote
  #6  
Old 11-10-2012, 12:35 PM
matrex722's Avatar
matrex722 matrex722 is offline
 
Join Date: Jan 2007
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow thanks for this
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:54 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04466 seconds
  • Memory Usage 2,280KB
  • Queries Executed 22 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (1)post_thanks_box_bit
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (2)postbit_attachment
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete