Forum Replies Created

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter Franky616

    (@franky616)

    Got it working – had to separate all tables in the hosted db into single import files(one for each table), do a clean blank WordPress install, and drop then import each of the tables separately until I got a problem login into the backend.

    Something in wp_usermeta was the problem, so did an install of the hosted site’s full db, dropped the wp_usermeta and imported another version from a clean blank WordPress.

    Not yet capable of going through the wp_usermeta to see if I can work out the problem fully.

    Thanks for the help guys anyway ??

    Thread Starter Franky616

    (@franky616)

    No luck – but if I clear the database (drop all tables) and remove wp-config.php I can get to the back end OK after a fresh(to blank WordPress) install procedure

    So thinking my copy of the database is somehow wrong… for if I then drop the blank database tables from the clean blank wordpress and import the hosted site’s .sql(with altered urls) I again lose the backend

    Thanks by the way for your procedure – will maybe understand it fully one day ??

    • This reply was modified 5 years, 9 months ago by Franky616.
    Thread Starter Franky616

    (@franky616)

    No luck, will change folder name and alter .sql file for no cap urls tomorrow – then inport it.

    will uncheck read-only and remove the .htaccess too

    Will let you know if things change

    Thread Starter Franky616

    (@franky616)

    Can remove .htaccess but don’t know what to do about “no permission restrictions on that”.

    Did take a look at the Crafty-Stuff folder and it has a Read-only check

    • This reply was modified 5 years, 9 months ago by Franky616.
    Thread Starter Franky616

    (@franky616)

    The site folder in htdocs is Crafty-Stuff caps and all not “Crazy-Stuff”.

    • This reply was modified 5 years, 9 months ago by Franky616.
    Thread Starter Franky616

    (@franky616)

    Hi Stef,

    There are several pages of info in the options table but the 1st is:

    https://crafty-stuff.com/wp-content/uploads/2019/05/DB1.jpg

    • This reply was modified 5 years, 9 months ago by Franky616.
    • This reply was modified 5 years, 9 months ago by Franky616.
    Thread Starter Franky616

    (@franky616)

    Would you believe it – I was somehow using fancybox instead of “fancybox for wordpress” ?? All this time it was me – D’oh!

    Thanks evolutionz0687 it was while trying a couple of others (fancyboxs) out that I noticed… ?? And it seems to work in ie…

    Thread Starter Franky616

    (@franky616)

    Hi evolutionz0687,

    I’m still after a better solution than the above myself, if you work it out and get fancybox working in IE, could you post how you did it…

    Good luck

    ps. the stackoverflow site may help you…

    I think this is my problem 2 because

    localhost/webs/wordpress/page/3
    shows in the link, and breaks the posts for pages when I click the next button,
    but manualy adding “home” in the url – like
    localhost/webs/wordpress/home/page/3

    works…

    Maybe this will help:
    https://www.ads-software.com/support/topic/getting-it-to-work-on-my-home-page?replies=2#post-4587731

    Thread Starter Franky616

    (@franky616)

    `hi again

    Getting just that little bit closer…

    I changed the wp-includes/link-template.php file’s get_next_posts_link function to:

    function get_next_posts_link( $label = null, $max_page = 0 ) {
    global $paged, $wp_query;

    if ( !$max_page )
    $max_page = $wp_query->max_num_pages;

    if ( !$paged )
    $paged = 1;

    $nextpage = intval($paged) + 1;

    if ( null === $label )
    $label = __( ‘Next Page »’ );

    if ( !is_single() && ( $nextpage <= $max_page ) ) {
    $attr = apply_filters( ‘next_posts_link_attributes’, ” );

    // added this for home page pagination url hack
    $host = $_SERVER[‘SERVER_NAME’] . $_SERVER[‘REQUEST_URI’];
    if($host == ‘localhost/webs/wordpress/’) // change this to real homepage url / or get dynamicaly
    {
    //echo (‘Is homepage!’);
    return ‘<a href=”‘ . _get_page_link() . “/page/” . ($_opts[‘cur_page’] + 2) . “\” $attr>” . preg_replace(‘/&([^#])(?![a-z]{1,8};)/i’, ‘&$1’, $label) . ‘</a>’;
    }
    else
    {
    // echo (‘Is not homepage’);
    return ‘<a href=”‘ . next_posts( $max_page, false ) . “\” $attr>” . preg_replace(‘/&([^#])(?![a-z]{1,8};)/i’, ‘&$1’, $label) . ‘</a>’;
    }
    //

    }
    }

    Which seems to work – put would love to know if it’s OK to use it on my live site?

    Forum: Your WordPress
    In reply to: Any tips…
    Thread Starter Franky616

    (@franky616)

    Thanks again for the feedback.

    @ Guigan, I agree it needs something graphical on the front page say – it may come to me one day. & am working on sorting by the “I recommend this” plugin. Will have to find some tutorials out there somewhere though.

    @ ken1990julius, hopefully more content will come over time…

    Forum: Your WordPress
    In reply to: Any tips…
    Thread Starter Franky616

    (@franky616)

    Thanks guys, I’ll have to work on the text size then, it looked good to me on my 23″, a friends’ and a couple of macs… Will take a look again at an Internet Cafe or two… Could be my vision, think it was always 20/20 – am a bit of a bug eye… ??

    Forum: Your WordPress
    In reply to: Any tips…
    Thread Starter Franky616

    (@franky616)

    Aesthetically I don’t like the look of the article – I used firebug on it and to my eye and with my screen size/dpi:

    article {
    font-size: 65%;
    }

    looks better. My site is about arty stuff, I’m trying to match the theme’s feel also, so I think I’ll leave it as is for now but thanks for the input Andy ??

    Thread Starter Franky616

    (@franky616)

    Have edited fancybox.php to add the if(!$.browser.msie){…} below and things seem OK… I can live without fancybox in IE ?? Let me know though if this fix is OK?

    <script type="text/javascript">
    	jQuery(document).ready(function($){
    
    if (!$.browser.msie) {
    		var select = $('a[href$=".bmp"],a[href$=".gif"],a[href$=".jpg"],a[href$=".jpeg"],a[href$=".png"],a[href$=".BMP"],a[href$=".GIF"],a[href$=".JPG"],a[href$=".JPEG"],a[href$=".PNG"]');
    		select.attr('rel', 'fancybox');
    		select.fancybox();
    
    }
    	});
    </script>
Viewing 14 replies - 1 through 14 (of 14 total)