Jump to content
We're hiring! We are accepting applications for Junior Moderator, Uploader, and Support Team. Read more... ×
Having trouble connecting to our Discord server or has your role been mistakenly removed? Let us know! Read more... ×

Phun

Administrators
  • Content Count

    1,235
  • Joined

  • Last visited

  • Days Won

    102

Phun last won the day on June 21 2017

Phun had the most liked content!

Community Reputation

871 Illustrious

About Phun

Profile Information

  • Gender
    Male
  • Software
    IPS4
  • Version
    4.1.13

Contact Methods

Recent Profile Visitors

55,821 profile views
  1. Note There are a few methods to do this, some of which requires you to have server access. If you are unsure if you have any module installed, upload this PHP File to your server and navigate to it. Instructions Method 1 - Server Level (cPanel/WHM) (EasyApache with mod cloudflare) To use this method, you must have some sort of sense of what you're doing and you must have cPanel/WHM installed on your server and must have WHM root access. Run the following command on SSH: # wget https://raw.githubusercontent.com/cloudflare/mod_cloudflare/master/EasyApache/installer.sh # bash installer.sh Alternatively, you can run this instead: # bash <(curl -s https://raw.githubusercontent.com/cloudflare/mod_cloudflare/master/EasyApache/installer.sh) Now navigate to EasyApache on WHM. Go through the steps, in the "Short Options List" there should be a Mod CloudFlare option now. Method 2 - Server Level (Manually) (RedHat/CentOS/CloudLinux) (Apache with mod_cloudflare) mod_ cloudflare has a few software dependencies that need to be installed first: # yum install libtool httpd-devel Next, you should download the mod_cloudflare source to your server: # wget https://www.cloudflare.com/static/misc/mod_cloudflare/mod_cloudflare.c Finally, install the module. Depending on your system, the command to run might be apxs or apxs2. So, run one of the below two commands. If you get a "Command not found" when running one, try the other: # apxs -a -i -c mod_cloudflare.c # apxs2 -a -i -c mod_cloudflare.c Method 3 - Server Level (Manually) (Debian/Ubuntu) (Apache with mod_cloudflare) mod_cloudflare has a few software dependencies that need to be installed first: # apt-get install libtool apache2-dev If you find that you are unable to install apache2-dev then you should install: # apt-get install libtool apache2-threaded-dev Next, you should download the mod_cloudflare source to your server: # wget https://www.cloudflare.com/static/misc/mod_cloudflare/mod_cloudflare.c Finally, install the module. Depending on your system, the command to run might be apxs or apxs2. So, run one of the below two commands. If you get a "Command not found" when running one, try the other: # apxs -a -i -c mod_cloudflare.c # apxs2 -a -i -c mod_cloudflare.c Method 4 - Server Level (Manually) (NGiNX with http-realip-module) Nowadays, NGiNX should have this module built in by default, so the only thing you will have to do is add the following lines to your site's configuration: #CloudFlare set_real_ip_from 199.27.128.0/21; set_real_ip_from 173.245.48.0/20;  set_real_ip_from 103.21.244.0/22; set_real_ip_from 103.22.200.0/22; set_real_ip_from 103.31.4.0/22; set_real_ip_from 141.101.64.0/18; set_real_ip_from 108.162.192.0/18; set_real_ip_from 190.93.240.0/20; set_real_ip_from 188.114.96.0/20; set_real_ip_from 197.234.240.0/22; set_real_ip_from 198.41.128.0/17; set_real_ip_from 162.158.0.0/15; set_real_ip_from 104.16.0.0/12; set_real_ip_from 172.64.0.0/13; set_real_ip_from 2400:cb00::/32; set_real_ip_from 2606:4700::/32; set_real_ip_from 2803:f800::/32; set_real_ip_from 2405:b500::/32; set_real_ip_from 2405:8100::/32; real_ip_header CF-Connecting-IP; Once you saved the configuration, be sure to restart nginx for the changes to take effect: sudo service nginx restart
  2. FontAwesome Forum Icons So this is to get the forum icons like we currently have. You need at least some css & html knowledge and be able to use google/firefox's developer tools. Getting your Forum IDs For this to work at all you need to know the forum ID's you want to change. You can find these by right clicking them and checking the data-forumid attribute: You can also see the forum ID if you edit the forum in the admin cp, at the end of the url: Adding some template code Go to the theme and open up the following template: forums > front > index > forumRow At the end of every instance of a span with the class ipsItemStatus: <span class='ipsItemStatus You will need to add this little bit of code before the closing ">". data-forumID="{$forum->_id}" On the default themes that's line 12, 16, 20 and 28. It will look something like this: Adding the CSS This is where you'll need your forum ID numbers. This is also how i implemented them into the WebFlake CSS. Open your custom.css and add the following code: /* ========================================================================== FORUM ICONS ========================================================================== */ /*== [Category Name] ==*/ span.ipsItemStatus.ipsItemStatus_large[data-forumid='1'] > i:before{ content: "\f015" } span.ipsItemStatus.ipsItemStatus_large[data-forumid='2'] > i:before{ content: "\f059" } span.ipsItemStatus.ipsItemStatus_large[data-forumid='3'] > i:before{ content: "\f188" } span.ipsItemStatus.ipsItemStatus_large[data-forumid='4'] > i:before{ content: "\f0f4" } span.ipsItemStatus.ipsItemStatus_large[data-forumid='5'] > i:before{ content: "\f135" } span.ipsItemStatus.ipsItemStatus_large[data-forumid='6'] > i:before{ content: "\f007" } Remember the forum IDs from earlier? You'll need to change the numbers here with your own forum IDs. You can copy/paste these lines for every forum you have, the reason i add the category names as comments is because in the future if stuff changes i won't lose track of which category is which. Change the "\f015" part with whatever FontAwesome icon you want. Go to http://fontawesome.io/icons/ and click the icon you want for your forum, for example "home". Copy the "unicode" part and replace it in your css. Keep the "\" backslash in there. If you have forum icons set as images currently, you will need to remove them. And that's it, you will now have customizable forum icons for your forums.
  3. So uh.. we're still here.. And we're gonna stick around for a bit. So i've talked it over with a certain someone you guys might already know and we're gonna get some of the old crew together and see where this ship goes over the course of the next half year. You might see some familiar faces around who are going to help me with this and mainly drive the website from then on. The exact details are still vague and i'm going to talk to that team in the next few days to plan it out but yeah, don't leave us just yet Have a great week!
  4. think you got the wrong idea mate, read the announcement.
  5. You are about to reach 1000 rep :v :D

  6. Previously? You gotta PM me with the date and your paypal transaction ID number then, if you don't have a rank then either something went wrong or you didn't donate at all (or correctly).
  7. Sometimes when working with cPanel and a new domain pointed to it, at first the index will redirect you to the "new domain" cgi page. Once you install a script afterwards the browser will still have that redirect cached somewhere so it will keep sending you there. New visitors will not have this issue and it's solveable by simply clearing your cache.
  8. Haha, nice video :D

  9. The question(s) in this support topic have been answered and the topic author has resolved their issue. This topic is now closed. If you have other questions, please open a new topic.
  10. There's an option on IPB 3 that allows you to see the users IP through the x_forwarded_for header. The setting should be somewhere in the security settings of the IPB 3 acp. I think that IPB 3 had a search feature (i don't even remember lol). Try searching for "forwarded" and it should pop-up if i recall correctly.
  11. The question(s) in this support topic have been answered and the topic author has resolved their issue. This topic is now closed. If you have other questions, please open a new topic.
  12. For reference, here's what it looks like: Note how for the ones that link to "#" we used a dropdown menu. Don't actually use the "Edit dropdown menu" button but just drag and drop them under the main menu button. This will make them behave like children of the button you drop them under and you'll get the result we have here.
  13. The question(s) in this support topic have been answered and the topic author has resolved their issue. This topic is now closed. If you have other questions, please open a new topic.
×