Search


Hot Tags

Forum Neo22s » Open Classifieds

OC installed in submap gives problems

(13 posts)

No tags yet.


  1. Stampie
    Member

    Hello

    Installing OC in a submap was not a great succes. I suppose the mainmap would be the best sollution ...?

    I found a free host with php mysql but I would like some advice before trying it out?

    May I send you a mail to ask you because I don't want to publish the adress here?

    Many thanks

    Posted 3 months ago #
  2. Chema
    Key Master

    ok, you can contact me, no problem I will try to help you ;)

    Posted 3 months ago #
  3. Stampie
    Member

    Hello Chema

    I've just been looking for free hosting and the most firms I've seen are no good(banners, pop-ups,unsafe servers ...). So I will keep on trying to lett OC work from a submap because I trust my host and everything is very stable!

    The only question is, that a few things struggle with the submap. I give you an example. When a user posts an advert, he gets an answer that it is placed an than the page opens in a new window. The url to that page is missing the map (the submap in my case = collectors). Could I alter this in the code?

    Many thanks

    Posted 3 months ago #
  4. Stampie
    Member

    Hello, i'm nearly there where I want to be!

    Because of the bad links I've delete (twitter - facebook and mailservice)

    When an ad is posted there was a wrong url for the redirector and I've deleted that code from manage.index ...

    Does somebody wants to help me to check OC http://www.stampsonweb.nl/collectors ?

    Posted 3 months ago #
  5. Chema
    Key Master

    If I was you I will put the translator in the widget bar ;)

    here you have how to add things in the widget: http://neo22s.com/how-to-create-widgets-for-open-classifieds-1-4-x/

    Posted 3 months ago #
  6. Stampie
    Member

    Hello Chema

    I've tried, but I'm affraid that the code I've used is wrong. I don't know where it fits in the sidebar.php

    Here I show you the code I've tried to use. I'm afraid that there are errors im my code. Do you have any suggestions or a better one?

    Many thanks

    function sb_translator($beg,$end){
    return $beg."<div id="google_translate_element"></div><script>
    function googleTranslateElementInit() {
    new google.translate.TranslateElement({
    pageLanguage: 'en'
    }, 'google_translate_element');
    }
    </script><script src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>".$end;
    }
    Many thanks

    Posted 3 months ago #
  7. Chema
    Key Master

    function sb_translator($beg,$end){
    return $beg.'<div id="google_translate_element"></div><script>
    function googleTranslateElementInit() {
    new google.translate.TranslateElement({
    pageLanguage: 'en'
    }, 'google_translate_element');
    }
    </script><script src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>'.$end;
    }

    you had a problem with the quotes, try like this

    Posted 3 months ago #
  8. Stampie
    Member

    Hello Chema

    I've entered the code but I received error 500 when I opened OC

    Many thanks

    Posted 3 months ago #
  9. Chema
    Key Master

    please c&p to me the code in this site: pastebin.com

    then I can take a better look

    Posted 3 months ago #
  10. Stampie
    Member

    Hello

    I've just done it!

    Greetings!

    Posted 3 months ago #
  11. Stampie
    Member

    This is the url http://pastebin.com/m51ab555b

    Posted 3 months ago #
  12. Chema
    Key Master

    Fixed: http://pastebin.com/m402563c3

    Posted 3 months ago #
  13. Stampie
    Member

    Many thanks. Works! I will send the url of OC to our forummembers to ask their opinions, ideas to work OC further out! Many thanks!

    Posted 3 months ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.

Top Footer
Follow me