Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 10-30-2010, 02:44 PM
JuniorWU JuniorWU is offline
 
Join Date: Feb 2010
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default modify the template private messages

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
Attached Images
File Type: jpg Untitled-1.jpg (95.7 KB, 0 views)
Reply With Quote
  #2  
Old 10-30-2010, 03:08 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's part of USERCP_SHELL template... there is no easy way to remove it for viewing PMs.
Reply With Quote
  #3  
Old 10-30-2010, 10:23 PM
JuniorWU JuniorWU is offline
 
Join Date: Feb 2010
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #4  
Old 11-03-2010, 05:19 PM
JuniorWU JuniorWU is offline
 
Join Date: Feb 2010
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

help-me pliss!!
Reply With Quote
  #5  
Old 11-03-2010, 08:49 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 11-03-2010, 10:33 PM
JuniorWU JuniorWU is offline
 
Join Date: Feb 2010
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 11-03-2010, 11:18 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 11-04-2010, 12:56 AM
JuniorWU JuniorWU is offline
 
Join Date: Feb 2010
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ah .. thanks .. it worked perfectly here
Reply With Quote
  #9  
Old 12-04-2010, 05:43 PM
JuniorWU JuniorWU is offline
 
Join Date: Feb 2010
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

would be possible this modification operate only for when viewing the PM?
Reply With Quote
  #10  
Old 12-04-2010, 07:00 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Change the <if> from:
Code:
<if condition="THIS_SCRIPT != 'private'">
To:
Code:
<if condition="$_REQUEST['do'] != 'showpm'">
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:11 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04204 seconds
  • Memory Usage 2,265KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (7)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete