summit a story without leaving a page

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 01-08-2010, 01:19 AM
New Pligger
 
Join Date: Jan 2010
Posts: 2
is it possible to allow users to summit stories/ links under a category , summit it from right there, , without going to mywebsite.com/submit.php
how do i do that?

ps i am new to pligg
Reply With Quote
  #2 (permalink)  
Old 01-08-2010, 01:31 AM
New Pligger
 
Join Date: Jan 2010
Posts: 12
I am looking for the same thing - a bookmarklet. Elgg has this for their bookmarking utility. It is a javascript button that you drag and drop to the toolbar of your browser.
Reply With Quote
  #3 (permalink)  
Old 01-08-2010, 01:47 AM
chuckroast's Avatar
Pligg Developer/Coder/Designer
Pligg Version: SVN
Pligg Template: Social Pro Kit
 
Join Date: Jun 2006
Posts: 5,448
Quote:
Originally Posted by salex View Post
I am looking for the same thing - a bookmarklet. Elgg has this for their bookmarking utility. It is a javascript button that you drag and drop to the toolbar of your browser.
We had a bookmarlet in the early beta versions of Pligg.. It was available from a users profile. Most people didn't use the feature so it was removed when the Pligg 1.0 series was coming out.

This is the bookmarklet code. You can put it wherever you'd like..
Code:
<a href="javascript:q=(document.location.href);void(open('{$my_base_url}{$my_pligg_base}/submit.php?url='+escape(q),'','resizable,location,menubar,toolbar,scrollbars,status'));">{#PLIGG_Visual_Name#}</a>
Also note that you will want to remove line 19 of of your submit.php file.
Code:
check_referrer();
Hope that helps.
Reply With Quote
  #4 (permalink)  
Old 01-08-2010, 11:16 AM
New Pligger
 
Join Date: Jan 2010
Posts: 12
Thanks Chuckroast - works a treat!
Reply With Quote
  #5 (permalink)  
Old 01-19-2010, 01:33 PM
New Pligger
 
Join Date: Nov 2009
Posts: 19
I dont know use this, can u explain better? :$
Reply With Quote
Reply

Tags
category, links, stories, summit

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Page Variables Yankidank Wiki Articles 3 05-19-2011 09:21 AM
Change page title only for story page - Google hadock Questions and Comments 15 03-02-2011 12:27 PM
how to completely REMOVE links from the title in the full story page? VictorML Questions and Comments 5 09-18-2008 10:26 AM
In story page, only summary shown observer_24_7 Questions and Comments 7 06-25-2008 09:53 PM
How to direct story title in summary page to the original story? chris79 Questions and Comments 4 02-03-2008 08:28 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