Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
1 Registered (jacampbe), 21 Guests and 24 Spiders online.
Key: Admin, Global Mod, Mod
Top Posters
Gizmo 11708
Rick 7567
Ian 4107
Mark S 3984
ntdoc 3114
Sirdude 2041
jgeoff 1882
David Dreezer 1759
driv 1569
AllenAyres 1530
Latest Photos
Carrie - So Very
Testing
Test Photo
4TH of July at the river!
Test shots from D300 part 3
Topic Options
Rate This Topic
#211989 - 05/13/08 05:42 AM [7.3] Myfeeds wrong url to PM posts with search friendly url's.
blaaskaak Offline


Registered: 08/30/06
Posts: 1219
Loc: Breda, NL
there's a hardcoded = in it.

change line:
Code:
  		$lclRows[$i]['guid'] = "{$config['FULL_URL']}/ubbthreads.php{$var_start}ubb{$var_eq}viewmessage{$var_sep}message={$topicID}{$var_sep}gonew{$var_eq}0";

to:
Code:
  		$lclRows[$i]['guid'] = "{$config['FULL_URL']}/ubbthreads.php{$var_start}ubb{$var_eq}viewmessage{$var_sep}message{$var_eq}{$topicID}{$var_sep}gonew{$var_eq}0"; 
_________________________

Top
#212006 - 05/13/08 06:59 AM Re: [7.3] Myfeeds wrong url to PM posts with search friendly url's. [Re: blaaskaak]
Sirdude Moderator Offline


Registered: 04/19/07
Posts: 2041
Loc: SoCal, USA
should really use the make_ubb_url for that smile
_________________________

A taxpayer voting for Obama is like a chicken voting for Colonel Sanders.

Top
#212013 - 05/13/08 07:21 AM Re: [7.3] Myfeeds wrong url to PM posts with search friendly url's. [Re: Sirdude]
blaaskaak Offline


Registered: 08/30/06
Posts: 1219
Loc: Breda, NL
Originally Posted By: Sirdude
should really use the make_ubb_url for that smile


Yeah, can't understand why the original author didn't do that wink

The feed also looks a bit funny, just a bunch of links to the same PM. But haven't really looked at why it does that yet.
_________________________

Top
#212027 - 05/13/08 10:11 AM Re: [7.3] Myfeeds wrong url to PM posts with search friendly url's. [Re: blaaskaak]
blaaskaak Offline


Registered: 08/30/06
Posts: 1219
Loc: Breda, NL
Originally Posted By: blaaskaak
The feed also looks a bit funny, just a bunch of links to the same PM. But haven't really looked at why it does that yet.


Confirmed. I just see the latest PM listed 10 times.
_________________________

Top
#212029 - 05/13/08 10:30 AM Re: [7.3] Myfeeds wrong url to PM posts with search friendly url's. [Re: blaaskaak]
Sirdude Moderator Offline


Registered: 04/19/07
Posts: 2041
Loc: SoCal, USA
i think it's post based, versus topic based -- so if your 1st PM has a lotta replies, it shows up a lotta times.. the author of the myfeeds musta been a moron..

i think i'll change the query to be smarter than that.. tongue
_________________________

A taxpayer voting for Obama is like a chicken voting for Colonel Sanders.

Top
#212033 - 05/13/08 11:13 AM Re: [7.3] Myfeeds wrong url to PM posts with search friendly url's. [Re: Sirdude]
Sirdude Moderator Offline


Registered: 04/19/07
Posts: 2041
Loc: SoCal, USA
/scripts/myfeeds.inc.php

change lines below...

line 239
Php Code:
$lclRows[$i]['guid'] = make_ubb_url("ubb=showflat&Number={$postID}#Post{$postID}","",true); 


line 256
Php Code:
$lclRows[0]['link'] = make_ubb_url("ubb=cfrm", "", true); 


line 325
Php Code:
$lclRows[$i]['guid'] = make_ubb_url("ubb=viewmessage&message={$topicID}&gonew=0","",true); 


line 340
Php Code:
$lclRows[0]['link'] = make_ubb_url("ubb=cfrm","",true); 


smile
_________________________

A taxpayer voting for Obama is like a chicken voting for Colonel Sanders.

Top


Shout Box

Recent Topics
Registration security
by adminwendy
Yesterday at 09:33 PM
Problem with forum move
by AzHousePro
Yesterday at 03:41 PM
[7.3.x] Ignore link showed in userprofile for global moderators
by blaaskaak
09/06/08 01:27 PM
[7.3.x] Database password shown in adminlogs...
by blaaskaak
09/06/08 10:24 AM
7.3.1 Flood protection
by MattUK
09/06/08 03:55 AM
Forum Stats
4027 Members
33 Forums
30887 Topics
156842 Posts

Max Online: 978 @ 06/24/07 08:19 PM