Personal Development for Smart People Forums

Personal Development for Smart PeopleTM Forums

 

Go Back   Personal Development for Smart People Forums > Personal Development > Technology & Technical Skills

Notices

Technology & Technical Skills Computer skills, hardware, software, internet topics, gadgets, programming

Reply
 
Thread Tools Display Modes
Old 08-15-2007, 12:18 AM   #31 (permalink)
Family Member
 
Join Date: Oct 2006
Location: San Rafael, CA
Posts: 4,896
Dan.Linehan will become famous soon enoughDan.Linehan will become famous soon enough
Default

Quote:
Originally Posted by jamestl2 View Post
Plus I wasn't sure if spaces would be alright in different web browsers, where their ad might appear, etc.
Here's a jpg of what your site looks like in Safari - from BrowsrCamp

http://80.116.187.76/safaritest/1187133380-full.jpg
Dan.Linehan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-15-2007, 12:21 AM   #32 (permalink)
Family Member
 
Join Date: Oct 2006
Location: San Rafael, CA
Posts: 4,896
Dan.Linehan will become famous soon enoughDan.Linehan will become famous soon enough
Default

Quote:
Originally Posted by jamestl2 View Post
Sorry, it sounded like a hypothetical board when you suggested “thread ASDF” and “post BCDE”, etc.

I created one on my forum (an "ASDF" thread)
NP - Now if you go back into PhpMyAdmin search around for a cell that says ASDF and see what the column header is. And what table its in.

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.
Dan.Linehan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-15-2007, 12:35 AM   #33 (permalink)
Senior Member
 
Join Date: Mar 2007
Location: What of it?
Posts: 724
jamestl2 is on a distinguished road
Default

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?
jamestl2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-15-2007, 12:36 AM   #34 (permalink)
Family Member
 
Join Date: Oct 2006
Location: San Rafael, CA
Posts: 4,896
Dan.Linehan will become famous soon enoughDan.Linehan will become famous soon enough
Default

Is there a search in PhpMyAdmin?
Dan.Linehan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-15-2007, 12:39 AM   #35 (permalink)
Senior Member
 
Join Date: Mar 2007
Location: What of it?
Posts: 724
jamestl2 is on a distinguished road
Default

Quote:
Originally Posted by Dan.Linehan View Post
Is there a search in PhpMyAdmin?
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?)

Last edited by jamestl2; 08-15-2007 at 12:42 AM.
jamestl2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-15-2007, 01:03 AM   #36 (permalink)
Senior Member
 
Join Date: Mar 2007
Location: What of it?
Posts: 724
jamestl2 is on a distinguished road
Default

Ok I changed it through the SMF_messages table (to "test"), and the thread in my regular forum also changed to "test".
jamestl2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-15-2007, 07:23 PM   #37 (permalink)
Family Member
 
Join Date: Oct 2006
Location: San Rafael, CA
Posts: 4,896
Dan.Linehan will become famous soon enoughDan.Linehan will become famous soon enough
Default

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?
Dan.Linehan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-15-2007, 07:26 PM   #38 (permalink)
Senior Member
 
Join Date: Mar 2007
Location: What of it?
Posts: 724
jamestl2 is on a distinguished road
Default

These are very new to me also.

I'll review them too and keep up the best I can

Quote:
Originally Posted by Dan.Linehan View Post
You are using Wordpress version 2.x right?
Yes, I think so My exact version is 2.2 (the most up-to-date version)
jamestl2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-15-2007, 07:31 PM   #39 (permalink)
Family Member
 
Join Date: Oct 2006
Location: San Rafael, CA
Posts: 4,896
Dan.Linehan will become famous soon enoughDan.Linehan will become famous soon enough
Default

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.
Dan.Linehan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-15-2007, 07:35 PM   #40 (permalink)
Senior Member
 
Join Date: Mar 2007
Location: What of it?
Posts: 724
jamestl2 is on a distinguished road
Default

Quote:
Originally Posted by Dan.Linehan View Post
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.
Yes, I have a functions.php file there.

Although I have a bunch of other files in it too (such as feed.php, plugin.php, along with about 50 more or so)
jamestl2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-15-2007, 07:36 PM   #41 (permalink)
Family Member
 
Join Date: Oct 2006
Location: San Rafael, CA
Posts: 4,896
Dan.Linehan will become famous soon enoughDan.Linehan will become famous soon enough
Default

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.
Dan.Linehan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-15-2007, 07:38 PM   #42 (permalink)
Family Member
 
Join Date: Oct 2006
Location: San Rafael, CA
Posts: 4,896
Dan.Linehan will become famous soon enoughDan.Linehan will become famous soon enough
Default

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.
Dan.Linehan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-15-2007, 07:48 PM   #43 (permalink)
Senior Member
 
Join Date: Mar 2007
Location: What of it?
Posts: 724
jamestl2 is on a distinguished road
Default

Everything seems to be in order, after reinstalling both plugins.
jamestl2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-15-2007, 07:57 PM   #44 (permalink)
Family Member
 
Join Date: Oct 2006
Location: San Rafael, CA
Posts: 4,896
Dan.Linehan will become famous soon enoughDan.Linehan will become famous soon enough
Default

I'm still looking for the publish_post function, its not in functions.php.
Dan.Linehan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-15-2007, 08:04 PM   #45 (permalink)
Senior Member
 
