HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Creating a PT with the destination user already selected

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#97441 (In Topic #19304)
Avatar

Community saint

Hi,

I would like to add a link that takes you to the new PT page with the destination user already selected.

With Chris's help I was able to add &category_id= to the form that creates a new category entry without having to select the category.

What do I have to add to the URL to be able to pre select the user to send the PT to ?

Is there an easy way to determine what this variables are ?

Cheers
Ade
Back to the top
 
Posted
Item has a rating of 5 (Liked by Chris Graham)  
Rating:
#97442
Avatar

Community saint

I would suspect that copying the url found in the users profile for "start private topic" would feed you the info you need. I also imagine that besides the user id number that you'll see in that url the member name would likely work as well.
Back to the top
 
Posted
Rating:
#97465
Avatar

Community saint

Lol - never thought of that !!

Cheers mate
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: