PDA

View Full Version : modify the template private messages


JuniorWU
10-30-2010, 02:44 PM
Hello folks wanted to know how to remove the little bar on the control panel which is located beside a private message when the agent will view it ..
below is a print with the selected bar in red so you can understand what I want to withdraw
hugs staff

BirdOPrey5
10-30-2010, 03:08 PM
It's part of USERCP_SHELL template... there is no easy way to remove it for viewing PMs.

JuniorWU
10-30-2010, 10:23 PM
nice guy do not know if you do not quite understand, or I did not understand what you mean ... but I do not want to remove that bar or option ... I just want when members are displaying some PM appear just private message, removing that bar control panel, leaving only one page with the message private

Translated By Google =P

JuniorWU
11-03-2010, 05:19 PM
help-me pliss!!

BirdOPrey5
11-03-2010, 08:49 PM
I don't understand exactly what you are asking but the bar on the left comes from the USERCP_SHELL template.

I don't know for sure but I would try this... (edited and working)

In the USERCP_SHELL template find:
<!-- table to support left column nav -->
Below it add:
<if condition="THIS_SCRIPT != 'private'">

Then find:

</script>
<!-- / moderation popups -->
</if>

</td>
<td>&nbsp;&nbsp;</td>

Below it add:
</if>

That should remove it for PM's but I didn't test it.

JuniorWU
11-03-2010, 10:33 PM
well ... when I'm viewing a message, I see next to UserCP, I wanted to withdraw it in print ... I posted it above is how the template is currently a private message ... now I have attached a print exactly as I want to see a private message ...


print: http://img804.imageshack.us/img804/8420/72476793.jpg

-------------

those changes that you recommended did not work, the more we see now .. maybe we can find a better solution for me.

Graciously, Junior.

BirdOPrey5
11-03-2010, 11:18 PM
My bad, I just tested it on my site... the </if> statement is in the wrong place... do what I said in the post above for the first part but instead of the second part put the </if> below the following code:

</script>
<!-- / moderation popups -->
</if>

</td>
<td>&nbsp;&nbsp;</td>

I will edit the post above with the full correct instructions.

JuniorWU
11-04-2010, 12:56 AM
ah .. thanks .. it worked perfectly here:)

JuniorWU
12-04-2010, 05:43 PM
would be possible this modification operate only for when viewing the PM?

BirdOPrey5
12-04-2010, 07:00 PM
Change the <if> from:
<if condition="THIS_SCRIPT != 'private'">

To:
<if condition="$_REQUEST['do'] != 'showpm'">

JuniorWU
12-04-2010, 11:47 PM
thanks .. you're the man =P