philmay
Forum Replies Created
-
Is it possible then to just make the plugin share the same tables? how hard would this be?
Forum: Plugins
In reply to: [Wordbooker] wordbooker is posting the wrong urli wish there was a way i could find out using phpmyadmin or examining the theme code because they take weeks to respond.
Forum: Plugins
In reply to: [Wordbooker] wordbooker is posting the wrong urlor does this give a hint?
function aitDirItemFeaturedImageMetabox() {
global $wp_meta_boxes;
// only if exist
if(isset($wp_meta_boxes[‘ait-dir-item’])){
foreach ($wp_meta_boxes[‘ait-dir-item’] as $contextName => $context) {
foreach ($context as $boxesName => $boxes) {
foreach ($boxes as $boxName => $box) {
if($boxName == ‘postimagediv’){
remove_meta_box( ‘postimagediv’, ‘ait-dir-item’, ‘side’ );
add_meta_box(‘postimagediv’, ‘Image for item’, ‘post_thumbnail_meta_box’, ‘ait-dir-item’, ‘normal’, ‘high’);Forum: Plugins
In reply to: [Wordbooker] wordbooker is posting the wrong urlwell, if i use the themes csv importer to import a listing, the featured image has to be in the column with the taxinomy “post_image”
would post_image then be the meta?
Forum: Plugins
In reply to: [Wordbooker] wordbooker is posting the wrong urlso if i find out that custom field i can set wordbooker to pull it?
Forum: Plugins
In reply to: [Wordbooker] wordbooker is posting the wrong urlyes i did. i understand its more than likely my theme. i am hoping to find out how to replace your links to /wp-content/plugins/wordbooker/includes/wordbooker_blank.jpg with <img src=”{thumbnailResize $post->thumbnailSrc, w => 300, h => 300}” alt=”{__ ‘Item image’}”> because i have no idea how else to do it. Then maybe i can just set it to use a defalt image and it will call the dynamic link instead of the static link to the image. I wish i knew js and php then i wouldnt be so lost
Forum: Plugins
In reply to: [Wordbooker] wordbooker is posting the wrong urlyeah that definitely does not work.
is it possible for me to change the link here for the blank image to use the dynamic image url above?
else { if (isset($wordbooker_settings['wordbooker_use_this_image'])) { $images[]=$wordbooker_settings['wb_wordbooker_default_image']; if ($flag==1) {wordbooker_debugger("No Post images found so using open graph default to keep Facebook happy ",'',$postid,90) ;} } else { $x=get_bloginfo('wpurl').'/wp-content/plugins/wordbooker/includes/wordbooker_blank.jpg'; $images[]=$x; if ($flag==1) {wordbooker_debugger("No Post images found so loading blank to keep Facebook happy ",'',$postid,90) ;}Forum: Plugins
In reply to: [Wordbooker] wordbooker is posting the wrong url# Grab the content of the post once its been filtered for display - this converts app tags into HTML so we can grab gallery images etc. $args = array( 'post_type' => 'attachment', 'numberposts' => -1, 'post_status' => null, 'post_parent' => $postid ); $postcontent2=""; $attachments = get_posts( $args ); if ( $attachments ) { foreach ( $attachments as $attachment ) { if ($attachment->post_type=='attachment') { $junk=wp_get_attachment_image_src( $attachment->ID,'wordbooker_og'); $og_image=$junk[0]; if(!isset($og_image)) { $junk=wp_get_attachment_image_src( $attachment->ID,'large'); $og_image=$junk[0]; } if(!isset($og_image)) {$og_image=wp_get_attachment_url($attachment->ID);} $post_content2 .= ' <img src="' . urlencode($og_image) . '"> '; } } }that looks like the spot i would have to plug in
<img src="{thumbnailResize $post->thumbnailSrc, w => 300, h => 300}" alt="{__ 'Item image'}">specifically line 1507 of wordbooker.php
i am probably wrong, but im going to try it and see what happens
Forum: Plugins
In reply to: [Wordbooker] wordbooker is posting the wrong urlmaybe i can stick that in the rating code somewhere so it shows in the box for every new rating
Forum: Plugins
In reply to: [Wordbooker] wordbooker is posting the wrong urli can certainly appreciate that.
there is nowhere i can just plug<img src="{thumbnailResize $post->thumbnailSrc, w => 300, h => 300}" alt="{__ 'Item image'}">to grab the correct image thumbnail? thats the code i got from the page itself that displays the individual items featured image thumbForum: Plugins
In reply to: [Wordbooker] wordbooker is posting the wrong urloh well, that sucks because your plugin is the only one i know of that could even hypothetically do this. I guess im going to have to hire someone to rewrite your plugin for me. thanks anyway
Forum: Plugins
In reply to: [Wordbooker] wordbooker is posting the wrong url
[Code removed by moderator – that’s too much code to post on these forums in any case – please see the forum rules re: posting code]Forum: Plugins
In reply to: [Wordbooker] wordbooker is posting the wrong urlif i were lucky enough to get the theme developers to look into the issue, what would they have to do to make the “rating” section fully compatible?or perhaps its possible to force the rating system to use the page url
Forum: Plugins
In reply to: [Wordbooker] wordbooker is posting the wrong urlwould it “hypothetically” work if i changed all occurrences of “get_permalink($post_id)” to “get_permalink($page_id)” in the plugin?
Forum: Plugins
In reply to: [Wordbooker] wordbooker is posting the wrong urltheme devs only ever offer support on installation and basic out of the box features. Even if it cant post to the raters timeline i still need it to pull the data from the page instead of the post. Isnt there some code you can direct me to that handles where it gets the data? or perhaps how to get wordbooker itself to use the pages url rather than the post url?