Forum Replies Created

Viewing 12 replies - 16 through 27 (of 27 total)
  • Thread Starter stigroar

    (@stigroar)

    anyway, the java script in step 4 isn’t relevant

    Thread Starter stigroar

    (@stigroar)

    well, it doesn’t seem to work in IE anyway, so I guess we still havn’t got a working dropdown menu then ??

    Thread Starter stigroar

    (@stigroar)

    i know, but instead of testing each one of them, it would be easier if someone who knew an album with the functions i wanted, could inform me

    Forum: Plugins
    In reply to: A normal, working forum
    Thread Starter stigroar

    (@stigroar)

    I never meant that the WP team should develop this plugin. What I tried to say is that the WP community has many good developers, who should manage to make such a plugin/bridge.

    Forum: Plugins
    In reply to: A normal, working forum
    Thread Starter stigroar

    (@stigroar)

    thanks for all the answers!

    yeah, that would be great, wouldn’t it? i can’t understand how a big CMS like WordPress havn’t got the possibility to integrate with any decent forums.

    btw: i liked xmbforum.com really much. nice layout. if they make a bridge here, i might as well use that.

    Thread Starter stigroar

    (@stigroar)

    sorry, but the reason for not posting the link is that the site cannot be public yet for many reasons. if you need a link, I will have to make a test site with other information, and then I will need some time.

    Forum: Plugins
    In reply to: Invision Board Integration?

    what is the status here?

    the javascript posted at invoke doesn’t work ( i had the same problem). paste the script from his sourcecode:

    <script language=”javascript” type=”text/javascript” >
    sfHover = function() {
    var sfEls = document.getElementById(“nav”).getElementsByTagName(“LI”);
    for (i in sfEls){
    sfEls[i].onmouseover=function() {
    this.className+=” sfhover”;
    }
    sfEls[i].onmouseout=function() {
    this.className=this.className.replace(new RegExp(” sfhover\\b”), “”);
    }
    }
    }
    if (window.attachEvent) window.attachEvent(“onload”, sfHover);
    </script>

    this solved the problem for me.

    my problem is as follows:

    i wish to implement son of suckerfish on this theme: https://www.openswitch.org/2006/04/16/unsleepable/ , but am not able to make the submenubuttons in a decent size. the size of them becomes the same as the size of the buttons in the theme (about, contact, links etc), and it looks kinda ugly…

    Thread Starter stigroar

    (@stigroar)

    finally figured it out. the following code in sidebar.php does the trick ??

    <?php /* Creates a menu for pages beneath the level of the current page */
    if (is_page() and ($notfound != ‘1’)) {
    $current_page = $post->ID;

    $page_query = $wpdb->get_row(“SELECT ID, post_title, post_status, post_parent FROM $wpdb->posts WHERE ID = ‘$current_page'”);
    $current_page = $page_query->post_parent;
    $parent_id = $page_query->ID;
    $parent_title = $page_query->post_title;

    if ($current_page != 0) {
    $parent_query = $wpdb->get_row(“SELECT ID, post_title, post_status, post_parent FROM $wpdb->posts WHERE ID = ‘$current_page'”);

    $parent_id = $parent_query->ID;
    $parent_title = $parent_query->post_title;
    }

    if ($wpdb->get_results(“SELECT * FROM $wpdb->posts WHERE post_parent = ‘$parent_id’ AND post_status != ‘attachment'”)) { ?>

    <div class=”sb-pagemenu”><h2>
    <?php echo $parent_title; ?></h2>

      <?php wp_list_pages(‘sort_column=menu_order&title_li=&child_of=’. $parent_id); ?>
    Thread Starter stigroar

    (@stigroar)

    Regarding the sidebar, I have found a theme which uses this code:

    /* Creates a menu for pages beneath the level of the current page */
    if (is_page() and ($notfound != ‘1’)) {
    $current_page = $post->ID;
    while($current_page) {
    $page_query = $wpdb->get_row(“SELECT ID, post_title, post_status, post_parent FROM $wpdb->posts WHERE ID = ‘$current_page'”);
    $current_page = $page_query->post_parent;
    }
    $parent_id = $page_query->ID;
    $parent_title = $page_query->post_title;

    if ($wpdb->get_results(“SELECT * FROM $wpdb->posts WHERE post_parent = ‘$parent_id’ AND post_status != ‘attachment'”)) { ?>

    <div class=”sb-pagemenu”><h2>
    <?php echo $parent_title; ?> Subpages</h2>

      <?php wp_list_pages(‘sort_column=menu_order&title_li=&child_of=’. $parent_id); ?>

    This generates a list of all instrument groups and all musicians in each group. I suppose it’s possible to configure this code, so that it only shows the actual group and the related musicians. I have tried, but my PHP skills stinks, so I could really need som help…

    Thread Starter stigroar

    (@stigroar)

    found out that i can use this drop down menu:https://www.invokemedia.com/css-dropdown-menu-with-wordpress.html

    but i still havn’t found a usable sidebar…

    Thread Starter stigroar

    (@stigroar)

    a drop down menu is btw the name of the menu i’m looking for. How can i change the subject in this thread?

Viewing 12 replies - 16 through 27 (of 27 total)