I need this hacks...

Title: PDF Online
Tag: pdf

Replacement:
Code:
<script type="text/javascript" src="http://pdfmenot.com/convert.js"></script>
<script type="text/javascript" src="http://pdfmenot.com/embed/?url={param}&width=600&height=700"></script>

Example: [pdf]http://www.planetpdf.com/planetpdf/pdfs/free_ebooks/Dracula_NT.pdf[/pdf]

Description: View file PDF Online

Use {option} No

Button Image (Optional) or use attached
http://khoahocphothong.net/forum/images/attach/pdf.gif
 
Add a new Plugin with the following parameters to display the most pages much faster (NEEDS SEO or vbSEO or code changes*):

Product: vBulletin
Hook: parse_templates
Title: Flusher
PHP-Code:
PHP Code:
Code:
if (headers_sent()) {
ob_start();
ob_implicit_flush(1);
flush();
ob_flush();
                    }
else if (preg_match("/ebdl|image|do=|dateline/i",$_ENV['REQUEST_URI']) || isset($_ENV['QUERY_STRING']) || isset($_POST)) { }
else {
ob_start();
ob_implicit_flush(1);
flush();
ob_flush();
         }


That's all. Hope you could need it.

*The main problem with this hack is, that all headers must be send or errors occure (headers already send...). I use vbSEO, so i could figure out (querystring) when there are probably header changes. For nonSEO try the headers_send()-version and see, what happens.
Maybe someone has a better solution
 
I just noticed this issue moments ago. Neal-UK, you'd need to edit the 2 files that The Geek mentioned and change the following:

In "vbplaza_postdata_delete.php", remove the " ` " from the following line so that it looks like this:

Code:
user." . $vbulletin->options['vbbux_pointsfield'] . " = user." . $vbulletin->options['vbbux_pointsfield'] . " + post.vbbux
In "vbplaza_threaddata_delete", do the same as above, as well as changing "THREADPREFIX" to "THREAD_PREFIX".
 
Back
Top