• Log in or sign up for an account here: https://www.sythe.org/login

xen dev blog

Clefairy
Supporting Business
Discord Voice
Jigglypuff
Hell yeah boooi
Poképedia
Who did this to my freakin' car!
Dat Boi
Dolan Duck
Dolan Trump
I'm LAAAAAAAME
Live Free or Die
Mew
Mewtwo
Poké Prizebox
Rust Player
Sythe Awards 2016 Winner
Sythe Awards 2017 Winner
Sythe Awards 2019 Winner
Tier 3 Prizebox
Toast Wallet User
Still working on dice bbcode addon. Xenforo has very different data structures and classes to vbulletin. Learning as I go
 
Extreme Homosex
I'm LAAAAAAAME
Lawrence
Still working on dice bbcode addon. Xenforo has very different data structures and classes to vbulletin. Learning as I go

use python

Code:
import dice
 
Clefairy
Supporting Business
Discord Voice
Jigglypuff
Hell yeah boooi
Poképedia
Who did this to my freakin' car!
Dat Boi
Dolan Duck
Dolan Trump
I'm LAAAAAAAME
Live Free or Die
Mew
Mewtwo
Poké Prizebox
Rust Player
Sythe Awards 2016 Winner
Sythe Awards 2017 Winner
Sythe Awards 2019 Winner
Tier 3 Prizebox
Toast Wallet User
Going to work on bbcode addon for the rest of the day. Taking the weekend off then back at it monday.
 
Clefairy
Supporting Business
Discord Voice
Jigglypuff
Hell yeah boooi
Poképedia
Who did this to my freakin' car!
Dat Boi
Dolan Duck
Dolan Trump
I'm LAAAAAAAME
Live Free or Die
Mew
Mewtwo
Poké Prizebox
Rust Player
Sythe Awards 2016 Winner
Sythe Awards 2017 Winner
Sythe Awards 2019 Winner
Tier 3 Prizebox
Toast Wallet User
trying to pass the postid and threadid down to the Formater_Base class


Under the hood xenforo is overly complicated if I might put it mildly
 
Clefairy
Supporting Business
Discord Voice
Jigglypuff
Hell yeah boooi
Poképedia
Who did this to my freakin' car!
Dat Boi
Dolan Duck
Dolan Trump
I'm LAAAAAAAME
Live Free or Die
Mew
Mewtwo
Poké Prizebox
Rust Player
Sythe Awards 2016 Winner
Sythe Awards 2017 Winner
Sythe Awards 2019 Winner
Tier 3 Prizebox
Toast Wallet User
the xenforo devs have actually coded some support for passing information down to the bbcode formatter in their $extraStates parameter

I believe I have to override this now in ViewPublic_Helper_Message to insert the postid and threadid into this extraStates parameter
public static function bbCodeWrapMessages(array &$messages, XenForo_BbCode_Parser $parser, array $options = array())
{
$options += array(
'showSignature' => XenForo_Visitor::getInstance()->get('content_show_signature'),
'states' => array()
);

foreach ($messages AS &$message)
{
$message['messageHtml'] = XenForo_ViewPublic_Helper_Message::getBbCodeWrapper($message, $parser, $options);
}
}
 
Clefairy
Supporting Business
Discord Voice
Jigglypuff
Hell yeah boooi
Poképedia
Who did this to my freakin' car!
Dat Boi
Dolan Duck
Dolan Trump
I'm LAAAAAAAME
Live Free or Die
Mew
Mewtwo
Poké Prizebox
Rust Player
Sythe Awards 2016 Winner
Sythe Awards 2017 Winner
Sythe Awards 2019 Winner
Tier 3 Prizebox
Toast Wallet User
Unfortunatley I was forced to do a three line patch to XenForo_ViewPublic_Helper_Message to get dice working. Essentially there is no other way to pass post_id, post_datetime, etc. down into the bbcode parser. The xenforo addon system does not let you extend this class. (Their addon system is almost completely useless in my experience.)

Since I have two direct code patches now (i.e. one for libmemcached as well) I'm guessing there will be more. I will write a targeted patcher to reapply these patches to updated versions on monday so we don't fall behind on official updates.

The dice is working except for a few (unrelated) import disparities which I will also look at fixing monday. Haven't done cards yet. Since they are not as popular I might leave them out for now.
 
Two Factor Authentication User
What's the current ETA on this? Any rough estimate/date in your mind or is it just one of those "when it's done you'll know" type things?
 
Clefairy
Supporting Business
Discord Voice
Jigglypuff
Hell yeah boooi
Poképedia
Who did this to my freakin' car!
Dat Boi
Dolan Duck
Dolan Trump
I'm LAAAAAAAME
Live Free or Die
Mew
Mewtwo
Poké Prizebox
Rust Player
Sythe Awards 2016 Winner
Sythe Awards 2017 Winner
Sythe Awards 2019 Winner
Tier 3 Prizebox
Toast Wallet User
What's the current ETA on this? Any rough estimate/date in your mind or is it just one of those "when it's done you'll know" type things?

Hoping to have CDT in there next week to test. We'll see. It's just me and Matt working on it and Matt is doing user center only at the moment. We have a lot of custom shit on vb3 that we all take for granted and I only ever remember about at the last minute. I haven't even considered doing the IP audit system yet. I'm actually thinking about leaving it out for initial release and developing it after. I don't know how mods and users feel about that however.

I appreciate that everyone is impatient for the release. However the security issues with vb3 have been cleared up (for now at least). So that gives a little breathing room to get xen right before the switchover. If we switch over to a broken site it will be a total disaster.

That said I do want it to be completely finished before the end of January. (I'm paying for two full sets of servers at the moment so I'd rather it get finished as soon as possible.)
 
Sythe Awards 2010 Winner
Sythe Awards 2012 Winner
Christmas 2015
Valentine's Day 2016
Easter 2016
MushyMuncher
Tier 1 Prizebox
Hoping to have CDT in there next week to test. We'll see. It's just me and Matt working on it and Matt is doing user center only at the moment. We have a lot of custom shit on vb3 that we all take for granted and I only ever remember about at the last minute. I haven't even considered doing the IP audit system yet. I'm actually thinking about leaving it out for initial release and developing it after. I don't know how mods and users feel about that however.

While very helpful, I don't find it essential to the site. It's normally not enough to work on IPs alone anyway when banning people, it just sorta gives you something to work off or the final nail in the coffin.

I'm sure the site would last a short while without it very easily.
 
Sythe Awards 2015 Winner
Sythe RSPS Player
Two Factor Authentication User
In Memory of Jon
Christmas 2015
Doge
Halloween 2013
Sythe's 10th Anniversary
Off Topic Participant
Gohan has AIDS
Heidy
Lawrence
I know this is a shit ton of work, but I'm glad we're switching.

VB was dead long ago, will be nice building on a modern platform.
 
Lumpy Space Princess
Le
Pokémon Trainer
Two Factor Authentication User
Back from Amsterdam, hit me up if you still want me to take a look over the style :)
 
Hoping to have CDT in there next week to test. We'll see. It's just me and Matt working on it and Matt is doing user center only at the moment. We have a lot of custom shit on vb3 that we all take for granted and I only ever remember about at the last minute. I haven't even considered doing the IP audit system yet. I'm actually thinking about leaving it out for initial release and developing it after. I don't know how mods and users feel about that however.

I appreciate that everyone is impatient for the release. However the security issues with vb3 have been cleared up (for now at least). So that gives a little breathing room to get xen right before the switchover. If we switch over to a broken site it will be a total disaster.

That said I do want it to be completely finished before the end of January. (I'm paying for two full sets of servers at the moment so I'd rather it get finished as soon as possible.)

IP Audit first before official release
 
Sythe Awards 2011 Winner
Oktoberfest 2013
The Mortyest Morty
Pokémon Trainer
Heidy
St. Patrick's Day 2014
Lawrence
Christmas 2015
Christmas 2013
Halloween 2015
Two Factor Authentication User
Spam Forum Participant
Hoping to have CDT in there next week to test. We'll see. It's just me and Matt working on it and Matt is doing user center only at the moment. We have a lot of custom shit on vb3 that we all take for granted and I only ever remember about at the last minute. I haven't even considered doing the IP audit system yet. I'm actually thinking about leaving it out for initial release and developing it after. I don't know how mods and users feel about that however.

I don't think the absence of the ip audit system will be a big deal. Correct me if I'm wrong, but mods should still be able to look up ip addresses if nessesary. If so, I don't think having the ip audit is a must have.
 
Runescape Gamblingrunescape gambling
Back
Top