Connection check mod request
So i need a little function that checks if users pc is connectable
in case it is show one image and in other case another image |
PHP Code:
|
not working
this works better Code:
$sql = "SELECT count(id) as count FROM ".$db_prefix."_peers WHERE connectable = 'yes' and uid = '".$user->id."';"; |
that well show you I did it for putting in user profile
and you do not have to add theme link its part of the function you only put name of the pic |
it needed to be a little diferent for me since there is a query for all the stuff already :bubble:
any hove good job :ok: |
please this
PHP Code:
PHP Code:
the function auto maticly goes to themes/userstheme/pics/ |
i have all theme icons in themes/pmbt/pics/imperial/
these icons too so i can later do cleanup and have only needed stuff in this case puting new theme icons with old ones in same folder woud make a big mess for me later |
but you posting like you did well confuse others that follow so Pointing it out to help
|
ok i'm sorry
i suggest better deleate all useles posts and leave only working code and move topic to mod section |
All times are GMT +2. The time now is 07:39. |
Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.