|
إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...
انضم الينا
#1
| ||
| ||
Hi, i'm little confused about using template hooks in vB 4, so i just ask here for little help. Hope someone helps me On vB 3.8.x i had a little server status check in navbar. Template edit was: Code: [ SERVER1 status: $status1 | SERVER2 status: $status2 ] And used this plugin: Product: vBulletin Hook location: global_start Code: include "/var/www/mysite.com/misc/serverstatus.php"; $server1=$serverstat1; $server2=$serverstat2; if ($server1 == 1) { $status1="ONLiNE"; } else{ $status1="OFFLiNE"; } if ($server2 == 1) { $status2="ONLiNE"; } else{ $status2= "OFFLiNE"; } and it looks like: [ SERVER1 status: ONLiNE | SERVER2 status: OFFLiNE ] But now, on vB 4, it just looks like: [ SERVER1 status: $status1 | SERVER2 status: $status2 ] So i miss something and i cant figure out what ... Thanks in advance for help Holy __DEFINE_LIKE_SHARE__ |
مواقع النشر (المفضلة) |
| |