The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
||||
|
||||
why would i want an admin script to be xhtml compliant?
besides surely that's the do as the second parameter in the function definition? and the reason i would like it is because the form needs to get processed somehow and i got the main script/form as confessions_moderate.php and it has proved to work quicker if i put that part of the processing on another part of the script. |
#22
|
||||
|
||||
> why would i want an admin script to be xhtml compliant?
You want this so that compliant browsers can display the page. If there was a 101% compliant browser it would reject the page as being invalid > besides surely that's the do as the second parameter in the function definition? As I said, look at adminfunctions.php. > and the reason i would like it is because the form needs to get processed somehow Sure. And where's the problem in processing the form? File demo.php PHP Code:
|
#23
|
||||
|
||||
Quote:
|
#24
|
||||
|
||||
Quote:
PHP Code:
HTML Code:
<form action="moderate.php?do=WHATEVER" name="confessions" method="post">
basically, am i being told that it's impossible? |
#25
|
||||
|
||||
PHP Code:
PHP Code:
HTML Code:
<form action="moderate.php" name="cpform" method="post"> ... <input type="hidden" name="do" value="doconfessions" /> </form> Yes, this is not possible with the standard functions to create CP-forms, although you could do it manually. But as I already said earlier, this is not needed and AFAIK it's not valid at all. |
#26
|
||||
|
||||
thanks for your help kirby
|
#27
|
||||
|
||||
yay it's all working fine, my only problem now is this
PHP Code:
|
#28
|
||||
|
||||
Hmm ... what's the problem with this line (except that it should be & to be XHTML compliant)?
|
#29
|
||||
|
||||
lol well basically it should do this in one line
PHP Code:
the query that makes the array is PHP Code:
|
#30
|
||||
|
||||
And where do you select a userid and username in your query? I can only see confessionid and text ...
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|