Help - Search - Members - Calendar
Full Version: Digg this thread mod, any1 got? :(
FightBack Forums > PePiPoo > Website Design
K1boRG


Does any1 have code for these options? digg etc...?

K1boRG
http://mods.invisionize.com/db/index.php/f/7827

downloads corrupt rar, with corrupt screenshot in it... can some1 reupload?
Fredd
Ah, I understand what you're getting at now. I'll take a look later today.
K1boRG
thanks mate...
Fredd
I've just downloaded the mod package from Invisionize and it isn't corrupt, so I guess there must have been a problem with your download. If you try again and still can't download it OK then please PM me an address and I'll email it to you.
K1boRG
CODE
Parse error: syntax error, unexpected ';', expecting T_FUNCTION in Z:\home\87.226.68.122\www\forums\sources\action_public\topics.php on line 2602


when added

CODE
        // BOOKMARKIT v1.3.0: Construct a button bar to submit bookmarks for this post to social networking bookmark sites
        if ( $this->ipsclass->vars[ 'bookmarkit_enable' ] )
        {
            if (    ( $this->ipsclass->vars[ 'bookmarkit_visibility' ] == 'All' ) OR
                    ( $this->ipsclass->vars[ 'bookmarkit_visibility' ] == 'Topic' AND $this->topic[ 'topic_firstpost' ] == $row[ 'pid' ] ) OR
                    ( $this->ipsclass->vars[ 'bookmarkit_visibility' ] == 'Page' AND $row[ 'post_count' ] - intval( $this->ipsclass->input[ 'st' ] ) == 1 ) )
            {
                // Substitute actual URL and title of this post for the placeholders
                $bm_link = urlencode( $this->ipsclass->base_url . 'showtopic=' . $this->topic['tid'] . '&view=findpost&p=' . $row[ 'pid' ] );
                $bm_title = urlencode( $this->topic [ 'title' ] );
                $this->ipsclass->vars[ 'bookmarkit_linkbar' ] =  str_replace( array( '<--LINK-->', '<--TITLE-->' ), array( $bm_link, $bm_title ), $this->ipsclass->vars[ 'bookmarkit_template' ] );
            } else {
                $this->ipsclass->vars[ 'bookmarkit_linkbar' ] = '';
            }


above

CODE
        //-----------------------------------------
        // Memory Debug
        //-----------------------------------------

        $this->ipsclass->memory_debug_add( "PID: ".$row['pid']. " - Completed", $_NOW );


in /sources/action_public/topics.php
Fredd
This isn't the support forum for BookmarkIt, but I suggest you look more closely at the code you've added - you're missing a closing curly bracket. wink.gif
K1boRG
well I checked all lines but not found this error ;[ everything seems to be same like in instruction
andy_foster
You've got 3 {s but only 2 }s
K1boRG
amg I luv you angy_foster <3333333333333333333333 thanks m8! damn How I cud miss that... that only means there is error in this bookmarkit code wink.gif
Fredd
QUOTE (K1boRG @ Wed, 29 Oct 2008 - 06:25) *
... that only means there is error in this bookmarkit code wink.gif

What do you mean? The parse error's gone but there's still another problem?
bama
Scintilla editor (aka Scite) good for winkling out formatting errors such as unbalanced parentheses - and its free !
Supports all kinds of languages as well.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.