SEOClerks

Wordpress Plugin to fix/Modify/Customize

Wordpress Plugin to fix/Modify/Customize

Plugin to customize: http://wordpress.org/plugins/wiki-embed

This plugin create a wordpress page showing wikipedia content using a shortcode like this:?[wiki-embed url=http://it.wikipedia.org/wiki/Alta_montagna no-contents no-edit no-infobox]

but have some problem to fix:

When a user follow a link of this page the plugin continue his work showing the new wikipedia page like a wordpress site page and i prefer if it ask for create a new post and not a new page

The plugin also send me mail asking if I need to add this new page in the wordpress page but in this moment the plugin send me a bad url (too long)

this is the text of mail: (in bold the part of url not likned)


A User stumbled apon a page that is currently not a part of the site.
This is the url that they visited - http://www.bionotizie.com?wikiembed-url=http%3A%2F%2Fit.wikipedia.org%2Fwiki%2FOceano&wikiembed-title=bioma+marino

You have a few options:

Fix the problem by:
Creating a new page - and adding the shortcode
Go to http://www.xxx.com/wp-admin/post-new.php?post_type=page&post_title=bioma marino&content=[wiki-embed url=http://it.wikipedia.org/wiki/Oceano no-contents no-edit no-infobox]

Here is the shorcode that you might find useful:
[wiki-embed url=http://it.wikipedia.org/wiki/Oceano no-contents no-edit no-infobox]

Then go to the Wiki-Embed list and add a Target URL to point to the site
http://www.xxx.com/wp-admin/admin.php?page=wiki-embed&url=http://it.wikipedia.org/wiki/Oceano

and place the link that is suppoed to take you to the page that you just created.


Requirements

Now I receive a mail with url like this where the bold text is no clickable: http://www.xxx.com/wp-admin/post-new.php?post_type=page&post_title=bioma marino&content=[wiki-embed url=http://it.wikipedia.org/wiki/Oceano no-contents no-edit no-infobox]

1: TO FIX: I need one mail with full clickable url so i can't click and add new page

I have tryed to change post_type=page with post_type=post when i past the url in the browser and it work fine. But if try to do this mod in the php script then i have a a problem with wordress back end that become white. I must disable the plugin via ftp or modify it again.

2: TO CUSTOMIZE: I wish work with POST not PAGE


Skills Required

Wordpress

Bids

No bids made yet - be the first!

Bid On Listing

Bid On Listing Created 12 years ago in Programming

Other jobs by francesco1970

Order Now
Process Time: 0.052042007446289

Possible Duplicate queries found!
MatchCountSQLScript
SELECT * FROM wanttobuy A, categories_wanttobuy B, seoclerks.members C WHERE A.wantid='10823' AND A.category=B.CATID AND A.USERID=C.USERID1SELECT A.*, B.name, B.seo, C.username, C.userlevel, C.footer_code, C.rating, C.ratingcount, C.googleplus_profile, C.total_recommendations, C.USERID, C.profilepicture, C.average_response_time, C.lastlogin, C.addtime FROM wanttobuy A, categories_wanttobuy B, seoclerks.members C WHERE A.wantid='10823' AND A.category=B.CATID AND A.USERID=C.USERID

/opt/clerks-staging/docroot/viewwant.php 163 () ()

SELECT * FROM seoclerks.members_recommendations WHERE USERID=30618 AND status=1 ORDER BY MRID DESC limit 11SELECT recommendation_text, FROMID, time_added FROM seoclerks.members_recommendations WHERE USERID=30618 AND status=1 ORDER BY MRID DESC limit 1

/opt/clerks-staging/docroot/include/functions/main.php 21955 getLastRecommendation() ()

SELECT * FROM seoclerks.members WHERE USERID='685620'1SELECT username FROM seoclerks.members WHERE USERID='685620'

/opt/clerks-staging/docroot/include/functions/main.php 1577 insert_get_username_from_userid() ()

SELECT * FROM ratings_buyer WHERE USERID=306181SELECT sum(good) as thumbup, sum(bad) as thumbdown FROM ratings_buyer WHERE USERID=30618

/opt/clerks-staging/docroot/include/functions/main.php 19523 GetRatingsAsBuyerTotal() ()

SELECT * FROM wanttobuy A, categories_wanttobuy B WHERE A.wantid != 10823 AND A.category=B.CATID AND A.active=1 AND (A.tags like '%Wordpress%' ) LIMIT 41SELECT A.wantid, A.title, A.p1, A.maxprice, B.name, B.seo FROM wanttobuy A, categories_wanttobuy B WHERE A.wantid != 10823 AND A.category=B.CATID AND A.active=1 AND (A.tags like '%Wordpress%' ) LIMIT 4

/opt/clerks-staging/docroot/viewwant.php 551 () ()

SELECT * FROM wanttobuy A, categories_wanttobuy B WHERE A.wantid != 10823 AND A.category=B.CATID AND A.active=1 AND A.USERID=30618 LIMIT 41SELECT A.wantid, A.title, A.p1, A.maxprice, B.name, B.seo FROM wanttobuy A, categories_wanttobuy B WHERE A.wantid != 10823 AND A.category=B.CATID AND A.active=1 AND A.USERID=30618 LIMIT 4

/opt/clerks-staging/docroot/viewwant.php 568 () ()

SELECT * FROM wantcomments a, seoclerks.members b WHERE a.PID='10823' AND a.USERID=b.USERID and b.status='1' AND a.status=1 order by a.CID asc1SELECT a.comment, a.USERID, a.CID, a.time_added, a.istranslated, a.parentid, b.username, b.profilepicture FROM wantcomments a, seoclerks.members b WHERE a.PID='10823' AND a.USERID=b.USERID and b.status='1' AND a.status=1 order by a.CID asc

/opt/clerks-staging/docroot/viewwant.php 835 () ()

UPDATE wanttobuy SET viewcount = viewcount + 1 WHERE wantid='10823'1UPDATE wanttobuy SET viewcount = viewcount + 1 WHERE wantid='10823'

/opt/clerks-staging/docroot/include/functions/main.php 1729 update_wantviewcount() ()

SELECT * FROM wantbids as w, seoclerks.members AS m WHERE w.active=1 AND m.USERID=w.USERID AND m.status=1 AND w.USERID>0 AND w.wantid='10823' ORDER BY w.bidid ASC 1SELECT w.bidid, w.PID, w.comment, w.title, w.pricepublic, w.USERID, w.adjustedprice, w.ip, m.profilepicture FROM wantbids as w, seoclerks.members AS m WHERE w.active=1 AND m.USERID=w.USERID AND m.status=1 AND w.USERID>0 AND w.wantid='10823' ORDER BY w.bidid ASC

/opt/clerks-staging/docroot/viewwant.php 1192 () ()

SELECT * FROM categories_wanttobuy1SELECT * FROM categories_wanttobuy

/opt/clerks-staging/docroot/libraries/adodb5/adodb.inc.php 1899 CacheExecute() parseRedundantQueriesCache()

SELECT * FROM posts WHERE USERID=306181SELECT sum(positive_ratings) as thumbup, sum(negative_ratings) as thumbdown FROM posts WHERE USERID=30618

/opt/clerks-staging/docroot/libraries/adodb5/adodb.inc.php 1899 CacheExecute() GetBuyerRatingsTotal()

SELECT * FROM categories1SELECT * FROM categories

/opt/clerks-staging/docroot/libraries/adodb5/adodb.inc.php 1899 CacheExecute() parseRedundantQueriesCache()

select * from categories_software order by name asc1select * from categories_software order by name asc

/opt/clerks-staging/docroot/libraries/adodb5/adodb.inc.php 1899 CacheExecute() insert_GetSoftwareCategories()

select * from categories_wanttobuy order by name asc1select * from categories_wanttobuy order by name asc

/opt/clerks-staging/docroot/libraries/adodb5/adodb.inc.php 1899 CacheExecute() insert_get_wantcategories()

select * from categories_wanttotrade order by name asc1select * from categories_wanttotrade order by name asc

/opt/clerks-staging/docroot/libraries/adodb5/adodb.inc.php 1899 CacheExecute() insert_get_tradecategories()

SELECT * FROM seoclerks.members WHERE USERID='30618'1SELECT profile_data FROM seoclerks.members WHERE USERID='30618'

/opt/clerks-staging/docroot/include/functions/main.php 1927 getUserBackground() include()

Invalid SQL

count(*)sql1error_msg

Expensive SQL

Tuning the following SQL could reduce the server load substantially
LoadCountSQLMaxMin

Suspicious SQL

The following SQL have high average execution times
Avg TimeCountSQLMaxMin
4.1642891SELECT A.*, C.username, C.profilepicture, C.userlevel, C.ratingcount, C.rating, C.lastlogin, C.ip, C.lip, C.profile_data from posts A, seoclerks.members C WHERE A.active=1 AND A.USERID=C.USERID AND A.sold_out=0 AND category IN (42,64,90) AND gtags like'%Usa%' AND type !=99 AND A.feat=0 AND A.catfeatured_upgrade=0 order by A.lastgigedit desc limit 0, 404.1642894.164289
0.1002691SELECT * FROM members WHERE show_freelancer = 1 AND status = 1 AND total_recommendations > 0 AND (skills LIKE '%whitebackground%') ORDER BY total_recommendations desc LIMIT 0,400.1002690.100269
0.0981491SELECT * FROM members WHERE show_freelancer = 1 AND status = 1 AND total_recommendations > 0 AND (skills LIKE '%Captcha%') ORDER BY total_recommendations desc LIMIT 0,400.0981490.098149