| | |||||||
| Technology & Technical Skills Computer skills, hardware, software, internet topics, gadgets, programming |
|
Welcome to the Personal Development for Smart People Forums, the place for lively, intelligent discussion of all personal growth issues -- physical, mental, financial, social, emotional, spiritual, and more. You're currently viewing as a guest, which gives you limited read-only access. By joining our free community, you'll be able to post your own messages, access many members-only features, see the new messages posted since your last visit, and of course remove this header message. Registration is fast, simple, and free, so please join today. If you arrived here from a search engine, you may want to explore the main site first, which includes hundreds of deep and insightful articles on a variety of personal development topics. |
| | Thread Tools | Display Modes |
| | #31 (permalink) | |
| Senior Member Join Date: Oct 2006 Location: San Rafael, CA
Posts: 4,894
| Quote:
http://80.116.187.76/safaritest/1187133380-full.jpg | |
| | |
| | #32 (permalink) | |
| Senior Member Join Date: Oct 2006 Location: San Rafael, CA
Posts: 4,894
| Quote:
Actually, if you find it and are able to post a screenshot that might be easiest. By the way, just to illustrate, change ASDF in that cell in PhpMyAdmin to something else, like "TESTTEST" Then if you refresh the forums you'll see the value changes over there as well. Work day is about over.. I'll be back tomorrow if you are still working on things then. | |
| | |
| | #33 (permalink) |
| Senior Member Join Date: Mar 2007 Location: What of it?
Posts: 688
|
I've looked all over for it but can't find it, I'm not very familiar with this interface. I first checked on the phpmyadmin "homepage", but no ASDF cell there. Then I looked in my smf database, thought it would be under SMF_Topics, but nothing even close to my ASDF thread I created, am I even looking in the right place?
__________________ Lightning Shock - My Website Wordpress Mountain - Wordpress Resources and Community |
| | |
| | #35 (permalink) |
| Senior Member Join Date: Mar 2007 Location: What of it?
Posts: 688
| Yes, it showed two results for ASDF, one inside table "smf_log_search_subjects" And another inside inside table "smf_messages" EDIT: I think the messages one is correct (I can't post attachments, so how do you want to see the screen?)
__________________ Lightning Shock - My Website Wordpress Mountain - Wordpress Resources and Community Last edited by jamestl2; 08-15-2007 at 12:42 AM. |
| | |
| | #36 (permalink) |
| Senior Member Join Date: Mar 2007 Location: What of it?
Posts: 688
|
Ok I changed it through the SMF_messages table (to "test"), and the thread in my regular forum also changed to "test".
__________________ Lightning Shock - My Website Wordpress Mountain - Wordpress Resources and Community |
| | |
| | #37 (permalink) |
| Senior Member Join Date: Oct 2006 Location: San Rafael, CA
Posts: 4,894
|
We need to get wordpress to write to your SMF database when you publish a new post. It looks like Wordpress provides "hooks" as part of their API, here: Plugin API « WordPress Codex And here is a comprehensive list of action functions: WordPress 2.x Hooks for Action - Comprehensive List for Plugin and Theme Developers Let me review these for a few and we'll see what we can figure out.. You are using Wordpress version 2.x right? |
| | |
| | #38 (permalink) |
| Senior Member Join Date: Mar 2007 Location: What of it?
Posts: 688
|
These are very new to me also. I'll review them too and keep up the best I can Yes, I think so My exact version is 2.2 (the most up-to-date version)
__________________ Lightning Shock - My Website Wordpress Mountain - Wordpress Resources and Community |
| | |
| | #39 (permalink) |
| Senior Member Join Date: Oct 2006 Location: San Rafael, CA
Posts: 4,894
|
It looks like number 18 is what we want... publish_post wp-includes\functions-post.php line 182. Do you have a functions-post.php file in your wp-includes folder? I think this action list might be outdated - I am using 2.2 also and all I have in wp-includes is a functions.php file. |
| | |
| | #40 (permalink) | |
| Senior Member Join Date: Mar 2007 Location: What of it?
Posts: 688
| Quote:
Although I have a bunch of other files in it too (such as feed.php, plugin.php, along with about 50 more or so)
__________________ Lightning Shock - My Website Wordpress Mountain - Wordpress Resources and Community | |
| | |
| | #41 (permalink) |
| Senior Member Join Date: Oct 2006 Location: San Rafael, CA
Posts: 4,894
|
Also it looks like jjgallow - the author of the SMF bridge plugin - is pretty active here: WordPress › Support » Tags — wp-smf-a-simplemachines-bridge You might want to ask him your queston there too, about how to create a new SMF forum thread with the wordpress publish_post action. |
| | |
| | #43 (permalink) |
| Senior Member Join Date: Mar 2007 Location: What of it?
Posts: 688
|
Everything seems to be in order, after reinstalling both plugins.
__________________ Lightning Shock - My Website Wordpress Mountain - Wordpress Resources and Community |
| | |
| | #45 (permalink) |
| Senior Member Join Date: Mar 2007 Location: What of it?
Posts: 688
|
Is it in the wp-admin/post.php file? EDIT: If it's not here, it might be in the pluggable.php file
__________________ Lightning Shock - My Website Wordpress Mountain - Wordpress Resources and Community Last edited by jamestl2; 08-15-2007 at 08:07 PM. |
| | |
| | #47 (permalink) |
| Senior Member Join Date: Oct 2006 Location: San Rafael, CA
Posts: 4,894
| Kind of. Post.php is where it calls the function, here: Code: if ($post_status == 'publish' && $post_type == 'post') {
do_action('publish_post', $post_ID); |
| | |
| | #48 (permalink) |
| Senior Member Join Date: Mar 2007 Location: What of it?
Posts: 688
|
Basically I'm flying blind here, but I found this line of code about halfway through the wp-includes/post.php file (If it is even right?): Code: function wp_publish_post($post_id) {
$post = get_post($post_id);
if ( empty($post) )
return;
if ( 'publish' == $post->post_status )
return;
return wp_update_post(array('post_status' => 'publish', 'ID' => $post_id, 'no_filter' => true));
}
__________________ Lightning Shock - My Website Wordpress Mountain - Wordpress Resources and Community |
| | |
| | #50 (permalink) |
| Senior Member Join Date: Oct 2006 Location: San Rafael, CA
Posts: 4,894
|
I'm not going to have a chance to look at it any more today James, sorry. Our company is going to see No End In Sight | Charles Ferguson | Representational Pictures tonight, and then I have a dinner date. I'll be on tomorrow morning - or if anyone else is good with PHP feel free to jump in. |
| | |
| | #51 (permalink) |
| Senior Member Join Date: Mar 2007 Location: What of it?
Posts: 688
|
Alright, I'll probably be on tomorrow around 11 or 12 (my usual hours), for a good schedule to have. If there are any other tools I should make aware, let me know.
__________________ Lightning Shock - My Website Wordpress Mountain - Wordpress Resources and Community Last edited by jamestl2; 08-16-2007 at 02:02 AM. |
| | |
| | #55 (permalink) | |
| Senior Member Join Date: Oct 2006 Location: San Rafael, CA
Posts: 4,894
|
From WP_SMF Bridge Quote:
| |
| | |
| | #57 (permalink) |
| Senior Member Join Date: Mar 2007 Location: What of it?
Posts: 688
| Here is the link I installed the twin plugin straight onto my forums, nothing through wordpress. public_html > forums > smf_wordpress then I went through a procedure in my forum admin control panel to get it running.
__________________ Lightning Shock - My Website Wordpress Mountain - Wordpress Resources and Community |
| | |
| | #59 (permalink) |
| Senior Member Join Date: Mar 2007 Location: What of it?
Posts: 688
|
I downloaded the plugin (to my computer's HD), unzipped it, clicked on the packages link in the admin CP, then clicked "download packages" tab, browsed my computer for it, uploaded it to the admin CP, then installed it from the "install package" tab. At least that is how I think it went... (I'm unsure about when I unzipped it, most likely before I uploaded it to the admin CP)
__________________ Lightning Shock - My Website Wordpress Mountain - Wordpress Resources and Community |
| | |
| | #60 (permalink) | |
| Senior Member Join Date: Oct 2006 Location: San Rafael, CA
Posts: 4,894
| Quote:
ASDF | |
| | |
| Bookmarks |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Wordpress Related Posts Plugin | Cassie | Technology & Technical Skills | 1 | 08-14-2009 06:24 PM |
| Earn Passive Income While Web Surfing (Blog) | Steve Pavlina | Steve Pavlina | 80 | 05-11-2007 02:13 PM |
| Value of these Forums | impaul99 | Intention-Manifestation | 25 | 12-19-2006 03:07 PM |
All times are GMT. The time now is 12:20 AM.






