PDA

View Full Version : using the quick reply form


Dionysis
12-29-2004, 01:14 AM
how would i use the quick reply form on another page (outside of vbulletin) and still link it to a thread (so pressing reply, creates a reply on that thread, and pressing "advanced" goes to the full reply form, for that thread)?

rake
12-29-2004, 09:49 PM
simply copy & pasting the html for the form would do the trick. You'd also have to include the javascript files used, and watch out if the paths are correct ( clientscript/x.js would become forum/clientscript/x.js for example, if the forums are in the /root/forum directory and your page is in root )

Dionysis
12-29-2004, 09:58 PM
thanks alex,

i tried including the global.php and got this:

http://www.vbulletin.com/forum/showthread.php?p=785755#post785755

rake
12-29-2004, 10:25 PM
if you just want plain html, you don't need that. use the view source button in your browser and then copy&paste it in your page...

Guy G
12-29-2004, 10:38 PM
what rake is trying to say is that the quick reply doesnt use any PHP and therfore you wont need to include any file exept the JavaScripts it uses.

Dionysis
12-30-2004, 01:18 AM
ok no problem changed the file paths for the javascripts, and the images and got something like...

http://nrgdrink.com/txtfix.jpg

although, nothing works. pressing "bold" will only take the user to the frontpage of my site. i tried what (i thought) would be a quick fix using :

<?php chdir('vbulletin');?>

but, then the images broke... now i'm really confused. (why would the images break if the url (seems) right? )

Dionysis
12-31-2004, 09:01 PM
anyone?