Go Back   Pligg CMS Forum > Pligg Development > Modification Tutorials

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-22-2006, 05:50 PM
Casual Pligger
 
Join Date: Mar 2006
Posts: 41
Thanks: 6
Thanked 4 Times in 4 Posts
Post Submit to Pligg Bookmarklet

You may find the following useful:

Disclaimer: I've just hacked this together and only tested it in Firefox and Pligg Beta 7

Firefox instructions
  1. Go to the 'View'->'Toolbars' menu and make sure the 'Bookmarks Toolbar' is ticked
  2. Right click the link below, and choose 'Bookmark this link'.
  3. Click the down arrow to see a complete list of folders, choose the 'Bookmarks Toolbar Folder' and click 'OK'
  4. Right Click on Your newly created Bookmark and select the Properties
  5. In the Location Box change example.com to whatever your site's name is

javascriptfunction(){ function attrQuoteEscape(s){ s=s.replace(/&/g,'&');s=s.replace(/"/g, '"');return s;} window.open('http://www.example.com/submit.php?url='+attrQuoteEscape(location.href)+'& phase=1&id=c_1'); } )();

Now visit any of your favorite web sites, and use your new 'Pligg It!' button to quickly and easily submit the page to your Pligg site.

Cheers
Reply With Quote
  #2 (permalink)  
Old 03-23-2006, 07:49 PM
New Pligger
 
Join Date: Feb 2006
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Hi

Sorry, doesn't work.

The link sends me to the same page you find when you click the link in your post. It seems that there are a load of spurious figures placed in the link code.

Andy
Reply With Quote
  #3 (permalink)  
Old 03-28-2006, 09:08 PM
3dKiller's Avatar
Constant Pligger
 
Join Date: Mar 2006
Location: Newport Beach
Posts: 142
Thanks: 24
Thanked 2 Times in 1 Post
Ditto, doesn't work for me either. That being said I am very interested in adding this feature to Pligg, as long as it works just like newsvine's "seed newsvine" button.

Hope you can get it to work and thanks for trying!
Reply With Quote
  #4 (permalink)  
Old 06-05-2006, 04:16 PM
Casual Pligger
 
Join Date: Mar 2006
Posts: 41
Thanks: 6
Thanked 4 Times in 4 Posts
It appears that vBulletin messed up the JavaScript for security purposes.
Attached youŽll find the script. Just replace example.com with your site.

Sorry for the extremely late reply ....
Attached Files
File Type: txt submit2pligg.txt (223 Bytes, 212 views)
Reply With Quote
  #5 (permalink)  
Old 06-05-2006, 08:02 PM
New Pligger
 
Join Date: May 2006
Posts: 18
Thanks: 0
Thanked 1 Time in 1 Post
Ok, call me a noob (cuz I am one), but how do I put this on my site so others can download it? What do I save it as? Where do I put it?

Sarah
Reply With Quote
  #6 (permalink)  
Old 06-08-2006, 05:35 AM
Casual Pligger
 
Join Date: Jan 2006
Posts: 77
Thanks: 0
Thanked 1 Time in 1 Post
Follow his original instructions but use the new code located in the txt file he submitted.
Reply With Quote
  #7 (permalink)  
Old 06-08-2006, 02:21 PM
New Pligger
 
Join Date: May 2006
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
edit the javascript to suit your needs, then put it into an html page i believe, and get people to right click, and add that page to their favourites

im still messing around with it, but this is how mine is:
http://www.animud.com/autosubmit.php

Last edited by orochi; 06-08-2006 at 02:36 PM..
Reply With Quote
  #8 (permalink)  
Old 06-13-2006, 04:07 PM
New Pligger
 
Join Date: Jun 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
I'm using Firefox (1.5 for Mac) and all I see is a blank page when I click on Orochi's link. Is anyone else having trouble, or is it just me? I'm also not quite sure how to stick the javascript into an HTML file for use on my own pligg site. Can someone help please?

-Bridget
Reply With Quote
  #9 (permalink)  
Old 06-13-2006, 04:48 PM
Casual Pligger
 
Join Date: May 2006
Posts: 75
Thanks: 0
Thanked 4 Times in 2 Posts
All you need to do is post it as a link somewhere. Orochi's didn't work well for me so I used another one. You can see it in action on my blog: Dad Daily Bookmarklet.
Reply With Quote
  #10 (permalink)  
Old 06-13-2006, 08:21 PM
3dKiller's Avatar
Constant Pligger
 
Join Date: Mar 2006
Location: Newport Beach
Posts: 142
Thanks: 24
Thanked 2 Times in 1 Post
Quote:
Originally Posted by orochi
edit the javascript to suit your needs, then put it into an html page i believe, and get people to right click, and add that page to their favourites im still messing around with it, but this is how mine is:
http://www.animud.com/autosubmit.php
Orochi,

Yours didn't work for me, also your captcha isn't visible so it's impossible to register.

I tried in FF.

~3d
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
TIP: Do NOT Submit Your Site To Pligg Directories coreyvf General Help 7 10-22-2008 05:02 AM
Pligg integration with SMF Forum autoinc Modification Tutorials 64 05-19-2008 02:22 AM


Search Engine Friendly URLs by vBSEO 3.2.0