Daegaladh Member Nov 20, 2012 #1 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.
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 Nov 20, 2012 #4 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
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