Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Wordpress Comment Show full post instead of excerpt ?
Gogito
New
So, the wordpress comment integration feature allow me to create a new topic in the forum with the excerpt and link to the original post. Any way for it to show the full one ?
0
Comments
Yes, by removing these 2 lines:
https://github.com/vanilla/vanilla/blob/8633a73feb4eed238e41dd10df835fd127671313/library/core/functions.general.php#L795-L796
To prevent losing your changes on the next update, copy the entire function:
https://github.com/vanilla/vanilla/blob/2.1/library/core/functions.general.php#L725-L828
to your
conf/bootstrap.before.php
and make the changes there.My themes: pure | minusbaseline - My plugins: CSSedit | HTMLedit | InfiniteScroll | BirthdayModule | [all] - PM me about customizations
VanillaSkins.com - Plugins, Themes and Graphics for Vanillaforums OS
Where do I need to remove the lines ? And aside from copying over the function, what do I need to change in the bootstrap.before file ?
Just add it to the end of the file or create it if it doesn't exist (make sure it starts with
<?php
)Then copy the code block I linked to in the file and remove the lines there.
My themes: pure | minusbaseline - My plugins: CSSedit | HTMLedit | InfiniteScroll | BirthdayModule | [all] - PM me about customizations
VanillaSkins.com - Plugins, Themes and Graphics for Vanillaforums OS
I don't have the file so I need to create it right ? But then there weren't any of those 2 lines to begin with so how I'm I suppose to delete them ?
you need to think logically. and place the steps in order.
here is an attached zip of what bleistivt suggested with the changes.
just download unzip and place in your conf folder.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Thanks but let me try if this is the correct one, don't want to let you guys do all the work everytime:
1. Create the file and copy everything from the link
2. Delete the 2 lines
Is this the correct one ?
And also can anyone help me with the other 2 thread ?
It doesn't seems to be working, still only show the excerpt. Any ideas ?
I didn't test I don't use wordpress comment integration, so I have no idea. I simply followed the instructions and posted a zip since you seemed to misunderstand the instructions.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Thanks a lot for it anyway.
Can anyone else give me some ideas ?
This kind of depends on the meta tags from your wordpress site. If it finds og:description it will use this instead.
I looked at you site and it seems like your SEO WP plugin does that, so you also need to remove this line:
You can also test by clicking on "Refetch page" in the gear menu of a linked topic.
My themes: pure | minusbaseline - My plugins: CSSedit | HTMLedit | InfiniteScroll | BirthdayModule | [all] - PM me about customizations
VanillaSkins.com - Plugins, Themes and Graphics for Vanillaforums OS
Still not working and clicking Refetch page doesn't do anything. This is annoying. Hope we'll solve this soon.
Try if disabling your WP SEO plugin changes anything.
My themes: pure | minusbaseline - My plugins: CSSedit | HTMLedit | InfiniteScroll | BirthdayModule | [all] - PM me about customizations
VanillaSkins.com - Plugins, Themes and Graphics for Vanillaforums OS
I disabled them, still the same.
I just tested it myself with one of your blog posts and it fetches the full text.
Your site takes very long to load, I suspect it times out, as this happened a few times when I tried.
Can you enable Debug mode and click "Refetch page" again? Look if an error message pops up in an inform notification.
My themes: pure | minusbaseline - My plugins: CSSedit | HTMLedit | InfiniteScroll | BirthdayModule | [all] - PM me about customizations
VanillaSkins.com - Plugins, Themes and Graphics for Vanillaforums OS
Thanks a lot. I'll try it and report.
It said Page refetch succesfully. And how did you test ?
by linking a topic in my local test board to one of your blog posts. This is what I get:
What do you get when you click Refetch page on that discussion?
My themes: pure | minusbaseline - My plugins: CSSedit | HTMLedit | InfiniteScroll | BirthdayModule | [all] - PM me about customizations
VanillaSkins.com - Plugins, Themes and Graphics for Vanillaforums OS
Well, it changed the image and the post title, now it's including my site name "the you...."
But that was a very short post, just 1 paragraph. It doesn't fetch full with other long post.