256
Soporte General SMF / Re:MOD Bookmarks aparece doble?
« on: April 16, 2013 - 11:46 11:46 »
Me puedes adjuntar el display.template.php de tu theme porfavor.
-Un saludo, DIBILO.
-Un saludo, DIBILO.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
//Activity Bar mod
$txt['Activity_Bar_title'] = 'Activity Bar';
$txt['Activity_Bar_standardlabel'] = 'Activity';
$txt['Activity_Bar_enable'] = 'Enable activity bar <div class="smalltext">Enable the activity bar, a bar that shows how active a user has been.</div>';
$txt['Activity_Bar_label'] = 'Bar label <div class="smalltext">A label displayed along with the bar. Default is "'.$txt['Activity_Bar_standardlabel'].'".</div>';
$txt['Activity_Bar_timeframe'] = 'Activity Timeframe <div class="smalltext">The modification will count all posts made during this timeframe. <br />In days. Default to 30.</div>';
$txt['Activity_Bar_show_in_posts'] = 'Display the activity bar in posts';
$txt['Activity_Bar_show_in_profile'] = 'Display the activity bar in profiles';
$txt['Activity_Bar_max_posts'] = 'Max posts <div class="smalltext">Number of posts required in order to fill the bar. <br />Leave empty for defaults (500 posts).</div>';
$txt['Activity_Bar_max_width'] = 'Max width <div class="smalltext">The width of the bar. When the post limit set above is reached, the bar will have this width. <br />In pixels. Leave empty for defaults (139px).</div>';
?>
// Show information about the poster of this message.
<div class="postarea">
// Show information about the poster of this message.
echo '
<div class="poster">
<h4>
', $message['member']['link'], '
</h4>
<ul class="reset smalltext" id="msg_', $message['id'], '_extra_info">';
// Show the member's primary group (like 'Administrator') if they have one.
if (!empty($message['member']['group']))
echo '
<li class="membergroup">', $message['member']['group'], '<hr class="kmdivisor" /></li>';
// Show the post group if and only if they have no other group or the option is on, and they are in a post group.
if ((empty($settings['hide_post_group']) || $message['member']['group'] == '') && $message['member']['post_group'] != '')
echo '
<li class="membergroup">', $message['member']['post_group'], '<hr class="kmdivisor" /></li>';
// Don't show these things for guests.
if (!$message['member']['is_guest'])
{
// Show avatars, images, etc.?
if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image']))
echo '
<li class="avatar">
<a href="', $scripturl, '?action=profile;u=', $message['member']['id'], '">
', $message['member']['avatar']['image'], '
</a>
<hr class="kmdivisor" /></li>';
else {
echo '
<li class="avatar">
<a href="', $scripturl, '?action=profile;u=', $message['member']['id'], '">
<img src="', $settings['images_url'], '/theme/noavatar.png" alt="" />
</a>
<hr class="kmdivisor" /></li>';
}
// Send PM Easy way
if ($context['can_send_pm'])
echo '
<li class="send_pm" style="float: left;"><a href="', $scripturl, '?action=pm;sa=send;u=', $message['member']['id'], '"><span class="send_mp_new">', $txt['profile_sendpm_short'], '</span></a></li>';
// Show online and offline buttons?
if ($message['member']['online']['is_online']) {
echo '
<li class="status"><span class="online" style="text-transform: uppercase; font-size: 8px; text-shadow: 0 1px 0 #fff; color: #6DA26B;"> ' . $message['member']['online']['text'] . '</span></li>';
}
else {
echo '
<li class="status"><span class="offline" style="text-transform: uppercase; font-size: 8px; text-shadow: 0 1px 0 #fff; color: #AEAEAF;"> ' . $message['member']['online']['text'] . '</span></li>';
}
//Show the stars!
echo '
<li class="stars">', $message['member']['group_stars'], '</li>';
// Show the member's custom title, if they have one.
if (!empty($message['member']['title']))
echo '
<li class="title">', $message['member']['title'], '</li>';
echo '
<li class="postcount"><hr class="kmdivisor" />
<div class="cr_post">';
// Show how many posts they have made.
if (!isset($context['disabled_fields']['posts']))
echo '
<img style="margin: 3px 0 0 1px" src="', $settings['images_url'], '/id/postscount.png" alt="" /><span style="text-align:right; margin: 12px 6px 0 0; float: right;">', $message['member']['posts'], '</span><br />';
echo '
</div>
</li>';
// Is this user allowed to modify this member's karma?
if ($modSettings['karmaMode'] == '1' || ($modSettings['karmaMode'] == '2')) {
echo '
<li class="karma_allow"><span class="kmtitle">', $modSettings['karmaLabel'], '</span><img class="kmimages" src="', $settings['images_url'], '/id/star.png" alt="" /><hr class="kmdivisor2" />';
// Is karma display enabled? Total or +/-?
if ($modSettings['karmaMode'] == '1')
echo '
<span class="karma_n">', $message['member']['karma']['good'] - $message['member']['karma']['bad'], '</span>';
elseif ($modSettings['karmaMode'] == '2')
echo '
<span class="karma_n">+', $message['member']['karma']['good'], '/-', $message['member']['karma']['bad'], '</span>';
if ($message['member']['karma']['allow'])
echo '
<a href="', $scripturl, '?action=modifykarma;sa=applaud;uid=', $message['member']['id'], ';topic=', $context['current_topic'], '.' . $context['start'], ';m=', $message['id'], ';', $context['session_var'], '=', $context['session_id'], '"><img src="', $settings['images_url'], '/id/up.png" alt="', $modSettings['karmaApplaudLabel'], '" /></a>
<a href="', $scripturl, '?action=modifykarma;sa=smite;uid=', $message['member']['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';m=', $message['id'], ';', $context['session_var'], '=', $context['session_id'], '"><img src="', $settings['images_url'], '/id/down.png" alt="', $modSettings['karmaSmiteLabel'], '" /></a>';
echo '
</li>';
}
// Show the member's gender icon?
if (!empty($settings['show_gender']) && $message['member']['gender']['image'] != '' && !isset($context['disabled_fields']['gender']))
echo '
<li class="gender"><span class="kmtitle">', $txt['gender'], '</span><div class="kmimages">', $message['member']['gender']['image'], '</div><hr class="kmdivisor2" />
', $message['member']['gender']['name'], '
</li>';
// Show their personal text?
if (!empty($settings['show_blurb']) && $message['member']['blurb'] != '')
echo '
<li class="blurb"><span class="kmtitle">', $txt['personal_text'], '</span><img class="kmimages" src="', $settings['images_url'], '/id/personal_text.png" alt="" /><hr class="kmdivisor2" />', $message['member']['blurb'], '</li>';
// Any custom fields to show as icons?
if (!empty($message['member']['custom_fields']))
{
$shown = false;
foreach ($message['member']['custom_fields'] as $custom)
{
if ($custom['placement'] != 1 || empty($custom['value']))
continue;
if (empty($shown))
{
$shown = true;
echo '
<li class="im_icons">
<ul>';
}
echo '
<li>', $custom['value'], '</li>';
}
if ($shown)
echo '
</ul>
</li>';
}
// This shows the popular messaging icons.
if ($message['member']['has_messenger'] && $message['member']['can_view_profile'])
echo '
<li class="im_icons">
<ul>
', !empty($message['member']['icq']['link']) ? '<li>' . $message['member']['icq']['link'] . '</li>' : '', '
', !empty($message['member']['msn']['link']) ? '<li>' . $message['member']['msn']['link'] . '</li>' : '', '
', !empty($message['member']['aim']['link']) ? '<li>' . $message['member']['aim']['link'] . '</li>' : '', '
', !empty($message['member']['yim']['link']) ? '<li>' . $message['member']['yim']['link'] . '</li>' : '', '
</ul>
</li>';
// Show the profile, website, email address, and personal message buttons.
if ($settings['show_profile_buttons'])
{
echo '
<li class="profile">
<ul>';
// Don't show the profile button if you're not allowed to view the profile.
if ($message['member']['can_view_profile'])
echo '
<li><a href="', $message['member']['href'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/icons/profile_sm.gif" alt="' . $txt['view_profile'] . '" title="' . $txt['view_profile'] . '" />' : $txt['view_profile']), '</a></li>';
// Don't show an icon if they haven't specified a website.
if ($message['member']['website']['url'] != '' && !isset($context['disabled_fields']['website']))
echo '
<li><a href="', $message['member']['website']['url'], '" title="' . $message['member']['website']['title'] . '" target="_blank" class="new_win">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/www_sm.gif" alt="' . $message['member']['website']['title'] . '" />' : $txt['www']), '</a></li>';
// Don't show the email address if they want it hidden.
if (in_array($message['member']['show_email'], array('yes', 'yes_permission_override', 'no_through_forum')))
echo '
<li><a href="', $scripturl, '?action=emailuser;sa=email;msg=', $message['id'], '" rel="nofollow">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/email_sm.gif" alt="' . $txt['email'] . '" title="' . $txt['email'] . '" />' : $txt['email']), '</a></li>';
// Since we know this person isn't a guest, you *can* message them.
if ($context['can_send_pm'])
echo '
<li><a href="', $scripturl, '?action=pm;sa=send;u=', $message['member']['id'], '" title="', $message['member']['online']['is_online'] ? $txt['pm_online'] : $txt['pm_offline'], '">', $settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/im_' . ($message['member']['online']['is_online'] ? 'on' : 'off') . '.gif" alt="' . ($message['member']['online']['is_online'] ? $txt['pm_online'] : $txt['pm_offline']) . '" />' : ($message['member']['online']['is_online'] ? $txt['pm_online'] : $txt['pm_offline']), '</a></li>';
echo '
</ul>
</li>';
}
// Any custom fields for standard placement?
if (!empty($message['member']['custom_fields']))
{
foreach ($message['member']['custom_fields'] as $custom)
if (empty($custom['placement']) || empty($custom['value']))
echo '
<li class="custom">', $custom['title'], ': ', $custom['value'], '</li>';
}
// Are we showing the warning status?
if ($message['member']['can_see_warning'])
echo '
<li class="warning"><span class="kmtitle">', $txt['mc_warnings'], '</span>', $context['can_issue_warning'] ? '<a href="' . $scripturl . '?action=profile;area=issuewarning;u=' . $message['member']['id'] . '">' : '', '<img class="kmimages" src="', $settings['images_url'], '/warning_', $message['member']['warning_status'], '.gif" alt="', $txt['user_warn_' . $message['member']['warning_status']], '" />', $context['can_issue_warning'] ? '</a>' : '', '<hr class="kmdivisor2" />
<span class="warn_', $message['member']['warning_status'], '">', $txt['warn_' . $message['member']['warning_status']], '</span></li>';
}
// Otherwise, show the guest's email.
elseif (!empty($message['member']['email']) && in_array($message['member']['show_email'], array('yes', 'yes_permission_override', 'no_through_forum')))
echo '
<li class="email"><a href="', $scripturl, '?action=emailuser;sa=email;msg=', $message['id'], '" rel="nofollow">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/email_sm.gif" alt="' . $txt['email'] . '" title="' . $txt['email'] . '" />' : $txt['email']), '</a></li>';
// Done with the information about the poster... on to the post itself.
echo '
</ul>
</div>
<div class="postarea">
/* poster details and list of items */
.modifybutton
{
clear: right;
float: right;
margin: 6px 20px 10px 0;
text-align: right;
font: bold 0.85em arial, sans-serif;
color: #334466;
}
/* poster details and list of items */
.poster h4, .poster ul
{
padding: 0;
margin: 0 1em 0 1.5em;
}
.poster ul
{
text-shadow: 0 1px 0 #fff;
}
.poster h4
{
margin: 0.2em 0 0 1.1em;
font-size: 120%;
}
.poster h4, .poster h4 a
{
color: #c06002;
}
.poster ul ul
{
background: url("../images/noise.png") repeat scroll 0 0 #CBD1D3;
border: 1px solid #edf5f8;
border-radius: 5px 5px 5px 5px;
margin: 0.3em 0 0.3em 0;
padding: 4px 0 0;
text-align: center;
}
.poster ul ul li
{
display: inline;
}
.poster li.title
{
text-align: center;
margin: 5px 0 -7px 0;
}
.poster li.stars, .poster li.avatar, .poster li.blurb, li.postcount, li.im_icons ul
{
margin-top: 0.5em;
}
.poster li.stars
{
text-align: center;
background: rgb(224,224,224); /* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2UwZTBlMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlZmVmZWYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top, rgba(224,224,224,1) 0%, rgba(239,239,239,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(224,224,224,1)), color-stop(100%,rgba(239,239,239,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(224,224,224,1) 0%,rgba(239,239,239,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(224,224,224,1) 0%,rgba(239,239,239,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(224,224,224,1) 0%,rgba(239,239,239,1) 100%); /* IE10+ */
background: linear-gradient(to bottom, rgba(224,224,224,1) 0%,rgba(239,239,239,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e0e0e0', endColorstr='#efefef',GradientType=0 ); /* IE6-8 */
border-radius: 6px;
border: 1px solid #D0D7DB;
padding: 7px 0;
}
.poster li.blurb
{
text-align: center;
}
.poster li.karma_allow
{
text-align: center;
}
.poster li.avatar
{
text-align: center;
}
.poster li.gender
{
text-align: center;
}
.poster li.status
{
font-weight: bold;
text-align: right;
}
.cr_post
{
background: #cdd7da;
border-bottom: 3px dashed #acb7b9;
border-top: 3px dashed #acb7b9;
margin-top: 5px;
}
.poster li.membergroup
{
color: #686868;
}
.poster li.avatar
{
overflow: hidden;
}
.poster li.send_pm
{
margin: 0 0 0 0;
}
.send_mp_new {
-moz-transition: background 0.5s ease 0s;
background-color: #D3D6D9;
border-radius: 2px 2px 2px 2px;
color: #eee;
float: left;
font-size: 8px;
font-weight: bold;
margin-top: 2px;
padding: 0 5px;
text-shadow: 0 1px 0 #9A9797;
text-transform: uppercase;
}
.send_mp_new:hover {
background: none repeat scroll 0 0 gray;
}
.poster li.postcount
{
color: #575757;
font-size: 14pt;
font-weight: bold;
margin-top: 13px;
text-shadow: 0 1px 0 white;
}
.poster li.warning
{
text-align: center;
}
.poster li.warning a img
{
vertical-align: bottom;
padding: 0 0.2em;
}
.messageicon
{
float: left;
margin: 0 0.5em 0 0;
}
.messageicon img
{
padding: 6px 3px;
}
.kmdivisor
{
border-bottom: 1px solid #FBFCFD;
border-top: 1px solid #C4C9CD;
color: #C4C9CD;
margin: 0;
}
.kmdivisor2
{
border-bottom: 1px solid #FBFCFD;
border-top: 1px solid #C4C9CD;
color: #C4C9CD;
margin-top: 16px;
margin-bottom: 11px;
margin-left: 20px;
}
.karma_n
{
font-size: 27px;
text-shadow: 0 1px 0 #fff;
}
.kmimages, .kmimages a
{
float: left;
margin-bottom: -9px;
margin-top: -10px;
}
.kmtitle
{
float: right;
margin-top: -8px;
margin-left: 5px;
}
.messageicon
{
float: left;
margin: 0 0.5em 0 0;
}
.messageicon img
{
padding: 6px 3px;
}
.keyinfo
{
float: left;
width: 50%;
}
.modifybutton
{
clear: right;
float: right;
margin: 6px 20px 10px 0;
text-align: right;
font: bold 0.85em arial, sans-serif;
color: #334466;
}
', $txt['profile_sendpm_short'], '
ENVIAR MP
// Show how many posts they have made.
if (!isset($context['disabled_fields']['posts']))
echo '
<img style="margin: 3px 0 0 1px" src="', $settings['images_url'], '/id/postscount.png" alt="" /><span style="text-align:right; margin: 12px 6px 0 0; float: right;">', $message['member']['posts'], '</span><br />';
echo '
</div>
</li>';
/* Activity Bar Mod */
if(!empty($modSettings['Activity_Bar_enable']) && !empty($modSettings['Activity_Bar_show_in_posts']) && !empty($message['Activity_Bar']))
echo '
<li class="activity_li"><span class="kmtitle">', $modSettings['Activity_Bar_label'], '</span><img class="kmimages" src="http://shareforo.com/Themes/ShareProyect/images/id/ActivityMonitor.png" alt="" /><hr class="kmdivisor2" />
<div class="activity_holder" style="width: ', !empty($modSettings['Activity_Bar_max_width']) ? $modSettings['Activity_Bar_max_width'] : 139, 'px;"><div class="activity_bar" style="width: ', $message['Activity_Bar']['width'], 'px;"><div class="activity_percentage">', $message['Activity_Bar']['percentage'], '%</div></div></div></li>';
/* Activity Bar Mod */
.activity_holder
{
height: 15px;
border: 1px solid #9BAEBF;
}
.activity_bar
{
height: 15px;
background: url('. $settings['default_theme_url'] .'/images/theme/main_block.png) 90% -200px;
}
.activity_percentage
{
height: 15px;
color: #333333;
text-align: center;
}
.activity_holder
{
height:23px;
border:1px solid #8ca093;
margin-left:1px;
border-radius:3px;
}
.activity_bar
{
height:23px;
background:url(http://shareforo.com/Themes/ShareForo/images/ActivityBar.png) repeat-x;
}
.activity_percentage
{
height: 23px;color: #416D45;
text-align: center;
font-weight: bold;
padding-top: 3px;
text-shadow: 0 1px 0 #ff0000;
}
// Show how many posts they have made.
if (!isset($context['disabled_fields']['posts']))
echo '
<img style="margin: 3px 0 0 1px" src="', $settings['images_url'], '/id/postscount.png" alt="" /><span style="text-align:right; margin: 12px 6px 0 0; float: right;">', $message['member']['posts'], '</span><br />';
echo '
</div>
</li>';
// Show how many posts they have made.
if (!isset($context['disabled_fields']['posts']))
echo '
<img style="margin: 3px 0 0 1px" src="', $settings['images_url'], '/id/postscount.png" alt="" /><span style="text-align:right; margin: 12px 6px 0 0; float: right;">', $message['member']['posts'], '</span><br />';
echo '
<img style="margin: 3px 0 0 1px" src="', $settings['images_url'], '/id/koinscount.png" alt="" /><span style="text-align:right; margin: 12px 6px 0 0; float: right;">', $message['member']['money'], '</span><br />';
echo '
</div>
</li>';
</body>
// Is this user allowed to modify this member's karma?
if ($modSettings['karmaMode'] == '1' || ($modSettings['karmaMode'] == '2')) {
echo '
<li class="karma_allow"><span class="kmtitle">', $modSettings['karmaLabel'], '</span><img class="kmimages" src="', $settings['images_url'], '/id/star.png" alt="" /><hr class="kmdivisor2" />';
// Is karma display enabled? Total or +/-?
if ($modSettings['karmaMode'] == '1')
echo '
<span class="karma_n">', $message['member']['karma']['good'] - $message['member']['karma']['bad'], '</span>';
elseif ($modSettings['karmaMode'] == '2')
echo '
<span class="karma_n">+', $message['member']['karma']['good'], '/-', $message['member']['karma']['bad'], '</span>';
if ($message['member']['karma']['allow'])
echo '
<a href="', $scripturl, '?action=modifykarma;sa=applaud;uid=', $message['member']['id'], ';topic=', $context['current_topic'], '.' . $context['start'], ';m=', $message['id'], ';', $context['session_var'], '=', $context['session_id'], '"><img src="', $settings['images_url'], '/id/up.png" alt="', $modSettings['karmaApplaudLabel'], '" /></a>
<a href="', $scripturl, '?action=modifykarma;sa=smite;uid=', $message['member']['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';m=', $message['id'], ';', $context['session_var'], '=', $context['session_id'], '"><img src="', $settings['images_url'], '/id/down.png" alt="', $modSettings['karmaSmiteLabel'], '" /></a>';
echo '
</li>';
}
// Inventario By DIBILO
global $db_prefix, $smcFunc, $boardurl, $modSettings;
$cant = $modSettings['inventory_cant'];
$request = $smcFunc['db_query']('','
SELECT it.desc, it.image
FROM {db_prefix}shop_items AS it,
{db_prefix}shop_inventory AS iv
WHERE iv.ownerid = {int:member}
AND iv.itemid = it.id
LIMIT 0, 8',
array(
'member' => $message['member']['id'],
)
);
if ($smcFunc['db_num_rows']($request))
{
echo '<li class="blurb"><span class="kmtitle">Compras de SF</span><img class="kmimages" src="http://shareforo.com/Themes/ShareProyect/images/id/items.png" alt="" /><hr class="kmdivisor2" />
</li>';
while ($row = $smcFunc['db_fetch_assoc']($request))
{
echo '<img src="',$boardurl,'/Sources/shop/item_images/'.$row['image'].'" title="'.$row['desc'].'" alt="'.$row['image'].'" /> ';
}
$smcFunc['db_free_result']($request);
echo '</fieldset>';
}
Si te dije en el mensaje anterior lo que tenias que hacer.
Si usas un hosting, pues habla con ellos que te habiliten el paso de datos con ; por get.
Si el servidor es propio, pues tenes que hacerlo vos en los archivos de configuracion del servidor.
Tu servidor no esta aceptando el paso de datos get con ; fijate en la url remplazar los ; por &. Si haciendo eso te deja hacerlo, pues tenes que cambiar en el servidor el paso de datos por get. Si estas en un hosting habla con ellos, si lo haces localmente, pues tenes que hacerlo en los archivos de configuracion del servidor.
<span id="author">', $txt['author'], '</span>
Muy buen mod, pero especificame para que version exacta de smf funciona? Yo uso el actual, 2.0.4
/**********************************************************************************
* Inicio Code Php *
***********************************************************************************
* Version: 1 *
* This file is a part of Follow Users mod *
* Author: David *
* Web: [url=http://WWW.SomosLibres.Com.Ar]WWW.SomosLibres.Com.Ar[/url] *
**********************************************************************************/
if ($message['id'] == $context['topic_first_message'])
if ($context['user']['is_logged']) {
if (!isset($seguidores['id_member'])){
if ($context['follow_member']==$context['user']['id']){
echo '<li>
<a href="#" id="follow_'.$message['id']. '" style="display:none;" onclick="follow(\''.$message['member']['id'].'\',\''.$context['session_id'].'\',\''.$message['id'].'\',\''.$context['current_topic']. '\');return false" class="follow" title="'.$txt['follow'].'">'.$txt['follow'].'</a></li>
<li>
<a href="#" id="no_follow_'.$message['id']. '" style="display:block;" onclick="no_follow(\''.$message['member']['id'].'\',\''.$context['session_id'].'\',\''.$message['id'].'\',\''.$context['current_topic']. '\');return false" class="no_follow" title="'.$txt['follow_no'].'">'.$txt['follow_no'].'</a></li>';
}else{
echo '<li>
<a href="#" id="follow_'.$message['id']. '" style="display:block;" onclick="follow(\''.$message['member']['id'].'\',\''.$context['session_id'].'\',\''.$message['id'].'\',\''.$context['current_topic']. '\');return false" class="follow" title="'.$txt['follow'].'">'.$txt['follow'].'</a></li>
<li>
<a href="#" id="no_follow_'.$message['id']. '" style="display:none;" onclick="no_follow(\''.$message['member']['id'].'\',\''.$context['session_id'].'\',\''.$message['id'].'\',\''.$context['current_topic']. '\');return false" class="no_follow" title="'.$txt['follow_no'].'">'.$txt['follow_no'].'</a></li>';
}
}
}else{
echo '<li>
<a href="', $scripturl, '?action=register" style="display:block;" class="follow" title="'.$txt['follow'].'">'.$txt['follow'].'</a></li>';
}
if ($message['id'] == $context['topic_first_message'])
echo'<li><span id="cant_follow_'.$message['id']. '">'.$context['follow_cantidad'].'</span> '.$txt['follow_cant'].'</li>';
/**********************************************************************************
* Fin Code Php *
***********************************************************************************
* Version: 1 *
* This file is a part of Follow Users mod *
* Author: David *
* Web: [url=http://WWW.SomosLibres.Com.Ar]WWW.SomosLibres.Com.Ar[/url] *
**********************************************************************************/
Tendrias que dejar un usuario de prueba para que veamos cual puede ser el error, pero generalmente es por falta de permisosQuoteTienen que dar permiso a la carpera ajax que se agregara en la raiz del Foro