Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

[UPDATED] Recommend_it Plug-in

Quote Reply
[UPDATED] Recommend_it Plug-in
Some minor fixes, should work now out of the box.

PUGDOGŪ Enterprises, Inc.
FAQ:http://LinkSQL.com/FAQ
Forum:http://LinkSQL.com/forum
Quote Reply
Re: [UPDATED] Recommend_it Plug-in In reply to
Anyone with any problems?

I'd like to make sure these last few releases got all the bugs/quirks before I release some really complicated stuff!



PUGDOGŪ Enterprises, Inc.
FAQ:http://LinkSQL.com/FAQ
Forum:http://LinkSQL.com/forum
Quote Reply
Re: [UPDATED] Recommend_it Plug-in In reply to
Just uploaded the 2.0.5 version (had a problem last week with network connects). Should fix the hard-coded subject problem. Let me know. I think I uploaded the right file. (This is still new to me).

Version 2.0.5, with a new set-up string, so you need to re-install this, to update the plugin.cfg file.


PUGDOGŪ Enterprises, Inc.
FAQ:http://LinkSQL.com/FAQ
Forum:http://LinkSQL.com/forum
Quote Reply
Re: [UPDATED] Recommend_it Plug-in In reply to
I can't install it. Get this error:

Unable to install plugin: 'Unable to extract file: '/home/ascifi/www/dir/admin/../bad_link.cgi' (Could not open /home/ascifi/www/dir/admin/../bad_link.cgi. Reason: Permission denied)'

also get it with the recommend it plugin. Not sure if i am doing something wrong. I can install the searchlog and yahoocats mods but they don't upload files so i guess that is where the problem is. What should i do?

http://www.ASciFi.com/ - The Science Fiction Portal
Quote Reply
Re: [UPDATED] Recommend_it Plug-in In reply to
Double check that the script is chmod 755. It automatically was chmod 755 when I installed both of these plugins. It may not have for you.

Dan Oakeson
http://www.AssociateCash.com
Quote Reply
Re: [UPDATED] Recommend_it Plug-in In reply to
which script? the deadlink.cgi script never gets into the directory, i think this is the problem where it fails. Should i chmod my directory /dir to 755?

http://www.ASciFi.com/ - The Science Fiction Portal
Quote Reply
Re: [UPDATED] Recommend_it Plug-in In reply to
Ok... did you download from the FAQ site, or from the DOWNLOADS site.
I will remove them from the FAQ site, since they are now listed on the
DOWNLOADS menu.

I forgot to update the FAQ to remind you to install them from the download
plugins page, not from my site any more.

That should fix the problem.

_ALSO_ you might have to change the permissions of your main directory, or "touch" and create a file there, and set the permissions or ownership to something the webserver can write to.

I don't have control over this.... but I will try to add code that will let you know the program can't write to the protected directory until you change it. (I'll steal it from Alex's w3t plug in code <G>).

I think that may be one of the problems --- "Your Admin directory is write protected, please change the permissions and try again" would be a better message, I guess.

There are a few problems installing scripts on a variety of shared servers, since people have set the permissions upt differently, and even the paths up differently between telnet and http. Sometimes even the best-planned script will not be able to install without some manual intervention.


PUGDOGŪ Enterprises, Inc.
FAQ:http://LinkSQL.com/FAQ
Forum:http://LinkSQL.com/forum
Quote Reply
Re: [UPDATED] Recommend_it Plug-in In reply to
- i installed from the gossamer download site
- it is a dedicated server

so i need to chmod /admin and /dir (my scripts are at www.domain.com/dir
to 755?

will do now.

http://www.ASciFi.com/ - The Science Fiction Portal
Quote Reply
Re: [UPDATED] Recommend_it Plug-in In reply to
Ok i am completly confused. I chmod /admin to 755 made no difference. Not sure what is going on, i tried chmod plugins to 755 and got:
Unable to create plugin file: /home/ascifi/www/dir/admin/Plugins/Bad_Link.pm. Reason: Permission denied
so assume Plugins should be at 777 ?

but still get same error as last post, Bad_Link.pm and deadlink.cgi are never made.

http://www.ASciFi.com/ - The Science Fiction Portal
Quote Reply
Re: [UPDATED] Recommend_it Plug-in In reply to
p.s. I can install Auth_Vbulletin but not sure if that creates any files or not.

http://www.ASciFi.com/ - The Science Fiction Portal
Quote Reply
Re: [UPDATED] Recommend_it Plug-in In reply to
No.... you're not understanding the Unix permissions.

If you can su root, then change the _owner_ of the directory to the server, and it can create new files there.

Or, touch recommend_it.cgi the chmod 777 recommend_it.cgi so that the server as user "nobody" can write to it.

I've joined my servers group, so that if I set a file to 775 and change the group ownership to the server, the server can write to it. It's a bit better than 777.



PUGDOGŪ Enterprises, Inc.
FAQ:http://LinkSQL.com/FAQ
Forum:http://LinkSQL.com/forum
Quote Reply
Re: [UPDATED] Recommend_it Plug-in In reply to
thanks so so much pugdog. The touch method worked brilliant. I will do a bit more learning about the unix permissions and your root ownership thing.

thanks.

http://www.ASciFi.com/ - The Science Fiction Portal
Quote Reply
Re: [UPDATED] Recommend_it Plug-in In reply to
to change the file owner use this comand
chown user.group /path/to/dir or file
then you can chmode it and upload and do whatever you want.
my host admin told me this and it works

Quote Reply
Re: [UPDATED] Recommend_it Plug-in In reply to
Padders I am not the best one to help you with this but here goes.

Everything in the cgi directory should be set to 755.
In Reply To:
admin 1 KB 02-10-2001 rwxr-xr-x (755)
add.cgi 7.8 KB 02-07-2001 rwxr-xr-x (755)
bad_link.cgi 3.3 KB 03-01-2001 rwxr-xr-x (755)
browser.cgi 2.5 KB 02-07-2001 rwxr-xr-x (755)
detail_page.cgi 2.9 KB 03-03-2001 rwxr-xr-x (755)
jump.cgi 3.1 KB 02-07-2001 rwxr-xr-x (755)
modify.cgi 11.8 KB 02-07-2001 rwxr-xr-x (755)
page.cgi 6.5 KB 02-07-2001 rwxr-xr-x (755)
rate.cgi 3.4 KB 02-07-2001 rwxr-xr-x (755)
recommend_it.cgi 15.8 KB 03-01-2001 rwxr-xr-x (755)
search.cgi 13.3 KB 02-07-2001 rwxr-xr-x (755)
subscribe.cgi 4.8 KB 02-07-2001 rwxr-xr-x (755)
user.cgi 9.2 KB 02-07-2001 rwxr-xr-x (755)
Your plugins folder should be 777 if allowed.

Try making the folders that are not being written. Some servers don't allow scripts to make new folders (If I understand correctly.)

Good luck!


Dan Oakeson
http://www.AssociateCash.com
Quote Reply
Re: [UPDATED] Recommend_it Plug-in In reply to
thanks everyone for the help, it is greatly appreciated. Pugdog's the plugin works perfectly.

http://www.ASciFi.com/ - The Science Fiction Portal
Quote Reply
Re: [UPDATED] Recommend_it Plug-in In reply to
Thanks :)

