SMF & WordPress

Started by Stixsmaster, March 31, 2007, 08:15:55 PM

Previous topic - Next topic

JonnyNero

I've skimmed through this thread, and with my blog the only users I have sign up are  people who contribute to the blog.  So this type of integration is not needed for my use.

However, waaaaayyyy back in 2007 someone mentioned the need for a plug in to post an article from WP into SMF, and it was shot down because of priorities.  Has anything been done towards that kind of plug in yet?

jesustm6

hello guys, I have a problem with this mod: SMF_Wordpress. When is active and I try to post a new topic or some other actions, SMF returns me an empty page only with "Hacking attempt...". I have SMF 1.1.7

In the error's log show me messages like this:


Quotehxxp:foro.micoalcoman.com/index.php?action=packages;sa=uninstall2;package=SMF_Wordpress.zip [nonactive]

    2: Cannot modify header information - headers already sent by (output started at /home/content/j/e/s/jesustm6/html/foro/Sources/SMF_Wordpress.php:1)
    Archivo: /home/content/j/e/s/jesustm6/html/foro/Sources/Subs.php
    Línea: 3208


or

Quote

    hxxp:foro.micoalcoman.com/index.php?action=packages [nonactive]

    2: Cannot modify header information - headers already sent by (output started at /home/content/j/e/s/jesustm6/html/foro/Sources/SMF_Wordpress.php:1)
    Archivo: /home/content/j/e/s/jesustm6/html/foro/Sources/Subs.php
    Línea: 3205


If I uninstall the mod everything goes fine, but I really want that mod to make a bridge with wordpress

Thanks in advance for your help.

D9r

#362
Quote from: JonnyNero on January 10, 2009, 11:25:20 AM
However, waaaaayyyy back in 2007 someone mentioned the need for a plug in to post an article from WP into SMF, and it was shot down because of priorities.  Has anything been done towards that kind of plug in yet?

Google is your friend  ;)  www.google.com/search?q=wordpress+smf+forum+post [nofollow]
QuoteWordpress Post to SMF [nofollow]
Version: 1.5 This plugin adds Wordpress posts as topics in SimpleMachines Forum 1.1.7, and links the WP post to the comments in the forum.
http://wordpress.org/extend/plugins/post-to-smf-forum/ [nofollow]

comesee

I have smf 1.17 and wp 2.7 , i cant intregate why. my pages go blank. please attach plugin and mod.

BYTE-Smasher

I'm gonna be a complete and utter noob here and not bother reading through this entire thread. Can someone please point me to the mods needed to integrate SMF 2.0 with Wordpress 2.7.1? I simply want my forum users to be able to post comments on my blog without having to enter user info. It's not really a big thing... but it would be nice to have :)

iwrite

Sorry I like to understand a few things about SMF WP integration

1. say my wordpress is in _wp db, do I need to put it in the same db before I can integrate it.
2. if I want to make the forum wrap around my blog, meaning look like part of my blog what program can I use to customise. (prefer to be free of charge)
3. where do I upload the wp_smf bridge to?

You see I am new to this and I hope someone would be able to guide me along. by the way what is the difference between mod and theme? Should I upload to my host?

af3

#366
There was work by jjgalow on the bridges but this has been abandoned (due to SMF GPL issues?) and no longer works with either the latest smf or wp2.7 or wpmu2.7, or both.

I think the interest in this WP/SMF bridge is growing, given the popularity of Wp and SMF too -- appreciate those with WP and SMF  skills can share how their bridge work, or how the existing bridge can be updated to work with latest releases. cheers

BYTE-Smasher

I've hacked together a quick SMF 2.0 + Wordpress 2.7 DIY mod that allows logged in SMF users to post Wordpress comments using their SMF credentials:

In your wordpress template's comments.php file, add this at the begining:

<?php
require_once("/path/to/smf/forum/SSI.php");
global 
$context;
?>



Then, further down in the same file, find the folowing:

<?php if ( $user_ID ) : ?>

<p><small>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity?></a>. <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="Log out of this account">Log out &raquo;</a></small></p>

<?php else :?>


paste this after the else statement line:

<?php
if ($context["user"]["is_logged"]){
?>

<input type="hidden" name="author" id="author" value="<?php echo $context["user"]["username"]; ?>"/>
<input type="hidden" name="email" id="email" value="<?php echo $context["user"]["email"]; ?>"/>
        <?php
}else{
?>



Then scroll down a bit until you see this:

<p><input type="text" name="email" id="email" value="<?php echo $comment_author_email?>" size="22" tabindex="2" <?php if ($req) echo "aria-required='true'"?> />
<label for="email"><small>Mail (will not be published) <?php if ($req) echo "(required)"?></small></label></p>

and add this after it:
<?php }?>

