EasyTarget
Well-known member
EasyTarget submitted a new resource: WordPress get Last Forum Posts
Display the last forum posts in a WordPress widget
Read more
Display the last forum posts in a WordPress widget
Read more
I don't have a www folder, just a public_htmlThe widget runs correctly? and the links are broken, or the widget doesn't run at all?
If you are in root, i.e. something like
/home/yourusername/www/index.php
then you should be able to just put in a "/" or maybe "../" depending were the WordPress install is relative to your root and forums directory.
PM me a link to your website and I can double check. Thanks
public_html and www tend to be in the same location. Some versions of unix use www, some use public_htmlI don't have a www folder, just a public_html
Hi DD - this one shows the Forum posts on the WP-blog and not the other way around
I have already tried it
In the WordPress admin control panel -->Settings-->Last PostsI have my Wordpress installation in root and Xenforo forums in a subdomain called Community. Therefore, what would I need to enter inorder for this to work?
good point. Maybe I should append the title description.The title of this uses the word Last but it should be Latest.
It makes it harder to find.
Not sure what the Xenscripts - Xenforo Bridge does; but the requirements for this areI wanted to try this out but I can't get Wordpress 3.3.1 working with Xenscripts Xenforo bridge to even bother. Can't wait till that's udpated.
You would need to edit the code to make this happen;Great one - thanks for your fine work. Though would it be possible to make the posts link to the post in the Xenforum - opening in a new window? When I click a post an wordpress (can't finde page) site shows up?
All the best
Morten
return (self::$userOptions['forumDomain'] . "index.php?threads/" . str_replace(self::$arr_Needle, self::$arr_NewValue, $currentValue). "." . $id ."/" );
return (self::$userOptions['forumDomain'] . "index.php?threads/" . str_replace(self::$arr_Needle, self::$arr_NewValue, $currentValue). "." . $id ."/ target='_blank'" );
DON'T change that line. My mistake.You would need to edit the code to make this happen;
in the file cls/cls_getlastposts.php
on line 177 change from
$html_Lnk = New Link(array("href"=>$scrubbedTitle, "text"=>substr($feRow['title'],0,self::$userOptions["forumThreadLen"])));
$html_Lnk = New Link(array("href"=>$scrubbedTitle, "target"=>"_blank", "text"=>substr($feRow['title'],0,self::$userOptions["forumThreadLen"])));
I told you to edit the wrong line, I posted the correction above.Thanks for your help.
It still doesn't work.
I edited the file inside wordpress from the Admin Control Panel.
We use essential cookies to make this site work, and optional cookies to enhance your experience.