Problem with the code of the vote.

joana16

New Member
Hello , my ranking is generating the following code:

Code:
<a href="http://top200lineage2.com.br/"><img src="http://top200lineage2.com.br/button.php?u=pacheco16&buttontype=static" alt="Top 200 Lineage2" /></a>
When the visitor clicks the button it is not redirected to the page to vote. He is redirected to the home page .

Could you help me? It is wise for the visitor to click and be directed to the voting page .
 

Basti

Administrator
Staff member
But a vote gets registered right? Seems like you simply not have the gateway page enabled, check your admin settings
 

joana16

New Member
voting link is normal :
http://top200lineage2.com.br/index.php?a=in&u=pacheco16

The problem is that it is not generating the correct code. It should be like this:
Code:
<a href="http://top200lineage2.com.br/index.php?a=in&u=pacheco16"> <img src = "http://top200lineage2.com.br/button.php?u=pacheco16&buttontype=static" alt = "Top 200 Lineage2" / > </a>
But this thus generating :
Code:
<a href="http://top200lineage2.com.br/"> <img src = "http://top200lineage2.com.br/button.php?u=pacheco16&buttontype=static" alt = "Top 200 Lineage2" / > </a>
Here is my page that generates static code:
Code:
{$lng->link_code_static_button} <a href="{$list_url}/{$verbose_link}"><img src="{$list_url}/button.php?u={$button_username}&buttontype=static" alt="{$text_link_button_alt}" /></a>
<br />
<textarea readonly="readonly" name="code" rows="6" style="width: 90%;" onclick="this.focus(); this.select();">&lt;a href="{$list_url}/{$verbose_link}">&lt;img src="{$list_url}/button.php?u={$button_username}&buttontype=static" alt="{$text_link_button_alt}" />&lt;/a></textarea>
<hr />
 

joana16

New Member
I left the generator in this way and it worked, thank you.

Code:
{$lng->link_code_static_button} <a href="{$list_url}/index.php?a=in&u={$username}" target="_blank"><img src="{$list_url}/button.php?u={$button_username}&buttontype=static" alt="{$text_link_button_alt}" /></a>
<br />
<textarea readonly="readonly" name="code" rows="6" style="width: 90%;" onclick="this.focus(); this.select();">&lt;a href="{$list_url}/index.php?a=in&u={$username}" target="_blank">&lt;img src="{$list_url}/button.php?u={$button_username}&buttontype=static" alt="{$text_link_button_alt}" />&lt;/a></textarea>
<hr />
 

Basti

Administrator
Staff member
I advise you to keep friendly vote links. If you use the {$list_url}/index.php?a=in&u={$username} you loose a lot of SEO power

If you have to use it, keep the {$list_url}/{$verbose_link}
You just need to disable google friendly links in admin settings under button settings. Disabling the check there results in the same thing, but i would keep it unless you need votes from facebook for example

If vote link is just your domain, it is
1. More seo power, because every member links to your main domain. The correct member is recieved via referrer.
2. Vote must come from the site the user registered with. User registered siteA.com and can only place the vote button on siteA.com
Button on siteB.com does not work because he not registered with it.

The other longer vote link is bad for SEO, because every member links to a different thing.
If user registered siteA.com they can also vote from siteB.com
 
Top