I'm having strangely inconsistent behavior with the bb_code function on a custom page, which affects one manner of link only. It affects url unfurling by not creating the usual link unfurling box, but only constructing a http(s) link.
There's nothing more complicated than regular HTML styling...
Hi Guys.
I want to add more protocols to the URL-BB Code Tag. I look in src/XF/BbCode/Renderer/Html.php an found protected $allowedUrlProtocolRegex = '#^(https?|ftp)://#i';
so i try to add other protocols like steam:// or meta://
protected $allowedUrlProtocolRegex =...
hi i need redirect my old site urls to new urls
example :
www.oldsite.com/articles/title/id to www.newsite.com/threads/title.id/
i added a simple controller
class oldtonew extends AbstractController {
public function actionIndex(ParameterBag $params)
{
$url =...
Trying to play a little bit with the API, I could see JSON thread documents with posts and so on but I didn't see anything like a canonical url of the thread or even a path that would allow me to recreate the thread URL from an external site.
So did I miss something or this is something that we...
I'm doing some development on a huge forum with about 3.5 million threads.
I have an extended class for XF:Thread in an addon that is adding a new field is_faq which is a boolean.
I have about 6000 urls to convert to /faq/... instead of /threads/...
First, in my extended class, just before the...
Change URL structure for Turkish characters.
Works everywhere (forums, threads, etc.), with minimal conflict.
Warnings
Don't upgrade this add-on with old versions (File directories have been changed.)
Compatible XF versions is 2.x+
Before install be sure, Use full friendly URLs option is...
I have a wordpress on my root directory so the forum was installed inside the /forum directory.
This was previously a vbulletin and was migrated to xenforo. however I am running to an issue with the URLS. the old VB urls are /forum/introductions but on xenforo right now it is...
It would nice to be able to pass a clickable url in the thread prefix itself...
e.g. <a href="https://url which takes me to any link of my choice">Thread Prefix</a>
Howdy folks!
Our forum is on Xenforo 2.0 and we're having a bit of a weird problem with the URL for the logo.
We are using the option to Link Logo to Home Page URL as we want the logo to link to our main site (not back to the forum home).
-> On computers / in desktop mode, this works as...
We need friedly urls like on site. How we can do like this structure?
domainforum.com/to-france/paris/about/
"to-france" - forum
"paris" - subforum
"about" - forum thread in "to-france"
Hello, I can not use the rewrite of url with the host: 1 & 1. I am under APACHE
The mod_rewrite is activated on their server, but when I activate the rewrite of url via admin.php? Options / groups / basicBoard /, I absolutely can not do anything on my forum.
http://prntscr.com/i9acnu
I try...
Hi,
Noticed if we add URL portion to our forums it works great but it wont let us add URL portion to category. So if our category is named General it would put it as #general.1 instead of a custom URL portion as it #general
Thanks
This add-on will romanize URL character for XF2.
Works everywhere (forums, threads, etc.), with minimal conflict.
For those who have similar demands regarding url romanization simply modify it to your own need by modifying the src/addons/TurkishFriendlyLink/listener.php file.
Note: Testing...
Hi!
I have enabled designer mode and all my template modifications are written at src/styles/<designer_id>/.
Now I want to set a custom image for site background. Where should I place my image? How access this image inside templates/less files? Maybe there is a spical function to be used in...
hi,
i use old url from a phpbb2 forum and i want to 301 to xenforo
old url
xttp://xxx.mysitexx.com/forum/thread title-vt2871.html
new xenforo url
xttps://xxx.mysitexx.com/thread/2871/
how can i extract the id from url (number)
thank you for your help
ps i use nginx
I want to add a hreflang tag to all pages. And If I'm correct I can add this to the PAGE_CONTAINER template.
I want to add this to every page. Where "nl" is not a variable, but everwhere the same.
Where %URL% must be the canonical URL of the page:
<link rel="alternate" hreflang="nl"...
Hi,
I want to switch from SMF 2.x to XenForo 1.5. That SMF has a module named "Pretty URLs" which produced nice SEO URLs.
Is there anyone who wants to take that job and do it (paid) for me?
What I am looking for is a 301 redirector script from the old to the new URLs that I can probably...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.