Hello.
I'm working at a digg-like addon for my site that will popup an ajax login box if the user tries to vote without being logged in (rather than redirecting to login.php). Technically, it's Thickbox with minor modifications.
Now, I kind of need some help. In link_summary.tpl, after the line:
Code:
<li class="menealo" id="mnmlink-{$link_shakebox_index}"> I pasted the following line:
Code:
{if $user_authenticated ne true} {* show only if NOT logged in *} then my thickbox code, which is nothing more than changing the "javascript
:{$link_shakebox_javascript_vote}" thingie into an URL, and I thought it would work. The good news is that if I try to vote and I'm logged out, it works. It pops the ajax dialog. The bad news is that it does the same thing even when logged in. What the heck am I missing here? I spent the last 4 hours figuring this out (no, I'm not a pro) and still no results.
The website is
www.wowtick.com (world of warcraft related). Right now it's live, so the buttons are on "default" (no ajax-thickbox-thingie). If you want to see the dialog, there's a "Test" link in the site's footer.
Thanks in advance.