On these pages are my WordPress plugins, the odd article and my Support Forum.

For my random rantings on everything else please visit my blog at Yellow Swordfish

WP Plugins


Articles

If you find any of my plugins useful, please comsider a donation towards my running costs.

Thank you

In preparation for the release of Simple:Press Version 4.0, the Support Forum has moved to a new site dedicated to the plugin. This will also be the future home for Simple:Press Forum.


Version 3.1.4 will still be available for download here in the short term.


For the support forum - and to visit our new site and to get details of version 4.0, click on the logo to take you to simplepressforum.com

This forum is currently locked - access is read only
Current User: Guest
Please consider registering

 
Search Forums:


 




problems and questions =>1.3

UserPost

3:24 pm
26 Jan 2007


ovizii

Member

posts 114

1

hello andy,

as I did not find the download link for 1.4 I tried copying 1.3 over 1.2 and started testing her: http:/zice.ro/forum/

a) I do not understand why, when starting a new topic, I can input a title and a text, I thought writing a topic would also include a first post. But this text I can input when starting a topic, will never be displayed anywhere?
so basically someone who is used to other forum software, will find it strange, that the text they just inputed disappears.

b) I answered my own topic, there is actually just one topic and 2 posts, but the forum seems not to display anyone of them…

could you have a look, maye post as guest or register? it might just me at fault.

3:58 pm
26 Jan 2007


Yellow Swordfish

Admin

Peterborough, England

posts 5252

2

Now that’s a real worry and the first problem I’ve heard of this kind. I’m also a little stumped. I don’t like the way the start and end dates are also missing from the topic list - yet the system knows there are two posts. Weird.

First question has to be - since upgrading, have you been into your manage options admin panel and perfomed an update there. I don’t believe this should have a bearing but it is worth a try - there were some new options introduced although they all have default values. After that it might be worth re-uploading to make sure nothing got lost or twisted. Again, I don’t believe this is the problem as if things were lost you would be getting error messages - but, if error reporting is turned off by your host then it might be the reason.

Definately want to try and sort this one out though…

4:17 pm
26 Jan 2007


ovizii

Member

posts 114

3

ok,

at first here are the 2 modifications I made - changed 8px to 10px so I can actually read some of the smaller stuff ;-) and changed this line: define(’SFUSERS’, ‘users’); as thats were my users are kept. all users of my wpmu install, so if a user is registered on any blog, he can post in any other forum…

regarding the admin backend: I do not see any differences but it says: Simple Forum (Version 1.3) - Manage forums / options what should be there in 1.3 that would be missing in 1.2 ?

what do you suggest, should I deinstall it using that option, then delete the folder, reupload and reinstall (activate)?

4:24 pm
26 Jan 2007


Yellow Swordfish

Admin

Peterborough, England

posts 5252

4

define(’SFUSERS’, ‘users’)

Does your users table not have a prefix? This would explain the problem as the forum posts table performs a join on the users table. And if your error reporting turned off you wont be getting the database error statement.

I thought ALL installations, single user or MU, required a prefix?

4:53 pm
26 Jan 2007


ovizii

Member

posts 114

5

sorry for not mentioning those changes in my first post :-[

the reason why I modified that user table, was that when I first tried to somehow output a list of newest forumposts, I got an error in the mysql statement, that contained this: wp_1_users - the difference I think, is that wpmu outputs wp_{blog_id} when asked for the prefix, so that each blog gets its own tables, BUT there is only one users table, thats why I changed it thinking that now that all users from all blogs in the whole wpmu install can post in anyones forums….

5:47 pm
26 Jan 2007


Yellow Swordfish

Admin

Peterborough, England

posts 5252

6

OK - but is just ‘users the actual name of the table? Plus, does each user, regardless of blog, get a unique id or does an id get re-used for each blog in the system? For example, if the individual blogs have a prefix of wp_1_, wp_2_ etc., it seems reasonable to suppose that the users table will be called wp_users. Are you able to look into the database to find out for sure?

8:01 pm
26 Jan 2007


dizzy99

Member

posts 13

7

The default prefix for MU is wp_ and changing to wp_users (the only modification i’ve ever done on any of these updates) has worked perfectly throughout.

I haven’t seen the same issues, using the same system as Ovizii.

Maybe your user table is corrupt ?

1:06 am
27 Jan 2007


ovizii

Member

posts 114

8

hello dizzy :-) nice to see you join into the discussion here too (we know each other from the wpmu forums) but my users table is perfectly ok as far as I know.

