Forum Replies Created

Viewing 15 replies - 31 through 45 (of 86 total)
  • Thread Starter cielle

    (@cielle)

    yes! thank you! my site is https://www.yeswearestars.gr

    the code ( i don’t have this on my site currently as it “broke” the page… )is this:

    function my_div_shuffler() {
    if (is_page(60)){
    	?>
    
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
    
    <script>
    (function($){
    $.fn.shuffle = function() {
    var allElems = this.get(),
    getRandom = function(max) {
    return Math.floor(Math.random() * max);
    },
    shuffled = $.map(allElems, function(){
    var random = getRandom(allElems.length),
    randEl = $(allElems[random]).clone(true)[0];
    allElems.splice(random, 1);
    return randEl;
    });
    this.each(function(i){
    $(this).replaceWith($(shuffled[i]));
    });
    return $(shuffled);
    };
    })(jQuery);
    </script>
    
    <script type="text/javascript">
    $(document).ready(function() {
           $('div.deeppink,div.white,div.hotpink,div.pink,div.orchid,div.plum,div.turquoise,div.violet').shuffle();
     });
     </script>
    
    <?php
    	}
    }
    add_action('wp_head', 'my_div_shuffler');
    Thread Starter cielle

    (@cielle)

    yes, that part certainly…

    Thread Starter cielle

    (@cielle)

    Thanks bdbrown…
    I did think of doing that but they are there in order to sort out issues to do with their Theme and any problems with that etc as far as i know…
    Not to help with general wordpress and javascript etc…
    I need help with the syntax ( not sure if this is the right word ) of the javascript and where it should go and how it should be called etc.. and so thought that this would be the best place to get advice on that …
    But ok, I will give that a try and see how i go…
    Will come back to this thread if needed…

    I am having the same issue… no message though… i click on “upgrade” and it just does the “working” symbol showing that something is going on but it never actually upgrades… my hosts were able to upgrade for me but I cannot!!!! Please help!

    Thread Starter cielle

    (@cielle)

    oh, should i remove the “debug” code above from my wp-config.php or is it fine to leave there??

    thanks!

    Thread Starter cielle

    (@cielle)

    Hello Realloc,

    I spoke with my webmaster today and he confirmed that there was no DNS for english.yeswearestars.gr and that i should try setting english.yeswearestars.gr up as a subdomain in my direct access/control panel. I did so and it seems my site has been working perfectly since then…
    I don’t know if you also have been trying to work on things yet – i just saw my site was down for a minute, perhaps that was you doing some work??

    In any case, i think the problem is solved now, i have no idea why it suddenly stopped working, i don’t remember if i had set up english.yeswearestars.gr as a subdomain back when i first set up my website and set up multisite and domain mapping etc… If that is what one usually does then i did – in any case, it was working fine initially and i hadn’t deleted any subdomains in control panel…

    So i am not sure what happened…

    I thank you very much for your help, if there is anything you need to add or would like to add that i have missed please let me know…

    Warmest Wishes and thanks for your help and a great plugin…

    Xenia

    Thread Starter cielle

    (@cielle)

    ok, got it Ipstenu, i just fixed this in my control panel with the help of my webhost and now it is all working fine.. I have no idea how or why it stopped existing in DNS because i certainly did not delete any subdomains there and haven’t been in my control panel for months so… In any case, I set up the subdomain there again and it is working… thank you so much for your help…

    Thread Starter cielle

    (@cielle)

    Hello Ipstenu, thank you for your reply..
    You have lost me, I am sorry I don’t even know what DNS is, what do you mean it doesn’t exist in DNS and how do i rectify this? Is this something I need to do or my webhosts? thank you…

    Thread Starter cielle

    (@cielle)

    sure, thank you so much, I sent you access via email…

    Thread Starter cielle

    (@cielle)

    i just saw the following file in wp-content/bps-backup/logs:
    http_error_log.txt
    I opened it and there was nothing there, no errors logged…
    Is this the file you mean?
    So, since there are no errors, then i go to wp-config.php, save it first and then configure according to what you wrote…
    ok, all done!!!
    Now what do i need to do to see if there are errors/bugs?
    thank you…

    Thread Starter cielle

    (@cielle)

    Hello realloc, where are the log-files so i can see if there are errors there?? are they in a file called “logs” which is at the same level as my “public_html” file? If so, this “logs” file contains files which are .tar.gz files and which i don’t know how/can’t read… Can i do something with them so you can take a look?? Thank you…

    Thread Starter cielle

    (@cielle)

    Hello realloc, i haven’t changed users no… I am listed as a user for both sites…

    Thread Starter cielle

    (@cielle)

    thanks Dennis, no, that does not seem to work, it is the code in the middle ( where i say “add code here” that i need help with… )

    thanks for your time, i do appreciate it, I don’t mean to add to your already busy workload!

    Thread Starter cielle

    (@cielle)

    Hi realloc, sorry, i am not a php expert!

    I don’t know what more information you need, usually when i add a function to my thesis wordpress i do it like so…

    function mslw() {
    add the code here...
    }
    add_action('thesis_header', 'mslw');

    So i am not sure how i would add the language switcher in this way to my header?

    I hope this is clearer now??

    thank you so much for your time!

    Hey realloc, well i finally did it! i learnt how to and set up multisite, did the domain mapping and now i am ready to get to more work!! ??

    It was not/is not so complicated but it did take hours and hours and concentration and dedication ( just like anything new does.. ) but i am very pleased..

    So now i need to set up the Multisite Language Switcher, i will ask more questions about the language set up if i need to after i look around this forum a little more and see if i can find the info already here…

    thanks for your help and a great idea/plugin…

Viewing 15 replies - 31 through 45 (of 86 total)