Hi! @PitaJ thank you for the quick reply.
I understand that an absolute URL have the protocol, but most of the normal users, at least in our forums, don't know what that is, some use it just because the copied from the browser, but sometimes a user doesn't add it, and having that links as relative URL returns a 404, causing a bad experience.
Some CMS have a sanity check like Django and WordPress if you add a link inside a WordPress, they check if it's another domain and adds the protocol, so the user doesn't have to add it.
I think it's a good measure to prevent bad user experience.
Enrique
Posts
-
External link in post does not have expected behaviour -
External link in post does not have expected behaviourHi!
recently I noticed an error in the links.
A user adds a link inside his post using the shortcode "()[]" the link starts with the post direction, even if is an external link instead of going to www.page.com goes to /forum/topic/www.page.com I changed from our custom child theme to persona theme and the behavior is still the same.
you can check a real example at example the first link (www.allrecipes.com) starts with www it's not working properly and redirects to /forum/topic/99156/healthy-family-meals/www.allrecipes.com but the second one the one starting with http works fine.
Any thoughts on that? how can I solve that?
Thank you so much. -
Custom email header / footerSorry for the very late reply @julian !
yes I was rebuilding the templates, it was a misconception by my side, i thought that I could change on the ACP the header and footer and it will affect to the other templates, but i was importing the src template.Now i'll try to override the e-mail templates using my child theme, is it just create a e-mail folder inside my templates folder?
i've seen that this has been asked before, but why can't you change the e-mail subject from the ACP? i had to modify it on the src template.Thank you very much!!
-
Custom email header / footerHi!
I'm trying to add a custom header and footer to e-mails templates in the ACP, I have changed the partial, and tried to add to another template using:<!-- IMPORT emails/partials/header.tpl -->
at the top of the template in ACP, but when I send the test e-mail the header is the default one, not the one I've changed, how can I customize the header and footer from the ACP? and not losing the content when I update the forum, should I create a custom file and add to that folder, or I am not using the correct template when I'm importing?
Thank you!
-
Clean users / post in bulk from a pluginHi!
I'm trying to clean my users/post list, I want to delete in bulk all the users without posts, I'm trying to write my own plugin to achieve that, I've seen that the User module has a delete user, I can require the module from the plugin library, but how can I call from the admin.js.
I've also checked the write API plugin, but I was unable to use the cURL from a js script, I'm using node-libcurl.
What is the best way to achieve that? how can I delete the users from my forum in js, or can I call a custom hook in my plugin?Sorry if it's a dumb question, and thank you for your time.
-
Best Way to Customize the Navbar?I'm trying to accomplish something very similar, I've created my subTheme based the Vanilla theme and created a custom menu.tpl and it works, but I'm unable to find where I can set the {navigation.class} I've looked at General > Navigation, but I haven't seen where can I set this.
I'm trying to create a menu with dropdowns based on my main site(a wordpress site).