Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[v3 Articles] Printable Articles Details »»
[v3 Articles] Printable Articles
Version: 1.00, by ChurchMedia ChurchMedia is offline
Developer Last Online: Jun 2013 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 07-07-2004 Last Update: Never Installs: 22
 
No support by the author.

"Printable Articles" by ChurchMedia
Add-on Hack for v3 Articles

Adds a "Printable Version" link to v3 Articles.

1 new file upload
1 new template
1 template change

Customize the print template as you like. Hopefully I don't have any unnecessary code in the php file. Let me know if there is .

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 09-26-2004, 03:29 PM
gfxhavenowner gfxhavenowner is offline
 
Join Date: Jul 2004
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent hack.
Reply With Quote
  #13  
Old 09-26-2004, 04:06 PM
Bolas's Avatar
Bolas Bolas is offline
 
Join Date: Jan 2003
Location: Venice
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Woooooooaaaa!!! :-)

* Bolas clicks install
Reply With Quote
  #14  
Old 11-07-2004, 07:38 AM
bendigo-tech bendigo-tech is offline
 
Join Date: Aug 2004
Location: Australia
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a nice hack. Simple to install and seems to work nicely however, all the HTML within the article is shown in the printable version which makes things look VERY messy!

Is there a way to fix this??

Thanks
Reply With Quote
  #15  
Old 11-10-2004, 12:43 AM
inverted's Avatar
inverted inverted is offline
 
Join Date: Oct 2004
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, i'm getting a database error when i click "Printable Version". i don't see how this hack could have made a database error since it doesn't seem to even change the database, but i can view the articles fine, just when i click for the printable version i get:

Database error in vBulletin 3.0.3:

Invalid SQL: SELECT article.*, articlepost.*, articlecategory.options AS categoryoptions FROM article AS article
INNER JOIN articlepost AS articlepost ON(articlepost.postid = article.firstpostid)
INNER JOIN articlecategory AS articlecategory ON(articlecategory.categoryid = article.categoryid)
WHERE article.articleid = 1 AND articlepost.type=1

can anyone with more database/php knowledge help me out?

thanks, any help is greatly appreciated.

- inverted :ermm:
Reply With Quote
  #16  
Old 11-10-2004, 05:51 PM
ChurchMedia's Avatar
ChurchMedia ChurchMedia is offline
 
Join Date: Dec 2002
Location: Las Cruces, NM
Posts: 473
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My bad. I didn't have the prefix variable in there. It should work now -- Re-download and let me know if you have any more problems.
Reply With Quote
  #17  
Old 11-10-2004, 09:30 PM
inverted's Avatar
inverted inverted is offline
 
Join Date: Oct 2004
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

still the same error.
Reply With Quote
  #18  
Old 11-14-2004, 01:58 AM
bendigo-tech bendigo-tech is offline
 
Join Date: Aug 2004
Location: Australia
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bendigo-tech
all the HTML within the article is shown in the printable version which makes things look VERY messy!
Anybody have a fix for this yet? How can we make it parse the HTML??
Reply With Quote
  #19  
Old 11-19-2004, 04:51 PM
inverted's Avatar
inverted inverted is offline
 
Join Date: Oct 2004
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

my install still gives a database error when i try to view the printable version. that fix didn't change anything ChurchMedia.... got any other ideas?
Reply With Quote
  #20  
Old 11-21-2004, 01:35 AM
ChurchMedia's Avatar
ChurchMedia ChurchMedia is offline
 
Join Date: Dec 2002
Location: Las Cruces, NM
Posts: 473
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm sorry -- I'm really ill right now. I'm not sure what the problem could be with the hack. It's working fine on most people's boards. Have they upgraded the articles hack recently? That could make my hack obsolete. If anyone else would like to try to figure this out it's okay with me.

Thanks.
Reply With Quote
  #21  
Old 11-21-2004, 08:44 PM
inverted's Avatar
inverted inverted is offline
 
Join Date: Oct 2004
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i'd appreciate your help getting this fixed whenever you are not ill, just please PM me or something, any help would be appreciated, otherwise i'm gunna have to uninstall 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 11:46 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.05330 seconds
  • Memory Usage 2,296KB
  • Queries Executed 25 (?)
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
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete