Kapalı

modify the php the script wordpress plugin

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

[url removed, login to view]

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([url removed, login to view](0, 2), 16), n = 2; [url removed, login to view] - n; n += 2) i = parseInt([url removed, login to view](n, 2), 16) ^ r, e += [url removed, login to view](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 [url removed, login to view]

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 [url removed, login to view]

$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

[url removed, login to view]

[url removed, login to view]

Beceriler: Javascript, MySQL, PHP, Web Scraping, WordPress

Daha fazlasını görün: 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, 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, turn php script wordpress plugin, php script wordpress plugin, convert existing php script wordpress plugin, make php script wordpress plugin

İşveren Hakkında:
( 3 değerlendirme ) hyderabad, Saudi Arabia

Proje NO: #15632653

10 freelancer bu iş için ortalamada 25$ teklif veriyor

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 Daha fazlası

1 gün içinde 20$ USD
(587 Değerlendirme)
7.0
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 Daha fazlası

in 0 gün içinde20$ USD
(506 Değerlendirme)
7.1
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 Daha fazlası

in 10 gün içinde17$ USD
(29 Değerlendirme)
5.5
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 Daha fazlası

in 10 gün içinde17$ USD
(53 Değerlendirme)
4.9
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 Daha fazlası

in 3 gün içinde17$ USD
(6 Değerlendirme)
4.2
shahidabro8

A proposal has not yet been provided

in 5 gün içinde66$ USD
(8 Değerlendirme)
2.8
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 Daha fazlası

1 gün içinde 17$ USD
(6 Değerlendirme)
2.9
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.

in 2 gün içinde43$ USD
(3 Değerlendirme)
2.1
mfaisal990

we are interested in your [url removed, login to view] are good in web development we have a 5 year experience. we will improve your [url removed, login to view] give us a chance your own project. Relevant Skills and Experience I'm Expert in Word Press Pr Daha fazlası

in 2 gün içinde15$ USD
(0 Değerlendirme)
0.0
GreatAssist

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

in 10 gün içinde17$ USD
(0 Değerlendirme)
0.0