← Conversa Geral

O VERDADEIRO Offtopic 3

Lida 5076515 vezes

Offline

bonsempregos 
Membro
Mensagens 2008 Gostos 7
Feedback +3

Troféus totais: 29
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter Level 5 Level 4 Level 3 Level 2

Código: [Seleccione]
global $wpdb;
$wpdb->query("INSERT INTO $wpdb->emails (email, post, ip) VALUES('email@mail.com', 'istoéopost', 'istoéoip')");

Algo de errado nisso? Porque não está a funcionar, nem erro dá, nada! :(

Tens alguma tabela chamada emails?
Offline

Pedro Lopes 
Beta tester
Mensagens 3568 Gostos 18
Feedback +6

Troféus totais: 32
Trófeus: (Ver todos)
Level 6 Windows User Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3

Tens alguma tabela chamada emails?

Claro que sim. :P lol
Offline

Pedro Lopes 
Beta tester
Mensagens 3568 Gostos 18
Feedback +6

Troféus totais: 32
Trófeus: (Ver todos)
Level 6 Windows User Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3

24 HOURS IN 19500 FRAMES



:)
Offline

cenourinha 
Elite
Mensagens 4094 Gostos 21
Troféus totais: 34
Trófeus: (Ver todos)
Mobile User Apple User Level 6 Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4

O IP não será um campo numérico?
Offline

Pedro Lopes 
Beta tester
Mensagens 3568 Gostos 18
Feedback +6

Troféus totais: 32
Trófeus: (Ver todos)
Level 6 Windows User Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3

O IP não será um campo numérico?

Nepia, meti tudo com varchar, mesmo assim nada. :/
Offline

Pedro Lopes 
Beta tester
Mensagens 3568 Gostos 18
Feedback +6

Troféus totais: 32
Trófeus: (Ver todos)
Level 6 Windows User Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3

Resolvido.

Meti manualmente o prefixo, não devia de ser assim, mas pronto...

Código: [Seleccione]
$wpdb->query("INSERT INTO prefixo_emails (email, post, ip) VALUES('email@mail.com', 'istoéopost', 'istoéoip')");
Offline

bonsempregos 
Membro
Mensagens 2008 Gostos 7
Feedback +3

Troféus totais: 29
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter Level 5 Level 4 Level 3 Level 2

ahhh.. entao nao tinhas a tabela emails, tinhas a tabela prefixo_emails ;) bem me parecia :P
Offline

Pedro Lopes 
Beta tester
Mensagens 3568 Gostos 18
Feedback +6

Troféus totais: 32
Trófeus: (Ver todos)
Level 6 Windows User Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3

ahhh.. entao nao tinhas a tabela emails, tinhas a tabela prefixo_emails ;) bem me parecia :P

Supostamente, $wpdb->emails = prefixo_emails. ;)
Mas não estava a funcionar. Don't know why...
Offline

betanalista 
Membro
Mensagens 2564 Gostos 0
Feedback +18

Troféus totais: 26
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1

alguém aqui me sabe dizer como excluo categorias no "Article Directory WordPress Plugin"

linha 141:

Código: [Seleccione]
'cats'=> wp_list_categories( ( count($exclude_cat) ? 'exclude=' . implode(',', $exclude_cat) : '' ) . '&orderby=' . $orderby . '&show_count=' . $show_child_count . '&hide_empty=' . $hide_empty . '&use_desc_for_title=' . $desc_for_child_title . '&child_of=' . $parent->term_id . '&title_li=&hierarchical=' . $child_hierarchical . '&echo=0&feed=' . $feed)

eu quero excluir a categoria 1, penso que seja nessa linha, então já fiz

Código: [Seleccione]
'cats'=> wp_list_categories( ( count($exclude_cat) ? 'exclude=1' . implode(',', $exclude_cat) : '' ) . '&orderby=' . $orderby . '&show_count=' . $show_child_count . '&hide_empty=' . $hide_empty . '&use_desc_for_title=' . $desc_for_child_title . '&child_of=' . $parent->term_id . '&title_li=&hierarchical=' . $child_hierarchical . '&echo=0&feed=' . $feed)
mas ele exclui a 10, tambem já fiz 01 e nada..

 :-?
Offline

Pedro Lopes 
Beta tester
Mensagens 3568 Gostos 18
Feedback +6

Troféus totais: 32
Trófeus: (Ver todos)
Level 6 Windows User Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3

Tenta meter uma virgula depois do 1.
Offline

betanalista 
Membro
Mensagens 2564 Gostos 0
Feedback +18

Troféus totais: 26
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1

Tenta meter uma virgula depois do 1.


ja tentei e se meter só "1," da erro mas se meter por exemplo o 1 e um id de uma categoria que não exista do tipo "1,1000" não faz nada  :-?
Offline

xOy 
Membro
Mensagens 60 Gostos 6
Troféus totais: 25
Trófeus: (Ver todos)
Level 5 Windows User Apple User Mobile User Super Combination Combination Topic Starter Level 4 Level 3 Level 2

bbbbbbbbbooooooooooooooooorrrrrrrrrrrrrrrrrrriiii iiiiiiiiiiiiiiiiiinnnnnnnnnnnnngggggggggggggggggg gggggg
Offline

betanalista 
Membro
Mensagens 2564 Gostos 0
Feedback +18

Troféus totais: 26
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1

qual a melhor empresa de afiliados que vocês conheçam que tem campanhas por clique?
Offline

Pedro Lopes 
Beta tester
Mensagens 3568 Gostos 18
Feedback +6

Troféus totais: 32
Trófeus: (Ver todos)
Level 6 Windows User Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3

Alguém se quer juntar a mim em CS:S? Steam: LibertyTuga

:)
Offline

Casteloes 
Membro
Mensagens 935 Gostos 0
Feedback +14

Troféus totais: 31
Trófeus: (Ver todos)
Search Linux User Mobile User Windows User Super Combination Combination Topic Starter Poll Voter Level 5 Level 4

Imaginem que um dominio que com as palavras chaves que querem está registado nas extensões: .com, .net, .org, .biz, .info, .mobi, .tv e .eu.
Acham que registando por exemplo no dominio .me ou outro disponível conseguirei ter bom ranking?

A concorrência em termos de ranking do .com e afins não é grande já que são dominios parkeados.

Também me lembrei de usar os - mas são 3 palavras (sendo uma delas um de) e não sei se fica bem. Ficaria do tipo jogos-de-computador.net (sim o .com já está registado assim).

O tema não tem nada a ver com o que referi foi apenas um exemplo.