More tags in gateway

Daegaladh

Member
I need {$title}, {$url}, {$banner_url} and {$description} tags in the gateway page, but I'm not sure how to add them. Could anybody help me? Thanks.
 

Basti

Administrator
Staff member
Source/in.php find
Code:
 eval (PluginManager::getPluginManager ()->pluginHooks ('in_gateway'));
before add
Code:
$result = $DB->query("SELECT * FROM {$CONF['sql_prefix']}_sites WHERE username = '{$username}'", __FILE__, __LINE__);
while ($row = $DB->fetch_array($result)) {
    $TMPL = array_merge($TMPL, $row);
}
This would make all tags you have available in rankings/stats also available on gateway
 
Top