Jump to content

Leaderboard

  1. MindLess Ghost

    • Points

      1

    • Posts

      38


  2. Debug

    Debug

    Retired Staff


    • Points

      1

    • Posts

      171


  3. Courage

    Courage

    Enthusiast


    • Points

      1

    • Posts

      177


  4. DragonVoid

    DragonVoid

    Enthusiast


    • Points

      1

    • Posts

      301


Popular Content

Showing content with the highest reputation on 09/05/2014 in all areas

  1. Preview: AdminCP > Look and Feel > [your skin] -> Board Index -> boardIndexTemplate Find <foreach loop="side_blocks:$side_blocks as $block"> {$block} </foreach> Add before: <if test="memberbox:|:$this->memberData['member_id']"> <div class='ipsSideBlock clearfix'> <h3>Welcome, <a href="{parse url="showuser={$this->memberData['member_id']}" seotitle="{$this->memberData['members_seo_name']}" template="showuser" base="public"}" title='{$this->lang->words['your_profile']}'> {$this->memberData['members_display_name']}</a></h3> <div class='_sbcollapsable'> <center class='desc member_title'> <if test="$this->memberData['title'] != ''"> {$this->memberData['title']}<br /> </if> <br /> <a href="{parse url="showuser={$this->memberData['member_id']}" seotitle="{$this->memberData['members_seo_name']}" template="showuser" base="public"}" title='{$this->lang->words['your_profile']}'> <img src='{$this->memberData['pp_main_photo']}'></a> <br /><br /> <center> <span style=' font-size: 14px;'>{$this->memberData['prefix']}{$this->memberData['g_title']}{$this->memberData['suffix']}</span><br /><br /> Posts: {$this->memberData['posts']}<br /> Profile views: {$this->memberData['members_profile_views']}<br /> Member No.: {$this->memberData['member_id']}<br> Joined: {parse date="$this->memberData['joined']" format="joined"} <br /><br /> Your IP: {$_SERVER['REMOTE_ADDR']} <br /><br /> <div style='background:#0f2437 ;padding: 7px; color: #fff; font-weight: bold'>{$this->memberData['pp_reputation_points']} </div> </center> </div> </div> </if> To change background color from Reputaton, just edit: <div style='background:#0f2437 ;padding: 7px; color: #fff; font-weight: bold'>{$this->memberData['pp_reputation_points']}</div>
    1 point
  2. There are many ways for a site to get compromised however most are the same result, hackers either try to use your site to serve malicious files, or try to redirect your users to infected sites. Here are some things that are common that hackers do that you should look our for. 1. They will always try to leave behind a file or two as aback door into your system, it's a good idea to understand what files are good files and what files are bad. To do this you can compare the file set of your site to a fresh file set from a download. 2. Look for files with odd or random .php extensions, here are some examples, these are not exact names, but examples of a typical naming structure, they will either be short and sweet like sh.php or a random string followed my .php zx.php sh.php 123482379874hjsdf8734.php dsfjklsadjfklasdjfklads.php ipbfirewall.php When inspecting any files and you see any reference to ipbfirewall, this is not a real product or item, it's bad code left behind made to look like it belongs, so you can safely delete it. Example of IPB_Firewall code that IS NOT FROM IPS if ( ! defined( 'IPB_FIREWALL' ) ) { define('IPB_FIREWALL', 1); /** * NOTE: This is a protecting web-firewall module generated by Invision Power * Module includes security patch for high-risks vulnerability CVE-2012-5692 * Do not touch this file for security reasons * Please insert this code to as many php files as possible * * @package IP.Firewall * @version $Revision: 9544 $ * @md5 e66e6cadd6e13efea54ed50c0eb2d32b * @sha1 6966286d64352840245f5b2248545450 * @crc32 5f51554f5445225d293d3d2463732965 */ These are most commonly placed in the root directory, /cache, /public /uploads or other areas. 3. Another thing to look for are odd folder names, you can again compare your folder structure from a fresh download of files to compare them, they will often create odd names directories or try to mimic an existing name as well. Here is what a standard folder/file structure looks like for the forum directory Here is what a typical /cache folder looks like as well 4. If you see any odd files in those folders that do not belong, odds are they do not belong there, you can open the file to inspect the code as well to see if it looks like a legit file or not. Keep in mind if you have third party add ons or other apps installed, these can often also require other files. 5. After you have cleaned up any bad files, the next step is a fresh file upload of the board and all apps that you have installed. You can download these from the client area, upload them via FTP, making sure to over write any and all existing files. 6. After that is done, log into your admincp, and you will see a "Furl cache out of date error" please click the option to "Rebuild Furl Cache" to correct that error. This is normal and due to the new files that were just uploaded. 7. Rebuilding HTML & CSS and Recaching your skins. Often times there will be an infection deep inside of your templates or code left behind, this is done via a direct file edit to your skin files, rebuilding and recaching will often clear this out. To do this select "Look & Feel" from the tabs, then select "Manage Skins and Languages" Then on the left side you want to select "Template Tools You will then see an option to Rebuild Master Skin Data, select HTML & CSS from this and also all of your apps as below. After that is completed, then select the Template tools again and now at the top select "Re-Cache Skin Set's" 8. Often times a offender will also dig into your language files and infect them as well, to correct this, select "Look & Feel" > Manage Languages, on the language pack effected, select the drop down menu to the right and then "Rebuild from XML" This will rebuild your language files for you. If you are using a third party or custom language file, please re-import the language pack to correct any issues. 9. Another common issue that I have seen is offenders modifying your .htaccess, conf_global.php, initdata.phpor index.php files and adding extra code to them for re-directs or other purposes, please inspect all of your .htaccess index.php and conf_global.php files for proper code. Over writing the new file set for the board files will correct the index.php and initdata.php files, however not the .htaccess or conf_global.php 10. The last thing you want to make sure of is that you have changed all of your admins passwords on your forum, your FTP access details, and any control panel access as well. In most cases I even recommend updating your mysql database password too. See your host for details on that if you are not sure how to update the mysql password. 11. Reimporting your hooks is another item that should be done as well, from the admincp > manage hooks > re-import all hooks 12. The last step is to run the tools from the system security area Admincp > System > System > Security Center This is not my tutorial.. I just posted it here straight from IPS Knowledge Database
    1 point
  3. This is going to be a relatively easy and simple tutorial on how to change strings to say what you want them to. I found this while generally going through IP.Boards vast features and messing around with them. In this example I will show how to change that Create Account URL/Button's text into whatever you desire! The steps are pretty simple: How to setup the custom language pack we will be using! Login to you ACP, hover your mouse over Look & Feel and click Manage Languages. In the row that has "English (USA)" click the down arrow located all the way to the right of the row and click "Copy language pack". The reason we need to copy it, is because the default English USA language pack is not directly editable. Although you can disable that in the database, I would recommend not doing so and just making a copy the language pack. Click the pencil icon (Edit) and change it to whatever you like (such as English - Custom) but make sure to click the YES option where it says "Default language?". Click save changes. How to actually change the text of what you/we want to change! Click on the name of the language pack you want to edit stuff in (so in this case click the custom one we made with the above steps that you set as default). This will open up a new page with a bunch of tabs and other junk. In the "Find" search box above all the tabs, enter the text you want to change (so in this case enter "Create Account" without the quotes) - The results should bring up 2 results, "register" in both public_global and public_register. These will essentially tell you where the changes/text will show up. In the textboxes located to the right of these results, enter whatever you want the new text/link/button to say in ALL the boxes that you want it to apply two (so in this case, obviously both boxes). I changed mine to "Join Us!" Click the "Go" button to save the changes and voila! The values should be changed. Double check by going to your homepage and register page and making sure the changes have applied. If not, just re-follow the steps and make sure you did them all correctly! This tutorial applies to most strings you find, as well. Including some applications, addons, etc. If you want to change how something looks, try searching it like we did above, and changing it in the appropriate textboxes you find in the results. As an example, I changed my register link to "Join Us!" so I followed up by searching the language pack for anything that said "register" and changed some phrases to say things like "consider registering an account" to "consider joining", etc etc. I hope this was a helpful tutorial for anyone needing to change what certain things say on your board and let me know if everything goes smoothly! ^_^ And if for whatever reason you are more of a visual person, I took some screenshots and mashed em together in a single image to create a visual tutorial: http://imgur.com/ptzhShy
    1 point
  4. Greetings. In view of the fact that I had tried to find on the whole internet how to change position of Reputation Bar to the left side of posts and couldn't find it anywhere, now I know how to do it and here is the tutorial. Thanks to user Sanctuary, who told me how to change position of Like-button, so that I could easily find out how to change position of Rep-button. This tutorial shows how to move it to the left side of a post (see the screens below). If you would like to center it in the middle, see by Sanctuary. How to change position of Like button? Simply go to: ACP -> Look & Feel -> Your Skin -> Other Global Templates -> repButtons, find this: <div class='ipsLikeBar right clearfix' id='{$data['domCountId']}'> and replace it with: <div class='ipsLikeBar left clearfix' id='{$data['domCountId']}'> How to change position of Reputation buttons? Simply go to: ACP -> Look & Feel -> Your Skin -> Other Global Templates -> repButtons, find this: <div class='rep_bar clearfix <if test="pos:|:!$data['position'] || $data['position'] == 'right'">right</if>' id='{$data['domCountId']}'> and replace it with: <div class='rep_bar clearfix <if test="pos:|:!$data['position'] || $data['position'] == 'left'">left</if>' id='{$data['domCountId']}'>
    1 point
  5. 1 point
  6. God cookie, man I cannot thank you enough for all this help you've been giving me lately! Thank you so much man!
    1 point
This leaderboard is set to New York/GMT-05:00
×
×
  • Create New...