The Marshall Protocol Study Site Home

Search
   
Members

Calendar

Help

Home
Search by username
Not logged in - Login | Register 


How to View by topic_id
 Moderated by: Admin Topic closed

New Topic

Print
AuthorPost
pts
Member


Joined: Mon Jul 26th, 2004
Location: Stockholm, Sweden
Posts: 39
Status:  Offline
 Posted: Mon Jan 17th, 2005 12:03
Hi,
I get all posts as mail, in the mail there are a link for repling to a post.
If there are any links(url) in the post that text is not shown in the email. To read the full post the html version must be viewed. You can do this by using the reply link and this bookmark script
Add as a bookmark and name it MP view_topic!

MP view_topic!
javascript:s=location.search.substring(1,location.search.length).split('&'); for (i=0;i<s.length;i++){t = s.split('='); if (t[0] == 'topic_id'){ v=unescape(t[1]).split('+').join(' ');i=s.length++;} else v='';} q=prompt('MP.com topic_id',v); if (q != null) {window.location='http://www.marshallprotocol.com/view_topic.php?id='+q;} else {void(null);}

You that uses the TinyURL! know how it's works., except that this script will try to find the topic_id and prompt you.

/Per

Last edited on Mon Jan 17th, 2005 12:05 by pts



____________________
Per
Pre-MP dx:Chronic lyme, 26Aug04 1,25D/25D = 45/24= 1.9, Symptoms: ME/CFS,Fibermyalgi,Chronic Lyme
pts
Member


Joined: Mon Jul 26th, 2004
Location: Stockholm, Sweden
Posts: 39
Status:  Offline
 Posted: Wed Feb 2nd, 2005 17:01
New Version using regular expression
Name: MP id!
Location: javascript:s=location.search.match(/topic_id=([0-9]+)/); v=s[1]; q=prompt('MP.com topic_id',v); if (q != null) {window.location='http://www.marshallprotocol.com/view_topic.php?id='+q;} else {void(null);}

/Per



____________________
Per
Pre-MP dx:Chronic lyme, 26Aug04 1,25D/25D = 45/24= 1.9, Symptoms: ME/CFS,Fibermyalgi,Chronic Lyme

 Current time is 12:50




Powered by WowBB 1.7 - Entire site Copyright © 2004-2007 Autoimmunity Research Foundation, All Rights Reserved
Click here to view our PRIVACY POLICY
Page processed in 0.2682 seconds (33% database + 67% PHP). 18 queries executed.