<?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[Plugin per Vbulletin]]></title><description><![CDATA[<p dir="auto">Devo installare un plugin per Vbulletin, ma il fatto è che da Vbulletin mi chiede un file con estensione xml, mentre il mio è un file vbull.aemod</p>
<p dir="auto">Le vecchie versioni di VB usavano per caso questo tipo di file?</p>
<p dir="auto">Il contenuto del file è una serie di comandi PHP e MySQL. Non dei tag xml... ho provato ad uploddarlo lo stesso ma non lo prende.</p>
<p dir="auto">Avete qualche ipotesi o consiglio?</p>
]]></description><link>https://dev.connect.gt/topic/54009/plugin-per-vbulletin</link><generator>RSS for Node</generator><lastBuildDate>Thu, 26 Nov 2026 06:41:59 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/54009.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 16 Nov 2007 11:38:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Plugin per Vbulletin on Fri, 16 Nov 2007 21:30:47 GMT]]></title><description><![CDATA[<p dir="auto">L'ho messo trai tag codice per rendere più pratica la visualizzazione.</p>
<p dir="auto">A prima vista dovrebbe essere rivisto completamente, ed in questo non posso aiutarti.<br />
Mi dispiace ma non esiste una modifica analoga per 3.6.8</p>
]]></description><link>https://dev.connect.gt/post/639004</link><guid isPermaLink="true">https://dev.connect.gt/post/639004</guid><dc:creator><![CDATA[karapoto]]></dc:creator><pubDate>Fri, 16 Nov 2007 21:30:47 GMT</pubDate></item><item><title><![CDATA[Reply to Plugin per Vbulletin on Fri, 16 Nov 2007 11:49:52 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><strong>Karapoto</strong></p>
<p dir="auto">Cavolo, dev'essere una modifica antichissima.<br />
Non è compatibile con le nuove.</p>
<p dir="auto">Mi dici che plugin ti serve e che vwersione di vbulletin hai?</p>
</blockquote>
<p dir="auto">Il plugin serve a integrare VB (ultima versione, credo sia la 3.6.8?) con Dolphin.<br />
Il plugin contiene il codice che segue.</p>
<pre><code>INSERT INTO `Modules` VALUES ('', 'vbull', 'global $mods;
 
/**
* ''ModuleDirectory''
* Specifies name of directory, where forum is located
* (string)
*/
 
$mods[''vbull''][''ModuleDirectory''] = ''forum/'';
 
 
// Miscelleneous settings
 
/** 
* ''CookieMember''
* Whether or not to send cookies when login
* (boolean)
*/
$mods[''vbull''][''CookieMember''] = false;
 
/** 
* ''RedirectMethod''
* Defines method of redirecting after login procedure.
* (enum)
* Possible values:
* ''SendHeader'' - fast redirect, thru sending ''Location...'' header
* ''SubmitForm'' - redirect thru submitting of the form. Greeting message is displayed
*/
$mods[''vbull''][''RedirectMethod''] = ''SubmitForm'';
 
/**
* ''ShowEMail''
* Whether or not to show e-mails to all members. By default depends on aeDating ''Anonymous mode'' global setting.
* (boolean)
*/
$mods[''vbull''][''ShowEMail''] = ! (bool)getParam(''anon_mode'');
 
/**
* ''ReceiveMailFromAdmin''
* Whether or not to force members receive e-mails from forum administrator
* (boolean)
*/
$mods[''vbull''][''ReceiveMailFromAdmin''] = 1;
 
 
// The following is the default member data: data that cannot be extracted from aeDating profile and will be set only
// once: on member registration. During further updates this data will not be changed to prevent member own data loss. 
 
/** 
* ''ShowBirthday''
* Whether or not to show member birthday to all members
* (boolean)
*/
$mods[''vbull''][''ShowBirthday''] = 1;
 
/**
* ''DSTMode''
* Defines Daylight Saving Time mode
* (enum)
* Possible values:
* 0 - DST corrections always off
* 1 - DST corrections always on
* 2 - Automatically detect DST settings
*/
$mods[''vbull''][''DSTMode''] = 2;
 
/**
* ''TimeZoneOffset''
* Defines time zone offset
* (enum)
* Possible values:
* -12 - GMT -12:00
* ...
* 0 - GMT 
* ...
* 12 - GMT +12:00
*/
$mods[''vbull''][''TimeZoneOffset''] = 0;', '/**
* FuncAdd procedure for vBulletin module
* 
* @param string $UserIdentifier member ID or admin name (depend on $IsAdmin parameter)
* 
* @param boolean $IsAdmin Defines whether user is a simple member or admin
*/
 
/* If you modify this function, do not forget to modify FuncUpdate in same way (these functions are almost equal) */
 
global $dir;
global $mods;
global $site;
global $PHPBIN;
 
$CommandLineArgs = new CCommandLineArgs;
 
$CommandLineArgs-&gt;AddArgument(''add''); // Action
$CommandLineArgs-&gt;AddArgument((int)$IsAdmin);
 
if ($IsAdmin)
{ 
// $UserIdentifier is interpreted as an admin name
$AdminInfo = db_arr("SELECT `Name`,
`Password`
FROM Admins
WHERE `Name` = ''".$UserIdentifier."''");
 
if (! $AdminInfo)
{
modules_err("FuncAdd error: Unknown admin ID [{$UserIdentifier}]");
}
 
$CommandLineArgs-&gt;AddArgument($AdminInfo[''Name'']);
$CommandLineArgs-&gt;AddArgument($AdminInfo[''Password'']);
$CommandLineArgs-&gt;AddArgument($site[''email'']);
 
// Fill dummy data
$CommandLineArgs-&gt;AddArgument(2000); // BirthYear
$CommandLineArgs-&gt;AddArgument(1); // BirthMonth
$CommandLineArgs-&gt;AddArgument(1); // BirthDay
$CommandLineArgs-&gt;AddArgument(''''); // AvatarImagePath (no avatar)
$CommandLineArgs-&gt;AddArgument(_t(''_Dolphin Administrator''));
}
else 
{
// $UserIdentifier is interpreted as a profile ID
$UserIdentifier = (int)$UserIdentifier;
 
$UserInfo = db_arr("SELECT `NickName`, 
`Password`, 
`Email`, 
YEAR(`DateOfBirth`) AS `BirthYear`, 
MONTH(`DateOfBirth`) AS `BirthMonth`, 
DAYOFMONTH(`DateOfBirth`) AS `BirthDay`,
`Pic_0_addon` AS `AvatarImagePath`
FROM Profiles
WHERE `ID` = {$UserIdentifier}");
 
if (! $UserInfo)
modules_err("FuncAdd error: Unknown user ID [{$UserIdentifier}]");
 
$CommandLineArgs-&gt;AddArgument($UserInfo[''NickName'']);
$CommandLineArgs-&gt;AddArgument($UserInfo[''Password'']);
$CommandLineArgs-&gt;AddArgument($UserInfo[''Email'']);
$CommandLineArgs-&gt;AddArgument($UserInfo[''BirthYear'']);
$CommandLineArgs-&gt;AddArgument($UserInfo[''BirthMonth'']);
$CommandLineArgs-&gt;AddArgument($UserInfo[''BirthDay'']);
$CommandLineArgs-&gt;AddArgument($UserInfo[''AvatarImagePath'']);
 
// Set membership name as user group title
$MembershipInfo = getMemberMembershipInfo($UserIdentifier);
$CommandLineArgs-&gt;AddArgument($MembershipInfo[''Name'']); 
}
 
$CommandLineArgs-&gt;AddArgument($mods[''vbull''][''ShowEMail'']);
$CommandLineArgs-&gt;AddArgument($mods[''vbull''][''ReceiveMailFromAdmin'']);
$CommandLineArgs-&gt;AddArgument($mods[''vbull''][''ShowBirthday'']);
$CommandLineArgs-&gt;AddArgument($mods[''vbull''][''DSTMode'']);
$CommandLineArgs-&gt;AddArgument($mods[''vbull''][''TimeZoneOffset'']);
 
if (chdir($dir[''root''] . $mods[''vbull''][''ModuleDirectory'']))
{
$scriptReturnValue = ''value was not set'';
exec("{$PHPBIN} -f vbregister.php ".$CommandLineArgs-&gt;GetCommandLine(), $scriptOutput, $scriptReturnValue);
if ($scriptReturnValue !== 0)
{
echo "--- script output dump --- &lt;br /&gt;\
";
foreach ($scriptOutput as $outputLine)
{
echo $outputLine.''&lt;br /&gt;'';
} 
echo "--- end --- &lt;br /&gt;\
";
modules_err("FuncAdd(): exec({$PHPBIN} -f vbregister.php ".$CommandLineArgs-&gt;GetCommandLine().") returned ".$scriptReturnValue);
} 
}
else 
{
modules_err("FuncAdd(): chdir({$dir[''root'']}{$mods[''vbull''][''ModuleDirectory'']} returned false");
}', '/** * FuncDel procedure for vBulletin module * * @param string $UserIdentifier member ID */ global $dir; global $mods; global $PHPBIN; $CommandLineArgs = new CCommandLineArgs; $CommandLineArgs-&gt;AddArgument(''delete''); // Action $CommandLineArgs-&gt;AddArgument((int)$IsAdmin); if ($IsAdmin) { // $UserIdentifier is interpreted as an admin name $AdminInfo = db_arr("SELECT * FROM `Admins` WHERE `Name` = ''{$UserIdentifier}''"); if (! $AdminInfo) modules_err("FuncDel error: Unknown admin (''{$UserIdentifier}'')"); $CommandLineArgs-&gt;AddArgument($UserIdentifier); } else { // $UserIdentifier is interpreted as a profile ID $UserIdentifier = (int)$UserIdentifier; $UserInfo = db_arr("SELECT `NickName` FROM `Profiles` WHERE `ID` = ''{$UserIdentifier}''"); if (! $UserInfo) modules_err("FuncDel error: Unknown user ID [{$UserIdentifier}]"); $CommandLineArgs-&gt;AddArgument($UserInfo[''NickName'']); } if (chdir($dir[''root''] . $mods[''vbull''][''ModuleDirectory''])) { $scriptReturnValue = ''value was not set''; exec("{$PHPBIN} -f vbregister.php ".$CommandLineArgs-&gt;GetCommandLine(), $scriptOutput, $scriptReturnValue); if ($scriptReturnValue !== 0) { echo "--- script output dump --- &lt;br /&gt;\
"; foreach ($scriptOutput as $outputLine) { echo $outputLine.''&lt;br /&gt;''; } echo "--- end --- &lt;br /&gt;\
"; modules_err("FuncDel(): exec({$PHPBIN} -f vbregister.php ".$CommandLineArgs-&gt;GetCommandLine().") returned ".$scriptReturnValue); } } else { modules_err("FuncDel(): chdir({$dir[''root'']}{$mods[''vbull''][''ModuleDirectory'']} returned false"); } ', '
/**
* FuncUpdate procedure for vBulletin module
* 
* @param string $UserIdentifier member ID or admin name (depend on $IsAdmin parameter)
* 
* @param boolean $IsAdmin Defines whether user is a simple member or admin
*/
 
/* If you modify this function, do not forget to modify FuncAdd in same way (these functions are almost equal) */
 
global $dir;
global $mods;
global $site;
global $PHPBIN;
 
$CommandLineArgs = new CCommandLineArgs;
 
$CommandLineArgs-&gt;AddArgument(''update''); // Action
$CommandLineArgs-&gt;AddArgument((int)$IsAdmin);
 
if ($IsAdmin)
{ 
// $UserIdentifier is interpreted as an admin name
$AdminInfo = db_arr("SELECT `Name`,
`Password`
FROM Admins
WHERE `Name` = ''".$UserIdentifier."''");
 
if (! $AdminInfo)
{
modules_err("FuncUpdate error: Unknown admin ID [{$UserIdentifier}]");
}
 
$CommandLineArgs-&gt;AddArgument($AdminInfo[''Name'']);
$CommandLineArgs-&gt;AddArgument($AdminInfo[''Password'']);
$CommandLineArgs-&gt;AddArgument($site[''email'']);
 
// Fill dummy data
$CommandLineArgs-&gt;AddArgument(2000); // BirthYear
$CommandLineArgs-&gt;AddArgument(1); // BirthMonth
$CommandLineArgs-&gt;AddArgument(1); // BirthDay
$CommandLineArgs-&gt;AddArgument(''''); // AvatarImagePath (no avatar)
$CommandLineArgs-&gt;AddArgument(_t(''_aeDating Administrator''));
}
else 
{
// $UserIdentifier is interpreted as a profile ID
$UserIdentifier = (int)$UserIdentifier;
 
$UserInfo = db_arr("SELECT `NickName`, 
`Password`, 
`Email`, 
YEAR(`DateOfBirth`) AS `BirthYear`, 
MONTH(`DateOfBirth`) AS `BirthMonth`, 
DAYOFMONTH(`DateOfBirth`) AS `BirthDay`,
`Pic_0_addon` AS `AvatarImagePath`
FROM Profiles
WHERE `ID` = {$UserIdentifier}");
 
if (! $UserInfo)
modules_err("FuncUpdate error: Unknown user ID [{$UserIdentifier}]");
 
$CommandLineArgs-&gt;AddArgument($UserInfo[''NickName'']);
$CommandLineArgs-&gt;AddArgument($UserInfo[''Password'']);
$CommandLineArgs-&gt;AddArgument($UserInfo[''Email'']);
$CommandLineArgs-&gt;AddArgument($UserInfo[''BirthYear'']);
$CommandLineArgs-&gt;AddArgument($UserInfo[''BirthMonth'']);
$CommandLineArgs-&gt;AddArgument($UserInfo[''BirthDay'']);
$CommandLineArgs-&gt;AddArgument($UserInfo[''AvatarImagePath'']);
 
// Set membership name as user group title
$MembershipInfo = getMemberMembershipInfo($UserIdentifier);
$CommandLineArgs-&gt;AddArgument($MembershipInfo[''Name'']); 
}
</code></pre>
]]></description><link>https://dev.connect.gt/post/639001</link><guid isPermaLink="true">https://dev.connect.gt/post/639001</guid><dc:creator><![CDATA[gik25]]></dc:creator><pubDate>Fri, 16 Nov 2007 11:49:52 GMT</pubDate></item><item><title><![CDATA[Reply to Plugin per Vbulletin on Fri, 16 Nov 2007 11:45:35 GMT]]></title><description><![CDATA[<p dir="auto">Cavolo, dev'essere una modifica antichissima.<br />
Non è compatibile con le nuove.</p>
<p dir="auto">Mi dici che plugin ti serve e che vwersione di vbulletin hai?</p>
]]></description><link>https://dev.connect.gt/post/639002</link><guid isPermaLink="true">https://dev.connect.gt/post/639002</guid><dc:creator><![CDATA[karapoto]]></dc:creator><pubDate>Fri, 16 Nov 2007 11:45:35 GMT</pubDate></item></channel></rss>