@ andy
I’ll post the tablestructure for wp_users her

-- Table structure for table `wp_users`
--

CREATE TABLE `wp_users` (
`ID` bigint(20) unsigned NOT NULL auto_increment,
`user_login` varchar(60) NOT NULL default ",
`user_pass` varchar(64) NOT NULL default ",
`user_nicename` varchar(50) NOT NULL default ",
`user_email` varchar(100) NOT NULL default ",
`user_url` varchar(100) NOT NULL default ",
`user_registered` datetime NOT NULL default '0000-00-00 00:00:00',
`user_activation_key` varchar(60) NOT NULL default ",
`user_status` int(11) NOT NULL default '0',
`display_name` varchar(250) NOT NULL default ",
`spam` tinyint(2) NOT NULL default '0',
`deleted` tinyint(2) NOT NULL default '0',
PRIMARY KEY (`ID`),
KEY `user_login_key` (`user_login`)
) TYPE=MyISAM AUTO_INCREMENT=40 ;

1:11 am
27 Jan 2007


Yellow Swordfish

Admin

Peterborough, England

posts 5252

9

Don’t really need the structure. The point is that you said you had changed the define to

define(’SFUSERS’, ‘users’)

and if your table is actually called wp_users then the define should actualy be

define(’SFUSERS’, ‘wp_users’)

otherwise as far as the plugin is concerned, the table does not exist.

Or am I missing something?

1:46 am
27 Jan 2007


ovizii

Member

posts 114

10

:-(

I am so embarassed, I just noticed I had written users in my post mentioning the changes, then I went and checked the file and found out that indeed I had changed it to users instead of wp_users :-( mea culpa, this typo must have happened when overwriting 1.2 with 1.3 and then making this typo…..

this changed everything now to a fully working status - may I offer you to test the newest versions with wpmu if you want some testing? I guess dizzy is also open for testing.

9:24 am
27 Jan 2007


Yellow Swordfish

Admin

Peterborough, England

posts 5252

11

I might well take you up on that. Thanks. And glad we sorted it out as well.

10:06 am
27 Jan 2007


dizzy99

Member

posts 13

12

I’d happily help beta test the code on wmpu as it really is turning out to be an excellent forum for that purpose.

Alll you need do is ask and we’ll give you some feedback :)

And i wish to state again its really refreshing finding a developer who eagerly listens to people using his code, implements additions and indeed trys hard to support questions. Its a credit to you.

Thankyou very much.

10:39 am
27 Jan 2007


Yellow Swordfish

Admin

Peterborough, England

posts 5252

13

Hey - you beat Dizzy to an avatar!
You are more than welcome.
So - what version does MY need? I assume it’s the WP 2.0 strain yes? (Which I can no longer test myself).

10:45 am
27 Jan 2007


dizzy99

Member

posts 13

14

MU is based on 2.1 and as i’ve said before your plugin works very well with one minor modification, allowing for global user tables.

And i am dizzy :) I worked out your server isn’t allowing uploads of JPG files :)

Changed the avatar to png and up it went.

10:51 am
27 Jan 2007


Yellow Swordfish

Admin

Peterborough, England

posts 5252

15

Whoops! Misread the name - all those zzz’s!
I’m looking into the jpg thing now



Reply to Topic: problems and questions =>1.3

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 4 + 12        (Required)

Topic Reply:


 
 

About the Stuff at Yellow Swordfish forum

Currently Online:

8 Guests

Maximum Online: 71

Forums:

Groups: 3

Forums: 16

Topics: 2068

Posts: 14091

Members:

There are 1003 members

There are 837 guests


Yellow Swordfish has made 5252 posts

Top Posters:

Mr Papa - 1602

-Radio- - 558

ovizii - 114

jfv - 82

angelic007 - 72

Administrator: Yellow Swordfish | Moderators: Yellow Swordfish, Mr Papa, -Radio-


© Simple:Press Forum - Version 3.1.4 (Build 357)