vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   [v3 Articles] Printable Articles (https://vborg.vbsupport.ru/showthread.php?t=66979)

ChurchMedia 07-07-2004 10:00 PM

[v3 Articles] Printable Articles
 
"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 :).

Kevorkian 07-08-2004 08:48 PM

Quote:

Originally Posted by ChurchMedia
"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 :).

good hack! ^___^
[high]* Kevorkian click install[/high]

Holidazed 07-08-2004 09:36 PM

Very nice. Thank you

colicab-d 07-08-2004 10:32 PM

[high]* colicab-d clicks install
[/high]

thnk you :D

Giveit2u43 07-09-2004 08:08 AM

great hack :)

Acido 07-09-2004 10:39 AM

Excellent !
Thanx ;)

Henry-RS 07-09-2004 08:32 PM

Thanks a lot!

Very useful.

kira 07-15-2004 06:53 PM

Very helpful, thank you! :)

TTG 08-03-2004 02:29 PM

Useful addition .. clicked install https://vborg.vbsupport.ru/external/2005/01/2.gif

Blam Forumz 08-20-2004 07:57 AM

[high]* Blam Forumz clicks install
[/high]

woot :D

gfxhavenowner 09-26-2004 03:29 PM

Excellent hack.

Bolas 09-26-2004 04:06 PM

Woooooooaaaa!!! :-)

* Bolas clicks install

bendigo-tech 11-07-2004 07:38 AM

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 :)

inverted 11-10-2004 12:43 AM

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:

ChurchMedia 11-10-2004 05:51 PM

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.

inverted 11-10-2004 09:30 PM

still the same error.

bendigo-tech 11-14-2004 01:58 AM

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??

inverted 11-19-2004 04:51 PM

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?

ChurchMedia 11-21-2004 01:35 AM

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.

inverted 11-21-2004 08:44 PM

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.

inverted 11-21-2004 08:46 PM

Database error in vBulletin 3.0.3:

Invalid SQL: SELECT article.*, articlepost.*, articlecategory.options AS categoryoptions FROM vb3_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

mysql error: Table 'invertedwebcom.articlepost' doesn't exist

mysql error number: 1146

inverted 12-13-2004 12:31 PM

does anyoen have some help for me here? this printable version mod is giving more trouble than it's worth since i keep getting a databse error.

RsX 12-15-2004 01:38 AM

ive got this database error as well. any ideas?

Guy G 12-15-2004 01:38 PM

for all the ppl with the error.
use this query instead the one on the file:

$article = $DB_site->query_first("SELECT article.*, articlepost.*, articlecategory.options AS categoryoptions FROM " . TABLE_PREFIX . "article AS article INNER JOIN " . TABLE_PREFIX . "articlepost AS articlepost ON(articlepost.postid = article.firstpostid) INNER JOIN " . TABLE_PREFIX . "articlecategory AS articlecategory ON(articlecategory.categoryid = article.categoryid) WHERE article.articleid = $a AND articlepost.type=1");

By Paul M who helped me....

inverted 12-21-2004 03:05 PM

thanks zorobz... i had to uninstall this mod for a while since there was (is) pretty much no support... thanks a lot for your help! it's a great feature to have. thankfully it works now!

ChurchMedia 12-21-2004 03:25 PM

Thanks, zorobz. I just got out of the hospital and couldn't help (health junk is why I can't offer support on my hacks). I've updated the zip file.


All times are GMT. The time now is 10:29 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.01084 seconds
  • Memory Usage 1,758KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (26)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