Find programmers and grapic design experts at ScriptLance.com
<? DEW-CODE.COM  
Dew-Code
Welcome, Guest
Please Login or Register.    Lost Password?
Re:bookmarklet for PC & Mac (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:bookmarklet for PC & Mac
#296
fattymattybrewing (User)
Support Your Local Brewer
Expert Boarder
Posts: 105
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Fatty Matty Brewing Location: Southwestern Wisconsin Birthdate: 1974-11-05
bookmarklet for PC & Mac 7 Months, 1 Week ago Karma: 3  
Any idea what happened to the bookmarklets to add a site-
I think they where originally built as javascript or something and where on the the old dew-code.com website?

I have mine installed on my Windows XP machine for Firefox 2 but am writing this post on the Mac right now....maybe I can test using the code from that Machine on this Mac too?


Anyway - bookmarklets??

OK Wait I found the files here:
http://www.fattymattybrewing.com/bookmarklet.html

requires changing the URL for your site but ask questions and I may or may not have time to help.

Dewed - if these work for you maybe you will want to add them to the downloads or something?
 
Report to moderator   Logged Logged  
 
Lifes Too Short To Drink Crappy Beers
fattymattybrewing.com
  The administrator has disabled public write access.
#297
Dewed (User)
Administrator
Posts: 250
graph
User Offline Click here to see the profile of this user
Dew-Code.com
Re:bookmarklet for PC & Mac 7 Months, 1 Week ago Karma: 7  
The bookmarklets came from a java literate Dew-Code visitor, and was written for the non SEF version (although just changing 'index.php?show=add' to 'directory/add.html' in the bookmark should work)

I think I do have the files around here someplace for the actual download (the bookmarklet creator) but frankly I have no clue how to correct it for use with current o future versions.. I am so not a java programmer.

anyways, I'll see if I can get it working... good thing I have a fresh pot of coffee here.
 
Report to moderator   Logged Logged  
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
#298
fattymattybrewing (User)
Support Your Local Brewer
Expert Boarder
Posts: 105
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Fatty Matty Brewing Location: Southwestern Wisconsin Birthdate: 1974-11-05
Re:bookmarklet for PC & Mac 7 Months, 1 Week ago Karma: 3  
I tested out the bookmarklets on both mac and PC for firefox 2 and IE6 on my XP machine they both seemed to work really well for my version of Dew-New PHPLinks which is:

Dew-NewPHPLinks v.2.0.1.0b SEF

So not sure what you mean by:
QUOTE:

The bookmarklets came from a java literate Dew-Code visitor, and was written for the non SEF version
.
 
Report to moderator   Logged Logged  
 
Lifes Too Short To Drink Crappy Beers
fattymattybrewing.com
  The administrator has disabled public write access.
#299
Dewed (User)
Administrator
Posts: 250
graph
User Offline Click here to see the profile of this user
Dew-Code.com
Re:bookmarklet for PC & Mac 7 Months, 1 Week ago Karma: 7  
The main issue I saw on your bookmarklet was it pointed to index.php?show=add
which wont work on the SEF version... it should be directory/add.html?blah=blah..

Anyways, I found the most recent contribution and did a couple of quick touch ups.
You can use the bookmarklet creator here, after making a quick edit to your include/add.php file (which you've already done if you used the previous version)

From the script directions ...
QUOTE:


in Dew-NewPHPLinks "/include/add.php" lines ~12-24
starting with "$SiteName=mysql_escape_string($_POST['SiteName']);"...
ending with ..."$submit_add=$_POST['submit_add'];"
replace with:
"
$SiteName=mysql_escape_string($_REQUEST['SiteName']);
$SiteURL=mysql_escape_string($_REQUEST['SiteURL']);
$RecipURL=mysql_escape_string($_REQUEST['RecipURL']);
$Description=mysql_escape_string($_REQUEST['Description']);
$Category=mysql_escape_string($_REQUEST['Category']);
$Country=mysql_escape_string($_REQUEST['Country']);
$UserName=mysql_escape_string($_REQUEST['UserName']);
$PW=mysql_escape_string($_REQUEST['PW']);
$PID=mysql_escape_string($_REQUEST['PID']);
$PW2=mysql_escape_string($_REQUEST['PW2']);
$Hint=mysql_escape_string($_REQUEST['Hint']);
$Email=mysql_escape_string($_REQUEST['Email']);
$submit_add=$_REQUEST['submit_add'];



Coders interested in continuing development on this 3rd party contribution can download the code here.
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/06/05 10:05 By Dewed.
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
#300
fattymattybrewing (User)
Support Your Local Brewer
Expert Boarder
Posts: 105
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Fatty Matty Brewing Location: Southwestern Wisconsin Birthdate: 1974-11-05
Re:bookmarklet for PC & Mac 7 Months ago Karma: 3  
very- very cool!

This is one of those forum threads that all DewNewPHPLinks users should for sure read!

Nice work Dewed!
 
Report to moderator   Logged Logged  
 
Lifes Too Short To Drink Crappy Beers
fattymattybrewing.com
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Newsflash

Sign up for PayPal and start accepting credit card payments instantly.
Copyright Dew-Code 2008