Færdiggjort

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]

Færdigheder: Javascript, MySQL, PHP, Web Skrabning, WordPress

Se mere: 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

Om arbejdsgiveren:
( 3 bedømmelser ) hyderabad, Saudi Arabia

Projekt-ID: #15632653

Tildelt til:

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 Mere

$20 USD in 0 dage
(506 bedømmelser)
7.1

10 freelancers are bidding on average $25 for this job

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 Mere

$20 USD på 1 dag
(588 bedømmelser)
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 Mere

$17 USD in 10 dage
(29 bedømmelser)
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 Mere

$17 USD in 10 dage
(54 bedømmelser)
5.0
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 Mere

$17 USD in 3 dage
(6 bedømmelser)
4.2
shahidabro8

A proposal has not yet been provided

$66 USD in 5 dage
(8 bedømmelser)
2.8
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 in 2 dage
(4 bedømmelser)
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 Mere

$17 USD på 1 dag
(6 bedømmelser)
2.9
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 Mere

$15 USD in 2 dage
(0 bedømmelser)
0.0
GreatAssist

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

$17 USD in 10 dage
(0 bedømmelser)
0.0