WordPress.org

Ready to get started?Download WordPress

Forums

WP Photo Album Plus
[resolved] How can I do the wppa+ settings backup? (5 posts)

  1. touji
    Member
    Posted 1 year ago #

    So, I've did some configurations and I need to export to another site, is have possibilites to do this without reconfigure everything?

    Thank you!

    http://wordpress.org/extend/plugins/wp-photo-album-plus/

  2. Jacob N. Breetvelt
    Member
    Plugin Author

    Posted 1 year ago #

    Run the action on Table VIII-A2: Backup settings.

    This creates a settings.bak file in your personal depot directory ( e.g. wp-content/wppa-depot/admin/settings.bak ).
    Copy that file to the target site and run Table VIII-A3 there after selecting --- restore backup ---. This almost works, multiline things will fail ( truncated after the first line ) like New photo description ( Table IX-B4 ) but you can easily recover that from the helptext ( under the ? ).

  3. touji
    Member
    Posted 1 year ago #

    Thanks!

    And, if I want to display text's trough mouse over action on the stars of the rating system, is this possible? I've tried some times, editing the javascript functions wppaFollowMe and wppaRateIt, but it didn't works.

    Anyways, I appreciate your help!

  4. Jacob N. Breetvelt
    Member
    Plugin Author

    Posted 1 year ago #

    wppa-slideshow.php line 340:

    ...
    	if ( $wppa_opt['wppa_rating_display_type'] == 'graphic' ) {
    		if ( $wppa_opt['wppa_rating_max'] == '5' ) {
    			$r['1'] = __a('very low', 'wppa_theme');
    			$r['2'] = __a('low', 'wppa_theme');
    			$r['3'] = __a('average', 'wppa_theme');
    			$r['4'] = __a('high', 'wppa_theme');
    			$r['5'] = __a('very high', 'wppa_theme');
    		}
    		else for ( $i = '1'; $i <= '10'; $i++ ) $r[$i] = $i;

    You may change 'very low' etc to other text.

    the __a( and , 'wppa_theme'); is for multi language support, but it is ok if you change the text only.

  5. touji
    Member
    Posted 1 year ago #

    Sorry, I expressed myself badly... it's something like this http://www.camiseteria.com/design.aspx?did=58826, if you put the mouse over the numbers, the title in the right, changes.

    Is it possible to do?

    Thanks again!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic