Marcel Pol

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 68 total)
  • Author
    Posts
  • in reply to: bb code not works #1678
    Marcel Pol
    Keymaster

    Hi,
    In settings for the guestbook, you did select Visual Editor and bbcode?
    If so, can you tell me which address the website is on? Then I can take a look.

    Regards, Marcel

    in reply to: Custom field functions not working… #1564
    Marcel Pol
    Keymaster

    Hi,
    Sorry about that. I would think after 4 years all bugs would have been squashed, but apparently not.
    Version 2.1.2 is out that should fix this.

    in reply to: Custom field functions not working… #1549
    Marcel Pol
    Keymaster

    Hi,
    Thank you for getting back on it, I didn’t know there was this bug.

    I don’t really like it to receive part of this discussion in private email. I prefer keeping the discussion on a public forum. Then also saying it’s urgent makes me move slower, not faster :)

    It should be fixed in 2.1.1 which should be available as a download. You can get there by going to Purchase History.

    There was an issue that if star rating is disabled, it would still call a function from that disabled JavaScript. That should not happen anymore.

    in reply to: Move ADD NEW ENTRY button below list of current entries #1519
    Marcel Pol
    Keymaster

    Hi Aleksandr,

    Good that it works for you.
    Have a good weekend,
    Marcel

    Marcel Pol
    Keymaster

    Ouch, yes, I forgot the var_dump( $html ), sorry about that :)

    Good that it works for you.

    in reply to: Changing text strings #1515
    Marcel Pol
    Keymaster

    Hi Tyler,
    The header section can be changed in the settings.

    The button can be changed with a PHP filter. An example for that filter is here:
    https://plugins.trac.wordpress.org/browser/gwolle-gb/trunk/docs/filters/gwolle_gb_button.txt

    The example code can be placed in the functions.php file of your theme, or an own plugin, or a child theme.

    in reply to: Custom field functions not working… #1514
    Marcel Pol
    Keymaster

    By the way, on the main website I see that the theme is including its own jQuery at themes/tcf_2016/assets/js/jquery_1_11_1_withSizzle.js
    This will most probably be the problem.

    It is often advised to use the jQuery that is included in WordPress. Now there are two. The first one that is loaded also loads a few jQuery plugins, then the second one loads and the first one with plugins gets wiped from memory.

    in reply to: Custom field functions not working… #1513
    Marcel Pol
    Keymaster

    Hi Tyler, here it works on my test install. I also haven’t seen other complaints. I suspect it might be another plugin that is giving JavaScript errors.

    When you are on that admin page you can check the Inspector of the browser. Right-click on the page and select “Inspect Element” There will be a developer console opened. You can click on the Console-tab. Then refresh the page and see if you have any JavaScript errors.

    Could you post them here?

    in reply to: Move ADD NEW ENTRY button below list of current entries #1510
    Marcel Pol
    Keymaster

    Hi Aleksandr,

    It is possible, though you are free to not like it :)

    What can be done is using two separate shortcodes like this:

    
    [gwolle_gb_read]
    [gwolle_gb_write button="true"]
    

    One drawback is that after submission it is not added to the list.

    Marcel Pol
    Keymaster

    Hi Aleksandr,
    No problem about asking this. The 3 options for display are the most common ways for displaying. It can be changed and customized, but often that needs custom code for that specific desire/need.

    What I did is disable the date fields and also the City/Origin field in the read-settings.
    Then this next code can go to a custom plugin, or can be added to the functions.php of your theme.
    You might want to check if the slugs of both fields are correct.

    function gwolle_gb_author_name_html_add_meta_from_addon( $html, $entry ) {
    
    	if ( ! function_exists( 'gwolle_gb_addon_get_meta_for_preview' ) ) {
    		return $html;
    	}
    
    	$origin = $entry->get_author_origin();
    	if ( strlen(str_replace(' ', '', $origin)) > 0 ) {
    		$html .= '
    				<span class="gb-author-origin">
    					<span class="gb-author-origin-from-text"> ' . /* translators: city or origin */ esc_html__('from', 'gwolle-gb') . '</span>
    					<span class="gb-author-origin-text"> ' . gwolle_gb_sanitize_output($origin) . '</span>
    				</span>';
    	}
    
    	$cottage = gwolle_gb_addon_get_meta_for_preview( $entry->get_id(), 'cottage' );
    	if ( ! $cottage ) {
    		$cottage = gwolle_gb_addon_get_meta( $entry->get_id(), 'cottage' );
    	}
    	$year = gwolle_gb_addon_get_meta_for_preview( $entry->get_id(), 'year-visited' );
    	if ( ! $year ) {
    		$year = gwolle_gb_addon_get_meta( $entry->get_id(), 'year-visited' );
    	}
    
    	if ( strlen($cottage) > 0 ) {
    		$html .= '<span class="gb-author-cottage-text"> stayed in ' . $cottage . '</span>';
    	}
    	if ( strlen($year) > 0 ) {
    		$html .= '<span class="gb-author-cottage-text"> during ' . $year . ' wrote</span>';
    	}
    
    	var_dump($html);
    
    	return $html;
    
    }
    add_filter( 'gwolle_gb_author_name_html', 'gwolle_gb_author_name_html_add_meta_from_addon', 10, 2 );

    Does it work for you?

    in reply to: Ongeldig objecttype voor veld ‘itemReviewed’ #1490
    Marcel Pol
    Keymaster

    Hi,
    This was fixed in 2.0.3:

    Changelog

    Did you buy it at Mojo?
    If so, you can send me an email to marcel@timelord.nl and we can arrange that you can download updates from my own website here.

    in reply to: Ongeldig objecttype voor veld ‘itemReviewed’ #1488
    Marcel Pol
    Keymaster

    Hallo Daniël,
    Welke versie van de add-on gebruik je?
    Deze ‘snippets’ voor SEO zijn ooit aangepast om deze of een vergelijkbare foutmelding te voorkomen.

    in reply to: New Fields under guestbook entries #1450
    Marcel Pol
    Keymaster

    Hi Rüdiger,

    Yes, you can choose 3 positions.
    When you go to Guestbook > Add-On > Reading-tab, you should see radio-buttons for every field. You can select the Metabox, which is default.
    Also under and on top of the content of the guestbook entry is an option.

    Does this help you?

    in reply to: “Write new entry” button ‘snt appeared #1377
    Marcel Pol
    Keymaster

    Hi,
    That website looked familiar to me :)

    Original discussion:
    https://wordpress.org/support/topic/need-help-340/

    This theme is way too much for me to support. It would be better if you would contact the developers of the theme. It is a commercial theme and you paid for support there.

    in reply to: Installation AddOn #1368
    Marcel Pol
    Keymaster

    Hi, good that you managed.

    The data is pre-filled if you are logged in. When you log out or use a different browser you will see that the fields are empty.

    Not sure which button you mean. There is a preview button, which gives a preview of what was entered.
    There is also a checkbox for not storing IP adress and hostname.

    After posting an entry the content field should be empty again.

Viewing 15 posts - 1 through 15 (of 68 total)