Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

Rate and Subscribe Paths

Quote Reply
Rate and Subscribe Paths
This is most likely a path thing but I can't find the problem. I've spent several hours building this migraine but can't resolve these last two issues.

Everything is working great except Rate It and Subscribe.

Migraine Part One: From the Rate It screen, after selecting the rating and clicking the rate it button rather than rating it the script takes you the the Top Rated sites screen. ??? hmmm... gota be a path thing.

Migraine Part Two: From the get e-mail updates screen, after filling out all the info and clicking the subscribe button it reloads subscribe.cgi and does not add to the e-mail list. ??? how do I educate this script so that it knows where to go?

Links.cfg Paths: (I have triple checked to ensure the paths match the website directory structure.)

# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/usr/local/psa/home/vhosts/surelinksalot.com/cgi-bin/directory/admin";
$db_dir_url = "http://surelinksalot.com/cgi-bin/directory/admin";

# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http://surelinksalot.com/cgi-bin/directory";

# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/usr/local/psa/home/vhosts/surelinksalot.com/httpdocs/directory";
$build_root_url = "http://surelinksalot.com/directory";

# PATH and URL of What's New page. No Trailing slash.
$build_new_path = "$build_root_path/New";
$build_new_url = "$build_root_url/New";

# PATH and URL of What's Cool page. No Trailing slash.
$build_cool_path = "$build_root_path/Cool";
$build_cool_url = "$build_root_url/Cool";

# PATH and URL of What's Rating page. No Trailing slash.
$build_ratings_path = "$build_root_path/Ratings";
$build_ratings_url = "$build_root_url/Ratings";


Where else do paths reside that I may have mis-typed?
Quote Reply
Re: [Web Rat] Rate and Subscribe Paths In reply to
Make sure you have the hidden variables <%ID%> in your rate.html template....such as;

<input type="hidden" name="ID" value="<%ID%>">

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Rate and Subscribe Paths In reply to
It is there but was slightly different.

Your line: <input type="hidden" name="ID" value="<%ID%>">
G-T line: <input type=hidden name="ID" value="<%ID%>">

I added the quotes around "hidden" as in your line of code but no change. It still takes me to Top Rated.

Web Rat
Quote Reply
Re: [Web Rat] Rate and Subscribe Paths In reply to
Do you have a demo of the problem that we can see?

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Rate and Subscribe Paths In reply to
http://surelinksalot.com/directory/

Never mind the column problem I had it set up with 3 but has gone back to two. I need to work on that issue today by retracing the 3-column mod.

Web Rat
Quote Reply
Re: [Web Rat] Rate and Subscribe Paths In reply to
Not sure if it is this, but you may wanna change the submit button to; (there was an extra space between the " and Rate...shouldnt make a difference, but you never know Wink)

<input class=green type="submit" value="Rate this Link">

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Rate and Subscribe Paths In reply to
You're right, it doesn't matter what you put in the "value" tag of an "<input...", it's just the text that shows up in the button. I do spaces frequently for button width. Try adding several &nbsp; in one of your buttons. e.g. value="&nbsp;&nbsp; S &nbsp; u &nbsp; b &nbsp; m &nbsp; i &nbsp; t &nbsp;&nbsp;" you'll find that the button grows in width by the number of &nbsp; (no-break space). Wink

Web Rat
Quote Reply
Re: [Web Rat] Rate and Subscribe Paths In reply to
Problem resolved. I backed out the dmoz spider mod and everything is now working!!!

Andy, thanks for your help! You are a great asset to this form.

Web Rat
Davez Webz
Sure Links A Lot