Warning: The author of this contribution does not provide support for it anymore.

Moderator Needed

Moderator UCP link - Moderator Needed

Moderator UCP link

by rivetcatcher » Fri Aug 12, 2011 8:04 am

Hi,

The moderator control panel in the top left of the screen is ok and working correctly, however when I open up a topic the MCP link displays: [ Moderator Control Panel nbsp;]

I dont know why it has the letters nbsp next to it.

It does not stop the link from working but I dont know why these letters are there> As mentioned it only happens when I open a topic, it is not displayed on the main page.

Any ideas?

Cheers

Rivet
rivetcatcher
Registered User
Posts: 72
Joined: Fri Jul 29, 2011 9:22 am
Contact:

Re: Moderator UCP link

by Oyabun1 » Fri Aug 12, 2011 8:44 am

Without knowing what version of phpBB and the MOD you're using, how you installed the MOD, and what style you're using, it's hard to give much help.

However, check the edit you made to styles/your style/template/viewtopic_body.html make sure the code you added is exactly what the instructions said to add and exactly where they said to add it.
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests
User avatar
Oyabun1
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill
Contact:

Re: Moderator UCP link

by rivetcatcher » Fri Aug 12, 2011 9:56 am

Hi Oyabun,

I am using 3.0.9 with the 'moderator needed' MOD (Im assuming this is the one causing the problem). I installed using automod.

Other mods on my board are: Full Quick Reply Editor, Sortables CAPTCHA Plugin, User Post Isolation, View your topics and mChat.

I have checked the file you mentioned and it seems ok.

Cheers

Rivet
rivetcatcher
Registered User
Posts: 72
Joined: Fri Jul 29, 2011 9:22 am
Contact:

Re: Moderator UCP link

by RMcGirr83 » Fri Aug 12, 2011 10:21 am

post up the viewtopic_body.html file...just the first 20 lines or so.
Appreciate the extensions/mods/support then buy me a beerImage
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
User avatar
RMcGirr83
Former Team Member
Posts: 21473
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Moderator UCP link

by rivetcatcher » Fri Aug 12, 2011 11:28 am

Hi,

Here is the code:

Code: Select all

<!-- INCLUDE overall_header.html -->
<!-- IF U_MCP --><p>[&nbsp;<a href="{U_MCP}">{L_MCP}</a> <!-- IF TOTAL_MODERATOR_REPORTS --> &bull; <a href="{U_MODERATOR_REPORTS}">{TOTAL_MODERATOR_REPORTS}</a><!-- ENDIF --><!-- IF TOTAL_MODERATOR_POSTS --> &bull; <a href="{U_MODERATOR_APPROVE_POSTS}">{TOTAL_MODERATOR_POSTS}</a><!-- ENDIF --><!-- IF TOTAL_MODERATOR_TOPICS --> &bull; <a href="{U_MODERATOR_APPROVE_TOPICS}">{TOTAL_MODERATOR_TOPICS}</a><!-- ENDIF --><!-- IF TOTAL_MODERATOR_PMS --> &bull; <a href="{U_MODERATOR_PMS}">{TOTAL_MODERATOR_PMS}</a><!-- ENDIF -->nbsp;]</p><!-- ENDIF -->
<h2><a href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a></h2>
<!-- NOTE: remove the style="display: none" when you want to have the forum description on the topic body -->
<!-- IF FORUM_DESC --><div style="display: none !important;">{FORUM_DESC}<br /></div><!-- ENDIF -->

<!-- IF MODERATORS or U_MCP -->
   <p>
      <!-- IF MODERATORS -->
         <strong><!-- IF S_SINGLE_MODERATOR -->{L_MODERATOR}<!-- ELSE -->{L_MODERATORS}<!-- ENDIF -->:</strong> {MODERATORS}
      <!-- ENDIF -->

   </p>
<!-- ENDIF -->

<!-- IF S_FORUM_RULES -->
   <div class="rules">
      <div class="inner"><span class="corners-top"><span></span></span>

      <!-- IF U_FORUM_RULES -->
rivetcatcher
Registered User
Posts: 72
Joined: Fri Jul 29, 2011 9:22 am
Contact:

Re: Moderator UCP link

by RMcGirr83 » Fri Aug 12, 2011 12:17 pm

it is because of this

Code: Select all

</a><!-- ENDIF -->nbsp;]</p><!-- ENDIF -->


change the nbsp; to &nbsp;
Appreciate the extensions/mods/support then buy me a beerImage
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
User avatar
RMcGirr83
Former Team Member
Posts: 21473
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Moderator UCP link

by rivetcatcher » Sat Aug 13, 2011 4:23 am

Thanks very much, that worked a treat!!!

Rivet
rivetcatcher
Registered User
Posts: 72
Joined: Fri Jul 29, 2011 9:22 am
Contact: