<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Problemi Menu Admin per plugin link exchange di Wordpress]]></title><description><![CDATA[<p dir="auto">Buongiorno a tutti, dopo aver installato il plugin</p>
<p dir="auto">Link Exchange Manager 1.4 This plugin enables you to embed a link exchange directory right in the comfort of your own blog. Use this plugin to gain new partner sites and to improve your overall backlink count. Di eBrandMarketing.</p>
<p dir="auto">in WordPress 2.7, funziona tutto regolarmente, tranne che il menu di questo plugin si sovrappone al menu degli utenti (che non è più visibile).</p>
<p dir="auto">Come si può modificare il codice di questo plugin per spostare il suo pulsante di configurazione in coda agli altri?</p>
<p dir="auto">Ho guardato nelle guide, ma non ho capito molto. Il pulsante viene collocato in modo diverso da come fanno gli altri plugin..<br />
<strong>Riporto il codice:</strong></p>
<p dir="auto">// Create the button for the plugin<br />
function eblex_put_button()<br />
{<br />
global $menu, $submenu, $wpdb, $table_prefix;<br />
$menu[50] = array(<strong>('Link exchange'), 'manage_links', 'link-exchange.php');<br />
$inbox = $wpdb-&gt;get_var("SELECT count(*) FROM <code>" . $table_prefix . "eblex_links</code> WHERE <code>active</code>='0'");<br />
if ($_GET['action'] == "delete") {<br />
$confirmation = $wpdb-&gt;get_var("SELECT <code>id</code> FROM <code>" . $table_prefix . "eblex_links</code> WHERE <code>id</code>='" . $_GET['id'] . "'");<br />
if ($confirmation != "") {<br />
$inbox--;<br />
}<br />
}<br />
if ($_GET['action'] == "approve") {<br />
$confirmation = $wpdb-&gt;get_var("SELECT <code>id</code> FROM <code>" . $table_prefix . "eblex_links</code> WHERE <code>id</code>='" . $_GET['id'] . "' AND <code>active</code>='0'");<br />
if ($confirmation != "") {<br />
$inbox--;<br />
}<br />
}<br />
$submenu['link-exchange.php'][5] = array(</strong>('Inbox (' . $inbox . ')'), 'manage_links', 'link-exchange-inbox.php');<br />
$submenu['link-exchange.php'][10] = array(<strong>('Quick Add'), 'manage_links', 'link-exchange-qa.php');<br />
$submenu['link-exchange.php'][15] = array(</strong>('Categories'), 'manage_links', 'link-exchange-categories.php');<br />
$submenu['link-exchange.php'][20] = array(<strong>('Browse links'), 'manage_links', 'link-exchange-browse.php');<br />
$submenu['link-exchange.php'][25] = array(</strong>('Search'), 'manage_links', 'link-exchange-search.php');<br />
$submenu['link-exchange.php'][30] = array(<strong>('Backlink cleansing'), 'manage_links', 'link-exchange-clean.php');<br />
$submenu['link-exchange.php'][35] = array(</strong>('Statistics'), 'manage_links', 'link-exchange-stats.php');<br />
$submenu['link-exchange.php'][40] = array(__('Settings'), 'manage_links', 'link-exchange-settings.php');<br />
}</p>
<p dir="auto">add_action('admin_head', 'eblex_put_button');<br />
add_action('activate_linkexchange/plugin.php', 'eblex_install');<br />
add_action('deactivate_linkexchange/plugin.php', 'eblex_uninstall');?&gt;</p>
]]></description><link>https://dev.connect.gt/topic/92714/problemi-menu-admin-per-plugin-link-exchange-di-wordpress</link><generator>RSS for Node</generator><lastBuildDate>Wed, 25 Nov 2026 19:15:15 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/92714.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 20 Jan 2009 08:58:05 GMT</pubDate><ttl>60</ttl></channel></rss>