This is an incomplete hack... I haven't added the SMF user's Website URL, because I didn't know where in the SMF api to retrieve it. I'll post back when I find it, or one of you kind people can inform me :p

I should also note: In my case, I had to enable subdomain independent cookies in the SMF admin, as my forum is installed to a subdomain.

af3

If you are using the previous mods wp/smf and smf/wp, users db are actually integrated; so users can comments in wp posts / forum. The mods work for previous wp version, also still works for wpmu2.7/wp2.7 + smf1.18 but smf users database has to be integrated manually from wp plugin dashboard.

would be great if this is fixed... anyone?

the mods are in the other threads in this bridge forum.


midiof[f]

i am newbie with wordpress where can i use functions?
Quote
SMF_EnSonMesajlar($limit=10,$before_all,$before_message,$after_message,$after_all)
You can show last SMF forum messages topics on wordpress.

or

SMF_EnSonBasliklar($limit=10,$before_all,$before_message,$after_message,$after_all) 
You can show last SMF forum topics on wordpress.


where can i paste this code?

i need  to load one category with post and i dont know how can i do
i need any example or explain to for n00b :D

i first times using the wordpress and  it is initially opaque for me
thx
Yaarar clan Azure L2 [nofollow] Admin

af3

addd this in your wordpress template that you are using -- this should be in the readme.txt
on wordpress questions; try http://wordpress.org

midiof[f]

Quote from: af3 on March 05, 2009, 12:06:03 PM
addd this in your wordpress template that you are using -- this should be in the readme.txt
on wordpress questions; try http://wordpress.org [nofollow]
thx for link i founded it for long days :P
i read all but nothing support with this plugin and on smf support dont have it in downloadds not support from SMF !!, i thing.
instalation have good descript i have this is ok, but dont have how i use it

if , but why didnt wrote it ?
where file is it in template? i have lot of files :D
404.php , archive.php , archives.php ,  comments.php , index.php ,  etc.
where is file and where i paste simple code it is wery simple question
i trying all 2 days and i dont know what i doing false

but i thing this files are  codes not for users , users wrote in to DB

i tryed mambo+smf , it is very simple , wp i dont know how worked but is realy userfrendly

do u use wp+smf realy?
Yaarar clan Azure L2 [nofollow] Admin

Orstio

Quote from: af3 on February 24, 2009, 01:18:54 PM
There was work by jjgalow on the bridges but this has been abandoned (due to SMF GPL issues?) and no longer works with either the latest smf or wp2.7 or wpmu2.7, or both.

For the record, jjgallow didn't face any licensing issues.  He didn't have time to keep up the work.

His bridge should still work with any SMF 1.1.x forum.  I can't say it will work with the latest WP versions, however.

His work was open source, so I'm sure if somebody wanted to upgrade it, the community would be grateful.

af3

Osrtio - glad that this is cleared up. Hopefully someone can pick up from where jjgallow left.. such a superb plugin; just need to keep up with the upgrades. i'm not upgrading wp due to this :-) and still learning as well..

af3

Quote from: midiof[f] on March 05, 2009, 03:14:12 PM
do u use wp+smf realy?

yes, using wpmu2.65 and this bridge. works ok at http://kadazandusun.my

RoyalC

is there any chance to have a real fonctionally bridge for wp 2.7.1 and SMF 2.0 ??

i'm trying to integrate it but can't find  a SMF_Wordpress package that work under smf 2.0 (alway put in unknow pakage !!!) i'm probably noob in smf (i'm coming from vbb ) and there is probably a thing to do to make it right.

i using this : SMF_Wordpress_1.09.25.zip and WP_SMF_1.09.zip but under wp 2.7.1 WP_SMF_1.09.zip make and error and plugins can't install.

Thanx for your help and please excuse for bad english it's not my first language.

af3

i dont think there is any updates on the bridge... unless someone comes out to volunteer continue the earlier work on this. try using simplepress forum http://simplepressforum.com

Jim R

Would love a bridge. 

SpeedForums

Hello, how are you doing? :)
Well, as the title says I need to integrate users of WordPress (2.7) and SMF (2.0 RC1-1), Does anybody know how to do that? It is for this site http://aereoo.com, joining this forum's users http://aereoo.com/foro.

Greetings and thank you very much! D

drroot

any update for smf 1.1.10?

Advertisement: