What is this for SMF?

Discussion in 'Programming' started by BaaBaaBlankiesDotcom, Dec 20, 2009.

  1. #1
    I'm a bit of a noob. I am installing this mod on my SMF.

    http://custom.simplemachines.org/mods/index.php?mod=893

    I've had to change the code manually. If you parse version 1.1.11 and scroll to the bottom of the page it says

    Code
    install.php
    This file should not be able to execute standalone. You may have to run the following queries manually.

    With some code underneath of it.


    Do I have to make a new file and put this code in it or what? I would love to be able to get this mod to work.
    Thanks for your help!
     
    BaaBaaBlankiesDotcom, Dec 20, 2009 IP
  2. MyVodaFone

    MyVodaFone Well-Known Member

    Messages:
    1,048
    Likes Received:
    42
    Best Answers:
    10
    Trophy Points:
    195
    #2
    The link to the mod doesn't work. however that doesn't matter, all you have to do is make the manual edits and then click install regardless, the install.php file, is probable just to create or add new database tables/fields.
     
    MyVodaFone, Dec 20, 2009 IP
  3. BaaBaaBlankiesDotcom

    BaaBaaBlankiesDotcom Active Member

    Messages:
    201
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #3
    Ok, well now in english please. lol I made the manual edits but I don't know what to do with that last code. My admin says it's installed but the stuff that's supposed to be there isn't. The link should work for you now. I edited it right after I posted.
     
    BaaBaaBlankiesDotcom, Dec 20, 2009 IP
  4. MyVodaFone

    MyVodaFone Well-Known Member

    Messages:
    1,048
    Likes Received:
    42
    Best Answers:
    10
    Trophy Points:
    195
    #4
    Stuff like what ?
     
    MyVodaFone, Dec 20, 2009 IP
  5. BaaBaaBlankiesDotcom

    BaaBaaBlankiesDotcom Active Member

    Messages:
    201
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #5
    The amazon admin where I enter my info in the admin panel.
     
    BaaBaaBlankiesDotcom, Dec 20, 2009 IP
  6. MyVodaFone

    MyVodaFone Well-Known Member

    Messages:
    1,048
    Likes Received:
    42
    Best Answers:
    10
    Trophy Points:
    195
    #6
    Well if you ran the install via admin and it says its installed then you still should be able to see some kind of reference to the mod, are you looking in the right section of the admin panel, its under Posts & Topics ?


    The install.php says you might need to run the sql command manually, but as above if you did this already via a normal install you shouldn't have to.

    If you want or need to do this, you run the code via phpmyadmin
     
    MyVodaFone, Dec 20, 2009 IP
  7. sawz

    sawz Prominent Member

    Messages:
    8,225
    Likes Received:
    808
    Best Answers:
    0
    Trophy Points:
    360
    #7
    what language is your forum? most mods install plain English and if your language is different, you won't see the text in the admin panel for it.
     
    sawz, Dec 20, 2009 IP
  8. BaaBaaBlankiesDotcom

    BaaBaaBlankiesDotcom Active Member

    Messages:
    201
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #8
    Yes, I'm looking in the right place and set the theme to default. I installed it via the admin panel but nothing showed so I just edited the code manually like it said. I just didn't know what to do with the very last thing. I have no idea what running the sql command manual entails. Maybe I should leave that to someone who really knows what they are doing.
     
    BaaBaaBlankiesDotcom, Dec 20, 2009 IP
  9. BaaBaaBlankiesDotcom

    BaaBaaBlankiesDotcom Active Member

    Messages:
    201
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #9
    It's english.
     
    BaaBaaBlankiesDotcom, Dec 20, 2009 IP
  10. sawz

    sawz Prominent Member

    Messages:
    8,225
    Likes Received:
    808
    Best Answers:
    0
    Trophy Points:
    360
    #10
    does it show as installed in the package manager?
    if it was supposed to add to the database, did you look and see?
    have your files been recently edited by the server? they get date stamped when they get edited.

    have you installed other mods with success?
     
    sawz, Dec 20, 2009 IP
  11. MyVodaFone

    MyVodaFone Well-Known Member

    Messages:
    1,048
    Likes Received:
    42
    Best Answers:
    10
    Trophy Points:
    195
    #11
    Yes and its possible that if your using UTF8 you should edit Modifications.english-utf8.php as well as Modifications.english.php

    With regards to the phpmyadmin, I doubt you need to do this, however phpmyadmin is the program that run your MySql database, you will find that on your hosting panel, its not part of SMF

    The code they have posted for the mod also needs to be edited to suit your environment, if your unsure about how thats done, you should seek advice on the smf forums for that mod.
     
    MyVodaFone, Dec 20, 2009 IP
  12. BaaBaaBlankiesDotcom

    BaaBaaBlankiesDotcom Active Member

    Messages:
    201
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #12
    This is the 1st mod I have installed. It does show installed in the manager. I just went to "packages" in my ftp and it wasn't there so I uploaded it through there and still nothing.
     
    BaaBaaBlankiesDotcom, Dec 20, 2009 IP