![]() |
VB3 did not upgraded yet fully to XHTML, it still uses deprecated tags from old templates:
http://validator.w3.org/check?uri=ht...com%2Fforum%2F They will be fixed once the code is out of beta, so it will look the same in Netscrape 4.7. |
Ah, got it!
Thanks! |
I like the printer friendly ability vbhome lite offers, I know its barely related to your hack and if you dont want to support it thats fine, but heres my question:
How can I use the printarticle feature to make printer friendly versions of articles in my normal forum? I have it all set up to use the printarticle.php page, but apparently the current code can only read the first article from the thread and I need to be able to pull up any individual article instead. Here is the original code: Code:
<a href="$bburl/printarticle.php?s=$session[sessionhash]&threadid=$article[threadid]" target="_blank"><img src="{imageshome}/articleprint.gif" alt="Printer Friendly version" class="imgbordermiddle" /></a> That works fine, the problem being if you use that same code on the normal page it just pulls the first article from that thread. I tried tinkering with it, substituting postid for threadid, etc, but I think the actual printarticle.php file needs a tweak to allow it to work and I just dont know enough php yet to make that tweak. Any suggestions? :rolleyes: |
FILE: printthread.php
FIND: Code:
ORDER BY dateline $postorder Code:
ORDER BY dateline ASC |
got a screenshot???
1 |
So far as I can tell that didnt make any change.
Maybe I can rephrase this to make more sense: I'd like to be able to make any single post printer friendly. Currently both vbhome lite and the normal vbulletin support this using either printarticle.php or printthread.php, but both work off a thread ID which means it just pulls the top post. Is there an alteration I can make that would allow me to use a link like this: printarticle.php?s=$session[sessionhash]&postid=$post[postid] to pull ONLY the one post I want into a printer friendly format? Any tips would be greatly appreciated. If this is off topic to the vbhome lite support please let me know I'd be glad to take the question someplace more appropriate. -Just call me young grasshoppa and gimmie the turtle wax. :rambo: |
I've just installed vbhome lite on my test board and I get the following error when trying to view the vbhome lite homepage:
Database error in vbHome 2.2.9: Invalid SQL: SELECT COUNT(*) AS total FROM thread WHERE dateline>0 AND forumid IN( ) mysql error: You have an error in your SQL syntax near ') ' at line 4 mysql error number: 1064 Any ideas how to fix this? Thanks, Daniel. |
Search the thread. :)
|
Quote:
|
how wood i go about showing the [img] tag in the article ! my pics just appear as links ! and yes i did search thru 179 pages but i found nutin ! and yes
Enable BB Code in article? is ON |
All times are GMT. The time now is 02:33 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|