XF 1.4 Few questions

Chad

Active member
Hello. I've just started with XF yesterday, imported from VB4 after running VB for 10 years. So, some adjustments and learning curve on my part. Moving along, but need some assistance with a few crucial things right now.

1. Gender based access permission. Women forum for women only, vice versa for men. I was instructed this can be done with usergroup promotions. To quote

Gender-limited forums can be implemented via user group promotions: https://xenforo.com/help/user-group-promotions/ Users would be added to a group that has access to specific additional forums.

I'd like something more simplified and not complicated. I found this mod, but it hasn't been updated in 2.5 years. https://xenforo.com/community/resources/gender-forums.1299/

2. Security. How do I secure the admin panel? Back in VB, it had it's own folder that I'd rename and restrict with htaccess password. I did find this, but it's also very old. https://xenforo.com/community/resources/best-way-to-secure-your-admincp.589/

3. Caching. Best method?

My specs (my own dedicated server):
2x Quad Core Xeons
16GB RAM
SSD Drives
PHP 5.4
MySQL 5.6
Apache 2.4

Thanks in advance.
 
  1. It's only complicated if you choose to make it complicated. It's actually very simple, but I appreciate anything that isn't familiar may on the surface appear complicated. As you pointed out, that add-on hasn't been updated for 2.5 years. If it does still work, how long will it work for? Ultimately that situation would probably be more complicated. If there's anything you're unsure of or don't understand, just ask.
  2. This one is probably more current: https://xenforo.com/community/resou...and-the-install-directory-using-htaccess.353/
  3. There's some caching examples here: https://xenforo.com/help/cache/. Worth noting that if you upgrade to PHP 5.5 you could also make use of its built in OpCache.
 
Thanks Chris.

I tried that htaccess option for install directory, but can't get it to work for admin.php because my forum is installed in root / not /forum for example.

As for caching, I installed APC and added below to config.php in library folder

$config['cache']['enabled'] = true;
$config['cache']['frontend'] = 'Core';
$config['cache']['frontendOptions']['cache_id_prefix'] = 'xf_';
$config['cache']['backend'] = 'Apc';

Took my site offline with errors for whatever reason.

"An unexpected error occurred. Please try again later."
 
I was instructed this can be done with usergroup promotions.
As mentioned by Chris D, this can be done very easily through XenForo's officially supported systems. Here's a screenshot of something you'd see (I removed some options from the screenshot to make it all fit in one page. Don't forget to revoke the "View Node" permission for the default user group, for your gender specific forums. Just do this and you're good to go! :)
upload_2015-1-3_13-15-58.webp
 
Back
Top Bottom