| | |||||||
| 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 |
| |||
| Quote:
http://80.116.187.76/safaritest/1187133380-full.jpg |
| |||
| 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. |
| |||
|
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 |
| |||
| 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. |
| |||
|
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 |
| |||
|
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? |
| |||
|
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 |
| |||
|
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. |
| |||
| 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 |
| |||
|
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. |
| |||
|
I would double check that your two part SMF bridge is fully installed as well. You may want to deactivate, remove and reinstall to make sure.
|
| |||
|
Everything seems to be in order, after reinstalling both plugins.
__________________ Lightning Shock - My Website Wordpress Mountain - Wordpress Resources and Community |
| |||
|
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. |
| |||
| |
| |||
| 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); |
| |||
|
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 |
| |||
|
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. |
| |||
|
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. |
| |||
|
From WP_SMF Bridge Quote:
|
| |||
|
James, can you send me the download link you used for WP-SMF wordpress plugin? Also, what folder did you install the "twin plugin" (SMF_Wordpress) into on your SMF forums? |
| |||
| 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 |
| |||
|
Back from lunch.. WP_SMF Bridge is Connected. Could you be more specific here... Quote:
|
| |||
|
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 |
| |||
| 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 06:07 AM.






