Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter bonitapang

    (@bonitapang)

    sorted out! Tks!

    I did it! Thanks for the starting point given.

    First I went to manage-galleries.php, which is in admin folder, and changed this line 24
    $gallerylist = $nggdb->find_all_galleries(‘gid’, ‘desc‘, TRUE, 10, $start);

    for the number 10, you can change it to anything you like, just the no of galleries to list on each page.

    Then I went to ngg-db.php is in folder lib. I use the find function to search for all words “asc”, which is ascending, and whatever I saw that was related to gallery, I changed them into DESC. I think I changed it in about 4-5 different sections.

    e.g
    function find_all_galleries($order_by = ‘gid’, $order_dir = ‘DESC‘, $counter = false, $limit = 0, $start = 0) {
    global $wpdb;

    $order_dir = ( $order_dir == ‘DESC’) ? ‘DESC’ : ‘DESC’;
    $start);

    basically anything that was realted to gallery and was showing ASC, I changed it to DESC, and now it worked, sorting in reverse order! So Happy!

    just to let know you, this is my first time touching any of these codes!

    Hi,

    i deleted the 2 lines from wp-config.php, instead of the chinese characters showing up, my posts now have this weird black diamond shape with a question mark inside at every “space”. see https://www.chanlegacy.com

    The chinese characters are still not showing. pls see the following link.
    https://www.chanlegacy.com/2006/10/14/placentafor-what/

    Been frustrated with this for a long time, appreciate someone please help? tks!

    Thread Starter bonitapang

    (@bonitapang)

    I finally know what was the problem!

    I opened my webpage using a HTML editor, just to change what is showing between the <title></title> tags. I saved it as index.html and uploaded via FTP.

    I reinstalled wordpress and did the above again and the same problem resurfaced. So this time, i just deleted the index.html file and everything is alright.

    Question is I still really want to edit what is showing between the <title></title> tags, and also one of the sidebar menu, from “blogroll” to just “links”. I can’t find any option to edit in wordpress.

    Can anyone advice me how to do it? If I should still using html editor, what should i save and upload the file as? php? or what?

    tks!

    Forum: Fixing WordPress
    In reply to: Chinese Problems

    Jcchris,

    can i ask you, for your old server, you manage to have chinese words posted on your site? i.e. a post can have both english and mandarin characters? how did you manage to do it?

    cos i just newly installed wordpress, imported all my entries from blogger, but my chinese characters all became ???

    i tried looking in the forums and language plugins, but most of them are for translating the entire site or posts into different langauge, which is not what i want. I would like to be able to posts in multiple language.

    Can you help?

    in your ftp program, try opening up the folders of the missing plugins on your server, and compare the files with the plugin folder that you have downloaded to your desktop.

    sometimes the folder is uploaded, but not all the internal files.

    just my experience.

    Thread Starter bonitapang

    (@bonitapang)

    problem solved, upon simpleviewer forum’s advice, i changed the following line in both archives.php and search.php files.
    original – “php the_excerpt”
    new – “php the_content”

    Thread Starter bonitapang

    (@bonitapang)

    I did change back, but it didn’t help. The problems still exists but now MORE problems arose.

    When I now search for posts via archives or calender, the results will be displayed but not my photo gallery, instead the below error message will show. But if i click on the title of the post or read more link, bringing me to the post page, the gallery will display my photos. After checking with simpleviewer side, they were the one who adviced me to change from “excerpt” to “content” and solved my problem.

    SimpleViewer requires Macromedia Flash. Get Macromedia Flash.

    This is a WPSimpleViewerGallery

    var fo = new SWFObject(”https://www.chanlegacy.com/wp-content/plugins/wp-simpleviewer/viewer.swf”, “viewer”, “500″, “500″, “7″, “#FFFFFF”);
    fo.addVariable(”preloaderColor”, “0xffffff”);
    fo.addVariable(”xmlDataPath”, “https://www.chanlegacy.com/wp-content/photos/20070708a/gallery.xml”);
    fo.write(”fc_id_348″);

    If you go to Options – Reading, you can see that you can choose whether to display a static page or latest posts as your frontpage.

    bonita

    Hi,

    i also tried Thomas’s method, all checked and done, but my post (which was formerly typed in both english and chinese in blogger and recently imported into wp)chinese character is still showing “???”.

    Any idea?

    Post in question
    https://www.chanlegacy.com/2006/10/14/placentafor-what/

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