vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   modify the template private messages (https://vborg.vbsupport.ru/showthread.php?t=252895)

JuniorWU 10-30-2010 01:44 PM

modify the template private messages
 
1 Attachment(s)
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 02:08 PM

It's part of USERCP_SHELL template... there is no easy way to remove it for viewing PMs.

JuniorWU 10-30-2010 09: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:
Code:

<!-- table to support left column nav -->
Below it add:
Code:

<if condition="THIS_SCRIPT != 'private'">
Then find:
Code:

</script>
<!-- / moderation popups -->
</if>
       
</td>
<td>&nbsp;&nbsp;</td>

Below it add:
Code:

</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:

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:
Code:

<if condition="THIS_SCRIPT != 'private'">
To:
Code:

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


All times are GMT. The time now is 10:42 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01854 seconds
  • Memory Usage 1,731KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (7)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete