XF 1.2 Assorted Small Things

#82
Yes absolutely, but I'm financing my site all by myself without ads and already made a huge mistake by buying vB4. So like 20 bucks saved which I can put in some addons is better than nothing. ;)
Also didn't want to derail the thread, sorry.

Really looking forward to the next features & improvements.
 
#87
I have a question regarding the template compilation improvements - will it be possible to defer/postpone the compilation while installing/updating add-ons? I tend to add/update add-ons in batches and waiting 15 minutes or more for template compilation after each action is really time consuming - each update session takes hours.
 

mauzao9

Well-known member
#89
Looks awesome! If now the Promotions are in session creation, it means if we set a custom field in register that gives X promotion, when user ends registration the promotion runs? (since it's when session is created) Or only in new login?
I hope it does. :)
 

feldon30

Well-known member
#90
I have a question regarding the template compilation improvements - will it be possible to defer/postpone the compilation while installing/updating add-ons? I tend to add/update add-ons in batches and waiting 15 minutes or more for template compilation after each action is really time consuming - each update session takes hours.
Rather than Template recompilation being part of every Addon install, it should maybe be a banner at the top
"WARNING! MOST GROSS DANGER! Your templates have not been updated for recently installed Addons. Click HERE to do this!"
 

Vicki

Active member
#92
Hi Mike, wondering if you can kindly answer this question very related to 1.2 :

I 'd like our site be able to assign each new registrant, based on a custom field value the user chooses, to a specific usergroup as soon as the new registrant completed his or her email confirmation. So if the user chooses value 'A' for that custom field, this user will have to be assigned to a secondary usergroup called 'A'(primary usergroup still 'Registered'), and so on.

I have configured a bunch of secondary user groups via ACP, and also set the user group promotions to auto assign a new user to a pre-configured usergroup based on the custom field value whenever the user state is 'Awaiting email confirmation' or 'Awaiting Approval'(if manual approval enabled). With such a setup in 1.2, can the new registrant be immediately assigned to a specific usergroup once the registration is complete? I need the function because there is a specific private node (associated with each usergroup) that I'd like the user be able to enter as soon as their registration is complete.

The original thread is here
 

dbembibre

Active member
#96
Style property cache size reduced
If you have a number of styles installed, you may have had to fight with MySQL max_allowed_packet due to the style property cache size. The cache will now only store changes from the default value, reducing the size of the cache per style.

Parsed BB code cache
The parse tree of messages is now cached for a configurable length of time. Note that this is the parse tree, not the compiled output. The final compiled output is still handled at run time. This gives significant performance improvements, but does not limit the dynamic nature of BB code output (by style, language, or user viewing).

This cache can easily be used by any content types.

Trophy and promotion cron speed improvements
Trophy and promotions are now automatically applied on session creation. While the cron still runs, it only runs for users that have been active very recently.

This significantly reduces the overhead of wasted trophy and promotion cron runs while simultaneously ensuring that users receive their trophies and promotions more efficiently (if they haven't been active for a while or if a new trophy/promotion is added).

New general-purpose system for long running processes
1.2 adds a new "deferred" system for running any code that can be broken up into pieces and may take a long time (multiple seconds or more) to run. Deferred tasks can be triggered automatically by the code as necessary and they will either be run automatically in the background (by page views) or by displaying the current running state to the administrator (in the case of some cache rebuilds). This effectively unifies the cache rebuild systems with cron and other potentially long running processes (such as the bulk user change system discussed in the past).

Mail queue system
Using the "deferred" system above, a mail queue system has been implemented for email that does not have to be sent immediately, such as thread watch emails. Other emails (such as registration confirmation or lost password) emails can still bypass the system.

This creates performance improvements, particularly for heavily watched threads or when using a slow, external mail server.
I miss this part of the posts, im happy to see configurable options that are vitals to big boards owners.

Thanks for your work !!
 
Top