Submit Story from referrer (start on step 2)

Register an Account
Pligg Chat Room
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-20-2007, 10:10 PM
New Pligger
 
Join Date: Dec 2006
Posts: 17
Hi.

I have been searching for an hour and a half now, and either I am not using the right terminology, or the posts just don't exist. I was certain that this question had to have been asked before, but I just can't find the answer. (Looked in the docs too, but to no avail.) So, if it has been answered already, I apologize in advance.

What I'm trying to do is set up a pligg install to use on a site that already exists and has been around for a long time (lots of stuff there). I want people to be able to submit pages of the site to pligg and have people use all the available wonders of pligg.

But I can not figure out how to bypass the enter url page (step 1). What I would like to do is either use the referrer to get the url, or somehow integrate it with the link that they will click to submit the page.

With digg, you see a digg link on an article somewhere, and when you click it you go to step 2 of digg's submission process. The url of the page reads something like digg.com/submit/story?=http://linktostory.com/story123. With pligg, there isn't anything like this, so it's not immediately apparent (to me) how it works.

If anyone could please give me a hand in wraping my head around this or point me in the right direction, I'd greatly appreciate it.

Much thanks, and best regards,

W.

Happy Holidays.
Reply With Quote
  #2 (permalink)  
Old 12-21-2007, 02:50 PM
New Pligger
 
Join Date: Dec 2006
Posts: 17
Anybody, please?
Reply With Quote
  #3 (permalink)  
Old 12-21-2007, 03:36 PM
nzbullet's Avatar
Constant Pligger/Coder
 
Join Date: Jun 2007
Location: New Zealand
Posts: 115
So you want a button that when pressed takes you to the submit page 2? Is that correct
Reply With Quote
  #4 (permalink)  
Old 12-21-2007, 07:48 PM
New Pligger
 
Join Date: Dec 2006
Posts: 17
Yes, please. Or at the least, the format that the url would take if it displayed step 2 (e.g. http://www.site.com/pligg/submit.php...mittedsite.com). I've tried every possible string I could think of, but nothing seems to work.

Much thanks.
Reply With Quote
  #5 (permalink)  
Old 12-21-2007, 08:32 PM
nzbullet's Avatar
Constant Pligger/Coder
 
Join Date: Jun 2007
Location: New Zealand
Posts: 115
Quote:
Originally Posted by warts View Post
Yes, please. Or at the least, the format that the url would take if it displayed step 2 (e.g. http://www.site.com/pligg/submit.php...mittedsite.com). I've tried every possible string I could think of, but nothing seems to work.

Much thanks.
Try This:

Code:
<a href="javascript:q=(document.location.href);void(open('http://www.yoursite.com/submit.php?url='+escape(q),'','resizable,location,menubar,toolbar,scrollbars,status'));"> Submit to Yoursite.Com</a>
Changing the red text to whatever your sites URL is.

You can check out variations of this at Linka.co.nz by clicking here, you will see there are different ways of doing it with text or with images. If you want try it out,add one of mine to a page on your site and you will see how it works. Note that users have to be registered for it to work.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto submit story on submit step 3 for god only gnalkit Questions and Comments 2 10-13-2009 08:47 AM
submit story step 3 question VLJ Questions and Comments 0 05-14-2007 08:00 PM
MYSQL Syntax in story submit, step 2 mbs348 Questions and Comments 17 05-10-2007 10:28 PM
how to get rid of step 1 of 'submit story'? mhk Questions and Comments 5 09-27-2006 02:17 PM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development