Vanilla Comments Iframe Login issue
Hi folks!
I'm having an issue with the login. I found the origin of my problem, but I donàt know where I can edit in order to permanently fix it.
I'm going to show you the issue through the images, is more explanatory than words...
How you can see, when I click on Comment As Button, the login box it is hidden from the iframe itself.
When I de-activate the height option, everything goes fine.
My question is, where I can edit that parameter?
Thank you in advance,
Angelo (Kemat1an) D'Agostino.
Best Answers
-
Tama ✭✭✭
Okay try adding this to your vanilla forum
yourtheme/design/custom.css
#vanilla_discussion_embed { min-height: 500px; }
There was an error rendering this rich post.
6 -
Tama ✭✭✭
@Kemat1an said:
When I comment from Wordpress with Vanilla Comment System, Vanilla it create a new Discussion into News Category of my forum, but the discussion's title it coincides with my Username than the title of the article that I made. How can I fix it?I've never used wordpress and vanilla together ask @Shadowdare
There was an error rendering this rich post.
5 -
Shadowdare MVP
@vrijvlinder said:
I think he means the title of the discussion is his user name and not the discussion title.@vrijvlinder, you're right. The comments embed was creating discussions under his WordPress username instead of the WordPress post title.
@Kemat1an, you're welcome!
To repeat the solution for the wrong title problem, but with better formatting:
Open the
/wp-content/plugins/vanilla-forums/comments.php
file of the WordPress Vanilla Forums plugin:Find this line:
var vanilla_url = '<?php echo get_permalink(); ?>'; // Current page's url
Add this under it:
var vanilla_title = '<?php echo get_the_title(); ?>'; // Current page's title
Additionally, I'm using the HTML pre tag to preserve the formatting of the code in this post.
Add Pages to Vanilla with the Basic Pages app
8
Answers
You can try adding this to your site's theme
There was an error rendering this rich post.
Nothing Tama, still the same issue. I tried also to change the height parameter into 560px, but still not working. Into Google's Inspect Element the height parameter goes at the same fixed 139px (That I assuming is the Comment Textbox + Comment As button height.
Okay try adding this to your vanilla forum
yourtheme/design/custom.css
There was an error rendering this rich post.
You got it Tama! Thank you so much!
May I ask you something else?
When I comment from Wordpress with Vanilla Comment System, Vanilla it create a new Discussion into News Category of my forum, but the discussion's title it coincides with my Username than the title of the article that I made. How can I fix it?
I've never used wordpress and vanilla together ask @Shadowdare
There was an error rendering this rich post.
Thanks for the information. I will contact @Shadowdare.
What do you mean by 'coincides'? Would you give an example or screenshot of this?
Add Pages to Vanilla with the Basic Pages app
I think he means the title of the discussion is his user name and not the discussion title.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
@Shadowdare saved me. This is the solution:
>
That's it! Thank you for your assistance, I'm in debit with you!
@vrijvlinder, you're right. The comments embed was creating discussions under his WordPress username instead of the WordPress post title.
@Kemat1an, you're welcome!
To repeat the solution for the wrong title problem, but with better formatting:
Open the
/wp-content/plugins/vanilla-forums/comments.php
file of the WordPress Vanilla Forums plugin:Find this line:
Add this under it:
Additionally, I'm using the HTML pre tag to preserve the formatting of the code in this post.
Add Pages to Vanilla with the Basic Pages app