The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I'm trying to implement some ajax functionality and I'm having trouble with getting the required information in the back end. Here is the clientside code:
Code:
YAHOO.util.Connect.asyncRequest(
'POST',
'ajaxtest.php', {
success: function(data) {
console.log(data);
}
},
SESSIONURL + 'securitytoken=' + SECURITYTOKEN
);
PHP Code:
Am I missing something? |
|
#2
|
|||
|
|||
|
I've figured out that to get $foruminfo, you just need to send a parameter "t" with the value of the current forumid. User info can be accessed from $vbulletin.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|