This was pretty easy to set up, I just needed to:
Mess around with the web server config.
Disable Enable board URL canonicalization.
Disable Link logo to home page URL
Change the xenforo config to handle cookies different for onion urls.
$config['cookie']['prefix'] = 'xf_'...
I'm curious to know if anyone has set this up for Xenforo yet.
I'm working on something where I'd like to provide access over Tor (with a .onion URL) but when I've done a little messing around with an onion url, I struggled to stop the connection from redirecting to the clear net url.
I...
So for this example i'm going to have 3 groups:
Group: Administrator priority: 100 Title: Admin
Group: Moderator priority: 50 Title: Mod
Group: Member priority: 25 Title: User
So each of these groups have a title and a priority.
This can also be overriden by a user by them editing their...
I'm looking forward to the IDE plugin Xenforo Query I don't query the database often at the minute, but in the few times I have it took me a few trys to realise where I was going wrong.
I'd love to see a way of stopping my IDE getting spammed with html errors regarding the XF tag, but hey not a...
I decided to get a little more creative :)
I assume the issues only with the posts part of the site?
So in a thread when a post is made under the avatar, you have the banners visible. We can modify that macro using this template post_macros
If we then add:
<xf:js>...
So i've givin this a bit of thought, can you just leave Allow banner stacking ticked, and set up a javascript that only displays a max of two banners?
Then just organise the group into the 2 banners you want showing as high priotiy. or perhaps could you not just disable all the banners except...
I reckon your looking for the template PAGE_CONTAINER.
Probably in this section:
<header class="p-header" id="header">
</header>
Just a heads up though, in the future to find code, you can right click on what your looking for and click insepect This will let you see the html of the page...
Ah I hadn't seen this suggestion :D
Yes, I agree with more logging for cron jobs, it would be nice to see a warning or something. 'X cron job has taken x mins to run.' or something along those lines.
This is what I made, and this is how I could see it looking:
While developing an addon, I realised there’s currently no suitable place to log routine messages or interactions that don’t qualify as server errors.
I’d like to see this improved by either:
Expanding the Server error log to support general-purpose logging (e.g. by categorising log types)...
I thought the database table xf_job would be a good place to find it. I was kind of correct, it has a flag for manual_execute but it doesn't have all the cron jobs registered on there. Just cron, xfCollectStats, xfUpgradeCheck the value cron seems to be linked with all the cron jobs (When I say...
I've now taken the time to look through cron jobs, and I didn't see anything that would let me see if a cron job is run manually or if it was automated.
Has anyone seen something I've missed?
As a tempory fix I created a specific way of running the job. If you force a cron job to run it will...
If you attach a permission to XF\Entity\User::canViewBasicProfile when it's false it out right blocks the interaction. With the way I did it it still lets users see the no permission pop up.
I don't know if the same result would be achievable using XF\Entity\User::canViewBasicProfile.