sylvester vader

Forum Replies Created

Viewing 15 posts - 121 through 135 (of 135 total)
  • Author
    Posts

  • sylvester vader
    Buyer
    Post count: 151

    ok i put the 2 last listings on concept and then the directions goes to the adress 2 down

    so i realy think something is wrong here
    please help me to fix this

    in reply to: Split: "Get Directions" button to Open Google Maps Link #237534

    sylvester vader
    Buyer
    Post count: 151

    ok i did some testing with the coding and i found the problem

    on the basic get location button it seems to only go to the location of the latest added listing

    the button from this addon works good if you use the first one with only the coordinates

    if you add the name, and the name does not exist in google maps then it wont work
    it will not go to the coordinates

    only things that google can find will work

    like address for example

    
    
    function geodirectory_detail_page_google_map_link() {
        global $post, $preview;
    
        if ( !$preview && !empty( $post->post_latitude ) && !empty( $post->post_longitude ) ) {
    		
    	        if (isset($post->post_address) && $post->post_address) {
                        $sd_address .= $post->post_address;
                    }
    		
                    if (isset($post->post_city) && $post->post_city) {
                        $sd_address .= '+ ' . $post->post_city;
                    }
                    if (isset($post->post_region) && $post->post_region) {
                        $sd_address .= '+ ' . $post->post_region;
                    }
                    if (isset($post->post_country) && $post->post_country) {
                        $sd_address .= '+ ' . $post->post_country;
    				}					
    		
    		
            $maps_url = add_query_arg( array(
                            'q' => $sd_address,
                            'sll' => $post->post_latitude . ',' . $post->post_longitude,
                        ), 'http://maps.google.com/' );
    					
    					
    in reply to: wordpress noob needs help :-D #237526

    sylvester vader
    Buyer
    Post count: 151

    is there a list on where al the add_action parts are ?
    for example
    add_action( ‘geodir_after_description_on_listing_detail’, ‘geodirectory_detail_page_google_map_link’);

    says basicly after the description on the listing page
    but how does this script part know where that is

    please help me explain
    and ill make lots of plugins and such in future

    in reply to: Supreme theme customization #237514

    sylvester vader
    Buyer
    Post count: 151

    if you do have a subtitle on location page then it works the same

    in reply to: Supreme theme customization #237512

    sylvester vader
    Buyer
    Post count: 151

    i had the same problem
    you can fix it at pages in wp-admin

    then edit the page

    you said location but this page doesnt have a subtext
    atleast not with me
    you need the front page i think

    if you dont see subtitle
    go to top of page and you can change the screen options there
    yes select all and you will see all that you can edit

    including subtitle

    in reply to: moderator #237202

    sylvester vader
    Buyer
    Post count: 151

    a i see the problem
    the edditing works in admin if you put on allow users to see wp-admin

    however the buttons on the site itself are not useable

    me as an admin can edit listings directly in the website
    but none admin cant seem to do this

    it works for now directly tru wp-admin but i hope there will be a fix so it would also be possible in the main site

    in reply to: Auto-renew? #237188

    sylvester vader
    Buyer
    Post count: 151

    ok then its ok, i dont want problems
    in future i will hopefully put it on recurring payment but for now i keep it as an option

    thanks for the explaination

    in reply to: moderator #237151

    sylvester vader
    Buyer
    Post count: 151

    o lol i think i see it

    in reply to: moderator #237145

    sylvester vader
    Buyer
    Post count: 151

    i dont have that function
    All i see is this:
    General
    Google Analytics
    Search
    Dummy Data

    and there is no section or even a part where i can do that 🙁

    i can change the user role inside user part of wordpress but this does not give it the function to edit listings

    only administrator works but then they can mess up my site

    in reply to: Current location page problems #233319

    sylvester vader
    Buyer
    Post count: 151

    yeah thought so, i need to make some plugin to make this work how i need it 😉

    in reply to: Current location page problems #233241

    sylvester vader
    Buyer
    Post count: 151

    yes but thats not what i need 🙁

    what i want is to show the netherlands on the root site

    when opening /location/spain/ it needs to show listings for spain
    when opening /location/netherlands/ it needs to show all listings in netherlands

    atm i have one fix what should work but this is more like a work arround
    by changing my .httaccess so the main site opens /location/netherlands
    but dont show the link then it works but there should be a better way to do this

    in reply to: Current location page problems #233198

    sylvester vader
    Buyer
    Post count: 151

    yes i found that out but this only works if you put Map Auto Zoom off

    if its on it will show center of al listings
    default location dont work

    second problem is location/country

    if use Map Auto Zoom then it works good
    it shows al listings in the selected country
    however the first entry shows all listings in whole world
    default location dont work if auto zoom is on

    you saying quote: It is not possible to open on first entry on the Netherlands only.
    this is not correct
    it will work if you put auto zoom of

    in reply to: Current location page problems #232813

    sylvester vader
    Buyer
    Post count: 151

    ok i think i got it working now
    somehow the settings you put in are not always put in action
    i used gd tools to check and after this its working fine

    in reply to: question about shortcodes #231845

    sylvester vader
    Buyer
    Post count: 151

    ok uhm i found it on google
    was looking all day 😛
    and after i put this post i found it

    i donno if its the correct wag but it seems to work for now
    <?php echo do_shortcode(“[shortcode]”); ?>

    in reply to: geotheme theme problems with geodirectory #231710

    sylvester vader
    Buyer
    Post count: 151

    yes i know but maybe there was a way to change it to work with geodirectory
    im trying to remake it now but im not so good with wordpress

    any of you can explain to me how to add widgets to a location in the theme that i want
    im realy not good at that

    atm im adding a widget to home page then get the source code from the page
    select the part i need and add it to the script on the place where i need and then remove widget from the location a put it before

    but this is not the normal way 🙂

    so i hope somebuddy can help me

Viewing 15 posts - 121 through 135 (of 135 total)