Results 1 to 5 of 5
Thread: Forum connect?
-
12-02-2010 #1
Forum connect?
Ok so I added forumconnect.php to my public_html and added the .dll as a reference to my program and it wont work for some reason. This is the code im using.
Its the one oscar supplied but it never works any help?Code:Dim forumLogin As New ForumConnect.Login("http://www.*********.com/forumconnect.php") If forumLogin.Verify(TextBoxX1.Text, TextBoxX2.Text) Then Me.Text = ("********** [Public B3TA]" + "Logged in as " & forumLogin.Username & " usergroup: " & forumLogin.Usergroup) Else MsgBox("Wrong User or Pass!", MsgBoxStyle.Exclamation, "Error!") End If
Edit: btw im using mybb 1.6
-
12-02-2010 #2Modio Tool Developer

- Join Date
- Mar 2010
- Location
- UK
- Age
- 20
- Posts
- 1,817
- Thanks
- 426
- Gamertag
- MrJoshuaT
Re: Forum connect?
I have never worked with mybb before but your syntax is incorrect
this:
Code:If forumLogin.Verify(TextBoxX1.Text, TextBoxX2.Text) Then
should be:
Code:If forumLogin.Verify(TextBoxX1.Text, TextBoxX2.Text) = true Then
Server / Desktop / Mobile Device developer. I use a Mac . Typos are my speciality.
Taylor Gang or die.
Prison Break is the best TV show ever.
If you require quick help, and are able to fit the query in 140 characters, tweet at me @Joshua_M_Turner
I'll do my best in 140 characters to help you :)
-
12-02-2010 #3
Re: Forum connect?
It needs to be the newer DLL if you are using the older one. Check out his blog in his signature for it.
@Josh
That should work what he is doing. Because if you put in a boolean value for the if then without checking what it equals it will always check if it is true. Thats fine. In C# this is what I do.
Code:bool IsConnectedToNetwork { get; set; } if (IsConnectedToNetwork) { //do work here. }Last edited by Matt; 12-02-2010 at 07:37 PM.
I see you read my signature.
-
12-02-2010 #4
Re: Forum connect?
-
12-02-2010 #5
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)



LinkBack URL
About LinkBacks
Reply With Quote





Bookmarks