![]() |
Banana I need help in two things:
1) How do I make it that it shows the link in UserCP only to those usergroups that can use Canned replies? I have that "Icons for UserCP" modification and I did the manual template edit but the link is showing for everyone. I need some kind of if-conditional to only show it to allowed people. 2) How can I make it to use the edited UserCP shell also when I'm on cannedreplies.php ?? See the screens for better explanation. 1. My usercp shell after manually adding the link: https://vborg.vbsupport.ru/external/2009/04/112.jpg 2. After clicking "Edit Canned Replies" ( = being in cannedreplies.php): https://vborg.vbsupport.ru/external/2009/04/113.jpg |
Ok I managed to do #1 myself, just added this if condition:
Code:
<if condition="$permissions['cannedreplies'] & $vbulletin->bf_ugp['cannedreplies']['canusecr']"> But I still need your help for the second request. I need those icons for the UserCP even whem I'm on cannedreplies.php page. |
Quote:
|
Quote:
---edit--- The UserCP shell is still the default one whem I'm on cannedreplies.php page. Which template should I edit to make it with the icons? The template I need it to use is 'USERCP_SHELL_ICONS' not 'USERCP_SHELL' like usually. |
Quote:
|
Quote:
|
:up: :up: :up: :up: :up: :up: :up:
AWESOME! |
Bananalive, if it won't take up too much of your time could you look at making the canned reply insert rather than overwrite?, the problem is if i quote a post then click a canned reply it overwrites the quoted post, right now i copy the post add the canned reply then paste the post back, i didn't mind at first but it's becoming a pain to do now :(
If it is a lot of work/trouble then don't worry. |
Quote:
|
i thought that but i use both firefox and IE and when quoting a post using the quote button or typing anything in the reply box it will be entirely replaced by the canned reply when you click canned reply,
Like i said if its a pain don't waste your time over it! |
All times are GMT. The time now is 04:30 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|