I managed to add an additional field to the comment box - name: 'city'.
Now I want to display this like:
Tim from London - 3 days ago ...
but I only managed to show this in the backend were you manage the comments in wp:
Can you point me towards the direction where to change what to archive what I'm looking for? Is there anything you also need to know to be able to help me?
My Problem now is that I did not manage to load the META-VAR {CITY} - which is saved with the comment - from the database. Both variants (see above) won't work. How do I get the value?
...and how can I make my changes persistent without loosing them on Update/Upgrade of the Plugin? Simply copy the changes to the 'plugins' folder of my Child-Theme?
You'll need to change the red marked part with corresponding meta_key.
In case you want to say thank you! 🙂 We'd really appreciate if you leave a good review on the plugin page. This is the best way to say thank you to this project and the support team.
Could you please send the admin login details to info[at]gvectors.com email address? I'll ask the developers to check the issue.
In case you want to say thank you! 🙂 We'd really appreciate if you leave a good review on the plugin page. This is the best way to say thank you to this project and the support team.
@asti I upgraded to the last recent version and pushed back my changes. When my customer checked with the results a few days later we realized that the changes in fact work as intended.
I will post a final message recompiling all my changes so others my implement the same or similar solutions.
We're really sorry, but there is not any simple solution we can post here. We may suggest you use the wpdiscuz_comment_author hook for this customization.
In case you want to say thank you! 🙂 We'd really appreciate if you leave a good review on the plugin page. This is the best way to say thank you to this project and the support team.
I copied the file httpdocs/wp-content/plugins/wpdiscuz/themes/default/style.css → httpdocs/wp-content/themes/CHILD-THEME/wpdiscuz/layouts/1/style.css and added the following lines:
I also just copied the author.html but didn't modified it.
The last part isn't that difficult but a little more complex. You have do add the functionallity via class.WpdiscuzWalker.php which you just copy from httpdocs/wp-content/plugins/wpdiscuz/themes/default/class.WpdiscuzWalker.php.
I added my changes just logically under the author section - here is the diff to the original one: