Hello, i have a custom plugin which not works anymore and i don't know why.
I tried to use skin_global.php, this was already working fine for me, but now i get nothing(query_data) in my template tag.
Response:
If i try to call the template tag {$sro_user_count} with the Seo plugin /child/main_welcome.html
and the i see just
Any idea? is there any better hook, or did i something wrong?
Greetz,
leonor
EDIT:
If i use skin_global.php and put it to my wrapper.html i see this:
Still missing the data from query, and its not really a help i need my data in Seo Plugin :/
Code:
list($TMPL['online_servers'], $TMPL['total_online']) = mysql_fetch_row($DB->query("SELECT COUNT(*), SUM(sro_num_players) FROM `VL_stats` WHERE `sro_online` = '1'"));
$TMPL['sro_user_count'] = "We have " . $TMPL['num_members'] . " Servers in our list atm, " . $TMPL['online_servers'] . " of which are online right now with a total of " . $TMPL['total_online'] . " Players.";
If i try my queryWe have Servers in our list atm, of which are online right now with a total of Players.
Code:
SELECT COUNT(*), SUM(sro_num_players) FROM `VL_stats` WHERE `sro_online` = '1'
If i try to call the template tag {$sro_user_count} with the Seo plugin /child/main_welcome.html
Code:
<p class="lead text-center color-white seo_main_p">{$sro_user_count}</p>
Code:
We have Servers in our list atm, of which are online right now with a total of Players.
Greetz,
leonor
EDIT:
If i use skin_global.php and put it to my wrapper.html i see this:
Still missing the data from query, and its not really a help i need my data in Seo Plugin :/
Last edited: