Click here to Skip to main content
15,892,643 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I bought a script vbulletin for install it in my forum, now I have a discuzx forum on www.cristovideos.com/forum.php but I don't like this script. I trying to change my app from discuzx to vbulletin, I using this app for send pms to my members. The application is almost finished. only the last thing I need is that I can not fill the message. I still I have no forum installed and I am testing my app with another forum and I can not insert the message.

I trying with this code :

VB
wbForumpm.Document.Window.Frames("vB_Editor_001").Document.Body.InnerHtml = txtPMBody.Text

and this code:

'Body set
If Unit.GetAttribute("name") = "message" Then
Unit.SetAttribute("value", txtPMBody.Text)
End If

But not work. I think that you can do it God willing .


I bought vbulletin 4 like http://www.webtalkforums.com/private.php?do=newpm&u=90020380 .

Thanks advanced.God bless you.
Posted
Comments
DaveAuld 9-Oct-11 15:25pm    
Should you not be using == and not = in; If Unit.GetAttribute("name") = "message"; i.e. If Unit.GetAttribute("name") == "message"

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900