1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

phpBB Mod Installation

Discussion in 'phpBB' started by itehnoroid, Jun 22, 2010.

  1. #1
    I am having difficulties installing mods. I am not able to understand the instructions properly.

    Find
    
    Tip: This may be a partial find and not the whole line.
    Code:Select all
    
    define('LOG_USERS', 3);
    
    Add after
    
    Tip: Add these lines on a new blank line after the preceding line(s) to find.
    Code:Select all
    
    // Begin -User IP Logs- mod
    define('LOG_USERS_IP', 4);
    // End -User IP Logs- mod
    Code (markup):
    Could anybody help?
    SEMrush
     
    itehnoroid, Jun 22, 2010 IP
    SEMrush
  2. Stingerftw

    Stingerftw Well-Known Member

    Messages:
    860
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    195
    #2
    It's pretty easy actually.

    It's just telling you to find the code within the file it states, for example this one is:

    Find:
    define('LOG_USERS', 3);
    Code (markup):
    Then add after the above code to find:
    // Begin -User IP Logs- mod
    define('LOG_USERS_IP', 4);
    // End -User IP Logs- mod
    Code (markup):
    So the result will be:

    define('LOG_USERS', 3);
    // Begin -User IP Logs- mod
    define('LOG_USERS_IP', 4);
    // End -User IP Logs- mod
    Code (markup):
    My tip:

    It's always better to leave a space between your adds/removals, for example instead of using the result posted above (which will work, but my way is more efficient for re-editing, troubleshooting, etc.) use the following:

    define('LOG_USERS', 3);
    
    // Begin -User IP Logs- mod
    define('LOG_USERS_IP', 4);
    // End -User IP Logs- mod
    Code (markup):
    And that's done!

    Good luck!
     
    Stingerftw, Jun 22, 2010 IP