Hey Vis,
I have a little glitch with SMF 1.1.11 and MKP 1.1 Final. I used to use MKP singleboard and IPB 1.2, and when I clicked on Who's Online (last click in MKP blocks), it would show me what the users were doing (viewing forums, viewing shouts, viewing image gallery, etc..). Now that I've switched to SMF 1.1.11 and MKP 1.1 final, the who's online/last click feature only shows who's in the actual SMF forums. If someone is on the main MKP home page, image gallery, shouts,etc.., It doesn't show these people in the online list. I've searched the MKP and SMF sites for anything relating to this, and found a few things, but really no resolutions to this. The online home block shows everyone and where they are, but the online list only shows member/guests that are in the actual SMF forums, and not in the various modules of MKP. I've done the mod to the Subs.php file to view the forums inside MKP, and everything else works great. I have a feeling that there is something not allowing the SMF who's online list to see the MKP stuff, but I've yet to figure it out.
Thanks!
Eldoguie.....
Who's Online Glitch
Started by Eldougie, Jan 10 2010 03:28 PM
5 replies to this topic
#1
Posted 10 January 2010 - 03:28 PM
#2
Posted 10 January 2010 - 09:40 PM
Hello Eldougie-
I think you would have to edit the SMF file Sources/Who.php to display who is browsing areas in MKPortal. You would probably have to add a query similar to the code in MKPortal's mkportal/include/smf_board_functions.php (function get_onlinehome) or you might be able to modify an existing query. Honestly I do not know how difficult it would be. I looked at the SMF code but it would take me a while to determine what would need to be done. Try looking at it yourself and if you need help I'll see what I can do. I don;t have MKPortal installed anywhere right now but I can install it on my development server if needed.
-=DKC=-
I think you would have to edit the SMF file Sources/Who.php to display who is browsing areas in MKPortal. You would probably have to add a query similar to the code in MKPortal's mkportal/include/smf_board_functions.php (function get_onlinehome) or you might be able to modify an existing query. Honestly I do not know how difficult it would be. I looked at the SMF code but it would take me a while to determine what would need to be done. Try looking at it yourself and if you need help I'll see what I can do. I don;t have MKPortal installed anywhere right now but I can install it on my development server if needed.
-=DKC=-
Please note that I offer free support on this forum in my free time. Depending on how much work I have backlogged it may take me a week or more to answer questions. I am not ignoring you. I answer everyone but please be patient. Thanks.
Disclaimer: All forum posts, including code examples, on this forum are offered for free in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Use code examples at your own risk.
"If at first you don't succeed, keep on suckin' til you do succeed." -Curly Howard
#3
Posted 10 January 2010 - 09:50 PM
Hey, Vis,
I've already browsed through I few files trying to see if I can mod it. Now that you've pointed out what to look for, I might be able to figure it out now. I was trying to find entries in some of the files relating to 'who', 'onlinelist', 'last click', etc..., but nothing I found made any sense. I'll check these out, and let you know what Ican figure out.
Thanks for the heads up.
Eldougie.....
I've already browsed through I few files trying to see if I can mod it. Now that you've pointed out what to look for, I might be able to figure it out now. I was trying to find entries in some of the files relating to 'who', 'onlinelist', 'last click', etc..., but nothing I found made any sense. I'll check these out, and let you know what Ican figure out.
Thanks for the heads up.
Eldougie.....
#4
Posted 12 January 2010 - 09:13 PM
Hey Vis,
After looking through these files, I did find the function for displaying where users are in the online home block, but there doesn't seem to be any coding in either the smf_board_fuctions or smf_out for actually displaying where users are in the MKP pages in the forum's online list. I did some more searching in the MKP forums (even though they are closed), and came up with this:
http://www.webinweb.net/smf/index.php?PHPS...amp;topic=154.0
It's in Italian, but from looking at it, this might be the fix for it. Not sure if you read Italian or not, but maybe something in this coding might jump out at you. A lot of this is well beyond my understanding of PHP coding. Might just make backups, and try it anyways to see if it works.
Thanks!
Eldougie.....
After looking through these files, I did find the function for displaying where users are in the online home block, but there doesn't seem to be any coding in either the smf_board_fuctions or smf_out for actually displaying where users are in the MKP pages in the forum's online list. I did some more searching in the MKP forums (even though they are closed), and came up with this:
http://www.webinweb.net/smf/index.php?PHPS...amp;topic=154.0
It's in Italian, but from looking at it, this might be the fix for it. Not sure if you read Italian or not, but maybe something in this coding might jump out at you. A lot of this is well beyond my understanding of PHP coding. Might just make backups, and try it anyways to see if it works.
Thanks!
Eldougie.....
#5
Posted 12 January 2010 - 10:11 PM
Hey Vis,
That did the trick. Once I translated the Italian, so I could get an idea what I was doing, I made the mods, and now it shows the where everyone is in the forums and in the MKP pages. All is good now. Thanks for all your suggestions and help.
Eldougie.....
That did the trick. Once I translated the Italian, so I could get an idea what I was doing, I made the mods, and now it shows the where everyone is in the forums and in the MKP pages. All is good now. Thanks for all your suggestions and help.
Eldougie.....
#6
Posted 26 January 2010 - 10:14 AM
Eldougie, on Jan 12 2010, 11:11 PM, said:
Hey Vis,
That did the trick. Once I translated the Italian, so I could get an idea what I was doing, I made the mods, and now it shows the where everyone is in the forums and in the MKP pages. All is good now. Thanks for all your suggestions and help.
Eldougie.....
That did the trick. Once I translated the Italian, so I could get an idea what I was doing, I made the mods, and now it shows the where everyone is in the forums and in the MKP pages. All is good now. Thanks for all your suggestions and help.
Eldougie.....
Please note that I offer free support on this forum in my free time. Depending on how much work I have backlogged it may take me a week or more to answer questions. I am not ignoring you. I answer everyone but please be patient. Thanks.
Disclaimer: All forum posts, including code examples, on this forum are offered for free in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Use code examples at your own risk.
"If at first you don't succeed, keep on suckin' til you do succeed." -Curly Howard
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users













