The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
ok i've got the quick reply working fine on a third party page, however if i click the quick reply icon in order to quote the post, it pulls the post from the database instead of the info i wanted, now i couldn't make out the js as i know nowt to do with js but in the php i'm guessing the lines
PHP Code:
am i looking for the right thing? oh maybe it'd be easier to ask, how should i try and get it to pull the info i want rather than the info vbulletin set it to extract initially? |
#2
|
||||
|
||||
![]()
*bump*
|
#3
|
||||
|
||||
![]()
sabe - no need to bump that much
![]() |
#4
|
||||
|
||||
![]()
sorry dean
![]() |
#5
|
||||
|
||||
![]()
how about using Xenon's quick reply button hack ?
otherwise: if you want to quote, then in the link button it should have been included that postid then in the quote page like abc.php?do=quote&postid=12345 you query for the post with id 12345 and include it in the textarea with the [quote] tag around the message with this postusername also. is that your problem ? |
#6
|
||||
|
||||
![]()
[QUOTE=deathemperor]how about using Xenon's quick reply button hack ?
otherwise: if you want to quote, then in the link button it should have been included that postid then in the quote page like abc.php?do=quote&postid=12345 you query for the post with id 12345 and include it in the textarea with the Quote:
but i can't find the $getpost query ![]() |
#7
|
||||
|
||||
![]()
writing for a new script, that's what I was talking about.
if you want to query post from vbulletin's post table you may want to look at function_newreply.php or similar functions in includes. I don't think it's hard to do things like this manually. Basicly you just have to get the postid, then in the quote newreply page, it's simply like posting a newreply without quotes, you query that post with the specified id and put it in the quote so that the new reply will content the correct words in it. |
#8
|
||||
|
||||
![]()
let me try and explain this, the way the quick reply is set up it queries the post table with the postid and inserts the relevant text in the right place with the username, now cos i'm using an external script what i'm wanting is for it to query my table grps_post instead, however if i can't find the query i can't even begin to investigate the best method and i'm having problems finding the query at present.
|
#9
|
||||
|
||||
![]()
they why don't you write your own query ?
|
#10
|
||||
|
||||
![]()
that's what i wanna do but i need to replicate the clause
i.e. PHP Code:
|
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|