Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/mybb-es.com/html/inc/class_language.php on line 201
Problema profile buddies
Finer   19 Jul, 2012, 12:25 am
#1
Buenas noches tengo un problema con el profile buddies pues antes me andaba porque lo tenia activado como tuve algunos problemas lo desactive temporalmente y ahora cuando lo activo no funciona, en si yo queria agregar el profile buddies en un botton "amigos" del plugin de edson (vea imagen)
Dejo mi plantilla.
Código PHP:
<?php 
<html>
<
head>
<
title>{$mybb->settings['bbname']} - {$lang->profile}</title>
{
$headerinclude}
</
head>
<
body>
<
script type="text/javascript" src="ProfileTabs/ProfileTabs.js">
</
script>
{
$header}
<
table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
<
tr>
<
td width="75%" valign="top">
<
table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<
tr>
<
td align="left" class="trow1" valign="middle">{$avatar}</td>
<
td class="trow1" align="left" width="100%">
<
span class="largetext"><strong>{$formattedname}</strong></span><br />
<
span class="smalltext">
({
$usertitle})<br />
{
$groupimage}
<
strong>{$lang->registration_date}</strong> {$memregdate}<br />
<
strong>{$lang->date_of_birth}</strong> {$membday} {$membdayage}<br />
<
strong>{$lang->local_time}</strong> {$localtime}<br />
<
strong>{$lang->postbit_status}</strong> {$online_status}
</
span>
</
td>
</
tr>
{
$awaybit}
</
table>
<
br />
<
div id="toolbar" class="usertabs"><div id="nav"><ul id="ptabs" class="shadetabs">
<
li><a href="#" rel="pt5"><b>Comentarios</b></a></li>
<
li><a href="#" rel="pt6"><b>Amigos</b></a></li>
<
li><a href="#" rel="pt1" class="selected"><b>{$lang->acrdmi}</b></a></li>
<
li><a href="#" rel="pt2"><b>{$lang->statspt}</b></a></li>
<
li><a href="#" rel="pt3"><b>{$lang->contactpt}</b></a></li>
<
li><a href="#" rel="pt7"><b>Red Social</b></a></li>
<
li><a href="#" rel="pt4"><b>{$lang->singpt}</b></a></li>
</
ul></div></div>
<
div style="border:1px solid gray; width:100%px; margin-bottom: 1em; padding: 0px">
<
div id="pt1" class="tabcontent">
{
$profilefields}
</
div>
<
div id="pt2" class="tabcontent">
<
table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<
tr>
<
td class="thead" colspan="2"><strong>{$lang->infosobre}</strong></td>
</
tr>
<
tr>
<
td class="trow1"><strong>{$lang->joined}</strong></td>
<
td class="trow1">{$memregdate}</td>
</
tr>
<
tr>
<
td class="trow2"><strong>{$lang->lastvisit}</strong></td>
<
td class="trow2">{$memlastvisitdate} {$memlastvisittime}</td>
</
tr>
<
tr>
<
td class="trow1"><strong>{$lang->total_posts}</strong></td>
<
td class="trow1">{$memprofile['postnum']} ({$lang->ppd_percent_total})<br /><span class="smalltext">(<a href="search.php?action=finduserthreads&amp;uid={$uid}">{$lang->find_threads}</a> &mdash; <a href="search.php?action=finduser&amp;uid={$uid}">{$lang->find_posts}</a>)</span></td>
</
tr>
<
tr>
<
td class="trow2"><strong>{$lang->timeonline}</strong></td>
<
td class="trow2">{$timeonline}</td>
</
tr>
{
$reputation}
{
$warning_level}
</
table>
</
div>
<
div id="pt3" class="tabcontent">
<
table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<
tr>
<
td class="thead" colspan="2"><strong>{$lang->contacapt}</strong></td>
</
tr>
<
tr>
<
td class="trow1"><strong>{$lang->homepage}</strong></td>
<
td class="trow1">{$website}</td>
</
tr>
{
$sendemail}
<
tr>
<
td class="trow2"><strong>{$lang->pm}</strong></td>
<
td class="trow2"><a href="private.php?action=send&amp;uid={$memprofile['uid']}">{$lang->send_pm}</a></td>
</
tr>
<
tr>
<
td class="trow1"><strong>{$lang->icq_number}</strong></td>
<
td class="trow1"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=icq&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['icq']}</a></td>
</
tr>
<
tr>
<
td class="trow2"><strong>{$lang->aim_screenname}</strong></td>
<
td class="trow2"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=aim&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['aim']}</a></td>
</
tr>
<
tr>
<
td class="trow1"><strong>{$lang->yahoo_id}</strong></td>
<
td class="trow1"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=yahoo&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['yahoo']}</a></td>
</
tr>
<
tr>
<
td class="trow2"><strong>{$lang->msn}</strong></td>
<
td class="trow2"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=msn&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['msn']}</a></td>
</
tr>
</
table>
</
div>
<
div id="pt4" class="tabcontent">
{
$signature}
</
div>
</
div>
<
div id="pt5" class="tabcontent">
{
$comments_index}
</
div>
<
div id="pt6" class="tabcontent">
{
$buddylist}
</
div>
<
div id="pt7" class="tabcontent">
Facebook,Deviant,Twitter y todas las demas porquerias, me tengo que poner a hacerlo XD.
</
div>
<
script type="text/javascript">
var
countries=new ddtabcontent("ptabs")
countries.setpersist(true)
countries.setselectedClassTarget("link") //"link" or "linkparent"
countries.init()
</
script>
</
td>
<
td><img src="{$theme['imgdir']}/pixel.gif" height="1" width="8" alt=""/></td>
<
td width="25%" valign="top">
<
table class="tborder" border="0" cellspacing="1" cellpadding="1">
<
tr><td colspan="1" class="thead"><center><strong>{$lang->ministapt}</strong></center></td></tr>
<
td class="trow1">&nbsp;<FONT SIZE=2><strong>{$lang->joined}</strong><br />&nbsp;{$memregdate}<br />
&
nbsp;<strong>{$lang->total_posts}</strong><br />&nbsp;{$memprofile['postnum']} <br /></font></td>
<
tr>
<
td class="trow2" align="right">
<
a href="#" rel="pt2">
{
$lang->statscomplpt}</a></td>
</
tr>
</
table>
<
br />{$last_visit}
<!--
Profile_achivements -->{$achivementsprofile}<!-- /Profile_achivements -->
</
td>
</
tr>
</
table>
{
$footer}
</
body>
</
html>
Jaizu   20 Jul, 2012, 1:47 pm
#2
Que yo sepa te falta el código para llamar al profile buddies, es algo como {$blablabla}
¿Viste si lo tienes puesto en el código de la pestaña?
Finer   20 Jul, 2012, 3:26 pm
#3
<div id="pt6" class="tabcontent">
{$buddylist}
</div>

ese es supongo pero no lo agarra.. como si no funciona el plugin.
  
Powered By MyBB, © 2002-2024 MyBB Group.
Made with by Curves UI.