Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
2 Registered (Gizmo, Harold), 21 Guests and 22 Spiders online.
Key: Admin, Global Mod, Mod
Top Posters
Gizmo 11702
Rick 7567
Ian 4107
Mark S 3983
ntdoc 3110
Sirdude 2041
jgeoff 1882
David Dreezer 1759
driv 1568
AllenAyres 1529
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: 1214
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: 1214
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: 1214
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
SQL Error: Got error 28 from storage engine ?
by jgeoff
Yesterday at 05:03 PM
Stop All E-mail
by Mark S
Yesterday at 11:16 AM
Ability to Truncate a thread from any point at any time.
by Naz
Yesterday at 07:37 AM
Providing option for admin to freeze panes
by Naz
Yesterday at 07:22 AM
Avatar Upload Storage Directory
by Flaming Carrot
Yesterday at 07:01 AM
Forum Stats
4024 Members
33 Forums
30878 Topics
156801 Posts

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