That didn't work.

John

![]() |
| | Thread Tools | Display Modes |
| ||||
|
Simon, That didn't work. ![]() John |
| ||||
| Quote:
|
| ||||
|
I've got the EVB placed on my blog, but noticed a few things. 1. The large container says "Go" - I found this in the code of url.php, but the demo uses numbers. Does it say "Go" until the story is submitted? 2. Submitted story still says "Go" - I have submitted one of my blog articles that has the EVB on it. Blog URL: http://www.jrothraministries.com/blog/archives/93 FaithTag Submission URL: http://www.faithtag.com/story.php?ti...hed-Not-Really As you can see, the story has been voted on three times, yet the EVB shows "Go" in the box. It seems there's something I'm not understanding or missing. |
| ||||
|
Any thoughts from anyone? What might be causing the system to not show the votes as displayed in the demo?
|
| |||
| Quote:
|
| |||
|
You can change 'Go' to whatever you want in url.php (I actually changed mine to 0 for the site I use it on recently). You should check what is being recorded in the link_url field for the story you quoted above. Remember that your EVB has the http:// removed because of your host's setup. This means that if the link_url field contains http then the 2 won't match. You need to make sure either everything uses http, or nothing does. Example: http://www.faithtag.com/evb/url.php?...og/archives/93 (uses http, and matches) http://www.faithtag.com/evb/url.php?...og/archives/93 (no http, so no match) See? |
| ||||
|
That makes sense. So I went to look for "link_url" in url.php and button.php and only found one instance of that... here (in url.php): Code: $link_query = @mysql_query("SELECT link_id,link_votes FROM $db_table WHERE link_url=\"$url\" AND (link_status='published' OR link_status='queued') LIMIT 1"); |
| ||||
|
Nevermind, I found a solution. It seemed to be a conflict between an .htaccess hack and this code in button.php: Code: $url_mod = 0; //change value to 1 if you are having problems with 406 errors, otherwise don't touch! |
| |||
|
Glad you sorted it. ![]() The $url_mod variable should always be left at 0 unless there is no other way round the 406 errors. |
| |||
|
This EVB isn't QUITE working for me. Sample vote button on this page I have anonymous=true If I am logged in (and remembered) it works fine when I click "Cook-It". I am not logged in and click "Cook-It" it does not work, it re-directs me to the login page even though I have anonymous set to true. Am I missing a configuration issue here? |
![]() |
| Thread Tools | |
| Display Modes | |
| |