Thank you Chris, works like a charm.
Instantiating a 'XenForo_BbCode_Formatter_BbCode_AutoLink' formatter didn't seem to do anything for me, but a 'XenForo_BbCode_Formatter_Base' formatter turns out to do everything I'm looking for.
I'm attempting to instantiate a XenForo parser on an external page using the following code as suggested in this thread.
require_once('community/library/XenForo/Application.php');
require_once('community/library/XenForo/BbCode/Formatter/Base.php')...
Is there no way to detect the new lines at all? The URLs aren't the problem, I just haven't gotten round to them yet. But from the looks of it I got nothing to work with to parse the new lines myself.
I'm displaying a news feed on my home page by retrieving the latest threads in a certain set of nodes from the db and subsequently retrieving the messages belonging to their OPs. The messages appear to be stored with new lines and all in the db, but as soon as I put them in a paragraph it...
That's perfect, thanks again.
Hope it'll help anyone; to avoid having to deal with all the regex and what not of which I have no decent understanding I simply disabled both message_user_info template modifications from bdMedal and inserted the template include (<xen:include...
Awesome, thank you! I wasn't aware of the Addon Template Modifications menu's existence. Is there any way to bypass the "This modification can only be enabled or disabled." setting or are they so strict that my only option would be to place a request with the addon authors?
To be more specific I'd like to swap the positions of elements 1 and 2 as shown below;
Element 1 is generated by bdMedal and element 2 by Post Ratings. You can find a test topic on the live forum here. And finally the contents of my message_user_info template can be found in this pastebin.
Heya Luke,
I'm rebuilding my style (now UI.Flex 1.5.0.1) after upgrading our XenForo installation from 1.4.4 to 1.5.1 to hopefully not bloat it with as many CSS hacks, however in the new style the Post Ratings div background now appears to be always visible even when there are no ratings...
I'm looking to swap the positions of the data output of 2 addons (Post Ratings and dbMedal to be more precise) in the user info block on the left side of a post. I've found all the Custom User Fields and default fields like Location, Join Date, and what not in the message_user_info template, I...
I am looking to setup a fully automated preprocessor compilation and file deployment environment for all of the pages on my XenForo installation. I can't, however, find the actual location of the XenForo Templates on the server as found in the Appearance section of the ACP.
:eek:Surely they...
I am looking to display the contents of a post with a certain id on a page as achieved in this tutorial: https://xenforo.com/community/resources/how-to-show-a-post-in-a-page.306/
However I'd also like to trim the size of said contents. Including the post contents on a page via {xen:raw...