Forum Replies Created

Viewing 14 replies - 196 through 209 (of 209 total)
  • this should work now

    hi

    V1.0.2 had a bug, not showing the options panel. this is fixed now.

    to show the graphical calendar use the tag {events_calendar} in any of your posts or pages. this tag supports different parameter described in the options panel (filter options) and all parameters of FullCalendar, the library used for creating the graphical calendar.

    good night.
    faebu

    hi

    thank you!

    i load the jquery library using the wp build-in functionalities. if wp (or other plug-ins) request jquery this way, jquery is only loaded once. how do you include the jquery library? directly in your wp theme?

    thanks for reply!
    faebu

    hi seb. it just release v1.0.2 which fixes this problem.

    cheers

    hy perrymyk

    I made several changes. there is now a graphical calendar and the integration can be done using widgets!

    cheers

    thx, i’ll fix that one!

    faebu

    (@faebu)

    this is a known issue and an update will follow the next few days. keep in mind, that this plugin is still a release candidate. it has a lot of features and filtering options and i am not able to test it all by myself. this is the reason why i allready published it at the wordpress plugin repository.

    faebu

    (@faebu)

    … and this plug-in doesn’t hundreds of things, but it has many features and options to control the output. and yes, it is very detailled documented.

    faebu

    (@faebu)

    yes your are right. a graphical calendar is not part of the version 1.0.0, but planned for the future versions….

    hi
    widget moving is not possible in the settings page. despite that, it should not affect other functions. the plug-in does not use any hook on the frontend and use only built-in libraries from wordpress by calling in the wp standard way (no direct including). on my back end and front end everything works in the normal way.
    if you could specifiy “breaks the wordpress admin JS” more precisely, this would be very helpful to find the error.

    thx and greets
    faebu

    Thread Starter faebu

    (@faebu)

    thx!

    hi

    thanks for your input. i don’t think your code is correct, but mine is not either…

    the right condition is:

    if the COOKIE does not exist, allways display (no dependence on show type)
    if the COOKIE string is NOT equivalent, allways display (no depence on show type).

    if the COOKIE string IS equivalent, the announcement must only be displayed, if the show_type is 2 (periodically) and the time must be expired.

    conclusion:

    // If cookie is set AND cookie string is identical, then only show when
    		// in frequency mode!
    		if (isset($_COOKIE['tb_cookie']) && $_COOKIE['tb_cookie'] == get_option('tb_cookie')) {
    			// Show only once per session
    			if ($tb_show_type == 1) {
    				return;
    			// Show every time the user enters the site
    			// This is achieved by setting the cookie expiration to 0
    			} elseif ($tb_show_type == 3) {
    				return;
    			} elseif ($tb_show_type == 2) { // More than once, check frequency
    				$days = intval(get_option('tb_show_freq'));
    
    				if ($days > 0) {
    					// Get beginning of the day, when it should be displayed again
    					$aexp = floor(($_COOKIE['tb_lastshown'] + $days*self::DAY_IN_SECONDS) / self::DAY_IN_SECONDS) * self::DAY_IN_SECONDS + 1;
    
    					if (time() < $aexp)
    						return;
    				}
    			}
    		}
    		else {
    			// Allways display
    		}
    
    		if ($tb_show_type == 3) {
    			$exp = 0; // Show every time the user enters the site
    		} else {
    			$exp = time()+self::DAY_IN_SECONDS*360; // Expires after a year
    		}
    
    		setcookie('tb_cookie', get_option('tb_cookie'), $exp);
    		setcookie('tb_lastshown', time(), $exp);
    
    		// Check announcement page
    		$this->checkInternalContentPage();
    
    		// Turn Announcement on
    		$this->showAnnouncement = true;
    		return;

    I think, this should work for any cases. Do you agree?

    you’re are right. in the front an external resource does not appear. i provided an update which fixed this and the other stuff…

    you are right, i allready realized the missfunction of the date option. i’m fixing this and i’m going to use a javascript calendar control, so the date can be picked instead of entered manually…

    why do you need an iframe option? use external url instead. i will rename this to external content or something similar to make it clear.

    cheers mate and thx

Viewing 14 replies - 196 through 209 (of 209 total)