![]() |
[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 :). |
Quote:
[high]* Kevorkian click install[/high] |
Very nice. Thank you
|
[high]* colicab-d clicks install
[/high] thnk you :D |
great hack :)
|
Excellent !
Thanx ;) |
Thanks a lot!
Very useful. |
Very helpful, thank you! :)
|
Useful addition .. clicked install https://vborg.vbsupport.ru/external/2005/01/2.gif
|
[high]* Blam Forumz clicks install
[/high] woot :D |
Excellent hack.
|
Woooooooaaaa!!! :-)
* Bolas clicks install |
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 :) |
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: |
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.
|
still the same error.
|
Quote:
|
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?
|
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. |
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.
|
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 |
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.
|
ive got this database error as well. any ideas?
|
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.... |
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!
|
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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|