BBPress Johan : Replies Created

Forum Replies Created

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • in reply to: Where is data-type defined #253007
    johan
    Participant

    That line number is after some lines of my own code have been added so will not match any version you have.

    in reply to: Where is data-type defined #252997
    johan
    Participant

    I am trying to create a new data-type by following your example.

    Following are two lines of code taken from line 1815 of class.form.php.  They pretty much sum up my problem.

    I had it working in a previous version when you used this:

    echo  ‘<p class=”add”><a id=”add_phone_number” class=”button”>Add Phone Number</a></p>’;

    but now that you are using data-type I am a bit confused:

    echo  ‘<p class=”add”><a href=”#” class=”cn-add cn-button button” data-type=”phone” data-container=”phone-numbers”>’ , __( ‘Add Phone Number’, ‘connections’ ) , ‘</a></p>’;

     

    in reply to: Where is data-type defined #252995
    johan
    Participant

    Thanks Steven that gives me the  background but I need to know where the specific data-type “email” or “addresses” is defined in your code.  Is if in one of the .php files?  Is it in a .css file?  Which one please?

    I also read in that link that IE does not support it.  Is that still true?

    johan
    Participant

    There are also some tools for other folks who may like to use Open Street Map.  You can read about them here: http://map-mapa.com/map-tools/

    johan
    Participant

    The main changes integrate Open Street Map because our area in Mexico is not well documented on Google maps i.e. lots of errors and missing streets.  If you visit the link above you will see that a connections entry can be located on a map and the latitude and longitude is saved.  Templates have been modified to show an interactive map with pointers to entries.    Look at this map for example: http://map-mapa.com/riviera-nayarit-directory/restaurant-ma/

    The other main change allow entries to be prioritized in listings so paying advertisers appear first like yellow page directories.

    johan
    Participant

    Feeling more than a bit dumb but please mark it resolved…Thanks

    johan
    Participant

    Thanks Steven…. it is indeed missing in Class cnRetrieve.   Looks like I forgot to update that whole file with the upgrade.

    in reply to: Invalid value for Longitude #250484
    johan
    Participant

    Got it.  so just in case anyone else has the same problem.

    The problem is I started to use Chrome instead of Firefox where

    type=”number”

    works a bit differently in that it does not allow decimal places unless it also has

    step=”any”

    I found it here: http://blog.isotoma.com/2012/03/html5-input-typenumber-and-decimalsfloats-in-chrome/

     

    and it works.

    in reply to: Invalid value for Longitude #250461
    johan
    Participant

    Maybe all that would be useful at this time is a visit to the website where the Connections entries show up on a map by using one of your templates.   Right now I can’t even add an entry so I really shouldn’t be bothering you with it.

     

    http://map-mapa.com/riviera-nayarit-directory/test/?cn-cat=4

    in reply to: Invalid value for Longitude #250456
    johan
    Participant

    Yes I added the map and the location.  I thought I was using the lat and loing on the address but perhpas not.  I am just getting back at it.

     

    How best to get you a copy?  The mapping end of it is my main interest and there are some tools there that may be useful once I have them working better.

     

    I still love this plugin?  I was just installing the pro package.  Does that mean I should post in the other subforum?

Viewing 10 posts - 1 through 10 (of 10 total)