The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
[MYSQL] WHERE = 'Where is this code?'
sup, im making my rpg mod, still, and al i need now, is the where command, ive tryed tons of crap!
PHP Code:
now, ive goten errors, and its showed me that the set command works, but, the WHERE command dosent... what do i ened to alter? // More Info \\ Hook: newthread_post_complete What its suposta do?: it is suposta write querys to the thread it just made.. \\ End More Info // |
#2
|
||||
|
||||
huh ?
|
#3
|
|||
|
|||
Quote:
|
#4
|
|||
|
|||
lol,?
umm, i need to write a query, and i need to know how to specify the thread that it has just created...? umm, yeah, i linke umms, lol; ok, as i said above, its for adding the #1 to a table i created in the thread table, (i like tables aswell it seems/; ) leaves it alone, (need to make that code <) hope that makes it easyer as for the error question, i figured that out, i said when i got errors. i got the erorrs figured out ^^ i just need the where command |
#5
|
|||
|
|||
So it's not giving errors? But just not working? It could be your hook location.
|
#6
|
|||
|
|||
lol, posts while im posting ^^, umm.... idk what other hook location to try? you got any ideas?
(im sorta new to plugins) |
#7
|
|||
|
|||
ok, major breakthrew here, ill post yo the error i got
Quote:
anyways, as you can see the script knows everythign except for the location. I looked threw a code that aj gave to me PHP Code:
|
#8
|
|||
|
|||
I hope you don't mind me butting In here pyro.699,
I wish I knew the answer to your question, but I only know how to code for 3.0.9, not 3.5.0....however, I'd like to make It clear what your asking as I understood and It seems other did not.... He's trying to run a query that updates a field WHERE the threadid equal's the threadid he gives....The problem Is, as you can see from the query, It's not giving a thread ID, now this could be because he does not have the query correctly for vb 3.5.0 (as I said I have no Idea about), or because the, used to be $threadinfo array Is not being passed to his script.... Hope someone can help you, and hopefully they understand now |
#9
|
||||
|
||||
It's working now, he was trying to run a query instead of using the datamanager.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|