完了

modify the php the script wordpress plugin

I have this plugin, through this i'm scraping the data.

[login to view URL]

I'm able to scrape succesfull all page data, but when i'm scraping Email ID which protected with cloudflare. its showing coded email. and i'm using below script to decode.

<script type="text/javascript">

/* <!--[CDATA[ */

var e, r, n, i, a = jQuery(".__cf_email__").data("cfemail");

for (e = "", r = parseInt([login to view URL](0, 2), 16), n = 2; [login to view URL] - n; n += 2) i = parseInt([login to view URL](n, 2), 16) ^ r, e += [login to view URL](i);

jQuery(".__cf_email__").parent().text(e);

/* ]]--> */

</script>

but this script its working only in browser base. when i'm checking in wordpress backend email id its not showing.

I have tried adding the php function like but it doesnt work. Please anyone can help to sort us this problem.

Copy the function as public function anywhere you want in [login to view URL]

public function deCFEmail($c){

$k = hexdec(substr($c,0,2));

for($i=2,$m='';$i<strlen($c)-1;$i+=2)$m.=chr(hexdec(substr($c,$i,2))^$k);

return $m;

}

Find this line on [login to view URL]

$meta_input[$key] = $value;

Add these code lines before that:

if($key == "your_custom_meta_field_name") {

$value = $this->deCFEmail($value);

}

And in your visual selector create a custom field for that e-mail area and select it. Replace your_custom_meta_field_name with the name you have given in this option.

attached is the plugin

the website i'm trying is

[login to view URL]

[login to view URL]

スキル: Javascript, MySQL, PHP, ウェブ記事のスクラップ, Wordpress

さらに表示: https://codecanyon.net/item/freelance-dashbo, https://codecanyon.net/item/freelance-dashboard-project-management-crm-software, https://codecanyon.net/item/freelance-dashboard-project-management-crm-software/9828734, wordpress page code editor, how to use advanced code editor wordpress, wordpress theme editor plugin, best wordpress theme editor plugin, wordpress file editor plugin, how to create plugin in wordpress step by step, wordpress plugin editor missing, wordpress code editor plugin, turn php script wordpress plugin, php script wordpress plugin, convert existing php script wordpress plugin, make php script wordpress plugin, convert php script wordpress plugin, send ecard php script wordpress, modify php script php, convert script wordpress plugin, integrate php script wordpress flickr

採用者について:
( 7件のレビュー ) hyderabad, Saudi Arabia

プロジェクトID: #15632653

アワード:

devikagupta

hello sir, i can do your project.... please accept my bid so that i can start it... i m expert in this type of project... u can also see my portfolio... please sir accept my bid.. please hope u will do i m waiting f もっと

$20 USD 0日以内
(556レビュー)
7.2

8人のフリーランサーが、このジョブに平均$21で入札しています

PhungTran

Hi, I can parse email value for you by php code. Please hire me. I'm ready to work right now. This job can be done in 2 hours. Relevant Skills and Experience Expert developer with 7 years exp Proposed Milestones $20 もっと

$20 USD 1日以内
(664件のレビュー)
7.2
ieota

Hi there, Thanks for sharing your requirements on Freelancer as I have gone through your job post and well understood your requirements and I am confident to work with you. Relevant Skills and Experience Our Portfolio もっと

$17 USD 10日以内
(57件のレビュー)
6.0
amjadali4888

Hi i have read project description and i am interested to do interesting project please give me chance to work on this project Relevant Skills and Experience Javascript, MySQL, PHP, Web Scraping, WordPress Proposed もっと

$17 USD 10日以内
(65件のレビュー)
5.1
strawmedia

I have reviewed your requirements and completely understand it. I am an expert and professional in my field. I can develop your preconceived website consisting of your intended pages and features. Here are some of m もっと

$17 USD 3日以内
(7件のレビュー)
4.2
iusmanadil

Hey there, I can do this with ease as I'm experienced Full Stack developer, working from last 6 years. TBH your budget doesn't match your requirement. Let's discuss this project further in a chat.

$43 USD 2日以内
(6件のレビュー)
3.2
hungvotan

with 10 years experience in Wordpress, PHP, Woocommerce, SEO. I can help you finish projects which you probose. Please give me skype address. we can communicate each other easily. Relevant Skills and Experience with 1 もっと

$17 USD 1日以内
(6件のレビュー)
2.9
GreatAssist

bh v Relevant Skills and Experience bh Proposed Milestones $17 USD - hf bhf

$17 USD 10日以内
(0件のレビュー)
0.0