• پایان فعالیت بخشهای انجمن: امکان ایجاد موضوع یا نوشته جدید برای عموم کاربران غیرفعال شده است

✅ بحث و گفتگو بین وبمسترها

Amenocy

کاربر فعال برنامه نویسی
کاربر فعال
تاریخ عضویت
25 ژانویه 2008
نوشته‌ها
3,261
لایک‌ها
602
محل سکونت
اردوگاه کار اجباری
نشد. این کد functions.php هست.
PHP:
<?php
/*-----------------------------------------------------------------------------------*//* Start WooThemes Functions - Please refrain from editing this section *//*-----------------------------------------------------------------------------------*/
// Set path to WooFramework and theme specific functions$functions_path = get_template_directory() . '/functions/';$includes_path = get_template_directory() . '/includes/';
// Define the theme-specific key to be sent to PressTrends.define( 'WOO_PRESSTRENDS_THEMEKEY', 'lt384huxazx27rvdk1mmm5byw4h73jrol' );
// WooFrameworkrequire_once ($functions_path . 'admin-init.php' );			// Framework Init
/*-----------------------------------------------------------------------------------*//* Load the theme-specific files, with support for overriding via a child theme./*-----------------------------------------------------------------------------------*/
$includes = array(				'includes/theme-options.php', 			// Options panel settings and custom settings				'includes/theme-functions.php', 		// Custom theme functions				'includes/theme-plugins.php', 			// Theme specific plugins integrated in a theme				'includes/theme-actions.php', 			// Theme actions & user defined hooks				'includes/theme-comments.php', 			// Custom comments/pingback loop				'includes/theme-js.php', 				// Load JavaScript via wp_enqueue_script				'includes/sidebar-init.php', 			// Initialize widgetized areas				'includes/theme-widgets.php'			// Theme widgets				);
// Allow child themes/plugins to add widgets to be loaded.$includes = apply_filters( 'woo_includes', $includes );				foreach ( $includes as $i ) {	locate_template( $i, true );}
/*-----------------------------------------------------------------------------------*//* You can add custom functions below *//*-----------------------------------------------------------------------------------*/
if ( current_user_can('contributor') && !current_user_can('upload_files') )  { 
 function allow_contributor_uploads() {  $contributor = get_role('contributor');  $contributor->add_cap('upload_files');  }   add_action('admin_init', 'allow_contributor_uploads');   }



/*-----------------------------------------------------------------------------------*//* Don't add any code below here or the sky will fall down *//*-----------------------------------------------------------------------------------*/?>
این فایل به هم ریخته . فایل کدوم تم هست ؟! خودت کپی میکنی اینجوری میشه ؟! باید سطر های جدا داشته باشه الان معلوم نیست کجا رو کامنت گذاشته کجا کد اصلی .
فکر کنم این باید باشه .


PHP:
 <?php
/*-----------------------------------------------------------------------------------*/
/* Start WooThemes Functions - Please refrain from editing this section */
/*-----------------------------------------------------------------------------------*/
// Set path to WooFramework and theme specific functions
$functions_path = get_template_directory() . '/functions/';
$includes_path = get_template_directory() . '/includes/';
// Define the theme-specific key to be sent to PressTrends.
define( 'WOO_PRESSTRENDS_THEMEKEY', 'lt384huxazx27rvdk1mmm5byw4h73jrol' );
// WooFramework
require_once ($functions_path . 'admin-init.php' );            // Framework Init
/*-----------------------------------------------------------------------------------*//* Load the theme-specific files, with support for overriding via a child theme./*-----------------------------------------------------------------------------------*/
$includes = array(                'includes/theme-options.php',             // Options panel settings and custom settings  
              'includes/theme-functions.php',   
			  // Custom theme functions         
			  'includes/theme-plugins.php',       
			  // Theme specific plugins integrated in a theme    
			  'includes/theme-actions.php',          
			  // Theme actions & user defined hooks    
			  'includes/theme-comments.php',          
			  // Custom comments/pingback loop         
			  'includes/theme-js.php',             
			  // Load JavaScript via wp_enqueue_script   
			  'includes/sidebar-init.php',           
			  // Initialize widgetized areas       
			  'includes/theme-widgets.php'            // Theme widgets 
			  );
// Allow child themes/plugins to add widgets to be loaded.
$includes = apply_filters( 'woo_includes', $includes );  
              foreach ( $includes as $i ) {    locate_template( $i, true );}
/*-----------------------------------------------------------------------------------*//* You can add custom functions below *//*-----------------------------------------------------------------------------------*/
if ( current_user_can('contributor') && !current_user_can('upload_files') )  { 
 function allow_contributor_uploads() {  $contributor = get_role('contributor');  $contributor->add_cap('upload_files');  }   add_action('admin_init', 'allow_contributor_uploads');   }



/*-----------------------------------------------------------------------------------*//* Don't add any code below here or the sky will fall down *//*-----------------------------------------------------------------------------------*/?>
 

VEET

Registered User
تاریخ عضویت
27 می 2007
نوشته‌ها
725
لایک‌ها
287
پیج رنک گوگل چند وقت یکبار آپدیت میشه؟
 

mha1368

Registered User
تاریخ عضویت
8 ژوئن 2009
نوشته‌ها
2,443
لایک‌ها
1,033
سلام
به امید روزی که وب مسترا در شرایط یکسان با هم رقابت کنند:cool:
 

MihanV

مدیر بازنشسته
تاریخ عضویت
29 جولای 2010
نوشته‌ها
11,979
لایک‌ها
30,423
محل سکونت
کرج
بچه ها چجوری میرین youtube ؟ :دی
با ساکس هم فیلتره :(
ای پی شو هم نمیشه گرفت :دی
 

aalireza439

کاربر فعال وب مسترها
کاربر فعال
تاریخ عضویت
5 ژانویه 2009
نوشته‌ها
3,563
لایک‌ها
7,670
محل سکونت
Golestan

MihanV

مدیر بازنشسته
تاریخ عضویت
29 جولای 2010
نوشته‌ها
11,979
لایک‌ها
30,423
محل سکونت
کرج

logofun

Registered User
تاریخ عضویت
11 ژانویه 2011
نوشته‌ها
2,003
لایک‌ها
1,115
محل سکونت
همینـجـــــــــا

VEET

Registered User
تاریخ عضویت
27 می 2007
نوشته‌ها
725
لایک‌ها
287
من آدرس یوتیوب بدون فیلتر رو دارم ولی از اونجایی که ممکنه لو بره و پیلتر شه نمیگم :)
البته اون فیلتر شدش هم با وی پی ان ویدیو پخش میکنه ولی با ساکس نه
 

VEET

Registered User
تاریخ عضویت
27 می 2007
نوشته‌ها
725
لایک‌ها
287
خو اینجا نمیتونم بگم دیگه تو گوگل سرچ میشه پیدا میشه نه به کار من میاد نه تو :دی
یه پخ بده اومدم پا کامپیوتر یادم باشه بفرستم
 

balabala

کاربر قدیمی پرشین تولز
کاربر قدیمی پرشین تولز
تاریخ عضویت
22 می 2005
نوشته‌ها
8,362
لایک‌ها
5,745
سن
42
محل سکونت
یه خورده اونورتر
از سایت ممد برو، البته فکر کنم هنوز تاسیس نشده
smiley-character0032.gif
 

madman2011

Registered User
تاریخ عضویت
19 دسامبر 2011
نوشته‌ها
3,191
لایک‌ها
2,725
سن
31
دوستان وردپرس كار يه مشكلي برام پيش اومده :

از دوتا افزونه استفاده مي كنم كه با هم سازگاري ندارند

يه افزونه نصب كردم كه عكس هاي هر پست خودكار آپلود مي كنه رو هاست

حالا افزونه ديگه اولين عكس هر پست رو به عنوان تصوير شاخص استفاده ميكنه

مشكل اينجاست كه دومي نميذاره اولي كارشو انجام بده

يعني عكس دوم و سوم و.... بدون دردسر رو هاست آپلود ميشن

ولي عكس اولي كه اون افزونه به صورت خودكار ميذارتش واسه تصوير شاخص رو هاست آپلود نميشه


كسي مي تونه كمك كنه؟؟

مشكل از اينه Auto Post Thumbnail

اينو غير فعال مي كنم همه عكس ها آپلود ميشن

وقتي اين فعاله اولين عكس كه تصوير شاخص شده آپلود نميشه

افزونه ديگه اي نيست كه كار همينو بكنه؟؟ - تست كنم شايد جواب داد


بيا جلو

شايد كسي تجربه داشت
 
بالا