Solved: 13 Years, 6 Months, 4 Weeks ago Profile comments
#1
Solved: 13 Years, 6 Months, 4 Weeks ago
I installed the profile comments plugin but it comes up twice in the profile. I know I have to delete some sort of code thats added twice but not sure where to find it.

[Image: 7410-1269125131-profilecomments_4.png]


ALSO

On the user cp the game section options are added twice...

[Image: pFCBG.png]

Reply
#2
Solved: 13 Years, 6 Months, 4 Weeks ago
1. Go to Admin CP > Templates & Style > Templates > Your Template Set > Member Templates > member_profile.

2. Copy and paste the contents here.

3. Go to Admin CP > Templates & Style > Templates > Your Template Set > User Control Panel Templates > usercp_nav.

4. Copy and paste the contents here.
Reply
#3
Solved: 13 Years, 6 Months, 4 Weeks ago
Go to your ACP > Templates & Style > Your Theme > Member Templates > member_profile and fine the line below;
<!-- ProfileComments -->{$comments_index}<!-- /ProfileComments -->

If it's listed twice just delete one of them and then it should fix.

For your Game Section problem go into your theme templates again, but this time go to User Control Panel Templates > usercp_nav and find the following lines;
<tbody style="{$collapsed['usercpgames_e']}" id="usercpgames_e">
	<tr><td class="trow1 smalltext"><a href="games.php?action=settings" class="usercp_nav_item usercp_nav_options">{$lang->your_settings}</a></td></tr>
</tbody>

If you see it listed twice then remove one of them. Remember to only remove the duplicate line.
Reply
#4
Solved: 13 Years, 6 Months, 4 Weeks ago
Fixed the profile comment thing thanks koz...

Here the content of my usercp_nav for the second problem...

Quote:<td width="{$lang->ucp_nav_width}" valign="top">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>{$lang->ucp_nav_menu}</strong></td>
</tr>
<tr>
<td class="trow1 smalltext"><a href="usercp.php" class="usercp_nav_item usercp_nav_home">{$lang->ucp_nav_home}</a></td>
</tr>
{$usercpmenu}
<tr>
<td class="tcat">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['usercpgames']}.gif" id="usercpgames_img" class="expander" alt="[-]" title="[-]" /></div>
<div><span class="smalltext"><strong>{$lang->gamesection}</strong></span></div>
</td>
</tr>
<tbody style="{$collapsed['usercpgames_e']}" id="usercpgames_e">
<tr><td class="trow1 smalltext"><a href="games.php?action=settings" class="usercp_nav_item usercp_nav_options">{$lang->your_settings}</a></td></tr>
</tbody>
<tr>
<td class="tcat">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['usercpgames']}.gif" id="usercpgames_img" class="expander" alt="[-]" title="[-]" /></div>
<div><span class="smalltext"><strong>{$lang->gamesection}</strong></span></div>
</td>
</tr>
<tbody style="{$collapsed['usercpgames_e']}" id="usercpgames_e">
<tr><td class="trow1 smalltext"><a href="games.php?action=settings" class="usercp_nav_item usercp_nav_options">{$lang->your_settings}</a></td></tr>
</tbody>
</table>
</td>
Reply
#5
Solved: 13 Years, 6 Months, 4 Weeks ago
Make this your new usercp_nav

<td width="{$lang->ucp_nav_width}" valign="top">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>{$lang->ucp_nav_menu}</strong></td>
</tr>
<tr>
<td class="trow1 smalltext"><a href="usercp.php" class="usercp_nav_item usercp_nav_home">{$lang->ucp_nav_home}</a></td>
</tr>
{$usercpmenu}
<tr>
<td class="tcat">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['usercpgames']}.gif" id="usercpgames_img" class="expander" alt="[-]" title="[-]" /></div>
<div><span class="smalltext"><strong>{$lang->gamesection}</strong></span></div>
</td>
</tr>
<tbody style="{$collapsed['usercpgames_e']}" id="usercpgames_e">
<tr><td class="trow1 smalltext"><a href="games.php?action=settings" class="usercp_nav_item usercp_nav_options">{$lang->your_settings}</a></td></tr>
</tbody>
</table>
</td>
Reply
#6
Solved: 13 Years, 6 Months, 4 Weeks ago
hero. It worked all solved thanks mate.
Reply
#7
Solved: 13 Years, 6 Months, 4 Weeks ago
It's no problem at all united-news, just here to help.
Reply
#8
Solved: 13 Years, 6 Months, 4 Weeks ago
This looks quite good, does it allow guest comments though?
Reply
#9
Solved: 13 Years, 6 Months, 4 Weeks ago
No guest comments, as far as I know. Only registered users can comment on other's profiles.

http://mods.mybb.com/view/profile-comments
Reply
#10
Solved: 13 Years, 6 Months, 4 Weeks ago
let me start off by saying great mod. I do have the same problem as the last person. I had it comig up twice in the profile itself. I managed to get that fixed by your post. I do however have it twice the navigation. I have looked everywhere it the usercp files and can't see it doubled anywhere. This is on a custom theme I made. any help would be great.

Sorry for double post, it duplicated in the header_welcomeblock_member as well. Took me awhile but got it.
Host-Hunters- Free advertisement for hosts.
KnD Hosting-Affordable and Reliable.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)