Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Last Guests Post details being held and visable to next guest that posts
Avatar
Kenn
Somerset, UK
Member
Free Members
sp_UserOfflineSmall Offline
Nov 15, 2012 - 5:11 pm

Yellow Swordfish said
The site - your wp theme or another plugin - is loading an old, out-dated copy of the jQuery library from the google cdn. This codex article explains what this means and what to look for:

http://codex.simple-press.com/.....-conflict/

It is probably the theme - well it usually is these days anyway. And it is usually pretty easy to correct. A good theme will give you the option!

Worth noting also that you have some javascript somewhere making ajax call to facebook. It makes 3 calls for every page load but only one of them ever gets resolved - the other two keep hanging there at the server. Probably not causing interference but would be worth trying to resolve.

Hi both,

We have been monitoring the forum and it seems that all the pages I have been checking have only had member posts, like Craig said it seems to remember the last person that posted but only within each topic not forum wide.
So even though I also have deactivated all caching plugins this is still happening.

Further to the reply above I have tested the forum running on the default twenty eleven theme and the front end forum toolset still wasn't working, the forum is slowly filling with posts that we are unable to approve, edit or delete without the toolset, hope you can offer some further advice.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 16, 2012 - 6:11 am

Kenn & Craig: Sorry to be slow to respond here but I have been checking code and trying to replicate things. I know you have both stated this but can we make this 100% sure we are correct. I don't want to dive in and try and solve the wrong problem! So can you both do a little testing for me please:

  1. Can you confirm 100% that the guest name and email that pops up in the REPLY form is the same name and email of the LAST post in the topic being replied to. Or at least the last Guest name and email within that topic? Is this the consistent pattern - every time?
  2. Do you see any such behaviour on the NEW TOPIC form at all?

Appreciate your help so we can get to the bottom of this.

Kenn: So if it is not the theme mis-loading jQuery it will be another WP plugin doing so. Have you checked those?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Kenn
Somerset, UK
Member
Free Members
sp_UserOfflineSmall Offline
Nov 16, 2012 - 7:05 am

This topic is a good example:

http://www.landlordreferencing.....know-that/

On this topic the last guest that poted was @DeltaFireSafety there have been 2 member posts since yet it is the @DeltaFireSafety details that appear in the reply box when you are not logged in.

 

This topic

http://www.landlordreferencing.....its/#p5674

Has only had posts from members no guests have replied yet so the reply form appears with no details in it.

 

I have tried creating a new topic and currently doesn't appear to be pre populating with the last guests that made a topic information.

Hope this helps

--------

With reference to the front end forum toolset it is made more complicated by the lack of consistency.

This topic http://www.landlordreferencing.....its/#p5676

The top two posts have a full expanding toolset with all icons and links eg.users email and ip etc.

Posts after that point the toolset appears blank, it's as if it isn't capturing the information correctly when the post is made. This topic was created after I ran the updates so doesn't make sense that the top two posts are fine I would expect a new conflict to affect all posts.

Avatar
Craig Pimbley
Member
Free Members
sp_UserOfflineSmall Offline
Nov 16, 2012 - 8:34 am

The name and email that pops up is always the last comment made by a guest (no problems with members). If a guest posts and then a member does, it will be the guests name and email that shows (examples below).

Last post guest: http://www.searchbodyart.com/f.....ttoo-itch/
Shows guests name (tony) and email.

Last post member: http://www.searchbodyart.com/f.....piercings/
Last post by Dave (member). Shows last guests name (Hedi) and email.

The new topic seems fine.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 16, 2012 - 9:11 am

Odd. I can see no actual flaw in the logic but would either or both of you be willing to make a small code edit to a core SP file?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Craig Pimbley
Member
Free Members
sp_UserOfflineSmall Offline
Nov 16, 2012 - 9:23 am

If it fixes it yes.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 16, 2012 - 10:08 am

No guarantees on fixing it. I am really trying to find out where it is happening and this is the most likely spot even if the logic looks sound to me. But this change will do no harm...

OK - the file you need to look at is: /simple-press/sp-api/sp-api-class-user.php.

Right at the bottom is function named sp_get_user().

Locate this line of code right at the top:

if(!array_key_exists($userid, $USERS)) {

And replace it with this line please:

if(!array_key_exists($userid, $USERS) || $userid==0) {

Let's find out of that makes any difference!

andy-signature.png
YELLOW
SWORDFISH
Avatar
Craig Pimbley
Member
Free Members
sp_UserOfflineSmall Offline
Nov 16, 2012 - 11:00 am

That seems to have fixed it. Thank you!

Avatar
Kenn
Somerset, UK
Member
Free Members
sp_UserOfflineSmall Offline
Nov 16, 2012 - 11:05 am

I agree seems to working. Thanks very much.

 

Would you be able to offer any further suggestion son the front forum toolset.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 16, 2012 - 11:07 am

odd. not sure we fully understand it, but the change wont hurt anything so we will get it in the next update.

thanks for the update!

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625