Join Date: Mar 2007
Location: What of it?
Posts: 724
jamestl2 is on a distinguished road
Default

Is it in the wp-admin/post.php file?

EDIT: If it's not here, it might be in the pluggable.php file

Last edited by jamestl2; 08-15-2007 at 08:07 PM.
jamestl2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-15-2007, 08:05 PM   #46 (permalink)
Family Member
 
Join Date: Oct 2006
Location: San Rafael, CA
Posts: 4,896
Dan.Linehan will become famous soon enoughDan.Linehan will become famous soon enough
Default

Hey here's a top ten list for ya

10 Things You Should Know About WordPress 2.2
Dan.Linehan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-15-2007, 08:08 PM   #47 (permalink)
Family Member
 
Join Date: Oct 2006
Location: San Rafael, CA
Posts: 4,896
Dan.Linehan will become famous soon enoughDan.Linehan will become famous soon enough
Default

Quote:
Originally Posted by jamestl2 View Post
Is it in the wp-admin/post.php file?
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);
But it doesn't actually define the function there, it just calls it.
Dan.Linehan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-15-2007, 08:17 PM   #48 (permalink)
Senior Member
 
Join Date: Mar 2007
Location: What of it?
Posts: 724
jamestl2 is on a distinguished road
Default

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));
}
jamestl2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-15-2007, 09:49 PM   #49 (permalink)
Family Member
 
Join Date: Oct 2006
Location: San Rafael, CA
Posts: 4,896
Dan.Linehan will become famous soon enoughDan.Linehan will become famous soon enough
Default

Just an update.. I will be in meetings for the next couple hours.
Dan.Linehan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-16-2007, 12:26 AM   #50 (permalink)
Family Member
 
Join Date: Oct 2006
Location: San Rafael, CA
Posts: 4,896
Dan.Linehan will become famous soon enoughDan.Linehan will become famous soon enough
Default

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.
Dan.Linehan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-16-2007, 01:43 AM   #51 (permalink)
Senior Member
 
Join Date: Mar 2007
Location: What of it?
Posts: 724
jamestl2 is on a distinguished road
Default

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.

Last edited by jamestl2; 08-16-2007 at 02:02 AM.
jamestl2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-16-2007, 06:30 PM   #52 (permalink)
Family Member
 
Join Date: Oct 2006
Location: San Rafael, CA
Posts: 4,896
Dan.Linehan will become famous soon enoughDan.Linehan will become famous soon enough
Default

I'm installing SMF and wordpress myself on a test domain now.
Dan.Linehan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-16-2007, 07:00 PM   #53 (permalink)
Family Member
 
Join Date: Oct 2006
Location: San Rafael, CA
Posts: 4,896
Dan.Linehan will become famous soon enoughDan.Linehan will become famous soon enough
Default

Forums setup - My Community - Index

Wordpress setup - Doh Blog

Installing the bridge plugins now..
Dan.Linehan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-16-2007, 07:03 PM   #54 (permalink)
Family Member
 
Join Date: Oct 2006
Location: San Rafael, CA
Posts: 4,896
Dan.Linehan will become famous soon enoughDan.Linehan will become famous soon enough
Default

Man.. these SMF plugins are a mess.
Dan.Linehan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-16-2007, 07:06 PM   #55 (permalink)
Family Member
 
Join Date: Oct 2006
Location: San Rafael, CA
Posts: 4,896
Dan.Linehan will become famous soon enoughDan.Linehan will become famous soon enough
Default

From WP_SMF Bridge

Quote:
The new Twin plugin can be downloaded here: (make sure your versions match up!)
Does that mean its both in one? Sigh..
Dan.Linehan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-16-2007, 07:25 PM   #56 (permalink)
Family Member
 
Join Date: Oct 2006
Location: San Rafael, CA
Posts: 4,896
Dan.Linehan will become famous soon enoughDan.Linehan will become famous soon enough
Default

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?
Dan.Linehan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-16-2007, 07:58 PM   #57 (permalink)
Senior Member
 
Join Date: Mar 2007
Location: What of it?
Posts: 724
jamestl2 is on a distinguished road
Default

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.
jamestl2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-16-2007, 08:29 PM   #58 (permalink)
Family Member
 
Join Date: Oct 2006
Location: San Rafael, CA
Posts: 4,896
Dan.Linehan will become famous soon enoughDan.Linehan will become famous soon enough
Default

Back from lunch..

WP_SMF Bridge is Connected.

Could you be more specific here...

Quote:
then I went through a procedure in my forum admin control panel to get it running.
Dan.Linehan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-16-2007, 08:41 PM   #59 (permalink)
Senior Member
 
Join Date: Mar 2007
Location: What of it?
Posts: 724
jamestl2 is on a distinguished road
Default

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)
jamestl2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-16-2007, 08:48 PM   #60 (permalink)
Family Member
 
Join Date: Oct 2006
Location: San Rafael, CA
Posts: 4,896
Dan.Linehan will become famous soon enoughDan.Linehan will become famous soon enough
Default

Quote:
The package was installed successfully. You should now be able to use whatever functionality it adds or changes; or not be able to use functionality it removes.
Doing test forum post..

ASDF
Dan.Linehan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
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) Savage 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 05:07 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2010 by Pavlina LLC