Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
3 Registered (Okusi Associates, Sirdude, 1 invisible), 25 Guests and 17 Spiders online.
Key: Admin, Global Mod, Mod
Top Posters
Gizmo 11647
Rick 7499
Ian 4092
Mark S 3969
ntdoc 3089
Sirdude 2027
jgeoff 1876
David Dreezer 1744
driv 1541
AllenAyres 1506
Latest Photos
Sunflower Photo
Testing
Test Photo
4TH of July at the river!
Sunflower Photo
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: 1202
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 Online   happy


Registered: 04/19/07
Posts: 2027
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: 1202
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: 1202
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 Online   happy


Registered: 04/19/07
Posts: 2027
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 Online   happy


Registered: 04/19/07
Posts: 2027
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
Anyone know anything about phpbb versioning?
by David Dreezer
Today at 12:43 PM
How Customizable is the Look?
by flyboy105
Today at 11:48 AM
Ex-Google architect launches rival search engine
by ScriptKeeper
Today at 09:54 AM
Is it possible to show 1 category heading but not the forums?
by ScriptKeeper
Today at 08:40 AM
Using the USERS DB for other app login verification
by ThomasM
Today at 07:02 AM
Forum Stats
3999 Members
33 Forums
30783 Topics
156296 Posts

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