-
Author
-
April 13, 2015 at 18:47 #54219allydegeParticipant
Hi, i would love to make a subject in private message be optional inside my website OR even removed. I want it to be like in public message where that sender directed to the contents box. Any help Please!
Regards
April 15, 2015 at 11:44 #54541LauraModeratorHello, please go to wp-content/themes/kleo/buddypress/members/single/messages/compose.php copy the file and paste it at wp-content/themes/kleo/buddypress/members/single/messages/ (if a folder is missing, create it)
Then edit the file as a text and FindCOPY CODE<input type=”text” name=”subject” id=”subject” value=”<?php bp_messages_subject_value(); ?>” />
Replace it with this:
COPY CODE<input type=”hidden” name=”subject” id=”subject” value=”private message” />
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
April 15, 2015 at 21:44 #54693allydegeParticipantHi Laura, i am just using sweetdate not kleo but i have managed to access compose.php in here wp-content/themes/sweetdate/members/single/messages/compose.php and after replacing the line of codes subject still shows up but in different way, please see the attached for explanation.
Regards
Attachments:
You must be logged in to view attached files.April 16, 2015 at 13:12 #54773LauraModeratorHello, sorry i confused the theme hehe, please share ftp and a wp-admin account so i can check it out 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
April 16, 2015 at 16:03 #54814LauraModeratorHello, i saw you do not have a child theme, did you know that after a theme update you will lose all your changes? That is why the child theme is for, it came with your files, please install and activate it, then move all your changes to there, just so you know, the child is like a mirror, if you want to override something from theme, you copy the path of the file by creating the same folders and using the same filename, for example if you want a code in the header.php you do not edit it form main theme, you copy the header.php of main theme then paste it in the child theme, then edit it. Those changes will never update so will never be lost.
Please do this before we can move on this topic issue 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
April 17, 2015 at 15:10 #54934LauraModeratorHello, we already did this for you, you will find sweetdate-child in your downloaded .zip from themeforest, just install it and activate it. The changes you have done could be:
– CSS: if you did css changes, locate them at Styling Options (main theme) Scroll down to Quick Css, copy the codes if you have, now in ftp, go to wp-content/themes/sweetdate and find style.css, as we dont know what changes you could have done, copy the full code and paste it here http://text-compare.com/ then the text to compare will be the default style.css found in your .zip (main theme) Then you can find what have changed and replicate it.
If you find a code changed in style.css, do not copy the full page, because if you ever want to override a style you wont be able because you copied the full page.
For example, if you find something likeCOPY CODE.sample { color: blue; }
And in default theme it was black
that means you changed it, so copy that part :COPY CODE.sample { color: blue; }
To the child theme style.css 🙂 I hope this is not very complicated
– PHP if you have changed php files, and you know what files you changed, just copy them and paste them in child theme, mirrowing the path, for example you changed header.php so you should copy it and paste it inside child theme, but if the file is located at for example sweetdate/members/single/member-header.php you have to replicate the path so its sweetdate-child/members/single/member-header
Your users should use the child theme also if you want them to see your changes
Finally, your theme settings can be exported from Sweetdate panel and imported to sweetdate child the same way
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
April 18, 2015 at 05:56 #55039LauraModeratorHello, you should replicate any change done by php, if you changed functions on the main theme you should add them as i said before to the child theme, maybe thats why in child it doesnt appear.
If its too difficult you could hire me for custom work at http://www.laura-solanes.comHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
April 18, 2015 at 16:23 #55079LauraModeratorHello, removed the subject, in your child theme, i removed this
COPY CODE<label for="subject"><?php _e( 'Subject', 'buddypress'); ?></label> <input type="text" name="subject" id="subject" value="<?php bp_messages_subject_value(); ?>" />
From compose.php
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
April 20, 2015 at 09:56 #55207LauraModeratorHello, will check it out
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
April 20, 2015 at 10:10 #55209LauraModeratorHello, fixed, i added this
COPY CODE<div style="display:none;"> <input type="" name="subject" id="subject" value="New Message" /> </div>
In the place of the subject in compose.php of child theme, if you need to translate the theme, edit compose.php in child theme and find “New Message” then change it as you want, this is the default Subject for all messages
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
April 20, 2015 at 14:31 #55241LauraModeratorI’m glad it worked 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
-
AuthorPosts
The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.