A A A

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Problem with Composing PM
Jul 28, 2009
2:17 pm

SP Master
Forum Posts: 22201
Member Since:
Nov 9, 2008
Offline

Have just spent some time looking hard at the code and no matter what the conditions these are very separate tags. Time, I think, for a link to your site if you can give me one and I will register and take a look. Is that going to be possible?

Yellow Swordfish
Jul 28, 2009
2:49 pm
Tim
Guest
Jul 29, 2009
3:43 am

SP Master
Forum Posts: 22201
Member Since:
Nov 9, 2008
Offline

The only scenario I can come up with that might make any sense whatsoever is that something in your WP environment is manipulating links after the html has been generated but before it is returned to the browser. This is not as improbable as it might first sound as WP uses a series of filters that operate on the page content and plugins can add more – as indeed the forum does.

So – the first question has to be – do you have any active plugins that in any way operate on links?

Yellow Swordfish
Jul 29, 2009
7:36 am
Tim
Guest

Only one, but it was installed after Simple Press, and after the problem was recognized. It is "WP No External Links", which seems to work great with Simple Press. The only other ones I thought could have been doing it was Autoptimize or SEO Smart Links, but I tried it with both deactivated and there was no change. It just seems odd that something would complely move that snipet of code from one link to another. Everthing else works fine. Its just that set of side-by-side links. I would think if there was a plugin conflict we would have more problems.

Jul 29, 2009
9:34 am

SP Master
Forum Posts: 22201
Member Since:
Nov 9, 2008
Offline

(Apologies – I have been havibng some trouble displaying this thread and finally tracked it down to the code snippet you pasted. I have had to remove it for now but I have a copy to analyze what the display problem might be).

I admit that I thought it likely that any such problem would show itself elsewhere but it was the only idea I had. In fact it still is. I don't know if you can read code but these are the lines of code getting screwed up. Maybe someone passing through can spot something wrong…?

if($cansendpm) {
    $out.= '<a class="sficon sfalignright" onclick="sfjtoggleLayer(\'sfpostform\');"><img src="'.SFRESOURCES.'compose.png" alt="" title="'.__("Compose PM", "sforum").'" />'.sf_render_icons("Compose PM").'</a>';
}

if($pmview == 'sentbox') {
    $url=sf_build_qurl("pmaction=viewinpm&amp;pms={$current_user->ID}");
    $out.= '<a class="sficon sfalignright" href="'.$url.'"><img src="'.SFRESOURCES.'goinbox.png" alt="" title="'.__("Go To Inbox", "sforum").'" />&nbsp;'.sf_render_icons("Go To Inbox").'</a>'."\n";
} else {
    $url=sf_build_qurl("pmaction=viewoutpm&amp;pms={$current_user->ID}");
    $out.= '<a class="sficon sfalignright" href="'.$url.'"><img src="'.SFRESOURCES.'gosentbox.png" alt="" title="'.__("Go To Sentbox", "sforum").'" />&nbsp;'.sf_render_icons("Go To Sentbox").'</a>'."\n";
}

Looks fine to me…. and yes – I have seen the result on your site for myself. This is the nly report of this however which does suggest some sort of local environmental issue…

Yellow Swordfish
Jul 29, 2009
9:03 pm
Tim
Guest

I can read code, but am not a pro. Looks fine to me, but ya'know…

Anyway, I created a work around. In sf-pagecomponents.php, I commented out lines 720-727 to remove the upper Inbox/Sentbox links, leaving only the Compose link. Then commented out line 976 to remove the bottom Compose link, leaving only the Forum & Inbox/Sentbox links. It doesn't fix anything, but it works. Whatever conflict was there is gone. When in doubt, cut it out. Wink

Jul 30, 2009
2:36 am

SP Master
Forum Posts: 22201
Member Since:
Nov 9, 2008
Offline

Well that's good thinking but don't you just want to know what's going on? I know it will gnaw away at me if we don't manage to work it out.

Yellow Swordfish
Jul 30, 2009
4:09 am
Tim
Guest

Oh it does. It bothers the heck out of me. I had been obsessing over that section of code even before you posted it. The code looks right, and I'm the only one with the issue. On the other hand, it is only those links that are glitching. Its enough to drive you crazy.

Jul 30, 2009
5:23 am

SP Master
Forum Posts: 22201
Member Since:
Nov 9, 2008
Offline

Actually, of course, if someone else comes along with this problem it might give us something to work with…

Yellow Swordfish
May 18, 2010
8:30 pm
Member
Forum Posts: 29
Member Since:
May 17, 2010
Offline

I have this same exact problem and have no clue how to go about fixing it.

Did you make any headway with this?

Forum Timezone: America/Chicago

Most Users Ever Online: 444

Currently Online: steve.engelking, indifrendz.com, ndc
90 Guest(s)

Currently Browsing this Page:
1 Guest(s)

See All Online Activity

Top Posters:

-Radio-: 1251

Lee H: 606

Luffer: 535

Conrad_Farlow: 502

jim: 478

neon: 263

ovizii: 240

Tal: 240

Member Stats:

Guest Posters: 2625

Members: 7360

Moderators: 1

Admins: 2

Forum Stats:

Groups: 5

Forums: 16

Topics: 10888

Posts: 79519

Moderators: Brandon C (162)

Administrators: Yellow Swordfish (22201), Mr Papa (23688)