Remove Message Buttons

Go down

Solved Remove Message Buttons

Post by inallsorts on Sat 12 Jul - 4:15

Greetings everyone,

I would like to remove the buttons In the Private Messages window, being "Saved Marked", "Delete Marked" & "Delete All" as arrowed below:



Forum version Is phpBB3.
Thanks In advance for all assistance given.


Last edited by inallsorts on Wed 16 Jul - 3:11; edited 1 time in total

inallsorts
Forumember

Posts : 246
Reputation : 8
Language : English

Back to top Go down

Solved Re: Remove Message Buttons

Post by SLGray on Sat 12 Jul - 5:36

Why would you want to remove the ability to deleted pm's?  Your boxes will fill up, and you will not be able to receive any more.


Last edited by SLGray on Mon 14 Jul - 13:27; edited 1 time in total


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 43504
Reputation : 3094
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Solved Re: Remove Message Buttons

Post by inallsorts on Sat 12 Jul - 8:30

@SLGray wrote:Why would you want to remove the ability to deleted pm's?  Your boxes will fill up, and you will not be able to receive any more.

You're not following.

By removing the aforementioned buttons, It doesn't remove the Delete functionality In It's entirety for PMs. Once you enter a given Private Message, the Delete option Is still there, hence can delete the message that's currently viewed.

inallsorts
Forumember

Posts : 246
Reputation : 8
Language : English

Back to top Go down

Solved Re: Remove Message Buttons

Post by inallsorts on Mon 14 Jul - 3:44

Friendly bump.

inallsorts
Forumember

Posts : 246
Reputation : 8
Language : English

Back to top Go down

Solved Re: Remove Message Buttons

Post by SLGray on Mon 14 Jul - 3:52

CSS:
Code:
p {
   display: none;
}
This might remove other things, too.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 43504
Reputation : 3094
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Solved Re: Remove Message Buttons

Post by inallsorts on Mon 14 Jul - 3:58

@SLGray wrote:CSS:
Code:
p {
   display: none;
}
This might remove other things, too.

Yes, It also removed all statistics from the Homepage.

Just need to find the right Selector for It.
Thanks for your help though.

inallsorts
Forumember

Posts : 246
Reputation : 8
Language : English

Back to top Go down

Solved Re: Remove Message Buttons

Post by SLGray on Mon 14 Jul - 13:25

We can do it through the templates.  Only the founder can them.

Administration Panel > Display > Templates > Post & Private Messages > primsgs_body
Look for this part and remove it:
Code:
<p>{S_HIDDEN_FIELDS}
 <!-- BEGIN switch_save -->
 <input class="button1" type="submit" name="save" value="{L_SAVE_MARKED}" />&nbsp;&nbsp;
 <!-- END switch_save -->
 <!-- BEGIN switch_move_profile -->
 <input class="button1" type="submit" name="moveprofile" value="{L_MOVE_PROFILE_MARKED}" />&nbsp;&nbsp;
 <!-- END switch_move_profile -->
 <input class="button2" type="submit" name="delete" value="{L_DELETE_MARKED}" />&nbsp;&nbsp;
 <input class="button2" type="submit" name="deleteall" value="{L_DELETE_ALL}" /></p>
Make sure to save the changes and publish the modified template.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 43504
Reputation : 3094
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Solved Re: Remove Message Buttons

Post by inallsorts on Mon 14 Jul - 17:26

Thanks for your reply.

Prior to editing the Template, Is there a way to back It up first In case of failure? I always perform backups before attempting anything of this nature.

inallsorts
Forumember

Posts : 246
Reputation : 8
Language : English

Back to top Go down

Solved Re: Remove Message Buttons

Post by SLGray on Mon 14 Jul - 20:52

You can delete the modified template which will cause the default template to be enforce.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 43504
Reputation : 3094
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Solved Re: Remove Message Buttons

Post by inallsorts on Tue 15 Jul - 8:40

@SLGray wrote:You can delete the modified template which will cause the default template to be enforce.

I've just checked, and there's no "Delete" option there.

Also, In the templates main window, It says "Before making any changes we strongly recommend that you backup your templates.
How would one go about backing It up? I can simply perform a copy & paste Into a text file, and replace the contents If need be, but I would've thought there'd be a backup function available.

inallsorts
Forumember

Posts : 246
Reputation : 8
Language : English

Back to top Go down

Solved Re: Remove Message Buttons

Post by SLGray on Tue 15 Jul - 14:54

That is the only way.

Forumotion does a backup of your forum automatically.  That is how you can restore your forum to an earlier date.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 43504
Reputation : 3094
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Solved Re: Remove Message Buttons

Post by inallsorts on Wed 16 Jul - 3:09

@SLGray wrote:That is the only way.

Forumotion does a backup of your forum automatically.  That is how you can restore your forum to an earlier date.

I appreciate your help and support.

I simply copied the contents of the Template (as a backup) to a text file, removed the parts you've mentioned, saved & published the work and It works great- the objective has been achieved.

Thanks once again for your valued help.
/Topic.

inallsorts
Forumember

Posts : 246
Reputation : 8
Language : English

Back to top Go down

Solved Re: Remove Message Buttons

Post by Derri on Wed 16 Jul - 3:27

Topic Archived Very Happy

Glad you your objective was achieved!
avatar
Derri
Helper
Helper

Male Posts : 8713
Reputation : 629
Language : English & Basic French
Location : Scotland, United Kingdom

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum