The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Populate <textarea> on non-vB page from link in postbit?
In a posted thread, in every postbit, we want to have a link "forward this message as a postcard" - they click on the link, it takes them postcard.php, and should autopopulate the <textarea> for the postcard message with the message only in that single post.
Using vB functions, can someone tell me the easiest way to pass the post's text to another page? |
#2
|
|||
|
|||
send the postid of the message(post) that you want copied and then run a little query getting the pagetext from the db matching the postid?
'course, make sure they have permission to view the message too... |
#3
|
||||
|
||||
Do you think that would be best, or could you even just transfer the pagetext avoiding a query? If I can skip a query that would be great.
The main hinerance is that and I don't know what the query would look like. Probably just a mysql_query from the post table, the pagetext, where postid = postid, right? |
#4
|
||||
|
||||
it's impossible to do so, unless you use copy and paste. Becausing reloading a page would also need to reload the data, and that page contains non-static data so everytime you open it you get to run queries. I believe it's a very simple query and wouldn't take alot of time so don't be worried about it.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|