-
AuthorPosts
-
January 7, 2014 at 4:08 pm #206357
Dear Kriesi!
I have a page, where I use the “comment” content elements, and login widget of buddypress social plugin .
1. I’d like to show the login widget in the comment element, that the login area appear like this:
https://drive.google.com/file/d/0B19WV53D7jS5M0VIbERNeXYtOEE/edit?usp=sharing2. If the user isn’t logged in, appear the budypress login area:
https://drive.google.com/file/d/0B19WV53D7jS5M0VIbERNeXYtOEE/edit?usp=sharing3. If the user is logged in, appear the default text:
https://drive.google.com/file/d/0B19WV53D7jS5d1ZFVUJCVzRDSUU/edit?usp=sharingHow can I realize the above modifications? I think I should modify the comments.php, but I’m not sure about that.
Regards:
RobiJanuary 7, 2014 at 5:33 pm #206377Hi,
Can you post the link to your website please?
Regards,
JosueJanuary 7, 2014 at 5:37 pm #206378January 7, 2014 at 5:45 pm #206380Hey Robi!
Try adding this code to the Quick CSS:
.widget_bp_core_login_widget { position: relative; left: 70px; }
Cheers!
JosueJanuary 7, 2014 at 6:25 pm #206409Dear Josue!
Thank you!
How can I edit the follow text: “Hozzászólás küldéséhez be kell jelentkezni.”
This is part of the comment element, but I don’t find in the comments.php.
Regards:
RobiJanuary 7, 2014 at 6:56 pm #206415Hi!
Maybe is in the translation files (.po/.mo), try looking for them using this plugin.
Best regards,
JosueJanuary 10, 2014 at 11:12 am #207918Hi Josue!
The plugin would be really usefull, but unfortunatelly it doesn’t work well, I wrote in the appropriate edit field, but nothing happens on the site.. Do you know similar plugin, what I can try it?
Regards:
RobiJanuary 10, 2014 at 11:58 am #207939Hi!
Install the plugin, go to Tools > Localization and select “Themes”. Then search for “Enfold” in the list and click on “Add new language”. Then select your language from the list and click the “create po-file” button. Click on “Rescan” to search for all text strings. Then click on “Edit” and translate the required strings from the “avia_framework” textdomain. At least click the “create mo file” button next to the “Textdomain” selection dropdown (top left corner).
Cheers!
PeterJanuary 10, 2014 at 6:27 pm #208094Hi!
Thank you, It works! :)
Have a nice weekend! :)
Regards:
Robi -
AuthorPosts
- The topic ‘Comment modification’ is closed to new replies.