zguithues
Forum Replies Created
-
Forum: Plugins
In reply to: [WPBook] [Plugin: WPBook] bad permalink in facebookI just installed 2.2.3 and it works perfect!!
Thanks a bunch 🙂
Forum: Plugins
In reply to: [WPBook] [Plugin: WPBook] bad permalink in facebookthat makes sense John, thanks.
I tried the change you suggested and it didn’t effect the links. I even tried re-publishing the blogpost in order to rebuild the links, still no dice.
Thanks,
ZachForum: Plugins
In reply to: [WPBook] [Plugin: WPBook] bad permalink in facebookthanks for getting back…
i have and use a ssl cert on the site, i don’t believe that is the problem. The permalink it creates is (hxxps://ohioltc.comm/uncategorized/zachs-introduction/)
the script added a m after the baseurl.I DID IT!!!!
here is the changed code:
after “if ($mod_rewrite) {” on line 80$imgpath = get_option('zenphotopress_web_path') ."/albums/" . ZenphotoPressHelpers::pathurlencode($image[album_url]) . "/" . urlencode($image[url]); $albumpath = get_option('zenphotopress_web_path') ."/" . ZenphotoPressHelpers::pathurlencode($image[album_url]); $thumbpath = get_option('zenphotopress_web_path') . "/" . ZenphotoPressHelpers::pathurlencode($image[album_url]) . "/image/thumb/" . urlencode($image[url]); } else { $imgpath = get_option('zenphotopress_web_path') ."/index.php?album=" . ZenphotoPressHelpers::pathurlencode($image[album_url]) . "&image=" . urlencode($image[url]); $thumbpath = get_option('zenphotopress_web_path') . "/" . $zp_admin_dir . "/i.php?a=" . ZenphotoPressHelpers::pathurlencode($image[album_url]) . "&i=" . urlencode($image[url]) . "&s=thumb"; } if ($image[default_thumb]) { // The default thumbnail (e.g. for videos) behaves differently than others $thumbpath = get_option('zenphotopress_web_path') . "/" . $zp_admin_dir . "/i.php?a=.&i=" . urlencode($image[default_thumb]) . "&s=thumb"; } $out .= '<dt><a href="'.$imgpath.'" class="thickbox" rel="sidebar-12" title="'.$image[name].' | <a href='.$albumpath.' target=_blank>ALBUM LINK</a>"><img title="'.$image[name].'" alt="'.$image[name].'" src="'.$thumbpath.'" /></a></dt>';i didn’t edit the no-modrewrite area because it doesn’t apply to me, but it should be pretty easy.
i’m pretty proud of myself, thats the most php editing i’ve done.
Thanks again for the plugin,
-ZachG