Ipb Modding

Discussion in 'Gaming' started by Veripare, Apr 9, 2007.

  1. Veripare

    Veripare Well-Known Member

    Posts:
    248
    Likes Received:
    0
    Joined:
    Aug 14, 2006
    Hello,

    I'm looking for a way to modify IPB 2.2 in a few ways and I've been looking for tutorials on how to do these things but I cannot find any. So, if anyone can shed so insight or give me some advice, that would be great.

    "Problem" 1. How do you add drop down fields with pre-defined options to the registration page and if you don't select an option besides the default, you get an error requesting to complete the fields?

    "Problem" 2. How do you set custom area defaults? An example, when you register a custom field indicates that you have 100 "points"?

    "Problem" 3. How would I go about setting up a custom field that would look like this:

    Choose an Animal: *Drop down field* Cat, Dog, Mouse, Rabbit.

    Thanks in advance,
    -Veripare
     
  2. Veripare

    Veripare Well-Known Member

    Posts:
    248
    Likes Received:
    0
    Joined:
    Aug 14, 2006
    Noone?
     
  3. Blooper008

    Blooper008 Well-Known Member

    Posts:
    1,535
    Likes Received:
    0
    Joined:
    Mar 17, 2005
    Try Invisionize.com, their site and forum is HUGE. You should be able to find a solution for all your problems there. Goodluck.
     
  4. Veripare

    Veripare Well-Known Member

    Posts:
    248
    Likes Received:
    0
    Joined:
    Aug 14, 2006
    The reason I'm asking here is because I couldn't find what I was looking for on Invisionize =\

    Oh well, maybe I can check their archive..
     
  5. -=DaRKSTaR=-

    -=DaRKSTaR=- Senior Member

    Age:
    36
    Posts:
    3,949
    Likes Received:
    0
    Joined:
    Mar 30, 2005
    Location:
    England, UK
    I remember viewing adding custom fields to profiles but not sure about reg pages

    hm.. you can try looking at how you can add fields to profiles but why do you need them in reg pages? Most of the fields in reg pages same as profile fields

    Anyways ... have a try im sure theres something like ths - i just cant think of it :)

    DARKSTAR
     
  6. Veripare

    Veripare Well-Known Member

    Posts:
    248
    Likes Received:
    0
    Joined:
    Aug 14, 2006
    I'm going through with making a play-by-post RPG using IP.B 2.2

    For each account you are limited to one character, and in the profile I want to have skills and attributes to be shown something like this:

    Intelligence: Ordinary (2)
    Wisdom: Poor (1)
    Strength: Advanced (5)

    I also want to get a field that states "Role-playing Points: 100" when you make your account, since that is the amount of points you are allowed to spend on the necessities/basics of your character.

    As for the registration page, everyone has to fill out what their character's race is (which is shown in their profile) that cannot be changed.

    If this kind of modification isn't possible (or free) I'll probably have to do old school Profiles *shudder*
     
  7. GR.Konvict

    GR.Konvict Well-Known Member

    Age:
    18
    Posts:
    3,823
    Likes Received:
    0
    Joined:
    Jul 30, 2004
    Location:
    :o
    I added the drop down profile things earlier to my forum.
    I get ascreen shot

    Merged Post:


    Here you go.
    The light blue highlighs show the writing that the database will store the info as, and after the '=' is what the user see's.

    So if you wanted to write in;

    Favourite animal?

    m=Monkey
    c=Cat
    d=Dog

    The data base would store the infomation as either 'm', 'c' or 'd' depending on the imput .

    [​IMG]

    And that code there, produced this on the forum:
    http://xcreep.com/forum/index.php?act=Reg&...=1&coppa_pass=1

    (look at the dropdown box for photoshop version.)

    Oh, and if you want it to be on the registration page, simply tick the box under where you put the drop down options.
    Hope this helped

    Merged Post:


    So, to clear it up.

    I used this code:
    Code:
    csthreebeta=CS3 Beta
    cstwo=CS2
    cs=CS
    psseven=7
    pssix=6
    psfivepointfive=5.5
    psfive=5
    psolder=Older than version 5
    
    And the small text before the '=' would be what the database store the info as. The user will only see what's after the '='.
    Remember to start on a new line for every option.
     
  8. Veripare

    Veripare Well-Known Member

    Posts:
    248
    Likes Received:
    0
    Joined:
    Aug 14, 2006
    PERFECT! Thank you!

    On second thought (go-go edit button), there is no coding section on this site. Did you copy and paste the wrong link or what?
     
  9. GR.Konvict

    GR.Konvict Well-Known Member

    Age:
    18
    Posts:
    3,823
    Likes Received:
    0
    Joined:
    Jul 30, 2004
    Location:
    :o
    I take it my post helped then? And thanx for registering on my site.

    Merged Post:


    And i know the link is wrong i posted. go here http://xcreep.com/forum/index.php?act=Reg&CODE=00
    then click the 'I agree' thingy then you should see (in the registration options) two drop downs. On will be for PS version and the other for what system you have. You saw how i done the PS one, so the system one is exactly the same.
     
  10. Veripare

    Veripare Well-Known Member

    Posts:
    248
    Likes Received:
    0
    Joined:
    Aug 14, 2006
    So is this code free for distribution? Where could I find it?
     
  11. Veripare

    Veripare Well-Known Member

    Posts:
    248
    Likes Received:
    0
    Joined:
    Aug 14, 2006
    This question warrants another bump.
     
  12. Phili G

    Phili G Well-Known Member

    Age:
    33
    Posts:
    1,498
    Likes Received:
    0
    Joined:
    Oct 5, 2005
    Location:
    England!
    as for the 100 point one, you can hard code it in the registration .php file.

    if you find
    <input type="text" name="rpgpoints" value="100" >
    or somethin like that, you just change or add the value="100" bit
     

Share This Page