|
إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...
انضم الينا
#1
| ||
| ||
Ok Its been a while I've done nothing about my forums. Now I turned back and trying to remember everything. But I'm lost this time. Forums version is 3.8.1 and another 3.8.4 test forum. There was a time the code I added was working. maybe 3.7.x versions. I don't remember. None reported that its gone missing. I don't know when and how it broke. I'm trying to fix it but something basic is wrong. Here is the basic code I can not make it work: a plug in at hook location: global_setup_complete PHP Code: $testt='xxxxx'; and the global footer's (global templates >> footer) last line: HTML Code: What expect is to see xxxxx but i get it empty. What I get is something in vB system changed or I'm missing something very silly Here is the real code that used to be working @global_setup_complete PHP Code: if(is_member_of($vbulletin->userinfo, 5,6,7,13,14,15)){ $Query = "select title,pagetext from hizircevap;"; $getRows = $db->query_read($Query); $hizirbits=""; while ($row = $db->fetch_array($getRows)){ $hizirbits.="$row[title]$row[pagetext]"; } } the navbar template HTML Code: Hızır Cevaplar $hizirbits and in the global header navigation bar HTML Code: HC __DEFINE_LIKE_SHARE__ |
مواقع النشر (المفضلة) |
| |