Make sure the "subject" line can be changed, and it doesn't always say "Postcards.com".

That was the "big fix" in this edition. That can be setable in the
"edit options" area, or it should default to a generic greeting otherwise.

PUGDOGŪ Enterprises, Inc.
FAQ:http://LinkSQL.com/FAQ
Forum:http://LinkSQL.com/forum
Quote Reply
Re: [UPDATED] Recommend_it Plug-in In reply to
Hi Pugdog,

I just installed the recommend it script (almost anyway) and thought this might be a good check to build into the installation process...

when its being installed, check to see which template set is currently being used so it installs the recommend_it.html template into that directory - or perhaps it could install one copy into all of the template directories?

Regan.


Quote Reply
Re: [UPDATED] Recommend_it Plug-in In reply to
Good point. I'll see how that can be handled.

PUGDOGŪ Enterprises, Inc.
FAQ:http://LinkSQL.com/FAQ
Forum:http://LinkSQL.com/forum
Quote Reply
Re: [UPDATED] Recommend_it Plug-in In reply to
Another one for you, if a user has added global variables to their setup that they want to access in the recommend template, at the moment they don't seem to be available (?) - perhaps this could be built in.

Cheers

Regan.

Quote Reply
Re: [UPDATED] Recommend_it Plug-in In reply to
i can not install this mode i keep getting permissin error even though i used the touch and chown mode and chmod it to 777. i even reinstalled linksql by myself and tested it and everything is working except the ability to install plugins.
i contacted the author of the plugin but his e-mail
returned back to me (r u still having problems with your isp?) this thing is driving me nut. any solution.
i was able to install recomend_it version 2.02 okay
p.s. installing linksql is a piece of cake :)

Quote Reply
Re: [UPDATED] Recommend_it Plug-in In reply to
I had to change the owner of the directory to nobody.nobody to get it to install. It wouldn't work even if the owner was me.nobody and nobody had read/write privileges for some reason. Try that, thats all I can suggest.

Regan.

Quote Reply
Re: [UPDATED] Recommend_it Plug-in In reply to
Is my email still bouncing?

That is _very_ disturbing to hear. Are you using Pugdog@Pugdog.com ??

Anyway, the way the install routines work, is that they are dependent on the Unix permissions.

So if you have a file in the user_cgi directory, and it's permissions are 775, the program should be able to overwrite it. If not, try setting the permissions to 777. Make sure the file is the _SAME_NAME_ as the one being written.

This is a problem I don't have any control over -- its "unix security" and if I did have any control over it, it wouldn't be "scurity" would it!! :)



PUGDOGŪ Enterprises, Inc.
FAQ:http://LinkSQL.com/FAQ
Forum:http://LinkSQL.com/forum
Quote Reply
Re: [UPDATED] Recommend_it Plug-in In reply to
the e-mail i used is wwwthread@linksql.com
found at the bottom of the forum on linksql.com

Quote Reply
Re: [UPDATED] Recommend_it Plug-in In reply to
Thank you for changing the subject line. Works great for me. Installation over the plugin-area in Links 2.0 went without problems.
So thank you again for this great script.

Quote Reply
Re: [UPDATED] Recommend_it Plug-in In reply to
Ah! Please use my pugdog address! I'm having trouble getting my server to accept mail for all the other domains. Alex said he'd look into it for me at some point.

I'll see about changing that.

PUGDOGŪ Enterprises, Inc.
FAQ:http://LinkSQL.com/FAQ
Forum:http://LinkSQL.com/forum