vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   View or print single post in thread.. (https://vborg.vbsupport.ru/showthread.php?t=247950)

sross 08-04-2010 09:44 AM

View or print single post in thread..
 
Many of my members used this in vbulletin 3.x and it's gone in 4.x. ANyone want to take a stab at it?

toon79 08-04-2010 11:46 AM

It has been removed for SEO purposes

sross 08-11-2010 09:24 AM

I know, but someone mentioned a simple html template mod could restore it. I have a site with chemical formulas on it and members print them off, they do not want to have to print an entire thread or adjust print setup to print it.. or copy paste the data.

lemonadesoda 08-27-2010 06:39 PM

I agree fully with sross. The ability to print a single post is fundamental for any system of record. We use the forum to document instructions and how-tos etc. If a thread has hundreds of posts, but you only need to print ONE POST, then this option is required. I can't believe it was cut for "SEO purposes". Someone wasnt thinking functionality.

Lynne 08-27-2010 08:02 PM

You realize that there is a showpost.php script, right? It just needs a couple changes (edit out two areas), the addition of the $templater script to render the final template, and the creation of that final template.

sross 08-27-2010 08:34 PM

not much of a coder but with more detail I could probably implement this. so you are saying there is script related to $templar that I remove, then in the showpost template i remove something? Thanks

Lynne 08-27-2010 08:42 PM

The page showpost.php is all updated to vB4 coding and included in the vB4 download package. It has a couple of areas you need to comment out that 1) does a redirect (around line 120) and 2) prints as an xml if it does print out (at the end). So, both those areas need to be commented out. Then, just add the $templater code at the end to spit out a template, add the template name to the $globaltemplates array at the beginning of the page, and create the template and viola! You have a showpost.php page. You would then want to edit the postbit templates to link to the showpost.php page instead of the showthread.php page when you click on the post number.

sross 08-27-2010 08:53 PM

I guess ideally someone would put this together in a product. Might talk to my freelancer about it. Thanks!

lemonadesoda 08-27-2010 09:04 PM

Lynne. Thanks for answering, and pointing out that there are components knocking around to do this. Unfortunately, I am not a programmer or developer, just an end user/admin who bought the product to put it to work. Like sross, I'll have to wait until some kind soul takes your pointers and builds a product/addin to implement PRINT THIS POST.

Please note that while vbulletin.org stays on vB 3.x I will be able to print the post with the solution! LOL ;)

sross, please share any successes you have with your freelancer ::up:

jimsflies 10-11-2010 05:48 PM

I'm on 3.8 and don't see an option for printing a single post . Am I missing something...where is it?


All times are GMT. The time now is 06:05 AM.

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.01039 seconds
  • Memory Usage 1,723KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete