vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Print This Post (https://vborg.vbsupport.ru/showthread.php?t=82347)

Gearloose 06-17-2005 07:41 PM

Well... I had "scaled-down" the printthread.php a few days ago so it become a printpost.php and it was working for me.
I attached the file if you wanna try it out, but may be bugs that I didn't noticed.
(It was made and tested in less than half an hour.)

Put the file in your forum home folder and add this in postbit:
HTML Code:

(<a href="printpost.php?$session[sessionurl]t=$post[threadid]&amp;p=$post[postid]" target="_blank">Print</a>)
(Of course, you don't have to use the modifications that I mentioned in my previous posts if you use this file.)

If there are any bugs let me know... I'll try to fix them, but no guaranty.

yoyoyoyo 06-17-2005 08:09 PM

Quote:

Originally Posted by Gearloose
Well... I had "scaled-down" the printthread.php a few days ago so it become a printpost.php and it was working for me.
I attached the file if you wanna try it out, but may be bugs that I didn't noticed.
(It was made and tested in less than half an hour.)

Put the file in your forum home folder and add this in postbit:
HTML Code:

(<a href="printpost.php?$session[sessionurl]t=$post[threadid]&amp;p=$post[postid]" target="_blank">Print</a>)
(Of course, you don't have to use the modifications that I mentioned in my previous posts if you use this file.)

If there are any bugs let me know... I'll try to fix them, but no guaranty.

works great!

Marco van Herwaarden 06-17-2005 08:20 PM

Quote:

Originally Posted by Gearloose
Well... I had "scaled-down" the printthread.php a few days ago so it become a printpost.php and it was working for me.
I attached the file if you wanna try it out, but may be bugs that I didn't noticed.
(It was made and tested in less than half an hour.)

Put the file in your forum home folder and add this in postbit:
HTML Code:

(<a href="printpost.php?$session[sessionurl]t=$post[threadid]&amp;p=$post[postid]" target="_blank">Print</a>)
(Of course, you don't have to use the modifications that I mentioned in my previous posts if you use this file.)

If there are any bugs let me know... I'll try to fix them, but no guaranty.

Sorry but i had to remove your attachment. It was almost a full copy of the printthread.php file. It is not allowed by your license or our rules to post significant parts of vBulletin files.

Please provide instructions on how to edit the original file instead.

I hope you understand.

Gearloose 06-17-2005 10:03 PM

No prob. :)

The file was almost the half of original printthread.php and there were modifications in the part of code that had left in it. I have seen (at least, I think that I have) posts with more original code than mine, but it's OK of me if you think that I posted a significant part of original code.

Does this rule apply if I post a new thread in "beta hacks" with my modified file?

Since it's a new file, it's always easier for someone to just upload it than to copy the original file and rename it and then go through a bunch of steps with find-delete / find-replace / find-add. Not to mention that with these steps I HAVE TO post almost the same amount of original code that my modified file had.

Marco van Herwaarden 06-18-2005 08:12 AM

We would remove any file that holds significant parts of copyrighted code (wether it is vB code, or code from a hack by another author) once we spot it. I know we sometimes miss things.

Same rules apply to Beta hacks.

Marco van Herwaarden 06-18-2005 08:52 PM

You are right. I will pm him that he can restore it.

David Bott 07-05-2005 02:36 PM

Hey....sorry for the delay. I would love to try that file. ;)

David Bott 07-23-2005 01:09 PM

Hello? I really would love the file for I still have the issue about not being able to print single posts that on any other page than the first one.

Thanks


All times are GMT. The time now is 10:24 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.01809 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (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
  • (8)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