I had used some of his codes without permission(I think, he's not angry at me... ). My program will list all the Users who are online in VBForums.
BTW, this is a very simple program...! Please post your comments (both positive and negative feedbacks are appreciated... )
Thanks for reading....
Last edited by akhileshbc; Feb 18th, 2010 at 09:32 AM.
Reason: spelling mistake
If my post was helpful to you, then express your gratitude using Rate this Post.
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video) My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet Social Group:VBForums - Developers from India
Tried the code and it works as expected! For those who think there is a discrepancy with the forum that is because the forums also counters the numbers of invisible users as well as online users. Whereas akhileshbc's code doesn't. Can you upgrage it to include invisible users too?
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu. https://get.cryptobrowser.site/30/4111672
Tried the code and it works as expected! For those who think there is a discrepancy with the forum that is because the forums also counters the numbers of invisible users as well as online users. Whereas akhileshbc's code doesn't. Can you upgrage it to include invisible users too?
Thanks for your comment...
I think the forum won't show it to anyone...! (looks like a security option).
The working of the above code is,
download the index/main page and load it(page source) to a string variable. Parse the usernames contained in that string...and display the usernames on a Listbox....
If my post was helpful to you, then express your gratitude using Rate this Post.
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video) My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet Social Group:VBForums - Developers from India
Then use a "get string between" function to get the total users. Google for it
GetString method of ADO..??? But what if the forum is not grabbing the invisible user's names from its database..???
For example:
Code:
SELECT forumUsernames FROM forumUsers WHERE invisbleUsers = FALSE
Just a thought...! .....
If my post was helpful to you, then express your gratitude using Rate this Post.
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video) My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet Social Group:VBForums - Developers from India
Public Function GSB(Main As String, Start As String, Finish As String, Optional Index As Long = 1) As String
On Error Resume Next
GSB = Split(Split(Main, Start, Index + 1)(Index), Finish, 2)(0)
End Function
Public Function GSB(Main As String, Start As String, Finish As String, Optional Index As Long = 1) As String
On Error Resume Next
GSB = Split(Split(Main, Start, Index + 1)(Index), Finish, 2)(0)
End Function
If you are using an HTML source for this then you are in good shape
I thought your post was about displaying the Invisible Users...
If my post was helpful to you, then express your gratitude using Rate this Post.
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video) My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet Social Group:VBForums - Developers from India
If my post was helpful to you, then express your gratitude using Rate this Post.
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video) My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet Social Group:VBForums - Developers from India
If you go through the VB source code and the page source(HTML code) of the index page of your site, you will be able to do the necessary changes all by yourself.
If you have any questions, feel free to post it...
If my post was helpful to you, then express your gratitude using Rate this Post.
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video) My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet Social Group:VBForums - Developers from India