The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I have a custom vbulletin powered page, one of the field asks to input a name of a member on the forums, I know that vbulletin has an ajax function in private.php?do=newpm and in profile.php?do?newbuddy tried looking in the files couldn't find anything.
Anyways how can I call that ajax function? |
|
#2
|
|||
|
|||
|
Code:
<label for="bccpmrecips_ctrl" class="full">{vb:rawphrase bcc}:</label>
<div id="bccpmrecips" class="popupmenu nomouseover noclick nohovermenu">
<input type="text" class="primary full textbox popupctrl" id="bccpmrecips_ctrl" name="bccrecipients" />
</div>
<script type="text/javascript" src="clientscript/vbulletin_ajax_suggest.js?v={vb:raw vboptions.simpleversion}"></script>
<script type="text/javascript">
<!--
bccrecip_sugg = new vB_AJAX_NameSuggest('bccrecip_sugg', 'bccpmrecips_ctrl', 'bccpmrecips');
//bccrecip_sugg.allow_multiple = true;
//-->
</script>
|
|
#3
|
|||
|
|||
|
Quote:
I've actually tried that before, even copied the whole PM box just can't get it to work. Thanks though. |
|
#4
|
|||
|
|||
|
I will take a look at this tomorrow when I am watching a crappy football game -- Beginning of professional season, they are worse then high school players. Looks to me like that code should work as long as you have the right dependencies.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|