Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Yağız... on July 14, 2008, 01:52:17 PM

Title: Google Tagged
Post by: Yağız... on July 14, 2008, 01:52:17 PM
Link to Mod (https://custom.simplemachines.org/mods/index.php?mod=1245)



GoogleTagged v2.1
By [n3rve] | SONSiVRi | Yağız..



Introduction
Every time a visitor is brought to a topic by a major search engine (Google/Yahoo/MSN/Ask/AOL/AllTheWeb), this modification grabs the search terms that were used and stores them.

Eg A visitor may have just searched for 'harry potter'.  If the visitor then clicked on a link to a topic on your forum, that url is often passed to the forum. eg http://www.google.co.uk/search?hl=en&q=harry+potter (http://www.google.co.uk/search?hl=en&q=harry+potter)
The script then grabs 'harry potter' and stores them as tags.

A random selection of each topics tags are shown at the bottom each topic. The more visitors who are brought to the topic by the same search terms, the more hits each tag gets, the larger it appears.  Tags which the match those of the visiting users search are also shown in a different color.

This mod will ONLY function properly if your forum
- is public (eg Most/all of your topics/posts must be viewable to guests so they can be spidered)
- does NOT have a robots.txt which disallows all spiders (as spiders would not be able to spider your site)
- That your forum is relatively well spidered already

The http_referer header isn't always sent by the browser.
Not all servers accept http referrer. It doesn't require register_globals to be on.

Features
Includes two admin settings
o Enable/Disable GoogleTagged Mod
o Setting multiple searchterms are stored to individually or together (not recommended)
Admin Tag Management featuring..
o (Un)Ban tags
o Reset Tags (Sets hits for each tag at Zero)
o Optimize Tags (Removes tags for deleted topics and general optimization)
Filtering Of Keywords
o Words' length can be set in GoogleTagged settings, default is 3 minimum and 20 maximum.  Bad characters are stripped allowing only [-a-Z0-9].
o Automatic removal of lots of Common/Bad Terms ('the','them','d**k' etc)
Per-Topic Tag Cloud
o Show random tags of each topic (default 20)
Random Tags (default 50)
Show All Topics Related To A Tag (Paginated), sorted by 'hits'.

Support
Please use the modification thread for support with this modification.

Contribution
You are welcome to contribute via GitHub: https://github.com/smguy9/GoogleTagged (https://github.com/smguy9/GoogleTagged)

Language Support
o English /utf8
o Turkish /utf8      Thanks to SONSiVRi (http://www.simplemachines.org/community/index.php?action=profile;u=126462)
All translations are welcome.

Licence
This mod is licensed under MIT License

Yağız... ©2010
[n3rve] ©2006 - 2008
Title: Re: Google Tagged
Post by: franklinrony on July 15, 2008, 12:34:32 AM
wow marvelous good seo mod, you develop too smf 2.0 version?
Title: Re: Google Tagged
Post by: N3RVE on July 15, 2008, 09:43:31 AM
Quote from: frony on July 15, 2008, 12:34:32 AM
wow marvelous good seo mod, you develop too smf 2.0 version?

Thanks to Karl Frony ;)
A 2.0 version may be made available.

-[n3rve]
Title: Re: Google Tagged
Post by: franklinrony on July 15, 2008, 03:13:44 PM
congratulations,i wait smf 2.0, this mod increase the web trafic :)
Title: Re: Google Tagged
Post by: ashsimmonds on July 15, 2008, 09:07:58 PM
Quote from: frony on July 15, 2008, 03:13:44 PM
this mod increase the web trafic :)

Yes and no...

Initially all it does is tell you which search terms are leading to which threads.

However - later on once Google starts going to the tagged pages themselves (which show the topics tagged by that search term) - it becomes an indexed page itself.  Very interesting at the least.

eg, here's a list of links which go to my GoogleTagged pages directly, I've had the mod on there a few weeks and have about 3,000 search terms linking in so far (only 300+ have been indexed as yet):

---> http://www.google.com/search?q=site:aussieexotics.com/forum+inurl:tagged&filter=0
Title: Re: Google Tagged
Post by: Ni©holąś™ on July 16, 2008, 06:33:15 AM
good job.congratulations. thanks :D
Title: Re: Google Tagged
Post by: SONSiVRi on July 19, 2008, 07:58:59 AM
There is bug still exist; http://www.simplemachines.org/community/index.php?topic=187510.msg1404939#msg1404939
Title: Re: Google Tagged
Post by: N3RVE on July 19, 2008, 09:56:10 AM
Quote from: SONSiVRi on July 19, 2008, 07:58:59 AM
There is bug still exist; http://www.simplemachines.org/community/index.php?topic=187510.msg1404939#msg1404939

Resolved, Thank You.

-[n3rve]
Title: Re: Google Tagged
Post by: Apllicmz on July 19, 2008, 02:28:24 PM
translate to portuguese and brazilian

can puty here demo...i try to install default smf she not work


<file name="$languagedir/Modifications.portuguese.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['googletagged'] = 'GoogleTagged';
$txt['googletagged_admin'] = 'GoogleTagged';
$txt['googletagged_menu'] = 'GoogleTagged';
$txt['googletagged_manage'] = 'Gerenciar GoogleTagged';
$txt['permissionname_googletagged_manage'] = 'Gerenciar GoogleTagged';
$txt['permissiongroup_googletagged'] = 'GoogleTagged';
]]></add>
</operation>
<file name="$languagedir/Modifications.brazilian.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['googletagged'] = 'GoogleTagged';
$txt['googletagged_admin'] = 'GoogleTagged';
$txt['googletagged_menu'] = 'GoogleTagged';
$txt['googletagged_manage'] = 'Gerenciar GoogleTagged';
$txt['permissionname_googletagged_manage'] = 'Gerenciar GoogleTagged';
$txt['permissiongroup_googletagged'] = 'GoogleTagged';
]]></add>
</operation>



<file name="$languagedir/Modifications.portuguese-utf8.php" error="skip">
<search position="end" /><![CDATA[]]></search>
<add><![CDATA[
$txt['googletagged'] = 'GoogleTagged';
$txt['googletagged_menu'] = 'GoogleTagged';
$txt['googletagged_admin'] = 'GoogleTagged';
$txt['googletagged_manage'] = 'Gerenciar GoogleTagged';
$txt['permissionname_googletagged_manage'] = 'Gerenciar GoogleTagged';
$txt['permissiongroup_googletagged'] = 'GoogleTagged';
]]></add>
</file>
</operation>
<file name="$languagedir/Modifications.brazilian-utf8.php" error="skip">
<search position="end" /><![CDATA[]]></search>
<add><![CDATA[
$txt['googletagged'] = 'GoogleTagged';
$txt['googletagged_menu'] = 'GoogleTagged';
$txt['googletagged_admin'] = 'GoogleTagged';
$txt['googletagged_manage'] = 'Gerenciar GoogleTagged';
$txt['permissionname_googletagged_manage'] = 'Gerenciar GoogleTagged';
$txt['permissiongroup_googletagged'] = 'GoogleTagged';
]]></add>
</file>
</operation>
Title: Re: Google Tagged
Post by: N3RVE on July 20, 2008, 06:57:16 AM
Thanks for the huge translation joomlamz, I'll be updating the mod shorlty.

Quote from: joomlamz on July 19, 2008, 02:28:24 PM
can puty here demo...i try to install default smf she not work

Did you have a problem installing the mod?
If you got Test Failed results on specific files, you can attach them here so I make the manual modifications.

-[n3rve]
Title: Re: Google Tagged
Post by: SONSiVRi on July 20, 2008, 11:16:36 AM
hey n3rve,
I did usefull things for me, I dunno are there any users wants them too?
- changing display count in tags cloud
- displaying total tags in tags cloud

http://img170.imageshack.us/img170/5253/ss05id3.jpg
http://img403.imageshack.us/img403/2162/ss06yd4.jpg
Title: Re: Google Tagged
Post by: SONSiVRi on July 20, 2008, 11:40:00 AM
here is Turkish translation

Code ($languagedir/Modifications.english.php) Select

$txt['googletagged'] = 'GoogleTagged';
$txt['googletagged_admin'] = 'GoogleTagged';
$txt['googletagged_menu'] = 'GoogleTagged';
$txt['googletagged_manage'] = 'GoogleTagged Yönetim';
$txt['permissionname_googletagged_manage'] = 'GoogleTagged Yönetim';
$txt['permissiongroup_googletagged'] = 'GoogleTagged';



Code ($themedir/languages/GoogleTagged.english.php) Select

$txt['googletagged'] = 'GoogleTagged';
$txt['googletagged_random50'] = 'GoogleTagged (50 Rastgele)';
$txt['googletagged_search'] = 'GoogleTagged ile yakalanan başlıklar ';
$txt['googletagged_subject'] = 'Konu';
$txt['googletagged_startedby'] = 'Başlatan';
$txt['googletagged_replies'] = 'Yanıtlar';
$txt['googletagged_views'] = 'İzlenme sayısı';
$txt['googletagged_pages'] = 'Sayfalar: ';

$txt['googletagged_admin'] = 'GoogleTagged Yönetim';
$txt['googletagged_admin_bantag'] = '[Yasaklı Etiket]';
$txt['googletagged_admin_error'] = 'Yasaklı etiket atama yetkiniz yok';
$txt['googletagged_admin_reset'] = 'Bütün etiketlerin izlenme sayısını sıfırla';
$txt['googletagged_admin_optimize'] = 'Etiketleri optimize et';
$txt['googletagged_admin_settings'] = 'Ayarlar';
$txt['googletagged_adminsbannedwords'] = 'Yasaklı etiketler';
$txt['googletagged_admin_addbannedwords'] = 'Yasaklı etiket ekle';
$txt['googletagged_admin_addwordban'] = 'Yasaklı etiket ekle';
$txt['googletagged_admin_removebannedwords'] = 'Yasaklı etiket sil';
$txt['googletagged_admin_nobannedwords'] = 'Yasaklı etiket bulunmuyor';
$txt['googletagged_googletagged'] = 'GoogleTagged etkin/etkisiz';
$txt['googletagged_together'] = 'Arama kriterlerini birlikte (parçalamadan) sakla';
$txt['googletagged_empty'] = 'Henüz hiçbir başlık GoogleTagged ile etiketlenmedi!<br />';
$txt['save'] = 'Ayarları kaydet';
Title: Re: Google Tagged
Post by: N3RVE on July 21, 2008, 04:27:26 PM
Now, I've got some little work :)
Thank you so much [John_Stewart].

-[n3rve]
Title: Re: Google Tagged
Post by: pooya on July 21, 2008, 05:14:39 PM
Quote from: SONSiVRi on July 20, 2008, 11:16:36 AM
hey n3rve,
I did usefull things for me, I dunno are there any users wants them too?
- changing display count in tags cloud
- displaying total tags in tags cloud

http://img170.imageshack.us/img170/5253/ss05id3.jpg
http://img403.imageshack.us/img403/2162/ss06yd4.jpg

Omg i want them !
Title: Re: Google Tagged
Post by: jmil on July 23, 2008, 12:40:34 PM
version 1.1.4  Black45 Theme - Instant install - Not an issue Nice

I will followup with results.

Good Job and I hope it helps my rankings.
Title: Re: Google Tagged
Post by: Realinfo on July 24, 2008, 01:01:21 AM
can't we hide Google tagged button from our members or guests................. or do it help us to get on first page on google search....................
Title: Re: Google Tagged
Post by: SONSiVRi on July 24, 2008, 06:48:44 AM
Quote from: Realinfo on July 24, 2008, 01:01:21 AM
can't we hide Google tagged button from our members or guests................. or do it help us to get on first page on google search....................

Find in "$themedir/index.template.php"
// The [GoogleTagged] Button

Add something like shown as belove after this row
if ($context['user']['is_logged'])
if ($context['user']['is_guest']) 
if ($context['allow_admin'])


You will see example usage in that file, look around of find criteria.
Title: Re: Google Tagged
Post by: N3RVE on July 24, 2008, 08:26:47 AM
Quote from: Realinfo on July 24, 2008, 01:01:21 AM
Can't we hide Google tagged button from our members or guests?
This will have to be done manually? The next release will have an option as to who should be able to view the button. As for now, you'll have to do this manually.

Code (Find) Select

// The [GoogleTagged] Button
echo ($current_action == 'tagged' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'tagged' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=tagged">' , $txt['googletagged']  , '</a>
</td>' , $current_action == 'tagged' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


Replacing the above code with this will not display the button to anyone who isn't logged on
Code (Replace with) Select

// The [GoogleTagged] Button
if ($context['user']['is_logged'])
echo ($current_action == 'tagged' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'tagged' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=tagged">' , $txt['googletagged']  , '</a>
</td>' , $current_action == 'tagged' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


Replacing the above with the following wouldn't show the button to anyone except Administrators
Code (Replace with) Select

// The [GoogleTagged] Button
if ($context['allow_admin'])
echo ($current_action == 'tagged' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'tagged' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=tagged">' , $txt['googletagged']  , '</a>
</td>' , $current_action == 'tagged' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


Quote from: Realinfo on July 24, 2008, 01:01:21 AM
Or do it help us to get on first page on google search?

Please refer to the Mod's introduction at the first post of this thread.

/me will like to thank SONSiVRi for the translation and follow up of this mod.

-[n3rve]
Title: Re: Google Tagged
Post by: N3RVE on July 24, 2008, 10:13:02 AM
Thanks to those who translated these mods to support;


1.4 has been released, I updated the mod today and it now supports the above languages, also -the bug reported by SONSiVRi has also been resolved. The next version will be released as soon as I have completed development, it will be compatible with 2.0 and all features from 1.4 with more will be added.

Thank you

-[n3rve]
Title: Re: Google Tagged
Post by: SONSiVRi on July 24, 2008, 01:44:57 PM
btw [n3rve]
I found these variables defined but not using anywhere
googletagged_admin_bantag
googletagged_admin_error
Title: Re: Google Tagged
Post by: N3RVE on July 24, 2008, 02:04:23 PM
Quote from: SONSiVRi on July 24, 2008, 01:44:57 PM
btw [n3rve]
I found these variables defined but not using anywhere
googletagged_admin_bantag
googletagged_admin_error


I'll work on that, but it's nothing to worry about :)

-[n3rve]
Title: Re: Google Tagged
Post by: pooya on July 24, 2008, 02:31:06 PM
Quote from: pooya on July 21, 2008, 05:14:39 PM
Quote from: SONSiVRi on July 20, 2008, 11:16:36 AM
hey n3rve,
I did usefull things for me, I dunno are there any users wants them too?
- changing display count in tags cloud
- displaying total tags in tags cloud

http://img170.imageshack.us/img170/5253/ss05id3.jpg
http://img403.imageshack.us/img403/2162/ss06yd4.jpg

Omg i want them !
\

Bump
Title: Re: Google Tagged
Post by: SONSiVRi on July 25, 2008, 08:04:47 AM
Quote from: pooya on July 24, 2008, 02:31:06 PM
Quote from: pooya on July 21, 2008, 05:14:39 PM
Quote from: SONSiVRi on July 20, 2008, 11:16:36 AM
hey n3rve,
I did usefull things for me, I dunno are there any users wants them too?
- changing display count in tags cloud
- displaying total tags in tags cloud

http://img170.imageshack.us/img170/5253/ss05id3.jpg
http://img403.imageshack.us/img403/2162/ss06yd4.jpg

Omg i want them !
\

Bump

I am including 3 colored html files showing which files I modified, you could modify yourselves looking up to those files.
Title: Re: Google Tagged
Post by: pooya on July 26, 2008, 04:46:05 AM
Thankyou ^^^

Worked flawlessly, just that i had 2 do the settings from admin and save, cause error was coming before i did it :)

But is there no way to link the total tags ? so that google bot can click on it ?
Title: Re: Google Tagged
Post by: SONSiVRi on July 26, 2008, 10:51:56 AM
Quote from: pooya on July 26, 2008, 04:46:05 AM
Thankyou ^^^

Worked flawlessly, just that i had 2 do the settings from admin and save, cause error was coming before i did it :)

But is there no way to link the total tags ? so that google bot can click on it ?

Tags cloud is for google itself, not for users to tracing I think. In this case you can set 99.000 to display all tags in cloud. I dunno is it kick forum engine's ass.
Title: Re: Google Tagged
Post by: pooya on July 28, 2008, 01:15:04 PM
Quote from: SONSiVRi on July 26, 2008, 10:51:56 AM
Quote from: pooya on July 26, 2008, 04:46:05 AM
Thankyou ^^^

Worked flawlessly, just that i had 2 do the settings from admin and save, cause error was coming before i did it :)

But is there no way to link the total tags ? so that google bot can click on it ?

Tags cloud is for google itself, not for users to tracing I think. In this case you can set 99.000 to display all tags in cloud. I dunno is it kick forum engine's ass.

What do you mean kick from googles ass ?
Title: Re: Google Tagged
Post by: SONSiVRi on July 28, 2008, 08:28:53 PM
I mean it may overload server's cpu when you set 99.000 tag to display.
Title: Re: Google Tagged
Post by: MarioH on July 31, 2008, 06:21:45 AM
Al presionar una etiqueta me da el siguiente error
Pressing a googletag gives me the following error

An appropriate representation of the requested resource /index.php could not be found on this server.

Ayuda porfavor
Helpme Plz

no tengo acceso al htaccess, es posible utilizar otro metodo de envio, o redieccionar directo al foro la etiqueta en ves de construir una pagina?

I do not have access to htaccess, you can use another method of shipment, or redirect forum to direct the label instead of building a page?



Gracias
Title: Re: Google Tagged
Post by: SONSiVRi on July 31, 2008, 05:42:32 PM
"MarioH"
did you correctly installed it?
I mean have you checked modifications by manual way?
Title: Re: Google Tagged
Post by: MarioH on August 01, 2008, 04:36:17 PM
yes, I install mod manual
and for system Packets and not result. u.u!

Lo instale por sistema de paquetes y manualmente, y de ninguna forma me funciono (no se que hacer) u.u!! error 406!


I read that this is the mod_security, but my server does not allow modify htaccess.
Any solution?
Thank you

Lei que se trata por el mod_security, pero mi server no permite modificar los htaccess.
Alguna solucion?


Gracias
Title: Re: Google Tagged
Post by: rickster on August 11, 2008, 07:20:50 PM
Since installing this I get : 

$txt['googletagged'] = 'GoogleTagged'; $txt['googletagged_admin'] = 'GoogleTagged'; $txt['googletagged_menu'] = 'GoogleTagged'; $txt['googletagged_manage'] = 'Gerenciar GoogleTagged'; $txt['permissionname_googletagged_manage'] = 'Gerenciar GoogleTagged'; $txt['permissiongroup_googletagged'] = 'GoogleTagged';

At the top of the page, also the fonts on the forum have increased.
I use Techead theme by Bloc.

Any ideas ?
Title: Re: Google Tagged
Post by: N3RVE on August 12, 2008, 06:28:36 AM
Hello Rickster,


Please download the fol. file via FTP (How do I use FTP? / What is FTP? (http://docs.simplemachines.org/index.php?topic=480))
./Themes/default/languages/Modifications.{your language}.php
Ensure that the php opening tag (<?php) is on the very first line and the closing tag (?>) is on the last.

Hello MarioH,

You installed the mod manually?
what do you mean by "and for system Packets and not result. u.u!" ?
Can you get someone to translate that part so I understand you better?
Quote
I read that this is the mod_security, but my server does not allow modify htaccess.
Any solution?
If your host doesn't allow you to disable mod_security, just delete the .htaccess file or replace it with the backup you made.  However, if this does happen you will not be able to disable mod_security's filtering.

-[n3rve]
Title: Re: Google Tagged
Post by: rickster on August 12, 2008, 07:06:14 PM
Thanks, that sorted it !  :)
Title: Re: Google Tagged
Post by: dany_danay on September 16, 2008, 08:43:52 AM
can you modify for efsane Turkler2?Thanks
Title: Re: Google Tagged
Post by: N3RVE on September 16, 2008, 08:48:17 AM
Quote from: dany_danay on September 16, 2008, 08:43:52 AM
can you modify for efsane Turkler2?Thanks

I believe that's a theme. . Sorry, I can't do the manual modification for you.
Read: How do I modify files? (http://www.simplemachines.org/community/index.php?topic=24110.0)

-[n3rve]
Title: Re: Google Tagged
Post by: Foxi on September 17, 2008, 02:24:46 PM
n3rve


turkish charecter pls..

ö ü i ş ğ vs..

Atatürk gençliğe hitabesi google search:  Tagged : hitabesi ==== FALSE

TRUE ========= Tagged : Ataturk genclige hitabesi


Thanks.

Title: Re: Google Tagged
Post by: rower on September 20, 2008, 12:24:13 PM
Translate to poland user :)




<?php
/**************************************************
  googletagged mod v1.4 - googletagged.polish.php
**************************************************/

// normal strings - for non-admins/mods
$txt['googletagged'] = 'GoogleTagged';
$txt['googletagged_random50'] = 'GoogleTagged (50 Przypadkowe)';
$txt['googletagged_search'] = 'Wątek GoogleTagged z ';
$txt['googletagged_subject'] = 'Temat';
$txt['googletagged_startedby'] = 'Zaczęty przez';
$txt['googletagged_replies'] = 'Odpowiedzi';
$txt['googletagged_views'] = 'Pokazane';
$txt['googletagged_pages'] = 'Strony: ';

// admin/mods
$txt['googletagged_admin'] = 'GoogleTagged Admin';
$txt['googletagged_admin_bantag'] = '[Ban Tag]';
$txt['googletagged_admin_error'] = 'Nie masz uprawnień do banowania tagów !';
$txt['googletagged_admin_reset'] = 'Wyczyść wszystko';
$txt['googletagged_admin_optimize'] = 'Optymymalizacja tagów;
$txt['
googletagged_admin_settings'] = 'Ustawienia';
$txt['
googletagged_adminsbannedwords'] = 'Zbanowane Tagi;
$txt['googletagged_admin_addbannedwords'] = 'Dodaj bana taga';
$txt['googletagged_admin_addwordban'] = 'Dodaj bana taga';
$txt['googletagged_admin_removebannedwords'] = 'Usuń bany';
$txt['googletagged_admin_nobannedwords'] = 'Ten tag jest zbanowany';
$txt['googletagged_googletagged'] = 'Włącz/Wyłącz  GoogleTagged Moda';
$txt['googletagged_together'] = 'Zapisuj wyniki z wyszukiwarki.';
$txt['googletagged_empty'] = 'Ten wątek nie jest jeszcze ztagowany!!<br />';
$txt['save'] = 'Zapisz ustawienia';

?>


Title: Re: Google Tagged
Post by: danthony on September 21, 2008, 09:59:59 AM
Nice mod...good work

awaiting 2.0  :) hows the progress?
Title: Re: Google Tagged
Post by: matasanos on September 21, 2008, 10:17:33 AM
i try to put in board index a Tag Cloud..but i cant

someone knows how to do that??
Title: Re: Google Tagged
Post by: SONSiVRi on September 21, 2008, 03:34:44 PM
Quote from: matasanos on September 21, 2008, 10:17:33 AM
i try to put in board index a Tag Cloud..but i cant

someone knows how to do that??


I think you need codes located inside of GoogleTagged.template.php and GoogleTagged.php
Title: Re: Google Tagged
Post by: ashsimmonds on September 24, 2008, 01:16:57 AM
I just made an SSI function I think.

http://aussieexotics.com/forum
Title: Re: Google Tagged
Post by: matasanos on September 24, 2008, 07:38:35 AM
Quote from: ashsimmonds on September 24, 2008, 01:16:57 AM
I just made an SSI function I think.

http://aussieexotics.com/forum

oo this is what i want

can you share the code pleasE?
Title: Re: Google Tagged
Post by: ashsimmonds on September 24, 2008, 07:49:34 AM
Quote from: matasanos on September 24, 2008, 07:38:35 AM
Quote from: ashsimmonds on September 24, 2008, 01:16:57 AM
I just made an SSI function I think.

http://aussieexotics.com/forum

oo this is what i want

can you share the code pleasE?

Far as I recall it's mostly copied from the other function, there may be stuff in there which is specific to my setup though so definitely make a back-up before pasting this into the SSI.


function ssi_RandomGoogleTags() {

global $query, $context, $row, $highest, $lowest, $maxsize, $minsize, $diff, $steps, $key, $done, $i, $scripturl, $db_prefix;

// $db_prefix = $db_prefix . "smf_";

// PREPARE A TAG CLOUD
// NOW THIS IS COMPLEX BECAUSE THE SAME TAG MAY HAVE BEEN SAVED MULTIPLE TIMES
// DELETED TOPICS WHERE TAGS STILL REMAIN WILL BE IGNORED.

$query = db_query("
SELECT g.tag, g.ID_TAG, g.hits, g.status, g.ID_TOPIC, t.ID_TOPIC
FROM {$db_prefix}googletagged as g, {$db_prefix}topics as t
WHERE g.ID_TOPIC = t.ID_TOPIC
AND g.status != 0
GROUP BY g.tag
ORDER BY RAND()
LIMIT 50
", __FILE__, __LINE__);

// FOUND SOME TAGS?
if(mysql_num_rows($query) != 0) {
// CREATE AN ARRAY FOR TAGS
$context['googletagged'] = array();
// CYCLE THROUGH
$highest = 1 ;
$lowest = 999999999999 ; // SO IT FORCES THE FIRST ROW TO BE THE LOWEST
while($row = mysql_fetch_assoc($query)) {
// STORE THE INFO FOR LATER ON
$context['googletagged'][] = $row;
$highest = ($row['hits'] > $highest) ? $row['hits'] : $highest ;
$lowest = ($row['hits'] < $lowest) ? $row['hits'] : $lowest ;
}
// TIDY UP
unset($row);
// WORK OUT THE SIZES FOR US
// FIRST THE MAX AND MIN SIZES THAT WE CAN USE IN %
$maxsize = 200;
$minsize = 100;
// WHATS THE DIFFERENCE - IF 0, DIVIDING MY ZERO WILL CAUSE AN ERROR
$diff = ($highest - $lowest == 0) ? 1 : ($highest - $lowest) ;
// EVENLY STEP THE TAGS
$steps = ($maxsize - $minsize)/$diff;

// CYCLE THROUGH OUR TAGS
foreach ($context['googletagged'] as $key => $row) {
// ADD THE COLUMN FOR SIZE

$context['googletagged'][$key]['size'] = ceil($minsize + ($steps * ($row['hits'] - $lowest)));
$context['googletagged'][$key]['text'] = str_replace("+", " ", $context['googletagged'][$key]['tag']);
}
// TIDY UP
unset($key,$row,$steps,$highest,$lowest,$maxsize,$minsize);
mysql_free_result($query);

// SECOND POINT - IF NOT REACHED THE END BY HERE - ERROR!!!
$done = true;
}

// START THE TABLE
echo '<table border="0" cellpadding="4" cellspacing="0" align="center" width="100%" class="tborder">
<tr class="titlebg">
<td align="center">
50 Random search terms (what people type into Google that brings them to the forum)
</td>
</tr>
<tr>
<td align="center" class="windowbg2" style="font-size:10px;" >';

// START OUR TAG CLOUD
if(isset($context['googletagged'])) {
$i = 1 ;
// WRITE OUT OUR TAGS
foreach($context['googletagged'] as $key => $row) {
echo '  <a href="', $scripturl , '?action=tagged;id=', $row['ID_TAG'] ,';tag=', $row['tag'] ,'" style="font-size: '.$row['size'].'%;" title="', $row['text'] ,'">', ucwords($row['text']) ,'</a> |';
// INCREASE COUNTER UNTIL WE MAY NEED TO BREAK
// IF DIVISABLE BY 10 - NEW LINE
// echo (($i % 6) == 0) ? '<br/>' : '';
$i++;
}
// TIDY UP
unset($i,$key,$row);
} else {
// NO TAGS, SO TELL THE USER
echo $txt['googletagged_empty'];
}

// END THE TABLE
echo ' </td>
</tr>
  </table>';

        return;

}

Title: Re: Google Tagged
Post by: matasanos on September 24, 2008, 07:55:27 AM
thank you!!!!

now..time to:              try to incorpore it

Title: Re: Google Tagged
Post by: matasanos on September 24, 2008, 01:09:47 PM
incorporated

all good!!

thanks again
Title: Re: Google Tagged
Post by: City Builder on October 03, 2008, 04:52:05 PM
The mod reported no errors before installation, it reported it successfully installed the mod.  Upon installation it took me to the settings page, HOWEVER, on every page on my site now, is the following information at the top of every single page:

$txt['googletagged'] = 'GoogleTagged'; $txt['googletagged_admin'] = 'GoogleTagged'; $txt['googletagged_menu'] = 'GoogleTagged'; $txt['googletagged_manage'] = 'Manage GoogleTagged'; $txt['permissionname_googletagged_manage'] = 'Manage GoogleTagged'; $txt['permissiongroup_googletagged'] = 'GoogleTagged'; $txt['googletagged'] = 'GoogleTagged'; $txt['googletagged_admin'] = 'GoogleTagged'; $txt['googletagged_menu'] = 'GoogleTagged'; $txt['googletagged_manage'] = 'Gerenciar GoogleTagged'; $txt['permissionname_googletagged_manage'] = 'Gerenciar GoogleTagged'; $txt['permissiongroup_googletagged'] = 'GoogleTagged';

Perhaps someone can help me fix this problem?

I've already tried uninstalling it and it uninstalled, however the above text remains on the site, reinstalling the mod a second time, only makes the above text duplicated, uninstalling it removes half of it, but the remainder stays.

Where do I look to get rid of that text, what do I do to get my sites running the way it was without all that text at the top of my site?

Thanks,
Title: Re: Google Tagged
Post by: City Builder on October 03, 2008, 05:01:42 PM
Okay, it appears that the mod placed all that text at the end of the modification.english.php file after the last ?> tag so removing it removed it from the forum, however I wonder how much of the mod remains and might cause problems later on.
Title: Re: Google Tagged
Post by: Polymath on October 03, 2008, 07:32:25 PM
I've had this installed for a while and It is real good. Lots of mine show in search engines. But I do have an error come up..

http://www.blahblahblah.blah/index.php?action=tagged;id=3211;tag=;start=320 
8: Undefined index:
File: /home/ezmne3/public_html/gamesocket2/Sources/GoogleTagged.php
Line: 195




I know it was not there to start with, but is there now. Pages per day.

Any idea what that is.
Title: Re: Google Tagged
Post by: Apllicmz on October 07, 2008, 11:57:51 PM
Update that linguage portuguese_pt and utf8
Title: Re: Google Tagged
Post by: N3RVE on October 08, 2008, 06:38:15 AM
I'll be updating the package this weekend, I'd release a 2.0 version as well ;)

-[n3rve]
Title: Re: Google Tagged
Post by: JJCp3 on October 11, 2008, 07:16:59 PM
Miren gente creo que hize las cosas al reves.. xD
Lo primero que hize fue instalar el mod de google tagged y luego de eso vi el manual y hice los cambios en donde decia, me aparece en la parte del admin pero cuando creo un post no me sale nada para agregar ni cuando veo un post viejo.
y si es que quiero ir a desinstalarlo me dice:
Quote¡No puedes descargar o instalar nuevos paquetes ya que no se puede escribir en el directorio "Packages"!
Pero eso si bien recuerdo se solucionaba creando una carpeta llamada "temp", dentro de la carpeta "Packages", pero despues de que hacia los cambios en los archivos como lo indicaba el manual fui en mi ftp y no habia la carpeta que habia creado de temp antes de instalar el mod claro esta, la cree de nuevo pero me sigue apareciendo el mismo mensaje. Ayuda como lo soluciono?
Title: Re: Google Tagged
Post by: CiHaD on October 12, 2008, 07:02:35 AM
hi..
if the  tag is longer than 25 characters, i want to ignore the word...
how can i do it ??
Title: Re: Google Tagged
Post by: SONSiVRi on October 12, 2008, 07:09:33 AM
Quote from: CiHaD on October 12, 2008, 07:02:35 AM
hi..
if the  tag is longer than 25 characters, i want to ignore the word...
how can i do it ??

Work around of those lines in Display.php
Add a condition of what you want.

// implode our array back to a string
$search_terms = implode("+", $search_terms);
$tags = htmlspecialchars(urldecode($search_terms));
Title: Re: Google Tagged
Post by: CiHaD on October 12, 2008, 11:30:26 AM
i tryed.. but i can't it.. :(

Quote from: SONSiVRi on October 12, 2008, 07:09:33 AM
Quote from: CiHaD on October 12, 2008, 07:02:35 AM
hi..
if the  tag is longer than 25 characters, i want to ignore the word...
how can i do it ??

Work around of those lines in Display.php
Add a condition of what you want.

// implode our array back to a string
$search_terms = implode("+", $search_terms);
$tags = htmlspecialchars(urldecode($search_terms));

Title: Re: Google Tagged
Post by: SONSiVRi on October 12, 2008, 02:21:14 PM
Quote from: CiHaD on October 12, 2008, 11:30:26 AM
i tryed.. but i can't it.. :(

What you tried?
Place your scratch here.
Title: Re: Google Tagged
Post by: Polymath on October 20, 2008, 07:39:53 PM
What does this mean:

http://www.blahblahblah.blah/index.php?action=tagged;id=3211;tag=;start=320 
8: Undefined index:
File: /home/ezmne3/public_html/gamesocket2/Sources/GoogleTagged.php
Line: 195


And how would I fix it. It is simple I just can not remember

line 195
$ascending = !isset($_REQUEST['desc']);

Title: Re: Google Tagged
Post by: Polymath on October 28, 2008, 05:54:37 PM
Ok..so this is a dead duck now is it. I assume everybody that has this mod would be getting this error? No??
Title: Re: Google Tagged
Post by: SONSiVRi on October 29, 2008, 08:07:44 PM
Quote from: Polymath on October 28, 2008, 05:54:37 PM
Ok..so this is a dead duck now is it. I assume everybody that has this mod would be getting this error? No??

Why its located on 195th line, same part is 98th on mine. Did you changed anything or problem is mine?
Title: Re: Google Tagged
Post by: Polymath on October 29, 2008, 08:16:17 PM
Havn't changed anything. Pass. I just uploaded it.
Title: Re: Google Tagged
Post by: Polymath on October 31, 2008, 10:03:06 PM
I have been keeping an eye on it and have come to this conclusion.
Evey ten minutes there is a whole lot of new errors. Now, sometimes the IP address is different within a range. That range if IP's that hits every 10 minutes is Inktomi Corporation a seach engine and it causes an error on every tag it is following.

Any idea what I would do? I don't wish to block it, but maybe I should. I don't even know if it is ok, good or bad. What you think? It don't show up on who is online either, or maybe they do as Inktomi is owned by Yahoo!
Title: Re: Google Tagged
Post by: ivo2296 on November 11, 2008, 06:19:32 AM
Hello,

I'll be glad if the mod can support Cyrillic characters in the future!



Thanks
Title: Re: Google Tagged
Post by: pooya on November 15, 2008, 10:11:04 PM
NOthing for the new smf 2.0 beta 4 ?
Title: Re: Google Tagged
Post by: ivo2296 on November 24, 2008, 03:01:56 PM
Since SMF 1.1.7 i'm getting errors when i click on tagged words, each click generates two errors:

http://www.xxxxx.com/index.php?action=tagged;id=83;tag=2008 
8: Undefined index:
File: /home2/xxxx/public_html/xxxx/Sources/GoogleTagged.php
Line: 195

and:

http://www.xxxx.com/index.php?action=tagged;id=83;tag=2008
8: Undefined index: photo
File: /home2/xxxx/public_html/xxxx/Sources/GoogleTagged.php
Line: 195


GoogleTagged.php Line: 195 looks  like that:

'icon_url' => $settings[$context['icon_sources'][$row['firstIcon']]] . '/post/' . $row['firstIcon'] . '.gif',


Thanks!

 
Title: Re: Google Tagged
Post by: ivo2296 on November 24, 2008, 03:35:55 PM
Quote from: ivo2296 on November 11, 2008, 06:19:32 AM
Hello,

I'll be glad if the mod can support Cyrillic characters in the future!



Thanks

May be that will help about support of Cyrillic but has to be coded - i can't do it.

Quote
http://php.net/manual/en/function.eregi.php#60453

I you are trying to match accented characters (e.g. you want to match "Cafй Olй"), you can use the following regex:

"[a-zа-ь ]+"

This takes advantage of the fact that in the iso-8859-1 "Latin 1", the "а" is the first accented char and the "ь", the last one.

By the way, the regex above will match this string as a single match:

"aeiou аимтщ бйнуъ вкофы гх с длпць з"

Beware that your local code page may include a few more char codes in the range "[а-ь]", so it may match more than you expect.
Title: Re: Google Tagged
Post by: pooya on November 24, 2008, 03:39:18 PM
Requesting this for beta 4.

Is an awesome mod and i had it on 1.1.7 :( plz
Title: Re: Google Tagged
Post by: pooya on November 25, 2008, 02:23:03 PM
I tied doing this on my own for beta 4

Did everything except subs.php :(

Cant figure out how to add this and under what.

'googletagged_settings' => '<a href="' . $scripturl . '?action=tagged;sa=admin;sesc=' . $sc . '">' . $txt['googletagged_menu'] . '</a>',
Title: Re: Google Tagged
Post by: WwW_® on November 26, 2008, 01:32:21 AM
This mod works great, congratulations!, but now I want to put the tags in a block of tp, how can I do this?  :-\
Title: Re: Google Tagged
Post by: SONSiVRi on November 26, 2008, 04:51:51 AM
Quote from: WwW_® on November 26, 2008, 01:32:21 AM
This mod works great, congratulations!, but now I want to put the tags in a block of tp, how can I do this?  :-\
Admin -> GoogleTagged -> Enter your word into "Add A Banned Tag" -> Save Settings
This is what you asking?
Title: Re: Google Tagged
Post by: WwW_® on November 26, 2008, 05:32:53 PM
Quote from: SONSiVRi on November 26, 2008, 04:51:51 AM
Admin -> GoogleTagged -> Enter your word into "Add A Banned Tag" -> Save Settings
This is what you asking?
No, I mean the 50 random tags, put them in a block of tinyportal, someone help me with this please.  :D
Title: Re: Google Tagged
Post by: SONSiVRi on November 27, 2008, 03:30:23 AM
Quote from: WwW_® on November 26, 2008, 05:32:53 PM
No, I mean the 50 random tags, put them in a block of tinyportal, someone help me with this please.  :D
I don't know about tinyportal (never used).
But here is my addition for this mod, this may usefull for you http://www.simplemachines.org/community/index.php?topic=249690.msg1629364#msg1629364
Title: Re: Google Tagged
Post by: Apllicmz on November 30, 2008, 12:51:23 AM
When Update dont forget Portuguese again
Title: Re: Google Tagged
Post by: mkress on November 30, 2008, 12:18:19 PM
The database field "tag" should be of the type varchar(20) with an index - instead of the type text; because of all keywords hava a length between 3 and 20 characters.

with best regards from Germany
Markus  ;)
Title: Re: Google Tagged
Post by: Nibogo on December 01, 2008, 06:51:27 PM
Nice mod , but any update to smf 2.0??

Thanks
Title: Re: Google Tagged
Post by: mabolla on December 12, 2008, 12:18:11 PM
Something worng in my forum i install this mod (not manuel) and i checked everything. Everything is true but it gives some error... if you look the adress below you will see what i want to mean...

http://www.geniusturk.net/forum/index.php?action=tagged;id=21;tag=rapidshare
Title: Re: Google Tagged
Post by: SONSiVRi on December 12, 2008, 01:41:17 PM
Quote from: mabolla on December 12, 2008, 12:18:11 PM
Something worng in my forum i install this mod (not manuel) and i checked everything. Everything is true but it gives some error... if you look the adress below you will see what i want to mean...

http://www.geniusturk.net/forum/index.php?action=tagged;id=21;tag=rapidshare

Is this you talking about?
Method Not Implemented

GET to /forum/index.php not supported.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Title: Re: Google Tagged
Post by: ken123 on January 13, 2009, 09:30:42 PM
Does anybody have problem with this mod for version 1.1.7 using a non-default theme? Thanks.
Title: Re: Google Tagged
Post by: Polymath on January 14, 2009, 05:12:58 AM
I did. Ran sweet for months, then all of a sudden it worked to good and started to bring visitors and that caused me 10's of error pages a day. Posted my error got no real fix for it so unintalled.

Must say..since, visitors have dropped off.
Title: Re: Google Tagged
Post by: bjraines on January 20, 2009, 04:36:31 PM
Hey thanks for keeping up the mod

I think there is an SEO mistake with the links, the URLs ending with topicseen do not have a Robots Nofollow so you are generating two URLs for every topic, one from google tagged and the other from the boards

you can manually remove all the topicsseens from the source and the URLs work fine.

I am wondering why there are so many +++++ generated whenever words are removed

many of my tags are like " chemistry++++ moles + concentration" , do you know how we might not add extra + on removed tags

also has anyone tried to hook this up with pretty URLs, it would super sweet to drop the id and just have the tags show!
Title: Re: Google Tagged
Post by: Realinfo on January 25, 2009, 06:54:45 AM
I used to have google-tagged 2.0 then I install Google tagged 4.0 ( this one).. but after that my forum Stop working......... I can't avle to see Topic and thread. when i try to open topic cannot find server appears............ so i uninstall it. then again forum become normal............. and to make it confirm........... I install and uninstall this MOD many times.... and every time same thing happened. ............. so help me to have this mod in my SMF 1.1.7................ I need it..............
Title: Re: Google Tagged
Post by: bycn* on January 25, 2009, 04:59:53 PM
good job.congratulations. thanks :)
Title: Re: Google Tagged
Post by: DareDevil1990 on January 31, 2009, 06:55:53 AM
would any tell me how do i make the whole tag box visible in footer  at all times ?
Title: Re: Google Tagged
Post by: DareDevil1990 on February 02, 2009, 12:42:21 AM
~~~BUmp~~~
Title: Re: Google Tagged
Post by: ivo2296 on March 22, 2009, 04:34:59 PM
Quote from: ivo2296 on November 24, 2008, 03:01:56 PM
Since SMF 1.1.7 i'm getting errors when i click on tagged words, each click generates two errors:

http://www.xxxxx.com/index.php?action=tagged;id=83;tag=2008 
8: Undefined index:
File: /home2/xxxx/public_html/xxxx/Sources/GoogleTagged.php
Line: 195

and:

http://www.xxxx.com/index.php?action=tagged;id=83;tag=2008
8: Undefined index: photo
File: /home2/xxxx/public_html/xxxx/Sources/GoogleTagged.php
Line: 195


GoogleTagged.php Line: 195 looks  like that:

'icon_url' => $settings[$context['icon_sources'][$row['firstIcon']]] . '/post/' . $row['firstIcon'] . '.gif',


Thanks!

 

Sorry for asking but is there any support for this mod?

Thanks!
Title: Re: Google Tagged
Post by: heinandar on March 23, 2009, 11:12:27 AM
Quote from: ashsimmonds on September 24, 2008, 07:49:34 AM
Quote from: matasanos on September 24, 2008, 07:38:35 AM
Quote from: ashsimmonds on September 24, 2008, 01:16:57 AM
I just made an SSI function I think.

http://aussieexotics.com/forum

oo this is what i want

can you share the code pleasE?

Far as I recall it's mostly copied from the other function, there may be stuff in there which is specific to my setup though so definitely make a back-up before pasting this into the SSI.


function ssi_RandomGoogleTags() {

global $query, $context, $row, $highest, $lowest, $maxsize, $minsize, $diff, $steps, $key, $done, $i, $scripturl, $db_prefix;

// $db_prefix = $db_prefix . "smf_";

// PREPARE A TAG CLOUD
// NOW THIS IS COMPLEX BECAUSE THE SAME TAG MAY HAVE BEEN SAVED MULTIPLE TIMES
// DELETED TOPICS WHERE TAGS STILL REMAIN WILL BE IGNORED.

$query = db_query("
SELECT g.tag, g.ID_TAG, g.hits, g.status, g.ID_TOPIC, t.ID_TOPIC
FROM {$db_prefix}googletagged as g, {$db_prefix}topics as t
WHERE g.ID_TOPIC = t.ID_TOPIC
AND g.status != 0
GROUP BY g.tag
ORDER BY RAND()
LIMIT 50
", __FILE__, __LINE__);

// FOUND SOME TAGS?
if(mysql_num_rows($query) != 0) {
// CREATE AN ARRAY FOR TAGS
$context['googletagged'] = array();
// CYCLE THROUGH
$highest = 1 ;
$lowest = 999999999999 ; // SO IT FORCES THE FIRST ROW TO BE THE LOWEST
while($row = mysql_fetch_assoc($query)) {
// STORE THE INFO FOR LATER ON
$context['googletagged'][] = $row;
$highest = ($row['hits'] > $highest) ? $row['hits'] : $highest ;
$lowest = ($row['hits'] < $lowest) ? $row['hits'] : $lowest ;
}
// TIDY UP
unset($row);
// WORK OUT THE SIZES FOR US
// FIRST THE MAX AND MIN SIZES THAT WE CAN USE IN %
$maxsize = 200;
$minsize = 100;
// WHATS THE DIFFERENCE - IF 0, DIVIDING MY ZERO WILL CAUSE AN ERROR
$diff = ($highest - $lowest == 0) ? 1 : ($highest - $lowest) ;
// EVENLY STEP THE TAGS
$steps = ($maxsize - $minsize)/$diff;

// CYCLE THROUGH OUR TAGS
foreach ($context['googletagged'] as $key => $row) {
// ADD THE COLUMN FOR SIZE

$context['googletagged'][$key]['size'] = ceil($minsize + ($steps * ($row['hits'] - $lowest)));
$context['googletagged'][$key]['text'] = str_replace("+", " ", $context['googletagged'][$key]['tag']);
}
// TIDY UP
unset($key,$row,$steps,$highest,$lowest,$maxsize,$minsize);
mysql_free_result($query);

// SECOND POINT - IF NOT REACHED THE END BY HERE - ERROR!!!
$done = true;
}

// START THE TABLE
echo '<table border="0" cellpadding="4" cellspacing="0" align="center" width="100%" class="tborder">
<tr class="titlebg">
<td align="center">
50 Random search terms (what people type into Google that brings them to the forum)
</td>
</tr>
<tr>
<td align="center" class="windowbg2" style="font-size:10px;" >';

// START OUR TAG CLOUD
if(isset($context['googletagged'])) {
$i = 1 ;
// WRITE OUT OUR TAGS
foreach($context['googletagged'] as $key => $row) {
echo '  <a href="', $scripturl , '?action=tagged;id=', $row['ID_TAG'] ,';tag=', $row['tag'] ,'" style="font-size: '.$row['size'].'%;" title="', $row['text'] ,'">', ucwords($row['text']) ,'</a> |';
// INCREASE COUNTER UNTIL WE MAY NEED TO BREAK
// IF DIVISABLE BY 10 - NEW LINE
// echo (($i % 6) == 0) ? '<br/>' : '';
$i++;
}
// TIDY UP
unset($i,$key,$row);
} else {
// NO TAGS, SO TELL THE USER
echo $txt['googletagged_empty'];
}

// END THE TABLE
echo ' </td>
</tr>
  </table>';

        return;

}


I submitted this code to SSI . But nothing appear on Boardindex. How can i do that?
Title: Re: Google Tagged
Post by: heinandar on March 24, 2009, 07:18:17 AM
Sorry for my stupid questions. I can't understan how to configure. I installed this mod yesterday without errors.
and enable it as like attacment. But nothing appear in Googletagged. How can i add tag to googletagged?
Title: Re: Google Tagged
Post by: ivo2296 on March 24, 2009, 02:40:52 PM
Quote from: heinandar on March 24, 2009, 07:18:17 AM
Sorry for my stupid questions. I can't understan how to configure. I installed this mod yesterday without errors.
and enable it as like attacment. But nothing appear in Googletagged. How can i add tag to googletagged?

Now you just need to wait for clicks, when people are searching by using google and they click on the google's link leading to your site, their search words will appear in your Google taged list. 
Title: Re: Google Tagged
Post by: PalmBeachPreps on March 24, 2009, 11:52:38 PM
how do we know if it's working?

figured it out
Title: Re: Google Tagged
Post by: PalmBeachPreps on March 25, 2009, 02:57:38 PM
Now you just need to wait for clicks, when people are searching by using google and they click on the google's link leading to your site, their search words will appear in your Google taged list. 
[/quote]
Does it take a while to appear?  Ive done quite a few searches from different PCs and followed the links, yet they aren't appearing.
Title: Re: Google Tagged
Post by: ivo2296 on March 25, 2009, 05:19:14 PM
Quote from: AlreeGator on March 25, 2009, 02:57:38 PM
Does it take a while to appear?  Ive done quite a few searches from different PCs and followed the links, yet they aren't appearing.

See for your self :)  http://forum.palmbeachpreps.com/index.php?action=tagged

And may be you should uncheck "Check box to save search terms together." to get more tags.
Title: Re: Google Tagged
Post by: PalmBeachPreps on March 25, 2009, 07:25:18 PM
Quote from: ivo2296 on March 25, 2009, 05:19:14 PM
Quote from: AlreeGator on March 25, 2009, 02:57:38 PM
Does it take a while to appear?  Ive done quite a few searches from different PCs and followed the links, yet they aren't appearing.

See for your self :)  http://forum.palmbeachpreps.com/index.php?action=tagged

And may be you should uncheck "Check box to save search terms together." to get more tags.
Those are the same tags that ive had since i started using it.
Title: Re: Google Tagged
Post by: SONSiVRi on March 26, 2009, 04:51:40 PM
Quote from: AlreeGator on March 25, 2009, 02:57:38 PM
Does it take a while to appear?  Ive done quite a few searches from different PCs and followed the links, yet they aren't appearing.

If I recall correctly, it wasn't take a time to appear. Also it's logical by codeside too; because it catches "http_referrer" value of URL, then parses it into database, so it can bee seen right away.
You may try it in my board but I fear you can't see your result in 156.000 tags: http://www.sonsivri.com/forum/index.php?action=tagged
Title: Re: Google Tagged
Post by: ivo2296 on March 26, 2009, 05:06:50 PM
Quote from: AlreeGator on March 25, 2009, 07:25:18 PM
Quote from: ivo2296 on March 25, 2009, 05:19:14 PM
Quote from: AlreeGator on March 25, 2009, 02:57:38 PM
Does it take a while to appear?  Ive done quite a few searches from different PCs and followed the links, yet they aren't appearing.



See for your self :)  http://forum.palmbeachpreps.com/index.php?action=tagged

And may be you should uncheck "Check box to save search terms together." to get more tags.
Those are the same tags that ive had since i started using it.

Try to uncheck "Check box to save search terms together." to get more tags.
Title: Re: Google Tagged
Post by: Realinfo on May 13, 2009, 11:50:42 PM
Sir.............. in menu bar, I want instead of GOOGLETAGGED, I just want to apears TAGS............... what and where i have to make this change mannually................ thanks............. ( My meny is too long, so I need to make it small)
Title: Re: Google Tagged
Post by: SONSiVRi on May 14, 2009, 05:25:30 AM
Quote from: Realinfo on May 13, 2009, 11:50:42 PM
Sir.............. in menu bar, I want instead of GOOGLETAGGED, I just want to apears TAGS............... what and where i have to make this change mannually................ thanks............. ( My meny is too long, so I need to make it small)

// The [GoogleTagged] Button
echo ($current_action == 'tagged' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'tagged' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=tagged">' , $txt['googletagged']  , '</a>
</td>' , $current_action == 'tagged' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


This is your menu code. $txt['googletagged'] is variable you need to change, its in $languagedir/Modifications.english.php
Title: Re: Google Tagged
Post by: Filipina on May 17, 2009, 08:44:03 PM
EDIT - sorry disregard this post i am mixing up files. LOL

I think this will be a great mod just had problem with Index.template.php failed but installed anyway.

I have checked several index.template here on the boards besides mine and cannot find this code below for placement of the code

<search position="after"><![CDATA[if ($context['show_spellchecking'])
echo '
<script language="JavaScript" type="text/javascript" src="' . $settings['default_theme_url'] . '/spellcheck.js"></script>';


Just don't see this code above in any index.template file i look at. Maybe I am missing something? Also the parser says to add this code here "before" but the mod package says add the code here "after". Thanks for any assistance.

// start of google tagged mod
if(isset($context['tags'])) {
// start our div container
echo '<div id="googletagged" style="text-align:center;"> '.$txt['googletagged'].':';
$i = 1 ;
// write out our tags
foreach($context['tags'] as $key => $row) {
echo '  <a href="', $scripturl , '?action=tagged;id=', $key ,';tag=', $row['tag'] ,'" style="font-size: '.$row['size'].'%;" class="', ($row['tagged']) ? 'googletagged' : 'googletag' ,'" title="', $row['text'] ,'">', $row['text'] ,'</a>';
// increase counter until we may need to break
// if divisable by 10 - new line
echo (($i % 10) == 0) ? '<br />' : '';
$i++;
}
// tidy up
unset($i,$key,$row);
// CLOSE OUT OUR DIV
echo '</div><br />';
}
// end of google tagged mod

Title: Re: Google Tagged
Post by: Realinfo on May 17, 2009, 09:22:08 PM
Sir I only have GoogleTagged (50 Random). how i can increase them to 200..............


Second thins is please guide me......... what to write in these boxes..............
Title: Re: Google Tagged
Post by: SONSiVRi on May 18, 2009, 05:03:47 AM
Quote from: Realinfo on May 17, 2009, 09:22:08 PM
Sir I only have GoogleTagged (50 Random). how i can increase them to 200..............


Second thins is please guide me......... what to write in these boxes..............
Here is what you asking, but you need to edit your files manually;
http://www.simplemachines.org/community/index.php?topic=249690.msg1629364#msg1629364
Title: Re: Google Tagged
Post by: Sudhakar Arjunan on May 18, 2009, 07:17:22 AM
Such an excellent update.

Will there be any compactable version for 2.0.RC1 in the near future.
Title: Re: Google Tagged
Post by: Realinfo on May 18, 2009, 07:23:40 AM
Sir I only have GoogleTagged (50 Random). how i can increase them to 200..............


Second thins is please guide me......... what to write in these boxes..............

(https://www.simplemachines.org/community/index.php?action=dlattach;topic=249690.0;attach=98788;image)
Title: Re: Google Tagged
Post by: TheListener on May 18, 2009, 02:57:59 PM
Do guests have to have access to the forum posts for this mod to work?

Title: Re: Google Tagged
Post by: SONSiVRi on May 21, 2009, 04:48:06 AM
Quote from: Realinfo on May 18, 2009, 07:23:40 AM
Sir I only have GoogleTagged (50 Random). how i can increase them to 200..............


Second thins is please guide me......... what to write in these boxes..............

(https://www.simplemachines.org/community/index.php?action=dlattach;topic=249690.0;attach=98788;image)
#1 : I already guided you to my modification, there is option to incerease 200.
#2 : Those are banned tags, type there names that you don't want to be listed and recorded.
Title: Re: Google Tagged
Post by: SONSiVRi on May 21, 2009, 04:53:08 AM
Quote from: TheListener on May 18, 2009, 02:57:59 PM
Do guests have to have access to the forum posts for this mod to work?

Short answer is yes.
Because of google is listing forum posts, then users visiting your site by these results, you have to make public your board. Then google can list your all posts, then users can click the results, then mod catches them and works properly.

You may keep your posts private too. In this case, users those who clicking google results will decrease (because nothing listed much) but this mod still works.
Title: Re: Google Tagged
Post by: TheListener on May 21, 2009, 05:11:43 AM
The only thing guests cant do is view the actual topics.

Title: Re: Google Tagged
Post by: SONSiVRi on May 21, 2009, 10:40:48 AM
Quote from: TheListener on May 21, 2009, 05:11:43 AM
The only thing guests cant do is view the actual topics.


What you mean by the "actual"? Once google listed you in search results then you removed guest access to topics. So old search results left in google database?
Title: Re: Google Tagged
Post by: TheListener on May 23, 2009, 07:09:36 PM
Will this still work despite the modsettings having an error when installing?
Title: Re: Google Tagged
Post by: SONSiVRi on May 24, 2009, 04:24:20 AM
Quote from: TheListener on May 23, 2009, 07:09:36 PM
Will this still work despite the modsettings having an error when installing?
You mean installation error while inserting settings table? And why only settings table, there are googletagged table too.
Title: Re: Google Tagged
Post by: TheListener on May 24, 2009, 05:55:47 AM
15.     Execute Modification     ./Sources/ManagePermissions.php     Test failed

This is the error I had on install.
Title: Re: Google Tagged
Post by: SONSiVRi on May 24, 2009, 06:49:12 AM
Quote from: TheListener on May 24, 2009, 05:55:47 AM
15.     Execute Modification     ./Sources/ManagePermissions.php     Test failed

This is the error I had on install.

It's easy; check the inside of mod file (googletagged.xml), search for "ManagePermissions.php" and you will see only one addition. You can do it by manually. First install it even it says "test failed", then manually edit your file. Here is summary;

Before
$permissionList = array(
'membergroup' => array(
'general' => array(
'view_stats' => false,
'view_mlist' => false,
'who_view' => false,
'search_posts' => false,
'karma_edit' => false,
'report_solve' => false,
'report_seeinline' => false,
),
'pm' => array(
'pm_read' => false,
'pm_send' => false,
),


After
$permissionList = array(
'membergroup' => array(
'general' => array(
'view_stats' => false,
'view_mlist' => false,
'who_view' => false,
'search_posts' => false,
'karma_edit' => false,
'report_solve' => false,
'report_seeinline' => false,
),
'pm' => array(
'pm_read' => false,
'pm_send' => false,
),
'googletagged' => array(
'googletagged_manage' => false,
),


Only last 3 lines added.
Title: Re: Google Tagged
Post by: TheListener on May 26, 2009, 01:36:01 AM
The mod is now fully installed but despite visits from guests and numerous spiders the googletagged tab is still empty.
Title: Re: Google Tagged
Post by: Filipina on May 28, 2009, 10:14:15 PM
I want to thank you for this outstanding mod SONSiVRi ! It is nice to see that my threads are actually being crawled and indexed by Google, and it is very interesting to see how visitors are finding my site. I absolutely love it! 
Title: Re: Google Tagged
Post by: SONSiVRi on May 30, 2009, 05:01:58 AM
Quote from: TheListener on May 26, 2009, 01:36:01 AM
The mod is now fully installed but despite visits from guests and numerous spiders the googletagged tab is still empty.
You may want to check "Check box to save search terms together", then you get more results in tag cloud.
But in any case, this mod depends on visitors coming via google. So it has to be your site listed on result page. You may try searching specific keyword that shows your site in results and you can click there. Tags are visible right away.

Quote from: Filipina on May 28, 2009, 10:14:15 PM
I want to thank you for this outstanding mod SONSiVRi ! It is nice to see that my threads are actually being crawled and indexed by Google, and it is very interesting to see how visitors are finding my site. I absolutely love it! 
We are only supporters, thanks though.
Title: Re: Google Tagged
Post by: TheListener on May 30, 2009, 08:15:47 AM
Quote from: SONSiVRi on May 30, 2009, 05:01:58 AM
Quote from: TheListener on May 26, 2009, 01:36:01 AM
The mod is now fully installed but despite visits from guests and numerous spiders the googletagged tab is still empty.
You may want to check "Check box to save search terms together", then you get more results in tag cloud.
But in any case, this mod depends on visitors coming via google. So it has to be your site listed on result page. You may try searching specific keyword that shows your site in results and you can click there. Tags are visible right away.

Already did.
Title: Re: Google Tagged
Post by: SONSiVRi on May 30, 2009, 12:50:51 PM
Quote from: TheListener on May 30, 2009, 08:15:47 AM
Already did.
Have you tried to browse your site within google results, is it properly working?
Title: Re: Google Tagged
Post by: Realinfo on May 30, 2009, 09:22:27 PM
is it ok have google ads on google tagged page where is shows recent 50 tags...............
Title: Re: Google Tagged
Post by: Özgür on May 30, 2009, 09:31:46 PM
Hi [n3rve],
Are planned add support for smf 2.0 -- time?
Title: Re: Google Tagged
Post by: bjraines on June 25, 2009, 08:29:25 PM
Hi, I used to use this mod, I would like to use it again but it created a lot of errors in Google Webmaster tools. there were tons of duplicate Title tags because the mod was not correctly combining the keywords from the search.

Does the combining of search keywords need to be done manually?
Title: Re: Google Tagged
Post by: SONSiVRi on June 26, 2009, 04:36:40 AM
Quote from: bjraines on June 25, 2009, 08:29:25 PM
Hi, I used to use this mod, I would like to use it again but it created a lot of errors in Google Webmaster tools. there were tons of duplicate Title tags because the mod was not correctly combining the keywords from the search.

Does the combining of search keywords need to be done manually?
Are you sure about duplicate keywords? Because I have tons of errors too and it was different looks for same topic, ex: print, next, previous, *.msg
Title: Re: Google Tagged
Post by: Sudhakar Arjunan on June 26, 2009, 05:02:56 PM
2.0RC1 compactable.
Title: Re: Google Tagged
Post by: bjraines on June 30, 2009, 12:04:57 PM
The Title tags are not separating words

I hage attached a screenhost

so for a URL like http://www.mychemistrytutor.com/forums/index.php?action=tagged;id=58315;tag=chemistry+find+when+have+percent+ionization+

the title tag is

My Chemistry Tutor - Topics GoogleTagged with chemistryfindwhenhavepercentionization

these words need to be separated

I have attached a screenshot

Title: Re: Google Tagged
Post by: akbora on June 30, 2009, 08:46:57 PM
Really is compatible for 2.0 ?
Title: Re: Google Tagged
Post by: SONSiVRi on July 01, 2009, 06:00:36 AM
Quote from: akbora on June 30, 2009, 08:46:57 PM
Really is compatible for 2.0 ?
Compatible With:    1.1.5, 1.1.8
Don't look 2 posts above, he was asking I think.
Title: Re: Google Tagged
Post by: SONSiVRi on July 01, 2009, 06:08:05 AM
Quote from: bjraines on June 30, 2009, 12:04:57 PM
The Title tags are not separating words

I hage attached a screenhost

so for a URL like http://www.mychemistrytutor.com/forums/index.php?action=tagged;id=58315;tag=chemistry+find+when+have+percent+ionization+

the title tag is

My Chemistry Tutor - Topics GoogleTagged with chemistryfindwhenhavepercentionization

these words need to be separated

I have attached a screenshot


Apply that change in GoogleTagged.php, it solves the issue.
Code (search) Select
$context['googletagged_text'] = str_replace("+", "", $row['tag']);
Code (replace) Select
$context['googletagged_text'] = str_replace("+", " ", $row['tag']);
Title: Re: Google Tagged
Post by: bjraines on July 01, 2009, 11:21:16 AM
is there any way to remove the multiple ++++
in the URLS
Title: Re: Google Tagged
Post by: SONSiVRi on July 01, 2009, 12:15:46 PM
Quote from: bjraines on July 01, 2009, 11:21:16 AM
is there any way to remove the multiple ++++
in the URLS
I was complaining about that too, I'll try replacing each double space to single, so only one space would be allowed.
Title: Re: Google Tagged
Post by: bjraines on July 01, 2009, 12:19:50 PM
i dont have time to really look at it right now but i think it puts a + for every space in the search term as well as words taken out.

there should be a whitespace functgion that would get rid of this
Title: Re: Google Tagged
Post by: SONSiVRi on July 01, 2009, 01:08:19 PM
Quote from: bjraines on July 01, 2009, 12:19:50 PM
i dont have time to really look at it right now but i think it puts a + for every space in the search term as well as words taken out.

there should be a whitespace functgion that would get rid of this
I was thinking those + are there because of space characters in search term, but you made a good point. I am checking on it.
Title: Re: Google Tagged
Post by: SONSiVRi on July 01, 2009, 01:31:58 PM
This is the solution of extra + characters in tags, just replace following lines within $sourcedir\Display.php

Code (Search) Select
// re-case each search term and remove ignore words
foreach($search_terms as $key => $term) {
// LOWERCASE
$term = strtolower($term);
$term = eregi('^[-0-9a-z]{3,24}$', $term) ? $term : '' ;
// set some min/max lengths
if(strlen($term) < 3 || strlen($term) > 20) {
unset($search_terms[$key]);
}
// if ignore/bad word, then remove it
if(in_array($term, $ignorewords)) {
unset($search_terms[$key]);
}
// replaces any spaces with plus
$search_terms[$key] = str_replace(" ", "+", $term);
}

Code (Replace) Select
// re-case each search term and remove ignore words
foreach($search_terms as $key => $term) {
// LOWERCASE
$term = strtolower($term);
$term = eregi('^[-0-9a-z]{3,24}$', $term) ? $term : '' ;
// set some min/max lengths
if(strlen($term) < 3 || strlen($term) > 20) {
unset($search_terms[$key]);
}
// if ignore/bad word, then remove it
else if(in_array($term, $ignorewords)) {
unset($search_terms[$key]);
}
else
// replaces any spaces with plus
$search_terms[$key] = str_replace(" ", "+", $term);
}
Title: Re: Google Tagged
Post by: Arkadaş on July 10, 2009, 06:00:03 PM
SMF 2.0 RC1-1  When removing ?  :P
Title: Re: Google Tagged
Post by: SONSiVRi on July 13, 2009, 02:52:02 AM
Quote from: LigTahmin on July 10, 2009, 06:00:03 PM
SMF 2.0 RC1-1  When removing ?  :P

I never used 2.x family, so it's not an option for now. But I am planning it.
Title: Re: Google Tagged
Post by: bjraines on July 26, 2009, 09:43:01 PM
Hey thanks for the fix, did you add it to the actual mod to download



Quote from: SONSiVRi on July 01, 2009, 01:31:58 PM
This is the solution of extra + characters in tags, just replace following lines within $sourcedir\Display.php

Code (Search) Select
// re-case each search term and remove ignore words
foreach($search_terms as $key => $term) {
// LOWERCASE
$term = strtolower($term);
$term = eregi('^[-0-9a-z]{3,24}$', $term) ? $term : '' ;
// set some min/max lengths
if(strlen($term) < 3 || strlen($term) > 20) {
unset($search_terms[$key]);
}
// if ignore/bad word, then remove it
if(in_array($term, $ignorewords)) {
unset($search_terms[$key]);
}
// replaces any spaces with plus
$search_terms[$key] = str_replace(" ", "+", $term);
}

Code (Replace) Select
// re-case each search term and remove ignore words
foreach($search_terms as $key => $term) {
// LOWERCASE
$term = strtolower($term);
$term = eregi('^[-0-9a-z]{3,24}$', $term) ? $term : '' ;
// set some min/max lengths
if(strlen($term) < 3 || strlen($term) > 20) {
unset($search_terms[$key]);
}
// if ignore/bad word, then remove it
else if(in_array($term, $ignorewords)) {
unset($search_terms[$key]);
}
else
// replaces any spaces with plus
$search_terms[$key] = str_replace(" ", "+", $term);
}

Title: Re: Google Tagged
Post by: SONSiVRi on July 30, 2009, 03:36:32 AM
bjraines,

Nope not yet. You need to apply manually for now.
Title: Re: Google Tagged
Post by: Autoteilekauf.com on August 11, 2009, 07:51:36 PM
very nice mod. i will see how it work for me on google. THX.

@SONSiVRi

how can i show this?
GoogleTagged Listed 75 Random, Total 261493
Title: Re: Google Tagged
Post by: SONSiVRi on August 14, 2009, 04:27:40 AM
Quote from: VWTeam.com on August 11, 2009, 07:51:36 PM
very nice mod. i will see how it work for me on google. THX.

@SONSiVRi

how can i show this?
GoogleTagged Listed 75 Random, Total 261493

I never created complete modifications for it but here is the guide you can follow; http://www.simplemachines.org/community/index.php?topic=249690.msg1629364#msg1629364

Comparison notation is easy, there are few changings and easy to made by hand. Just follow the guide and ask for help when you stuck.
Title: Re: Google Tagged
Post by: meko me on August 14, 2009, 04:51:58 AM
2.0 ?
Title: Re: Google Tagged
Post by: SONSiVRi on August 14, 2009, 05:05:23 AM
Quote from: meko me on August 14, 2009, 04:51:58 AM
2.0 ?
Did you saw 4-5 posts above? http://www.simplemachines.org/community/index.php?topic=249690.msg2156349#msg2156349
Title: Re: Google Tagged
Post by: Autoteilekauf.com on August 16, 2009, 01:27:08 PM
Quote from: SONSiVRi on August 14, 2009, 04:27:40 AM
I never created complete modifications for it but here is the guide you can follow; http://www.simplemachines.org/community/index.php?topic=249690.msg1629364#msg1629364

Comparison notation is easy, there are few changings and easy to made by hand. Just follow the guide and ask for help when you stuck.

Thx SONSiVRi. It works perfect!
Title: Re: Google Tagged
Post by: SONSiVRi on August 17, 2009, 02:33:47 AM
Quote from: VWTeam.com on August 16, 2009, 01:27:08 PM
Thx SONSiVRi. It works perfect!
Happy to help.
Title: Re: Google Tagged
Post by: Özgür on August 29, 2009, 07:15:02 AM
@SONSiVRi,
I read your post above (2.0 version). I know you don't use 2.0 but we really need this mod.
Turkish users asked this mod day by day. (for example:example (http://www.simplemachines.org/community/index.php?topic=295830.0))
Can you give time(When its supported) or which 2.0 version supported by this mod information?

- [Daydreamer]
Title: Re: Google Tagged
Post by: SONSiVRi on August 29, 2009, 07:49:36 AM
Daydreamer,

Sorry to say that but still I have no enough time to get to know 2.x family. And Turkish answer is given too in related topic.
Title: Re: Google Tagged
Post by: Özgür on August 29, 2009, 08:01:20 AM
Thanks for the answer. (:
Title: Re: Google Tagged
Post by: ivo2296 on September 04, 2009, 10:10:15 AM
hxxp://www.xxxxx.com/index.php?action=tagged;id=83;tag=2008 
8: Undefined index:
File: /home2/xxxx/public_html/xxxx/Sources/GoogleTagged.php
Line: 195

and:

hxxp://www.xxxx.com/index.php?action=tagged;id=83;tag=2008
8: Undefined index: photo
File: /home2/xxxx/public_html/xxxx/Sources/GoogleTagged.php
Line: 195

hxxp://www.xxxx.com/index.php?action=tagged;id=23067;tag= ;start=795
8: Undefined index: music
File: /home2/xxxx/public_html/xxxx/Sources/GoogleTagged.php
Line: 195



Any ideas about those errors in the forum's log?


Thanks!
Title: Re: Google Tagged
Post by: SONSiVRi on September 05, 2009, 08:57:15 AM
Quote from: ivo2296 on September 04, 2009, 10:10:15 AM
hxxp://www.xxxxx.com/index.php?action=tagged;id=83;tag=2008 
8: Undefined index:
File: /home2/xxxx/public_html/xxxx/Sources/GoogleTagged.php
Line: 195

and:

hxxp://www.xxxx.com/index.php?action=tagged;id=83;tag=2008
8: Undefined index: photo
File: /home2/xxxx/public_html/xxxx/Sources/GoogleTagged.php
Line: 195

hxxp://www.xxxx.com/index.php?action=tagged;id=23067;tag= ;start=795
8: Undefined index: music
File: /home2/xxxx/public_html/xxxx/Sources/GoogleTagged.php
Line: 195



Any ideas about those errors in the forum's log?


Thanks!

195th line is:
'icon_url' => $settings[$context['icon_sources'][$row['firstIcon']]] . '/post/' . $row['firstIcon'] . '.gif',

Probably you have custom icons directory.
Title: Re: Google Tagged
Post by: ivo2296 on September 05, 2009, 05:58:24 PM
Quote from: SONSiVRi on September 05, 2009, 08:57:15 AM
Quote from: ivo2296 on September 04, 2009, 10:10:15 AM
hxxp://www.xxxxx.com/index.php?action=tagged;id=83;tag=2008 
8: Undefined index:
File: /home2/xxxx/public_html/xxxx/Sources/GoogleTagged.php
Line: 195

and:

hxxp://www.xxxx.com/index.php?action=tagged;id=83;tag=2008
8: Undefined index: photo
File: /home2/xxxx/public_html/xxxx/Sources/GoogleTagged.php
Line: 195

hxxp://www.xxxx.com/index.php?action=tagged;id=23067;tag= ;start=795
8: Undefined index: music
File: /home2/xxxx/public_html/xxxx/Sources/GoogleTagged.php
Line: 195



Any ideas about those errors in the forum's log?


Thanks!

195th line is:
'icon_url' => $settings[$context['icon_sources'][$row['firstIcon']]] . '/post/' . $row['firstIcon'] . '.gif',

Probably you have custom icons directory.

Yes, i'm using custom icons directory. In that case what can be done to avoid those errors?
Title: Re: Google Tagged
Post by: SONSiVRi on September 06, 2009, 07:15:16 AM
dunno, you need to compare original and modified directory names and correct that line according to result.
Title: Re: Google Tagged
Post by: ivo2296 on September 06, 2009, 10:03:26 AM
Quote from: SONSiVRi on September 06, 2009, 07:15:16 AM
dunno, you need to compare original and modified directory names and correct that line according to result.

I have installed that mod http://www.simplemachines.org/community/index.php?topic=266723.0 and it is the reason for that error.
When someone clicks on a tagged word and one of the topics has custom icon then an error is generated.

Probably i'm the only one who has those both mods installed :)

Thank you for your support!
Title: Re: Google Tagged
Post by: SONSiVRi on September 07, 2009, 05:05:29 AM
yep you might right, but if it starts with support our mod for another mod, then it goes with whole list.
Title: Re: Google Tagged
Post by: haerde on September 14, 2009, 08:08:26 AM
Nerve, we need this on 2.0 !  8)
Title: Re: Google Tagged
Post by: CarlWohlforth on October 02, 2009, 12:13:03 PM
I have a custom theme (extreme10) running on SMF V 1.1.10 but would like to install this mod. I know how to edit code.

I was wondering if there were instructions on manually installing this mod? I searched around a bit and didn't find any. It would save me time if there were...
Title: Re: Google Tagged
Post by: SONSiVRi on October 08, 2009, 10:39:57 AM
Quote from: CarlWohlforth on October 02, 2009, 12:13:03 PM
I have a custom theme (extreme10) running on SMF V 1.1.10 but would like to install this mod. I know how to edit code.

I was wondering if there were instructions on manually installing this mod? I searched around a bit and didn't find any. It would save me time if there were...
It's easy to install on custom theme. You can use "Manual Install Instructions for SMF" on download page. Just apply modifications to your custom files (those who exist/customized). I hope you can handle the rest?
Title: Re: Google Tagged
Post by: SONSiVRi on October 08, 2009, 10:40:47 AM
Quote from: haerde on September 14, 2009, 08:08:26 AM
Nerve, we need this on 2.0 !  8)
We have one version for 2.x family and its a lil buggy, we are working to get it done. It's made by Yağiz, who is Turkish Support Moderator.
Title: Re: Google Tagged
Post by: jmil on October 08, 2009, 02:04:42 PM
I tried to Uninstall Google Tagged and It successfully did but there is still an Open area where in the ADMIN pages where it used to say Google Tagged. What files do I need to manually Parse to clean this up?

FYI 1.1.10
Custom Theme
Title: Re: Google Tagged
Post by: SONSiVRi on October 08, 2009, 02:06:51 PM
Quote from: jmil on October 08, 2009, 02:04:42 PM
I tried to Uninstall Google Tagged and It successfully did but there is still an Open area where in the ADMIN pages where it used to say Google Tagged. What files do I need to manually Parse to clean this up?

FYI 1.1.10
Custom Theme
Sorry but didn't get what you mean by "open area" ?
Title: Re: Google Tagged
Post by: jmil on October 08, 2009, 02:19:49 PM
The Picture attached should help.

I looked in the Custom index.template.php and saw no reference to Google Tagged and I also look in the default. Just cant figure this one out!

FYI - In the Pic - look Below "Blog Control panel" that is where it used to be and it is a blank space now.
Title: Re: Google Tagged
Post by: SONSiVRi on October 08, 2009, 02:22:27 PM
Checking on it, I'll post the solution. You can try Ctrl+F5 shortcuts.
Title: Re: Google Tagged
Post by: jmil on October 08, 2009, 02:30:45 PM
No Problem but it definitely inst my cache! Look forwards to your response!
Title: Re: Google Tagged
Post by: SONSiVRi on October 08, 2009, 02:36:48 PM
Quote from: jmil on October 08, 2009, 02:30:45 PM
No Problem but it definitely inst my cache! Look forwards to your response!
I checked the code side, and menu is generating by the arrays. So if array element deleted, that means extra space and menu item should be deleted too. In your case you may need to search below codes in Subs.php
// Admin area 'Configuration'.
if (allowedTo('admin_forum'))
{
$context['admin_areas']['config'] = array(
'title' => $txt[428],
'areas' => array(


Below of these lines are menu items, do you have any extra stuff in there? (Its in a same sequence like while displaying in web page)
Title: Re: Google Tagged
Post by: jmil on October 08, 2009, 02:56:36 PM
I found the following:

// Admin area 'Configuration'.
if (allowedTo('admin_forum'))
{
$context['admin_areas']['config'] = array(
'title' => $txt[428],
'areas' => array(
'edit_mods_settings' => '<a href="' . $scripturl . '?action=featuresettings">' . $txt['modSettings_title'] . '</a>',
'edit_settings' => '<a href="' . $scripturl . '?action=serversettings;sesc=' . $sc . '">' . $txt[222] . '</a>',
'blog_admin' => '<a style="white-space:nowrap;" href="' . $scripturl . '?action=blogadmin;sesc=' . $sc . '">' . $txt['blogControlPanel'] . '</a>',

'googletagged_settings' => '<a href="' . $scripturl . '?action=tagged;sa=admin;sesc=' . $sc . '">' . $txt['googletagged_menu'] . '</a>',

'gallery_settings' => '<a href="' . $scripturl . '?action=gallery;sa=adminset;sesc=' . $sc . '">' . $txt['smfgallery_admin'] . '</a>',

'edit_theme_settings' => '<a href="' . $scripturl . '?action=theme;sa=settings;th=' . $settings['theme_id'] . ';sesc=' . $sc . '">' . $txt['theme_current_settings'] . '</a>',
'manage_themes' => '<a href="' . $scripturl . '?action=theme;sa=admin;sesc=' . $sc . '">' . $txt['theme_admin'] . '</a>',
'edit_addmod' => '<a href="' . $scripturl . '?action=admod">' . $txt['ad_management'] . '</a>',
)
);
}


Title: Re: Google Tagged
Post by: SONSiVRi on October 08, 2009, 03:02:12 PM
Seems you have not uninstalled successfully, if you did then you previously installed twice. Because I see there is googletagged element there. Just delete it and you have your old menu back;
'googletagged_settings' => '<a href="' . $scripturl . '?action=tagged;sa=admin;sesc=' . $sc . '">' . $txt['googletagged_menu'] . '</a>',

Also you may want to check "googletagged" text in sources directory, to be sure uninstalled properly.
Title: Re: Google Tagged
Post by: jmil on October 08, 2009, 03:15:04 PM
NICE  ;D :D

I wanted to just delete that line when I saw it but waited until the expert.

FYI - I am only uninstalling this as I have been making large changes to my site and I am cleaning up code. I absolutely will reinstall in a few weeks. want to be WC3 Compliant and only have 297 more errors to fix LOL>
Title: Re: Google Tagged
Post by: SONSiVRi on October 08, 2009, 03:18:02 PM
Quote from: jmil on October 08, 2009, 03:15:04 PM
NICE  ;D :D

I wanted to just delete that line when I saw it but waited until the expert.

FYI - I am only uninstalling this as I have been making large changes to my site and I am cleaning up code. I absolutely will reinstall in a few weeks. want to be WC3 Compliant and only have 297 more errors to fix LOL>
Oh, it is more important as much as keywords, that being w3c compliant. But I fear to check my site, because its massive job to make it correct. Good luck with yours.
Title: Re: Google Tagged
Post by: CarlWohlforth on October 09, 2009, 05:01:33 PM
<<It's easy to install on custom theme. You can use "Manual Install Instructions for SMF" on download page. Just apply modifications to your custom files (those who exist/customized). I hope you can handle the rest? >>

Thanks, I got it installed. It messed up my menus so I edited that section of code to look like the rest of my theme's menu code and it worked OK after that.

Now I just need to be patient wait for some google queries to lead somebody to my forum... :)
Title: Re: Google Tagged
Post by: SONSiVRi on October 09, 2009, 05:19:53 PM
Happy to help. And you may want to enable "Check box to save search terms together", it's better for search engines indexing.
Title: Re: Google Tagged
Post by: N3RVE on October 16, 2009, 04:53:29 AM
Sorry, I've been very busy so I haven't been able to support most of my mods but I see Sonsivri doing a great job here. Sonsivri, if it will help, you can e-mail me a copy of the 2.0 version and I'd iron out any left over bugs :).

-[n3rve]
Title: Re: Google Tagged
Post by: SONSiVRi on October 16, 2009, 05:01:11 AM
Thanks nerve, I couldn't handle as you said, they needed your talented hands.
Title: Re: Google Tagged
Post by: akbora on October 29, 2009, 04:56:28 AM
Please update for SMF 2.x.

Very nice mod this is
Title: Re: Google Tagged
Post by: mkress on October 29, 2009, 02:00:37 PM
will this mod be ported to smf 2 ?!?
Title: Re: Google Tagged
Post by: Milossh on October 30, 2009, 04:02:38 PM
Quote from: akbora on October 29, 2009, 04:56:28 AM
Please update for SMF 2.x.

Very nice mod this is

++1

And please make it available for RC1-2 too.
Title: Re: Google Tagged
Post by: SONSiVRi on October 30, 2009, 04:04:45 PM
Just spamming won't make it released.
Title: Re: Google Tagged
Post by: mkress on October 31, 2009, 02:47:11 AM
For performance-reasons it would be better if there were 2 database-tables instead of one.

Table one googletagged_words: tag_id INTEGER, name CHAR(255), hits INTEGER, status INTEGER
Table two googletaged_relations: id_topic, tag_id
Title: Re: Google Tagged
Post by: SONSiVRi on October 31, 2009, 04:55:36 AM
Quote from: fca07 on October 31, 2009, 02:47:11 AM
For performance-reasons it would be better if there were 2 database-tables instead of one.

Table one googletagged_words: tag_id INTEGER, name CHAR(255), hits INTEGER, status INTEGER
Table two googletaged_relations: id_topic, tag_id
You offer "inner join" queries instead of "where id_topic=xxx" statement? I think your solution makes two table in same row count, and sql engine needs to load both of tables and then filter them up. Thus original one only works in one.
Title: Re: Google Tagged
Post by: mkress on October 31, 2009, 05:14:14 AM
with my suggestion a tag_name is only saved once (unique).
with the current solution the tag_name is saved for each entry so there is a "data-overhead"...

a plus for a two-table-solution (if tag_name is unique) is following:
for SEO reasons there should be no duplicate content, but e.g. here for one tag exist different urls (because of multiple ids for same tag_name):
http://www.go-windows.de/forum/tagged/?id=685126;tag=windows-explorer
http://www.go-windows.de/forum/tagged/?id=881327;tag=windows-explorer
http://www.go-windows.de/forum/tagged/?id=494147;tag=windows-explorer
...
Title: Re: Google Tagged
Post by: SONSiVRi on October 31, 2009, 05:00:44 PM
I got the idea and you are perfectly right. It would work faster and lightweight for database. But for the duplicate content we don't have to migrate your solution, we can handle it in current situation, right?
Title: Re: Google Tagged
Post by: mkress on November 01, 2009, 04:25:57 AM
yes, for duplicate content problem there is a "smarter" solution.
Simply by creating the link to google-tagged result select the lowest ID of the tag from database
Title: Re: Google Tagged
Post by: SONSiVRi on November 01, 2009, 04:51:59 AM
Quote from: fca07 on November 01, 2009, 04:25:57 AM
yes, for duplicate content problem there is a "smarter" solution.
Simply by creating the link to google-tagged result select the lowest ID of the tag from database
If you did already wrote the code we can publish it here, or I am going to write one.
Title: Re: Google Tagged
Post by: SONSiVRi on November 01, 2009, 05:01:55 AM
I didn't said right now. So please nobody rush it, if fca07 not did it already.
Title: Re: Google Tagged
Post by: mkress on November 01, 2009, 07:47:47 AM
My Solution for seo-Problem in function googletagged() (in Sources/Display.php):

there are following lines of code:
$query = db_query("
            SELECT ID_TAG, status, hits, tag
            FROM {$db_prefix}googletagged
            WHERE ID_TOPIC = $topic AND status != 0
            ORDER BY RAND()
            LIMIT 20
        ", __FILE__, __LINE__);


to get alwas the first id of an tag it should look like this:

$query = db_query("
            SELECT tb2.ID_TAG, tb1.status, tb1.hits, tb1.tag
            FROM {$db_prefix}googletagged as tb1
            LEFT JOIN {$db_prefix}googletagged as tb2 ON (tb2.tag = tb1.tag)
            WHERE tb1.ID_TOPIC = $topic AND tb1.status != 0
            GROUP BY tb1.tag
            ORDER BY RAND()
            LIMIT 20
        ", __FILE__, __LINE__);


also the ORDER BY RAND() is not very performant would be better for e.g. set the LIMIT to 100, remove the order by rand completely and do the rand by php (shuffle array)....

EDIT: My above query is not very performant - will change it and post another solution
Title: Re: Google Tagged
Post by: mkress on November 01, 2009, 08:34:13 AM
here is a better solution - I think so  ;D

old code:
$lowest = 999999999999 ; // SO IT FORCES THE FIRST ROW TO BE THE LOWEST
            while($row = mysql_fetch_assoc($query)) {
                // store the info for later on
                $context['tags'][$row['ID_TAG']] = $row;
                $highest = ($row['hits'] > $highest) ? $row['hits'] : $highest ;
                $lowest = ($row['hits'] < $lowest) ? $row['hits'] : $lowest ;
            }
            // tidy up
            unset($row);


new code:
$lowest = 999999999999 ; // SO IT FORCES THE FIRST ROW TO BE THE LOWEST
            $temp = array();
            $temp_tags = array();
            while($row = mysql_fetch_assoc($query)) {
                // STORE THE INFO FOR LATER ON
                $temp[$row['tag']] = $row;
                $temp_tags[] = $row['tag'];
                $highest = ($row['hits'] > $highest) ? $row['hits'] : $highest ;
                $lowest = ($row['hits'] < $lowest) ? $row['hits'] : $lowest ;
            }
            //find smallest tag id - for seo friendly url - to avoid duplicate content
            if(sizeof($temp_tags) > 0 ){
                $query_tag = db_query("
                    SELECT min(ID_TAG) as ID_TAG, tag
                    FROM {$db_prefix}googletagged
                    WHERE tag IN ('".implode('\',\'', $temp_tags)."') AND status != 0
                    GROUP BY tag
                    ", __FILE__, __LINE__);
                while($row_id_tag = mysql_fetch_assoc($query_tag)) {
                    $context['tags'][$row_id_tag['ID_TAG']] = $temp[$row_id_tag['tag']];
                }
                unset($row_id_tag);
            }
            // TIDY UP
            unset($row);
Title: Re: Google Tagged
Post by: dazzledark on November 07, 2009, 01:40:53 PM
why googletagged mod is not tagging words that are including turkish characters? we are missing a lot of tags because of this bug.. can anybody help us?

thanks.
Title: Re: Google Tagged
Post by: SONSiVRi on November 07, 2009, 02:58:12 PM
Its not a bug!
Please consider to take a look on your locale forum, there is posted solution for it.
Title: Re: Google Tagged
Post by: smitch6 on November 09, 2009, 05:10:24 PM
i have had this installed for a few months now and nothing is showing up......
have i installed it wrong or have i got to do something to it
i just installed it via the mod link .......

many thanks steve
christianstogether.co.uk
Title: Re: Google Tagged
Post by: SONSiVRi on November 09, 2009, 05:58:39 PM
Quote from: smitch6 on November 09, 2009, 05:10:24 PM
i have had this installed for a few months now and nothing is showing up......
have i installed it wrong or have i got to do something to it
i just installed it via the mod link .......

many thanks steve
christianstogether.co.uk
Just click to uninstall link in modifications page and the page will displayed as it is while installing. Do not proceed to uninstall, just check the files. All of them should be ok. If there were any incorrect entry, it might didn't install correctly.
Title: Re: Google Tagged
Post by: Sudhakar Arjunan on November 14, 2009, 07:03:37 PM
Could we use it with 2.0 RC2.

Kindly update the same.
Title: Re: Google Tagged
Post by: SONSiVRi on November 15, 2009, 03:25:51 AM
There is no release for 2.x family yet.
Title: Re: Google Tagged
Post by: Sudhakar Arjunan on November 15, 2009, 10:57:37 AM
Quote from: SONSiVRi on November 15, 2009, 03:25:51 AM
There is no release for 2.x family yet.

Yes , but will be waiting...
Title: Re: Google Tagged
Post by: hhy89 on December 01, 2009, 07:08:48 AM
i will upgrade it :)
http://www.adresimizbelli.com/smfye-hos-geldiniz-t1.0.html
click it and see :P

Almost done :)
Title: Re: Google Tagged
Post by: meko me on December 01, 2009, 12:00:15 PM
Quote from: hhy89 on December 01, 2009, 07:08:48 AM
i will upgrade it :)
http://www.adresimizbelli.com/smfye-hos-geldiniz-t1.0.html
click it and see :P

Almost done :)

u rock man  ;D ;D ;D
Title: Re: Google Tagged
Post by: Yağız... on December 01, 2009, 12:19:35 PM
Quote from: hhy89 on December 01, 2009, 07:08:48 AM
i will upgrade it :)
http://www.adresimizbelli.com/smfye-hos-geldiniz-t1.0.html
click it and see :P

Almost done :)
LOL, it's already converted. And you may not know(because you're always doing this), you can't share mods without permission of the author.
Title: Re: Google Tagged
Post by: hhy89 on December 01, 2009, 12:58:31 PM
Quote from: Yağız... on December 01, 2009, 12:19:35 PM
Quote from: hhy89 on December 01, 2009, 07:08:48 AM
i will upgrade it :)
http://www.adresimizbelli.com/smfye-hos-geldiniz-t1.0.html
click it and see :P

Almost done :)
LOL, it's already converted. And you may not know(because you're always doing this), you can't share mods without permission of the author.
i converted it long time ago ;)

turkish:
sende yapıyorsun dikkat et baskasının modunu alıp ben yaptım diye burda yayınlayıp uzaklastırma alan ben degildim canım :D malum sitenin kurucusu ile aranda olanları yeniler bilmez ama senin ne oldugunu o olayları gorenler bilir bilip bilmeden camur at izi kalsın taktigi uygulamayı da bırak buyu biraz oke ;)

+ mod yazarına bildirildi zaten sonsivriyle konusmamı istedi bende izin aldım sonsivri den ;) modu cevireli cok oldu zaten sadece install.php yi olusturup paketlemek kalmıstı ;)
Title: Re: Google Tagged
Post by: Sudhakar Arjunan on December 05, 2009, 08:13:51 PM
Quote from: hhy89 on December 01, 2009, 07:08:48 AM
i will upgrade it :)
http://www.adresimizbelli.com/smfye-hos-geldiniz-t1.0.html
click it and see :P

Almost done :)

Thanks for your message too.

Everything installed smooth.

Shows me this GoogleTagged (50 Random)
No topics have been GoogleTagged, yet!

When it will be updated.
Title: Re: Google Tagged
Post by: hhy89 on December 06, 2009, 05:20:28 AM
search engines like google ask yahoo ... bla bla search anything and click to your forum.
then google tagged created in your topic
Title: Re: Google Tagged
Post by: PalmBeachPreps on December 07, 2009, 07:04:53 PM
Thank you so much hhy89!  Great job!!!
Title: Re: Google Tagged
Post by: Sudhakar Arjunan on December 13, 2009, 04:25:29 PM
Quote from: hhy89 on December 06, 2009, 05:20:28 AM
search engines like google ask yahoo ... bla bla search anything and click to your forum.
then google tagged created in your topic


Dear hhy89,

It was an wonderful update.

I have some serious issues.


http://forum.com/index.php?topic=36982.0
Apply Filter: Only show the errors with the same message
Hacking attempt...

INSERT INTO smf_googletagged
(id_topic, tag, hits, status)
VALUES
(36982, "selectcommand+connection", "1", "1")

Function: googletagged
Apply Filter: Only show the errors from this file
File: /home/forum/Sources/Display.php
Line: 221


kindly check and help us out to rectify it.
Title: Re: Google Tagged
Post by: Sudhakar Arjunan on December 13, 2009, 04:38:35 PM
Check this error to0


Apply Filter: Only show the error messages of this URL
http://forum/index.php?action=tagged;id=11694;tag=zeus+aptitude
Apply Filter: Only show the errors with the same message
8: Undefined index: no_topic_listing
Apply Filter: Only show the errors from this file
File: /home/forum/Themes/default/GoogleTagged.template.php (results sub template - eval?)
Line: 135
Title: Re: Google Tagged
Post by: hhy89 on December 13, 2009, 05:58:15 PM
Display.php
({int:topic}, "'.$tag.'", "1", "1")
replace
({int:topic}, "'.$tag.'", 1, 1)

googletagged.template.php
    if (!$context['no_topic_listing'])

delete it
Title: Re: Google Tagged
Post by: bjraines on January 19, 2010, 11:14:58 AM
The link above does not work for me. Is there an English language download page anywhere?
Title: Re: Google Tagged
Post by: SONSiVRi on January 19, 2010, 12:35:12 PM
Here is the mod ported by Yağız: http://rapidshare.com/files/337830952/googletagged20.zip
Give it a shot and hope it works. He gave me this to test but I had no time, neither n3rve.
Title: Re: Google Tagged
Post by: bjraines on January 19, 2010, 12:53:18 PM
I will test it out, no problem
Title: Re: Google Tagged
Post by: bjraines on January 20, 2010, 03:02:25 PM
shouldn't this be hosted in SMF community so we can report support issues? there were a number of great fixes in this thread that never made it into the main release
Title: Re: Google Tagged
Post by: Yağız... on January 20, 2010, 03:03:49 PM
I can't search them all right now, post them here if you can, so I can fix them and release a new package.
Title: Re: Google Tagged
Post by: bjraines on January 20, 2010, 03:56:54 PM
great, i sure will do that! thanks! i do not mind helping out
Title: Re: Google Tagged
Post by: bjraines on January 21, 2010, 02:08:02 PM
Here are two modifications that I think missed official release but cleans up the number of tags (by taking out extra+++ and helps with page titles)

http://www.simplemachines.org/community/index.php?topic=249690.msg2137955#msg2137955

http://www.simplemachines.org/community/index.php?topic=249690.msg2138585#msg2138585
Title: Re: Google Tagged
Post by: Yağız... on January 21, 2010, 02:17:35 PM
Thanks, fixed in the package :)
Title: Re: Google Tagged
Post by: bjraines on January 21, 2010, 03:52:21 PM
do you think this will be moved off of rapidshare? I can't even download it to test it now.
Title: Re: Google Tagged
Post by: Yağız... on January 21, 2010, 04:04:56 PM
I didn't know too much thing about SMF 2 coding style when I converted this. I should review all codes and send it to you for a beta testing, if you wish :)
Title: Re: Google Tagged
Post by: bjraines on January 22, 2010, 10:08:53 AM
i received the following errors when attempting to install. I am using the default template:
Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
2. Execute Modification ./Themes/default/style.css Test successful
3. Execute Modification ./Themes/default/Display.template.php Test failed
4. Execute Modification ./Sources/Subs.php Test failed
5. Execute Modification ./index.php Test successful
6. Execute Modification ./Sources/ManagePermissions.php Test failed
7. Execute Modification ./Sources/Admin.php Test failed
8. Execute Modification ./Sources/Display.php Test successful
9. Extract File ./Sources/GoogleTagged.php
10. Extract File ./Themes/default/GoogleTagged.template.php
11. Extract File ./Themes/default/languages/GoogleTagged.english.php
12. Execute Code install.php

Title: Re: Google Tagged
Post by: Yağız... on January 22, 2010, 02:38:25 PM
Oh, I know why :P Because it's not compatible with SMF 2.0 RC2 :D
Title: Re: Google Tagged
Post by: bjraines on January 22, 2010, 02:40:06 PM
I am using 1.x version i have never used 2.0
Title: Re: Google Tagged
Post by: Yağız... on January 22, 2010, 02:50:56 PM
Oh, sorry. I thought it was an SMF 2.0 RC2 forum :)
Try to edit files manually.
Title: Re: Google Tagged
Post by: bjraines on January 25, 2010, 01:12:38 PM
Quote from: Yağız... on January 22, 2010, 02:50:56 PM
Oh, sorry. I thought it was an SMF 2.0 RC2 forum :)
Try to edit files manually.


this failed on a clean install of SMF also

it should load properly on a fresh 1.1.11 install
Title: Re: Google Tagged
Post by: bjraines on January 26, 2010, 05:04:47 PM
has anyone been able to install latest version?
Title: Re: Google Tagged
Post by: bjraines on January 27, 2010, 10:42:51 AM
I have attached a version that works with 1.1.11 as well and installs properly
Title: Re: Google Tagged
Post by: romeo37 on January 30, 2010, 05:36:20 PM
2.0 When will rise?
Title: Re: Google Tagged
Post by: KensonPlays on January 30, 2010, 05:53:37 PM
2.0, RC2! 2.0, RC2! 2.0, RC2!
Title: Re: Google Tagged
Post by: Yağız... on January 30, 2010, 06:25:55 PM
Guys ... :) I really don't have time to do everything... I'm developer of Ultimate Profile for SMF 2.0 RC2, and it has some bugs to fix. I have to update some mods in the mod site for my customers... When I'll have time to update this, I'll update. Don't worry :)
Title: Re: Google Tagged
Post by: DarioRed on February 06, 2010, 09:58:19 AM
I am using this mode for a long time, and today I clicked on one of my googletagged words and I got this error.

Tags don't working! http://www.repairyourmobile.net/index.php?action=tagged
example: http://www.repairyourmobile.net/index.php?action=tagged;id=110;tag=n76

Please help, this mode is must have for all smf's.
Title: Re: Google Tagged
Post by: hhy89 on February 06, 2010, 01:40:49 PM
Quote from: Kcmartz on January 30, 2010, 05:53:37 PM
2.0, RC2! 2.0, RC2! 2.0, RC2!
http://destek.smfmod.com/index.php?action=downloads;sa=downfile&id=3
Title: Re: Google Tagged
Post by: paloro on February 07, 2010, 12:24:15 AM
I am getting a "406 Not Acceptable" error.  The description is:

"An appropriate representation of the requested resource /forum/index.php could not be found on this server."

http://www.courtreporterjob.com/forum/index.php?action=tagged
http://www.courtreporterjob.com/forum/index.php?action=tagged;id=1;tag=steno

How can I fix this problem?
Title: Re: Google Tagged
Post by: hhy89 on February 07, 2010, 09:38:15 AM
http://www.courtreporterjob.com/forum/index.php?action=tagged&id=2&tag=machines
it works :)

display.template.php
find
<a href="', $scripturl , '?action=tagged;id=', $key ,';tag=', $row['tag'] ,'"
replace
<a href="', $scripturl , '?action=tagged&id=', $key ,'&tag=', $row['tag'] ,'"

googletagged.template.php
find
<a href="', $scripturl , '?action=tagged;id=', $row['ID_TAG'] ,';tag=', $row['tag'] ,'"
replace
<a href="', $scripturl , '?action=tagged&id=', $row['ID_TAG'] ,'&tag=', $row['tag'] ,'"

; is replaced &, ok?
Title: Re: Google Tagged
Post by: paloro on February 07, 2010, 03:39:46 PM
That solved the problem with the 406 error.  However, I am running into another issue.  When I click on the "Google Tagged" tab, at the top of the forum, I get a list of 50 random Google Tags.

http://www.courtreporterjob.com/forum/index.php?action=tagged

However, when I click on one of the tags, it does not take me to the posts with the corresponding tag.  It takes me back to the list of 50 random Google Tags.

http://www.courtreporterjob.com/forum/index.php?action=tagged&id=&tag=stenograph

How can I fix this?
Title: Re: Google Tagged
Post by: hhy89 on February 08, 2010, 02:33:35 PM
sorry about that :) i think u use rc2

googletagged.template.php
find
$row['id_tag']
replace
$row['ID_TAG']
Title: Re: Google Tagged
Post by: paloro on February 09, 2010, 02:33:39 AM
Works great!  Thanks for all your help!
Title: Re: Google Tagged
Post by: DarioRed on March 01, 2010, 02:18:11 PM
Quote from: DarioRed on February 06, 2010, 09:58:19 AM
I am using this mode for a long time, and today I clicked on one of my googletagged words and I got this error.

Tags don't working! http://www.repairyourmobile.net/index.php?action=tagged
example: http://www.repairyourmobile.net/index.php?action=tagged;id=110;tag=n76

Please help, this mode is must have for all smf's.
Does anybody know how to solve this error ??

Method Not Implemented

GET to /index.php not supported.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Title: Re: Google Tagged
Post by: hhy89 on March 02, 2010, 06:01:27 AM
Quote from: hhy89 on February 07, 2010, 09:38:15 AM
http://www.courtreporterjob.com/forum/index.php?action=tagged&id=2&tag=machines
it works :)

display.template.php
find
<a href="', $scripturl , '?action=tagged;id=', $key ,';tag=', $row['tag'] ,'"
replace
<a href="', $scripturl , '?action=tagged&id=', $key ,'&tag=', $row['tag'] ,'"

googletagged.template.php
find
<a href="', $scripturl , '?action=tagged;id=', $row['ID_TAG'] ,';tag=', $row['tag'] ,'"
replace
<a href="', $scripturl , '?action=tagged&id=', $row['ID_TAG'] ,'&tag=', $row['tag'] ,'"

; is replaced &, ok?
Title: Re: Google Tagged
Post by: anantgupta on March 05, 2010, 09:59:21 PM
QuoteGET to /index.php not supported.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.3.1 Server at teendezire.com Port 80

Got this error when i click on tag
Title: Re: Google Tagged
Post by: SONSiVRi on March 06, 2010, 12:49:29 AM
"anantgupta"
Did you read your 1 post above?
Title: Re: Google Tagged
Post by: anantgupta on March 06, 2010, 05:33:36 AM
nope didnt worked...
Title: Re: Google Tagged
Post by: narg on March 11, 2010, 01:41:55 PM
I'v maded some modifications on this plugin to make the who list more accurate, instead of apearing in who list "Unknown Action"

in language file Who.english.php
add at the end
Code (php) Select

$txt['who_tagged'] = Viewing tagged topic <a href="' . $scripturl . '?action=tagged;id=%d">%s</a>';




in Sources/Who.php
replace
Code (php) Select

// Load topic names.


by

Code (php) Select

// Load tagged ids.
if (!empty($tagged_ids))
{
$result = db_query("
SELECT b.ID_TAG, b.tag
FROM ({$db_prefix}googletagged AS b)
WHERE $user_info[query_see_board]
AND ID_TAG IN (" . implode(', ', array_keys($tagged_ids)) . ")
LIMIT " . count($topic_ids), __FILE__, __LINE__);
while ($row = mysql_fetch_assoc($result))
{
// Show the topic's subject for each of the actions.
foreach ($tagged_ids[$row['ID_TAG']] as $k => $session_text)
$data[$k] = sprintf($session_text, $row['ID_TAG'], str_replace("+"," ",censorText($row['tag'])));
}
mysql_free_result($result);
}

// Load topic names.



and

replace
Code (php) Select

// Viewing/editing a profile.

by
Code (php) Select

// Viewing Tags.
if ($actions['action'] == 'tagged' || $actions['action'] == 'tagged')
{
// Hide first, show later.
//$data[$k] = $txt['who_hidden'];
$tagged_ids[$actions['id']][$k] = $txt['who_tagged'];

}
// Viewing/editing a profile.
Title: Re: Google Tagged
Post by: hhy89 on March 13, 2010, 02:49:50 PM
for rc3
http://destek.smfmod.com/index.php?action=downloads;sa=view;down=3
Title: Re: Google Tagged
Post by: Am' on March 20, 2010, 09:43:26 AM
What is the utility ?

it improves the referencing of the search engines ?
or just allow the administrator sees the best words that brought visitors?
Title: Re: Google Tagged
Post by: giveaway365.com on April 11, 2010, 09:39:40 AM
Quote from: hhy89 on March 13, 2010, 02:49:50 PM
for rc3
http://destek.smfmod.com/index.php?action=downloads;sa=view;down=3

Thanks!
It works fine for me...
Title: Re: Google Tagged
Post by: giveaway365.com on April 11, 2010, 10:02:16 AM
in RC3 version I get this error constantly in error log:

8: Undefined index: no_topic_listing
Apply Filter: Only show the errors from this file
File: /home/xxx/public_html/Themes/default/GoogleTagged.template.php (results sub template - eval?)
Line: 135
Title: Re: Google Tagged
Post by: Yağız... on April 11, 2010, 10:33:55 AM
UPDATE!
- Modification is now officially uptaded for SMF 2.0!
Title: Re: Google Tagged
Post by: giveaway365.com on April 11, 2010, 11:48:57 AM
Gr8 !
All errors vanished with this new mod !
Title: Re: Google Tagged
Post by: hhy89 on April 11, 2010, 03:14:38 PM
Quote from: hhy89 on December 13, 2009, 05:58:15 PM
Display.php
({int:topic}, "'.$tag.'", "1", "1")
replace
({int:topic}, "'.$tag.'", 1, 1)

googletagged.template.php
    if (!$context['no_topic_listing'])

delete it
Title: Re: Google Tagged
Post by: giveaway365.com on April 12, 2010, 01:45:33 AM
the new mod by Yağız's post and now on smf official forum solves that problem.
Title: Re: Google Tagged
Post by: tectonny on April 13, 2010, 10:17:39 AM
How to display the tag cloud at the end of the forum page?
Title: Re: Google Tagged
Post by: Yağız... on April 13, 2010, 10:34:01 AM
Quote from: tectonny on April 13, 2010, 10:17:39 AM
How to display the tag cloud at the end of the forum page?
What is your SMF version?
Title: Re: Google Tagged
Post by: tectonny on April 13, 2010, 11:36:36 AM
Quote from: Yağız... on April 13, 2010, 10:34:01 AM
Quote from: tectonny on April 13, 2010, 10:17:39 AM
How to display the tag cloud at the end of the forum page?
What is your SMF version?

2.0 RC3
Title: Re: Google Tagged
Post by: Yağız... on April 13, 2010, 11:45:45 AM
Find in ./Sources/BoardIndex.php:
$context += getMembersOnlineStats($membersOnlineOptions);
Add after:
// prepare a tag cloud
// now this is complex because the same tag may have been saved multiple times
// deleted topics where tags still remain will be ignored.
global $smcFunc;
loadLanguage('GoogleTagged');
$query = $smcFunc['db_query']('', '
SELECT g.tag, g.id_tag, g.hits, g.status, g.id_topic, t.id_topic
FROM {db_prefix}googletagged as g, {db_prefix}topics as t
WHERE g.id_topic = t.id_topic
AND g.status != 0
GROUP BY g.tag
ORDER BY RAND()
LIMIT 50',
array()
);

// found some tags?
if($smcFunc['db_num_rows']($query) != 0)
{
// create an array for tags
$context['googletagged'] = array();
// cycle through
$highest = 1 ;
$lowest = 999999999999 ; // SO IT FORCES THE FIRST ROW TO BE THE LOWEST
while($row = $smcFunc['db_fetch_assoc']($query)) {
// STORE THE INFO FOR LATER ON
$context['googletagged'][] = $row;
$highest = ($row['hits'] > $highest) ? $row['hits'] : $highest ;
$lowest = ($row['hits'] < $lowest) ? $row['hits'] : $lowest ;
}
// tidy up
unset($row);
// work out the sizes for us
// first the max and min sizes that we can use in %
$maxsize = 200;
$minsize = 100;
// whats the difference - if 0, dividing my zero will cause an error
$diff = ($highest - $lowest == 0) ? 1 : ($highest - $lowest) ;
// evenly step the tags
$steps = ($maxsize - $minsize)/$diff;

// cycle through our tags
foreach ($context['googletagged'] as $key => $row) {
// ADD THE COLUMN FOR SIZE

$context['googletagged'][$key]['size'] = ceil($minsize + ($steps * ($row['hits'] - $lowest)));
$context['googletagged'][$key]['text'] = str_replace("+", " ", $context['googletagged'][$key]['tag']);
}
// tidy up
unset($key,$row,$steps,$highest,$lowest,$maxsize,$minsize);
$smcFunc['db_free_result']($query);
}


Find in ./Themes/default/BoardIndex.template.php:
template_info_center();

Add after:
// start the table
echo '<br />
<div class="title_bar">
<h3 class="titlebg">
<span style="margin: 0 auto;">', $txt['googletagged_random50'], '</span>
</h3>
</div>
<div class="windowbg2">
<span class="topslice"><span></span></span>
<div class="content centertext">';

// start our tag cloud
if(isset($context['googletagged']))
{
$i = 1 ;
// write out our tags
foreach($context['googletagged'] as $key => $row)
{
echo '
<a href="', $scripturl , '?action=tagged;id=', $row['id_tag'] ,';tag=', $row['tag'] ,'" style="font-size: '.$row['size'].'%;" title="', $row['text'] ,'">', $row['text'] ,'</a>';
// increase counter until we may need to break
// if divisable by 10 - new line
echo (($i % 10) == 0) ? '<br />' : '';
$i++;
}
// tidy up
unset($i,$key,$row);
} else {
// no tags, so tell the user
echo $txt['googletagged_empty'];
}

// end the table
echo '
</div>
<span class="botslice"><span></span></span>
</div>';
Title: Re: Google Tagged
Post by: tectonny on April 13, 2010, 11:49:52 AM
As did report but did not work and gave no error, just nothing happened.

http://www.tectonny.com/forum/index.php
Title: Re: Google Tagged
Post by: tectonny on April 13, 2010, 11:57:26 AM
Forgiveness was my mistake. It worked nice.

Perfect
Title: Re: Google Tagged
Post by: tectonny on April 13, 2010, 12:02:35 PM
Me again kkkkkkkkkkkk
How do i center and edit that information:
"GoogleTagged (50 Random)"
Title: Re: Google Tagged
Post by: Yağız... on April 13, 2010, 12:05:07 PM
Find and edit this on ./Themes/default/BoardIndex.template.php:
',   $txt['googletagged_random50'], '
Title: Re: Google Tagged
Post by: tectonny on April 13, 2010, 12:16:07 PM
ok
Title: Re: Google Tagged
Post by: IdanC on April 13, 2010, 12:36:05 PM
amazing mod, but it looks like it lost its utf-8 support for search strings.

any ideas how to fix this?
Title: Re: Google Tagged
Post by: Yağız... on April 13, 2010, 12:38:39 PM
Quote from: IdanC on April 13, 2010, 12:36:05 PM
amazing mod, but it looks like it lost its utf-8 support for search strings.

any ideas how to fix this?
Did it worked properly before?
Title: Re: Google Tagged
Post by: IdanC on April 13, 2010, 01:52:50 PM
it's mentioned as one of the bug fixes in the change log, so i assumed.

if you have any guesses as to where the problem could be, i'll be happy to find and share a solution...
Title: Re: Google Tagged
Post by: Yağız... on April 13, 2010, 08:25:55 PM
Quote from: IdanC on April 13, 2010, 01:52:50 PM
it's mentioned as one of the bug fixes in the change log, so i assumed.

if you have any guesses as to where the problem could be, i'll be happy to find and share a solution...
It should be a problem with language, not the problem you have.

Did it ever worked in your forum?
Title: Re: Google Tagged
Post by: IdanC on April 14, 2010, 02:47:09 AM
it works just great (http://mila.fm/index.php?action=tagged), but it only captures English search strings.
Title: Re: Google Tagged
Post by: Yağız... on April 14, 2010, 06:45:31 AM
Any error on the error log?
Title: Re: Google Tagged
Post by: IdanC on April 14, 2010, 08:27:07 AM
mmm... it's a live forum (can't test the mod otherwise), and when i log errors i get 500 pages of log in a second.

a. regardless of the mod, let me as you as an experienced user - how bad is it? mostly the forum works great, should i be worried of such amount of errors?

b. is it possible in spite of that to isolate the mod's errors?
Title: Re: Google Tagged
Post by: Yağız... on April 14, 2010, 12:41:52 PM
Quote from: IdanC on April 14, 2010, 08:27:07 AM
mmm... it's a live forum (can't test the mod otherwise), and when i log errors i get 500 pages of log in a second.

a. regardless of the mod, let me as you as an experienced user - how bad is it? mostly the forum works great, should i be worried of such amount of errors?

b. is it possible in spite of that to isolate the mod's errors?
Yeah, you should be worried. 500 pages is really to much ... If you can send me some of the errors, we can try to fix some :)
Title: Re: Google Tagged
Post by: playdiune on April 15, 2010, 05:47:24 PM
Since i installed this MOD i have lots ando lots of errors, like this;

Visitor  Today at 21:42 
209.63.57.11     5900d48bfc9c16625133d9c519f26009 
http://www.new-digital.net/index.php?pretty;board=historias-e-adivinhas;topic=filme-os-tres-porquinhos-pt.0&amp;action=quickmod2;PHPSESSID=93769b3904fb563f333c275497737b4f 
N


Is this because i have pretty urls installed ? is there a solution for all these errors ?

Thanks
Title: Re: Google Tagged
Post by: Yağız... on April 15, 2010, 05:51:18 PM
This error has nothing to do with this mod, it's because of Pretty Urls.
Title: Re: Google Tagged
Post by: playdiune on April 15, 2010, 06:12:25 PM
So, the solution is to uninstall ?
Title: Re: Google Tagged
Post by: Yağız... on April 15, 2010, 06:24:02 PM
Asking in the mod thread :)
Title: Re: Google Tagged
Post by: lala1 on April 17, 2010, 06:51:40 AM
Is there a way to modify who can see GoogleTagged tab? I'd really like to keep options to a minimum for guests and regular members; besides that info isn't helping anybody, except admins.
Title: Re: Google Tagged
Post by: Yağız... on April 17, 2010, 11:26:16 AM
Quote from: lala1 on April 17, 2010, 06:51:40 AM
Is there a way to modify who can see GoogleTagged tab? I'd really like to keep options to a minimum for guests and regular members; besides that info isn't helping anybody, except admins.
Yes, in the next version :)
Title: Re: Google Tagged
Post by: playdiune on April 17, 2010, 11:33:32 AM
It should be nice you make this mod compatible with pretty urls ;)
Title: Re: Google Tagged
Post by: Am' on April 19, 2010, 02:57:22 PM
Hi,

i have this message in log error :

http://pfe.root-area.com/index.php?action=post2;board=4;preview;xml
8: Undefined index: googletagged
Fichier: /home/bkdir/web/pfe/Sources/Subs.php
Ligne: 4045


http://pfe.root-area.com/index.php?action=quotefast;quote=12;xml;pb=message;mode=0
8: Undefined index: googletagged
Fichier: /home/bkdir/web/pfe/Sources/Subs.php
Ligne: 4045
Title: Re: Google Tagged
Post by: Yağız... on April 19, 2010, 03:18:40 PM
Do your Modifications.{language}.php file has Google Tagged language strings?
Title: Re: Google Tagged
Post by: Am' on April 19, 2010, 04:10:29 PM
here the translation french-utf8 for your module


Modifications french-utf8 :

$txt['googletagged'] = 'GoogleTagged';
$txt['googletagged_admin'] = 'GoogleTagged';
$txt['googletagged_menu'] = 'GoogleTagged';
$txt['googletagged_manage'] = 'Gérer GoogleTagged';
$txt['permissionname_googletagged_manage'] = 'Gérer GoogleTagged';
$txt['permissiongroup_googletagged'] = 'GoogleTagged';


Googletagger file :

// normal strings - for non-admins/mods
$txt['googletagged'] = 'GoogleTagged';
$txt['googletagged_random50'] = 'GoogleTagged (50 au hasard)';
$txt['googletagged_search'] = 'Sujets GoogleTagged avec ';
$txt['googletagged_subject'] = 'Sujet';
$txt['googletagged_startedby'] = 'Démarré par';
$txt['googletagged_replies'] = 'Réponses';
$txt['googletagged_views'] = 'Vues';
$txt['googletagged_pages'] = 'Pages: ';

// admin/mods
$txt['googletagged_admin'] = 'GoogleTagged Admin';
$txt['googletagged_admin_bantag'] = '[Interdire Tag]';
$txt['googletagged_admin_error'] = 'Vous n\'avez pas l\'autorisation requise pour l\'interdiction des tags';
$txt['googletagged_admin_reset'] = 'Réinitialiser tous les Tags';
$txt['googletagged_admin_optimize'] = 'Optimiser les Tags';
$txt['googletagged_admin_settings'] = 'Paramètres';
$txt['googletagged_adminsbannedwords'] = 'Tags Interdits';
$txt['googletagged_admin_addbannedwords'] = 'Ajouter un tag interdit';
$txt['googletagged_admin_addwordban'] = 'Ajouter un tag interdit';
$txt['googletagged_admin_removebannedwords'] = 'Retirer le Tag interdit';
$txt['googletagged_admin_nobannedwords'] = 'Il n\'ya pas encore de tags interdits';
$txt['googletagged_googletagged'] = 'Activer/Désactiver le module GoogleTagged';
$txt['googletagged_together'] = 'Cochez la case pour enregistrer les termes de recherche ensemble.';
$txt['googletagged_empty'] = 'Aucun sujet n\'a été encore GoogleTagged !!<br />';
$txt['save'] = 'Sauvegarder les paramètres';


same errors in googletagged.xml, you have not closed the <File> tag in some blocks
Title: Re: Google Tagged
Post by: Yağız... on April 19, 2010, 04:17:07 PM
Those are only GoogleTagged.french-utf8.php, I've asked Modifications.french-utf8.php :)
Title: Re: Google Tagged
Post by: Arantor on April 19, 2010, 07:12:42 PM
Admin > Maintenance > Routine > Empty the file cache

(Modifications.english.php is always loaded of as RC2 so should reduce such errors; here the string isn't even declared)
Title: Re: Google Tagged
Post by: Am' on April 20, 2010, 06:19:08 AM
here the translation french-utf8 for your module


Modifications french-utf8 :

$txt['googletagged'] = 'GoogleTagged';
$txt['googletagged_admin'] = 'GoogleTagged';
$txt['googletagged_menu'] = 'GoogleTagged';
$txt['googletagged_manage'] = 'Gérer GoogleTagged';
$txt['permissionname_googletagged_manage'] = 'Gérer GoogleTagged';
$txt['permissiongroup_googletagged'] = 'GoogleTagged';


Googletagger file :

// normal strings - for non-admins/mods
$txt['googletagged'] = 'GoogleTagged';
$txt['googletagged_random50'] = 'GoogleTagged (50 au hasard)';
$txt['googletagged_search'] = 'Sujets GoogleTagged avec ';
$txt['googletagged_subject'] = 'Sujet';
$txt['googletagged_startedby'] = 'Démarré par';
$txt['googletagged_replies'] = 'Réponses';
$txt['googletagged_views'] = 'Vues';
$txt['googletagged_pages'] = 'Pages: ';

// admin/mods
$txt['googletagged_admin'] = 'GoogleTagged Admin';
$txt['googletagged_admin_bantag'] = '[Interdire Tag]';
$txt['googletagged_admin_error'] = 'Vous n\'avez pas l\'autorisation requise pour l\'interdiction des tags';
$txt['googletagged_admin_reset'] = 'Réinitialiser tous les Tags';
$txt['googletagged_admin_optimize'] = 'Optimiser les Tags';
$txt['googletagged_admin_settings'] = 'Paramètres';
$txt['googletagged_adminsbannedwords'] = 'Tags Interdits';
$txt['googletagged_admin_addbannedwords'] = 'Ajouter un tag interdit';
$txt['googletagged_admin_addwordban'] = 'Ajouter un tag interdit';
$txt['googletagged_admin_removebannedwords'] = 'Retirer le Tag interdit';
$txt['googletagged_admin_nobannedwords'] = 'Il n\'ya pas encore de tags interdits';
$txt['googletagged_googletagged'] = 'Activer/Désactiver le module GoogleTagged';
$txt['googletagged_together'] = 'Cochez la case pour enregistrer les termes de recherche ensemble.';
$txt['googletagged_empty'] = 'Aucun sujet n\'a été encore GoogleTagged !!<br />';
$txt['save'] = 'Sauvegarder les paramètres';


same errors in googletagged.xml, you have not closed the <File> tag in some blocks


;) ;)
Title: Re: Google Tagged
Post by: caoyiqian on April 20, 2010, 07:42:47 AM
Yes, this mods is extreemly useful. It makes y traffic booming.
Title: Re: Google Tagged
Post by: Yağız... on April 20, 2010, 01:36:33 PM
Quote from: caoyiqian on April 20, 2010, 07:42:47 AM
Yes, this mods is extreemly useful. It makes y traffic booming.
I can't understand if this is good or bad feedback :P

UPDATE!
1.5 - April 20th, 2010
o Fixed 'Undefined index: clip' bug on SMF 2.0 RC3.
o Added view permission.
o Added French translation. (Thanks to Am').
Title: Re: Google Tagged
Post by: clevelife on April 20, 2010, 05:24:21 PM
I understand the functionality of this and think it is great.  One question I have is do the tags have to be shown on the page or can they be hidden and still help with SEO?
Title: Re: Google Tagged
Post by: fiver on April 22, 2010, 01:15:21 AM
Hi Yagiz...


I'm using googletagged 1.5 on smf 2.0 rc3.


When I click on a tagged phrase, it shows a list of topics. When I click on the Last Post icon on the right of a toipc, it goes to the first post of that topic instead of going to the last post.







Title: Re: Google Tagged
Post by: Yağız... on April 24, 2010, 01:19:42 PM
Quote from: clevelife on April 20, 2010, 05:24:21 PM
I understand the functionality of this and think it is great.  One question I have is do the tags have to be shown on the page or can they be hidden and still help with SEO?
You don't need to hide them entirely, just don't hide the GoogleTagged page, and it'll help you ;)

Quote from: fiver on April 22, 2010, 01:15:21 AM
Hi Yagiz...


I'm using googletagged 1.5 on smf 2.0 rc3.


When I click on a tagged phrase, it shows a list of topics. When I click on the Last Post icon on the right of a toipc, it goes to the first post of that topic instead of going to the last post.
Thanks, fixed for the next version. Quick fix:
Find in ./Sources/GoogleTagged.php:
'href' => $scripturl . '?topic=' . $row['id_topic'] . '.0;topicseen#new',
Replace with:
'href' => $scripturl . '?topic=' . $row['id_topic'] . '.msg' . $row['id_last_msg'] . '#msg' . $row['id_last_msg'],
Title: Re: Google Tagged
Post by: fiver on April 25, 2010, 01:55:27 AM
Thanks Yagiz for the fix,


Another bug?... when I click Reset All Tags to Zero, I get this:

QuoteAn Error Has Occurred!

Undefined type used in the database query. (status:zero)
Title: Re: Google Tagged
Post by: Yağız... on April 25, 2010, 02:11:28 PM
Thanks for that too :)
Find in ./Sources/GoogleTagged.php:
SET hits = {status:zero}',
Replace with:
SET hits = {int:zero}',
Title: Re: Google Tagged
Post by: fiver on April 27, 2010, 09:30:06 PM
Hi Yagiz,


Many thanks again for the fix.


I notice some tags are not relevant to a topic, like I have the tagged phrase "google com" under many topics. Is there anyway to remove a phrase without setting all to zero?


Thanks again.


Off topic, would you be able to help me with some code here?...
http://www.simplemachines.org/community/index.php?topic=377122.0 (http://www.simplemachines.org/community/index.php?topic=377122.0)
Title: Re: Google Tagged
Post by: tectonny on April 28, 2010, 10:27:39 PM
Hello, the MOD is very good, congratulations. But I installed it today and give a lot of error like this:
8: Undefined index:
Ficheiro: /home/xxxxxxx/public_html/forum/Sources/GoogleTagged.php
Linha: 411


What to do to solve?
Title: Re: Google Tagged
Post by: Yağız... on April 29, 2010, 12:52:00 AM
@fiver;
You can ban the tags from admin settings.

$tectonny;
Are you using v1.5?
Title: Re: Google Tagged
Post by: clevelife on April 29, 2010, 09:39:39 AM
Here is where I get my error. It seems I can only install it if I remove simple portal, but than I can't reinstall SP without errors.

Find[Select]
'pm_read' => array(false, 'pm', 'use_pm_system'),
'pm_send' => array(false, 'pm', 'use_pm_system'),

Add After[Select]
'googletagged_view' => array(false, 'googletagged', 'view_basic_info'),
'googletagged_manage' => array(false, 'googletagged', 'administrate'),
Title: Re: Google Tagged
Post by: Yağız... on May 07, 2010, 12:49:07 PM
Update this file manually.
Title: Re: Google Tagged
Post by: Sakae on May 07, 2010, 06:03:38 PM
Well, I've installed this mod few hours ago, but nothing showed up yet.

Does it take too long to tags appear?
Title: Re: Google Tagged
Post by: Yağız... on May 07, 2010, 06:15:22 PM
Quote from: Sakae on May 07, 2010, 06:03:38 PM
Well, I've installed this mod few hours ago, but nothing showed up yet.

Does it take too long to tags appear?
There won't be any tags until someone comes to see a topic from Google with a keyword.
Title: Re: Google Tagged
Post by: Sakae on May 07, 2010, 07:21:29 PM
Well, if I make a Google search and click my forum link on result, it should appear on Google Tagged page of my SMF, right?
Title: Re: Google Tagged
Post by: Yağız... on May 07, 2010, 07:37:08 PM
Quote from: Sakae on May 07, 2010, 07:21:29 PM
Well, if I make a Google search and click my forum link on result, it should appear on Google Tagged page of my SMF, right?
Yes :)
Title: Re: Google Tagged
Post by: Sakae on May 08, 2010, 01:05:23 PM
So I'm missing something. It's almost 1 day after I installed Google Tagged, already done A LOT of searches in google clicking on my forum (such as "fórum Criciúma Esporte Clube", "site Tigrelog", "especulação kempes", all with and without quotes, and it doesn't showed up anything yet.

See for yourself.

Login at http://www.tigrelog.com.br/ (http://www.tigrelog.com.br/) using l: simple p: machines and then click on this link to see it: http://www.tigrelog.com.br/index.php?action=tagged (http://www.tigrelog.com.br/index.php?action=tagged)

Also, no errors in error log.

I'm using SMF 2.0 RC3 (heavily modded), installed last version of Google Tagged perfect (no errors) and using portuguese_brazilian-utf8
Title: Re: Google Tagged
Post by: Yağız... on May 08, 2010, 01:24:33 PM
There could be some errors with UTF-8 then. BTW, I searched for "cartolafc tigrelog" on Google, found your site, entered, but:
QuoteNot Found

The requested URL /arquibancada/cartolafc-tigrelog!!!/20/ was not found on this server.

Title: Re: Google Tagged
Post by: Sakae on May 08, 2010, 04:35:54 PM
That error is caused by the use of Pretty URL on the beggining of the forum.

I think the problem is caused by utf8 codification on our SMF. Too bad, I would really like this MOD :)
Title: Re: Google Tagged
Post by: tectonny on May 13, 2010, 11:05:05 AM
Quote from: Yağız... on April 29, 2010, 12:52:00 AM
@fiver;
You can ban the tags from admin settings.

$tectonny;
Are you using v1.5?

YES!
Title: Re: Google Tagged
Post by: Yağız... on May 13, 2010, 11:08:55 AM
Are you still receiving those errors?
Title: Re: Google Tagged
Post by: tectonny on May 13, 2010, 11:50:06 AM
Yes, always!
Title: Re: Google Tagged
Post by: Sakae on May 15, 2010, 04:02:20 PM
Quote from: Yağız... on May 08, 2010, 01:24:33 PM
There could be some errors with UTF-8 then. (...)

Well, I forgot to disable Google Tagged mod on my forum, and today I was navigating around my SMF and... Voila!! Working great on UTF-8! What a nice surprise :D

Topic: http://www.tigrelog.com.br/index.php?topic=5885.0

Google Tagged: http://www.tigrelog.com.br/index.php?action=tagged

Nice work Yagiz, thanks! :)
Title: Re: Google Tagged
Post by: Yağız... on May 15, 2010, 05:40:14 PM
Hehe :) Thank you too :)
Title: Re: Google Tagged
Post by: Bruno36 on June 05, 2010, 03:16:47 AM
Hello!

I get errors in my error log

Quotehttp://www.scooter-chinois-4t.com/index.php?action=tagged;id=3115;tag=cdi+pour+scooter+solana8: Undefined index: topicsolvedFichier: /home/www/sospc/www/phpbb/Sources/GoogleTagged.php
Ligne: 206

QuoteInvité
xxxxxxxx   
    Aujourd'hui à 04:36:26
5d41edf22a7820b26fbd5855fde596c8
Type d'erreur: Éléments indéfinis 
http://www.scooter-chinois-4t.com/index.php?action=tagged;id=3115;tag=cdi+pour+scooter+solana8: Undefined index: Fichier: /home/www/sospc/www/phpbb/Sources/GoogleTagged.php
Ligne: 206

QuoteInvité
xxxxxxx   
    Aujourd'hui à 04:36:26
5d41edf22a7820b26fbd5855fde596c8
Type d'erreur: Éléments indéfinis 
http://www.scooter-chinois-4t.com/index.php?action=tagged;id=3115;tag=cdi+pour+scooter+solana8: Undefined index: topicsolvedFichier: /home/www/sospc/www/phpbb/Sources/GoogleTagged.php
Ligne: 206


'icon_url' => $settings[$context['icon_sources'][$row['firstIcon']]] . '/post/' . $row['firstIcon'] . '.gif',
Title: Re: Google Tagged
Post by: Yağız... on June 05, 2010, 03:33:53 AM
Find this in ./Sources/GoogleTagged.php:
$default_icons = array('xx', 'thumbup', 'thumbdown', 'exclamation', 'question', 'lamp', 'smiley', 'angry', 'cheesy', 'grin', 'sad', 'wink', 'moved', 'recycled', 'wireless', 'clip');
Replace with:
$default_icons = array('xx', 'thumbup', 'thumbdown', 'exclamation', 'question', 'lamp', 'smiley', 'angry', 'cheesy', 'grin', 'sad', 'wink', 'moved', 'recycled', 'wireless', 'clip', 'topicsolved');
Title: Re: Google Tagged
Post by: Bruno36 on June 05, 2010, 07:02:10 AM
thank you very much for your support rapid :D
Title: Re: Google Tagged
Post by: Autoteilekauf.com on June 08, 2010, 06:59:56 PM
I have the same problem but the answer from yagiz don´t solve the problem:

Undefined index: (Blue) OR (Beige) OR (nothing)
Datei: /is/htdocs/xxx/www/html/forum/Sources/GoogleTagged.php
Zeile: 195

// load the icons to use in a bit
$default_icons = array('xx', 'thumbup', 'thumbdown', 'exclamation', 'question', 'lamp', 'smiley', 'angry', 'cheesy', 'grin', 'sad', 'wink', 'moved', 'recycled', 'wireless', 'clip', 'topicsolved');


Line: 195

'icon_url' => $settings[$context['icon_sources'][$row['firstIcon']]] . '/post/' . $row['firstIcon'] . '.gif',
Title: Re: Google Tagged
Post by: Arantor on June 08, 2010, 07:01:06 PM
So what did you call the custom message icons you created for your forum then?
Title: Re: Google Tagged
Post by: OnlineFunCorner on June 18, 2010, 10:34:55 AM
Hy
Its Really Good MOD
Please Help Me
I Have Problem
When I Want To Install It
It Gives
Table '*****_*****.*****{db_prefix}googletagged' doesn't exist
File: /home/*****/public_html/Packages/temp/helper.php
Line: 16
Title: Re: Google Tagged
Post by: OnlineFunCorner on June 20, 2010, 02:35:36 AM
Where Are You
Nobody For Help?
Title: Re: Google Tagged
Post by: Yağız... on June 20, 2010, 05:54:17 AM
Sorry, try to upload attached file.
Title: Re: Google Tagged
Post by: chinaren on June 23, 2010, 09:48:14 AM
Just want to say thank you for continuing this mod!  It's been in use for a while in my smf1.1.x forum, and now I'm upgrading to SMF2 it's a joy to be able to carry on!  With all the data intact too!


Excellent.  Now we can keep seeing searches such as:  


genitals -cd -kids -spanish -kindergarten -children -scholastic -teach -education -gay


No, really.  :o
Title: Re: Google Tagged
Post by: OnlineFunCorner on June 23, 2010, 10:00:20 AM
Quote from: Yağız... on June 20, 2010, 05:54:17 AM
Sorry, try to upload attached file.

Yagiz Is That File For Me?
Title: Re: Google Tagged
Post by: Yağız... on June 23, 2010, 04:15:34 PM
Quote from: chinaren on June 23, 2010, 09:48:14 AM
Just want to say thank you for continuing this mod!  It's been in use for a while in my smf1.1.x forum, and now I'm upgrading to SMF2 it's a joy to be able to carry on!  With all the data intact too!


Excellent.  Now we can keep seeing searches such as: 


genitals -cd -kids -spanish -kindergarten -children -scholastic -teach -education -gay


No, really.  :o
I can't understand if this is a question, request, suggestion ??? :P

Quote from: Dr.IT on June 23, 2010, 10:00:20 AM
Quote from: Yağız... on June 20, 2010, 05:54:17 AM
Sorry, try to upload attached file.

Yagiz Is That File For Me?
Yes.
Title: Re: Google Tagged
Post by: OnlineFunCorner on June 24, 2010, 12:52:44 PM
Thanks Buddy
I Will Check It
Title: Re: Google Tagged
Post by: OnlineFunCorner on June 25, 2010, 06:35:01 AM
Quote from: Yağız... on June 20, 2010, 05:54:17 AM
Sorry, try to upload attached file.

Now This Error
Table '*****_*****.******googletagged' doesn't exist
File: /home/******/public_html/Sources/GoogleTagged.php
Line: 303
Line: 642
Title: Re: Google Tagged
Post by: katb on June 28, 2010, 08:25:00 AM
I have installed this mod on smf version   1.1.11 , i tried to reach my forums through search engines, but every time under google tagged tab under my forum showing "'No topics have been GoogleTagged" . Please assist
Title: Re: Google Tagged
Post by: grafitus on June 28, 2010, 08:37:39 AM
Your guests have permission to see Google Tagged?
Title: Re: Google Tagged
Post by: katb on June 28, 2010, 09:05:48 AM
Quote from: grafitus on June 28, 2010, 08:37:39 AM
Your guests have permission to see Google Tagged?

NO  guests don't have the permission to view Google tagged
Title: Re: Google Tagged
Post by: grafitus on June 28, 2010, 04:58:13 PM
I guess guests're required to have this permission.
Title: Re: Google Tagged
Post by: katb on June 29, 2010, 03:32:52 AM
Quote from: grafitus on June 28, 2010, 04:58:13 PM
I guess guests're required to have this permission.

Where  i can set  this to guests .. i cann't see any options under google tagged option under my admin panel
Title: Re: Google Tagged
Post by: OnlineFunCorner on June 29, 2010, 08:59:58 AM
It May Be In
Admin=>Members=>Permissions=>General Permissions=>Guests & Click Modify!
Title: Re: Google Tagged
Post by: katb on June 29, 2010, 09:28:00 AM
Quote from: Dr.IT on June 29, 2010, 08:59:58 AM
It May Be In
Admin=>Members=>Permissions=>General Permissions=>Guests & Click Modify!


Thanks lot i enabled it for guest and mod is working  fine now
Title: Re: Google Tagged
Post by: amiralib on July 08, 2010, 01:34:35 AM
unfortunately it tags just english words .
my forum is Persian and my tags should be persiand and english. so what can I do ?

thanks
Title: Re: Google Tagged
Post by: Yağız... on July 08, 2010, 07:07:44 AM
Quote from: amiralib on July 08, 2010, 01:34:35 AM
unfortunately it tags just english words .
my forum is Persian and my tags should be persiand and english. so what can I do ?

thanks
Yeah, I know that :) I didn't find any solution for this yet. But I'm searching :)
Title: Re: Google Tagged
Post by: ~YİĞİT~ on July 14, 2010, 08:40:05 AM
modu sorunsuz kurmama rağmen 1 hafta oldu halen etiketlenen herhangi bir kelime olmadı maalesef
Title: Re: Google Tagged
Post by: SONSiVRi on July 15, 2010, 02:07:02 PM
Quote from: monster123 on July 14, 2010, 08:40:05 AM
modu sorunsuz kurmama rağmen 1 hafta oldu halen etiketlenen herhangi bir kelime olmadı maalesef

This is not a localized help section, English is the only language spoken in this section.
Title: Re: Google Tagged
Post by: apashi on August 12, 2010, 04:04:16 PM
hello!

i tried to modify this mod in order to tagg also google.ro searched words

if(!empty($referer)) {
// detect certain search engines
if(preg_match('/www\.google.*/i',$referer)
|| preg_match('google/i',$referer)) {

if(preg_match('/(google)|(search\.msn.*)|(www\.alltheweb\.com)|(ask\.*)/i',$referer))
$delimiter = "q";


but no effect!

can you help me doing this?

thanks!
Title: Re: Google Tagged
Post by: apashi on August 17, 2010, 06:39:17 AM
no help here? :(
Title: Re: Google Tagged
Post by: Yağız... on August 18, 2010, 11:40:24 AM
You don't need to modify it. * parameter takes every google site.
Title: Re: Google Tagged
Post by: OnlineFunCorner on August 18, 2010, 03:09:08 PM
Quote from: Dr.IT on June 25, 2010, 06:35:01 AM
Quote from: Yağız... on June 20, 2010, 05:54:17 AM
Sorry, try to upload attached file.

Now This Error
Table '*****_*****.******googletagged' doesn't exist
File: /home/******/public_html/Sources/GoogleTagged.php
Line: 303
Line: 642

Is There AnyBody For Help???
Title: Re: Google Tagged
Post by: grafitus on August 18, 2010, 04:10:56 PM
Quote from: Dr.IT on August 18, 2010, 03:09:08 PM
Quote from: Dr.IT on June 25, 2010, 06:35:01 AM
Now This Error
Table '*****_*****.******googletagged' doesn't exist
File: /home/******/public_html/Sources/GoogleTagged.php
Line: 303
Line: 642

Is There AnyBody For Help???
Are you sure **_googletagged table already exist in phpMyAdmin?
Title: Re: Google Tagged
Post by: OnlineFunCorner on August 19, 2010, 12:34:53 AM
How I Know googletagged table already exist in phpMyAdmin?
If googletagged table is not in phpMyAdmin?
Then How To Put In?
Title: Re: Google Tagged
Post by: apashi on August 21, 2010, 02:34:27 AM
Quote from: Yağız... on August 18, 2010, 11:40:24 AM
You don't need to modify it. * parameter takes every google site.

i've put the original script, but still no taggs from google.ro! :(

where is the problem?

can i make this script only for google.ro?

thanks a lot!
Title: Re: Google Tagged
Post by: OnlineFunCorner on August 21, 2010, 04:58:31 AM
Quote from: Dr.IT on August 19, 2010, 12:34:53 AM
How I Know googletagged table already exist in phpMyAdmin?
If googletagged table is not in phpMyAdmin?
Then How To Put In?
Is There Anybody To Reply???
Title: Re: Google Tagged
Post by: Yağız... on August 21, 2010, 08:54:31 AM
There might be some problems with UTF-8 characters. But I really have no time to look at it ... Maybe at September.


Quote from: Dr.IT on August 21, 2010, 04:58:31 AM
Quote from: Dr.IT on August 19, 2010, 12:34:53 AM
How I Know googletagged table already exist in phpMyAdmin?
If googletagged table is not in phpMyAdmin?
Then How To Put In?
Is There Anybody To Reply???
Download the package, extract the install file for your version, upload it to your SMF directory and run it.
Title: Re: Google Tagged
Post by: apashi on August 22, 2010, 01:45:20 AM
Quote from: apashi on August 21, 2010, 02:34:27 AM
Quote from: Yağız... on August 18, 2010, 11:40:24 AM
You don't need to modify it. * parameter takes every google site.

i've put the original script, but still no taggs from google.ro! :(

where is the problem?

can i make this script only for google.ro?

thanks a lot!

any ideas?
Title: Re: Google Tagged
Post by: Yağız... on August 22, 2010, 06:39:47 AM
Quote from: apashi on August 22, 2010, 01:45:20 AM
Quote from: apashi on August 21, 2010, 02:34:27 AM
Quote from: Yağız... on August 18, 2010, 11:40:24 AM
You don't need to modify it. * parameter takes every google site.

i've put the original script, but still no taggs from google.ro! :(

where is the problem?

can i make this script only for google.ro?

thanks a lot!

any ideas?
There might be some problems with UTF-8 characters. But I really have no time to look at it ... Maybe at September.
Title: Re: Google Tagged
Post by: apashi on August 23, 2010, 07:12:50 AM
ok! :(

I'll wait until September!

:-X
Title: Re: Google Tagged
Post by: OnlineFunCorner on September 01, 2010, 01:57:08 PM
Quote from: Yağız... on August 21, 2010, 08:54:31 AM
There might be some problems with UTF-8 characters. But I really have no time to look at it ... Maybe at September.


Quote from: Dr.IT on August 21, 2010, 04:58:31 AM
Quote from: Dr.IT on August 19, 2010, 12:34:53 AM
How I Know googletagged table already exist in phpMyAdmin?
If googletagged table is not in phpMyAdmin?
Then How To Put In?
Is There Anybody To Reply???
Download the package, extract the install file for your version, upload it to your SMF directory and run it.
I Do It
Install.php Run And Done Finely
But
Again Error

Table '(Database Name).(Database Tables Prefix){db_prefix}googletagged' doesn't exist
File: /home/**********/public_html/Packages/temp/helper.php
Line: 16

I Think Problem In Helper.php
Please Help Me
Title: Re: Google Tagged
Post by: grafitus on September 02, 2010, 05:37:57 PM
Quote from: Yağız... on August 21, 2010, 08:54:31 AMDownload the package, extract the install file for your version, upload it to your SMF directory and run it.
Title: Re: Google Tagged
Post by: OnlineFunCorner on September 03, 2010, 12:38:36 AM
Quote from: grafitus on September 02, 2010, 05:37:57 PM
Quote from: Yağız... on August 21, 2010, 08:54:31 AMDownload the package, extract the install file for your version, upload it to your SMF directory and run it.
I Do It Exactly
That's Error Occurred

Table '(Database Name).(Database Tables Prefix){db_prefix}googletagged' doesn't exist
File: /home/**********/public_html/Packages/temp/helper.php
Line: 16
Title: Re: Google Tagged
Post by: Yağız... on September 03, 2010, 04:04:37 AM
Not helper.php, just install.php.
Title: Re: Google Tagged
Post by: OnlineFunCorner on September 03, 2010, 04:24:47 AM
I Extract The Archive
Upload Install.php To Forum Directory And Run It
It Installed Successfully
.
But When I Install Google Tagged
Again Errors Comes
-
Table '(Database Name).(Database Tables Prefix){db_prefix}googletagged' doesn't exist
File: /home/**********/public_html/Packages/temp/helper.php
Line: 16

-
Did You Understand Now?
Title: Re: Google Tagged
Post by: bjraines on September 05, 2010, 09:34:43 PM
I see that the PrettyURL mod has added new filters for Tagged and other modules, do you think you can write a similar PrettyUrl filter for GoogleTagged?
Title: Re: Google Tagged
Post by: apashi on September 06, 2010, 07:30:31 AM
Quote from: apashi on August 22, 2010, 01:45:20 AM
Quote from: apashi on August 21, 2010, 02:34:27 AM
Quote from: Yağız... on August 18, 2010, 11:40:24 AM
You don't need to modify it. * parameter takes every google site.

i've put the original script, but still no taggs from google.ro! :(

where is the problem?

can i make this script only for google.ro?

thanks a lot!

any ideas?

can i get some answers now? :(
Title: Re: Google Tagged
Post by: bjraines on September 06, 2010, 10:02:22 AM
Here are some good Improvements to Google Tagged

1) Add spaces to html title tag (works)

http://www.simplemachines.org/community/index.php?topic=249690.msg2137955#msg2137955

2) Remove whitespace to avoid duplicate tags (works)

http://www.simplemachines.org/community/index.php?topic=249690.msg2178224#msg2178224

3) change + to - in the actual tag url (?)

4) remove topicseen from the url on the tag topics listing (?)

5) create a pretty url filter (?)
Title: Re: Google Tagged
Post by: OnlineFunCorner on September 07, 2010, 01:04:51 PM
Ok
Don't Help
Please Tell Me        How I Manually Create googletagged Table In PhpMyAdmin?
Waiting For Reply!!!
Title: Re: Google Tagged
Post by: distante on September 09, 2010, 12:43:28 AM
Quote from: bjraines on September 06, 2010, 10:02:22 AM
Here are some good Improvements to Google Tagged

1) Add spaces to html title tag (works)

http://www.simplemachines.org/community/index.php?topic=249690.msg2137955#msg2137955

2) Remove whitespace to avoid duplicate tags (works)

http://www.simplemachines.org/community/index.php?topic=249690.msg2178224#msg2178224

3) change + to - in the actual tag url (?)

4) remove topicseen from the url on the tag topics listing (?)

5) create a pretty url filter (?)

Great !
Title: Re: Google Tagged
Post by: Yağız... on September 10, 2010, 05:08:17 PM
Sorry for the late answers.


Quote from: Dr.IT on September 07, 2010, 01:04:51 PM
Ok
Don't Help
Please Tell Me        How I Manually Create googletagged Table In PhpMyAdmin?
Waiting For Reply!!!
SMF 1.1.x:
CREATE TABLE IF NOT EXISTS `{$db_prefix}googletagged`(
        `ID_TAG` mediumint(9) NOT NULL auto_increment,
        `tag` text NOT NULL,
        `ID_TOPIC` mediumint(8) NOT NULL,
        `hits` mediumint(8) NOT NULL default '1',
        `status` tinyint(1) NOT NULL default '1',
        PRIMARY KEY  (`ID_TAG`));

(replace {$db_prefix} with your prefix (by default it's smf_)
SMF 2.0:
CREATE TABLE IF NOT EXISTS `{db_prefix}googletagged`(
    `id_tag` int(9) NOT NULL auto_increment,
    `tag` text NOT NULL,
    `id_topic` int(8) NOT NULL,
    `hits` int(8) NOT NULL default '1',
    `status` int(1) NOT NULL default '1',
    PRIMARY KEY  (`ID_TAG`)
);

(replace {db_prefix} with your prefix (by default it's smf_)

Quote from: apashi on September 06, 2010, 07:30:31 AM
can i get some answers now? :(
I'll try it myself as soon as I get a working demo site :)

Quote from: bjraines on September 05, 2010, 09:34:43 PM
I see that the PrettyURL mod has added new filters for Tagged and other modules, do you think you can write a similar PrettyUrl filter for GoogleTagged?
I'll try to work on that.

Quote from: bjraines on September 06, 2010, 10:02:22 AM
Here are some good Improvements to Google Tagged

1) Add spaces to html title tag (works)

http://www.simplemachines.org/community/index.php?topic=249690.msg2137955#msg2137955 (http://www.simplemachines.org/community/index.php?topic=249690.msg2137955#msg2137955)

2) Remove whitespace to avoid duplicate tags (works)

http://www.simplemachines.org/community/index.php?topic=249690.msg2178224#msg2178224 (http://www.simplemachines.org/community/index.php?topic=249690.msg2178224#msg2178224)

3) change + to - in the actual tag url (?)

4) remove topicseen from the url on the tag topics listing (?)

5) create a pretty url filter (?)
Do you need help for 3,4 and 5. questions?

Title: Re: Google Tagged
Post by: OnlineFunCorner on September 11, 2010, 02:09:29 AM
Quote from: Dr.IT on September 07, 2010, 01:04:51 PM
Ok
Don't Help
Please Tell Me        How I Manually Create googletagged Table In PhpMyAdmin?
Waiting For Reply!!!

Is Anybody There?
Title: Re: Google Tagged
Post by: apashi on September 11, 2010, 02:58:50 AM
Quote from: Yağız... on August 22, 2010, 06:39:47 AM
Quote from: apashi on August 22, 2010, 01:45:20 AM
Quote from: apashi on August 21, 2010, 02:34:27 AM
Quote from: Yağız... on August 18, 2010, 11:40:24 AM
You don't need to modify it. * parameter takes every google site.

i've put the original script, but still no taggs from google.ro! :(

where is the problem?

can i make this script only for google.ro?

thanks a lot!

any ideas?
There might be some problems with UTF-8 characters. But I really have no time to look at it ... Maybe at September.

anything new?
Title: Re: Google Tagged
Post by: Yağız... on September 11, 2010, 04:25:20 AM
I answered your questions here: http://www.simplemachines.org/community/index.php?topic=249690.msg2780766#msg2780766
Title: Re: Google Tagged
Post by: apashi on September 12, 2010, 02:56:14 AM
Sorry, i haven't seen you answer.  :(
I'll wait until you try and verify a new release!

thanks again!
Title: Re: Google Tagged
Post by: kibtwane on September 22, 2010, 05:33:13 AM
Magnificent mod, Yagiz!   

I love the way it takes you to its settings page in the admin panel after installation.  I've lost count of the number of times I've had to go looking for a mod's settings after I've installed it.
Title: Re: Google Tagged
Post by: apashi on September 22, 2010, 06:07:10 AM
Quote from: apashi on September 12, 2010, 02:56:14 AM
Sorry, i haven't seen you answer.  :(
I'll wait until you try and verify a new release!

thanks again!

anything new?
Title: Re: Google Tagged
Post by: Yağız... on September 22, 2010, 08:35:52 AM
Quote from: kibtwane on September 22, 2010, 05:33:13 AM
Magnificent mod, Yagiz!   

I love the way it takes you to its settings page in the admin panel after installation.  I've lost count of the number of times I've had to go looking for a mod's settings after I've installed it.
Hehe, thanks :) One of the best SMF features :)

Quote from: apashi on September 22, 2010, 06:07:10 AM
Quote from: apashi on September 12, 2010, 02:56:14 AM
Sorry, i haven't seen you answer.  :(
I'll wait until you try and verify a new release!

thanks again!

anything new?
Nah, sorry. But this night I'm going to try fix this :) I've a 5 day weekend now.
Title: Re: Google Tagged
Post by: iPhoneDestek on September 26, 2010, 06:10:05 PM
Translation by MOD Translator SirtLanVadisi in german and german-utf8 languages






<file name="$themedir/languages/Modifications.german.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Google Tagged MOD Translation by SirtLanVadisi.NeT
$txt['googletagged'] = 'GoogleTagged';
$txt['googletagged_admin'] = 'GoogleTagged';
$txt['googletagged_menu'] = 'GoogleTagged';
$txt['googletagged_manage'] = 'GoogleTagged Verwaltung';
$txt['permissionname_googletagged_manage'] = 'GoogleTagged\'ý kann Verwalten';
$txt['permissionname_googletagged_view'] = 'GoogleTagged\'ý kann sehen';
$txt['permissiongroup_googletagged'] = 'GoogleTagged';
// END Google Tagged MOD Translation by SirtLanVadisi.NeT
]]></add>
</operation>
</file>
<file name="$themedir/languages/Modifications.german-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Google Tagged MOD Translation by SirtLanVadisi.NeT
$txt['googletagged'] = 'GoogleTagged';
$txt['googletagged_admin'] = 'GoogleTagged';
$txt['googletagged_menu'] = 'GoogleTagged';
$txt['googletagged_manage'] = 'GoogleTagged Verwaltung';
$txt['permissionname_googletagged_manage'] = 'GoogleTagged\'ý kann Verwalten';
$txt['permissionname_googletagged_view'] = 'GoogleTagged\'ý kann sehen';
$txt['permissiongroup_googletagged'] = 'GoogleTagged';
// END Google Tagged MOD Translation by SirtLanVadisi.NeT
]]></add>
</operation>
</file>

Title: Re: Google Tagged
Post by: BLueSS on September 28, 2010, 04:34:55 PM
I've been loving this mod for a while, but with age my thread's tags have become diluted.
There are a LOT of unrelated keywords that show up at the bottom of my threads, taking away the value that used to be there.

(example) http://www.pnwbemani.net/western-wa/acme-bowl-itg-custom-song-request-thread/

Is there a way to Display ONLY the TOP tags for a thread, at the bottom of the thread?

I don't want a random set of completely unrelated tags getting in the way (currently happening). :(
Title: Re: Google Tagged
Post by: apashi on October 06, 2010, 12:34:17 PM
Quote from: Yağız... on September 22, 2010, 08:35:52 AM
Quote from: kibtwane on September 22, 2010, 05:33:13 AM
Magnificent mod, Yagiz!   

I love the way it takes you to its settings page in the admin panel after installation.  I've lost count of the number of times I've had to go looking for a mod's settings after I've installed it.
Hehe, thanks :) One of the best SMF features :)

Quote from: apashi on September 22, 2010, 06:07:10 AM
Quote from: apashi on September 12, 2010, 02:56:14 AM
Sorry, i haven't seen you answer.  :(
I'll wait until you try and verify a new release!

thanks again!

anything new?
Nah, sorry. But this night I'm going to try fix this :) I've a 5 day weekend now.

Hey! Some results?

Thanks! ;)
Title: Re: Google Tagged
Post by: Yağız... on October 06, 2010, 01:26:24 PM
I've applied some fixes to my testing site and it has been fixed but not %100 ...
Title: Re: Google Tagged
Post by: apashi on October 06, 2010, 01:40:31 PM
can you give me the modification or I shall wait for a final fix?
Title: Re: Google Tagged
Post by: Obcy on October 11, 2010, 04:51:15 AM
Hi
Sorry for my english.
Google Tagged is incompatible with SMFPacks_Shoutbox
I'm full of errors in the logs.
How do I fix this?
Title: Re: Google Tagged
Post by: NoFeaR / NFSMW on October 15, 2010, 09:13:18 AM
Give the exact error message that you get.
Title: Re: Google Tagged
Post by: NoFeaR / NFSMW on October 15, 2010, 09:14:18 AM
i was wondering if this could work like a tag cloud in a Tinyportal block. Is there a code for that?
Title: Re: Google Tagged
Post by: Yağız... on October 15, 2010, 09:43:15 AM
Information for UTF-8 fix: I've applied the fix on my local site but it doesn't seem to be working ... I'll try to do some more researches this weekend.

As for the block codes, I'll post them when I'm at home.
Title: Re: Google Tagged
Post by: NoFeaR / NFSMW on October 15, 2010, 09:49:44 AM
thank you
Title: Re: Google Tagged
Post by: Yağız... on October 15, 2010, 11:52:01 AM
What is your SMF version?
Title: Re: Google Tagged
Post by: Obcy on October 15, 2010, 05:19:55 PM
Quote from: NFSMW on October 15, 2010, 09:13:18 AM
Give the exact error message that you get.


Filtruj wyniki: Pokazuj tylko komunikaty błędów dla tego adresu URL
http://localhost/smf/index.php?action=shoutbox;sa=get;xml;row=0;restart
Filtruj wyniki: Pokazuj błędy tylko z takim samym komunikatem
8: Undefined index: googletagged
Filtruj wyniki: Pokazuj tylko błędy z tego pliku
Plik: C:/xampplite/htdocs/smf/Sources/Subs.php
Linia: 4247


Filtruj wyniki: Pokazuj tylko komunikaty błędów dla tego adresu URL
http://localhost/smf/index.php?action=shoutbox;sa=get;xml;row=0;restart
Filtruj wyniki: Pokazuj błędy tylko z takim samym komunikatem
8: Undefined index: sgroups_text
Filtruj wyniki: Pokazuj tylko błędy z tego pliku
Plik: C:/xampplite/htdocs/smf/Sources/Subs.php
Linia: 4094


Now locally tested and the same. These two errors are repeated.
Title: Re: Google Tagged
Post by: BLueSS on October 17, 2010, 01:27:46 PM
Quote from: BLueSS on September 28, 2010, 04:34:55 PM
I've been loving this mod for a while, but with age my thread's tags have become diluted.
There are a LOT of unrelated keywords that show up at the bottom of my threads, taking away the value that used to be there.

(example) http://www.pnwbemani.net/western-wa/acme-bowl-itg-custom-song-request-thread/

Is there a way to Display ONLY the TOP tags for a thread, at the bottom of the thread?

I don't want a random set of completely unrelated tags getting in the way (currently happening). :(


I figured out how to show only the top 20 myself.
If anyone else is curious, here's the update to display.php


if(!empty($topic)) {
$query = db_query("
SELECT ID_TAG, status, hits, tag
FROM {$db_prefix}googletagged
WHERE ID_TOPIC = $topic AND status != 0
ORDER BY hits DESC
LIMIT 20
Title: Re: Google Tagged
Post by: NoFeaR / NFSMW on October 18, 2010, 02:10:36 AM
May i please have the tag cloud script?
Title: Re: Google Tagged
Post by: BLueSS on October 20, 2010, 03:42:54 AM
Quote from: NFSMW on October 18, 2010, 02:10:36 AM
May i please have the tag cloud script?
I don't recall doing anything beyond what the mod did when it installed.

Make sure to install all of the mod's lines in your current theme, not just the basic theme for some of it. (some mods are picky like that)
Title: Re: Google Tagged
Post by: NoFeaR / NFSMW on October 20, 2010, 03:49:46 AM
Quote from: NFSMW on October 15, 2010, 09:14:18 AM
i was wondering if this could work like a tag cloud in a Tinyportal block. Is there a code for that?

This was what i asked.
Title: Re: Google Tagged
Post by: Yağız... on October 20, 2010, 06:12:49 AM
I'm not similar with TP at all, but these are the block codes for SimplePortal:
SMF 1.1.x:
    global $db_prefix, $context, $scripturl, $txt;
   
    loadLanguage('GoogleTagged');
   
    $count = 50;
   
    $query = db_query("
            SELECT g.tag, g.ID_TAG, g.hits, g.status, g.ID_TOPIC, t.ID_TOPIC
            FROM {$db_prefix}googletagged as g, {$db_prefix}topics as t
            WHERE g.ID_TOPIC = t.ID_TOPIC
                AND g.status != 0
            GROUP BY g.tag
            ORDER BY RAND()
            LIMIT $count", __FILE__, __LINE__);
    if(mysql_num_rows($query) != 0)
    {
        $context['googletagged'] = array();
        $highest = 1;
        $lowest = 999999999999;
        while($row = mysql_fetch_assoc($query))
        {
            $context['googletagged'][] = $row;
            $highest = ($row['hits'] > $highest) ? $row['hits'] : $highest ;
            $lowest = ($row['hits'] < $lowest) ? $row['hits'] : $lowest ;
        }
        unset($row);
        $maxsize = 200;
        $minsize = 100;
        $diff = ($highest - $lowest == 0) ? 1 : ($highest - $lowest) ;
        $steps = ($maxsize - $minsize)/$diff;
       
        foreach ($context['googletagged'] as $key => $row)
        {
            $context['googletagged'][$key]['size'] = ceil($minsize + ($steps * ($row['hits'] - $lowest)));
            $context['googletagged'][$key]['text'] = str_replace("+", " ", $context['googletagged'][$key]['tag']);
        }
        unset($key,$row,$steps,$highest,$lowest,$maxsize,$minsize);
        mysql_free_result($query);
    }
   
    if(isset($context['googletagged']))
    {
        $i = 1;
        foreach($context['googletagged'] as $key => $row)
        {
            echo '<a href="', $scripturl , '?action=tagged;id=', $row['ID_TAG'] ,';tag=', $row['tag'] ,'" style="font-size: '.$row['size'].'%;" title="', $row['text'] ,'">', $row['text'] ,'</a>';
            echo (($i % 10) == 0) ? '<br />' : '';
            $i++;
        }
        unset($i,$key,$row);
    }
    else
        echo $txt['googletagged_empty'];

SMF 2.0.x:
    global $smcFunc, $context, $scripturl, $txt;

    loadLanguage('GoogleTagged');
   
    $count = 50;

    $query = $smcFunc['db_query']('', '
        SELECT g.tag, g.id_tag, g.hits, g.status, g.id_topic, t.id_topic
        FROM {db_prefix}googletagged as g, {db_prefix}topics as t
        WHERE g.id_topic = t.id_topic
            AND g.status != 0
        GROUP BY g.tag
        ORDER BY RAND()
        LIMIT {int:count}',
        array(
            'count' => $count,
        )
    );
    if(mysql_num_rows($query) != 0)
    {
        $context['googletagged'] = array();
        $highest = 1 ;
        $lowest = 999999999999;
        while($row = mysql_fetch_assoc($query))
        {
            $context['googletagged'][] = $row;
            $highest = ($row['hits'] > $highest) ? $row['hits'] : $highest ;
            $lowest = ($row['hits'] < $lowest) ? $row['hits'] : $lowest ;
        }
        unset($row);
        $maxsize = 200;
        $minsize = 100;
        $diff = ($highest - $lowest == 0) ? 1 : ($highest - $lowest) ;
        $steps = ($maxsize - $minsize)/$diff;
        foreach ($context['googletagged'] as $key => $row)
        {
            $context['googletagged'][$key]['size'] = ceil($minsize + ($steps * ($row['hits'] - $lowest)));
            $context['googletagged'][$key]['text'] = str_replace("+", " ", $context['googletagged'][$key]['tag']);
        }
        unset($key,$row,$steps,$highest,$lowest,$maxsize,$minsize);
        mysql_free_result($query);
    }

    if(isset($context['googletagged']))
    {
        $i = 1;
        foreach($context['googletagged'] as $key => $row)
        {
            echo '
                <a href="', $scripturl , '?action=tagged;id=', $row['id_tag'] ,';tag=', $row['tag'] ,'" style="font-size: '.$row['size'].'%;" title="', $row['text'] ,'">', $row['text'] ,'</a>';
            echo (($i % 10) == 0) ? '<br/>' : '';
            $i++;
        }
        unset($i,$key,$row);
    }
    else
        echo $txt['googletagged_empty'];
Title: Re: Google Tagged
Post by: NoFeaR / NFSMW on October 20, 2010, 06:24:14 AM
I am going to try it quick.
Title: Re: Google Tagged
Post by: NoFeaR / NFSMW on October 20, 2010, 06:29:16 AM
Works like a charm. Thanks man.
Title: Re: Google Tagged
Post by: NoFeaR / NFSMW on October 20, 2010, 06:31:05 AM
Thou i set the count to 20. It is super nice.
Title: Re: Google Tagged
Post by: NoFeaR / NFSMW on October 21, 2010, 03:31:56 PM
It all worked fine until i upgraded to the latest tinyportal. Then i got this error.

Parse error: syntax error, unexpected T_VARIABLE in /xxx/local/home/xxxx/bosveldboerbokklub.com/Themes/default/TPsubs.template.php(112) : eval()'d code on line 21
Title: Re: Google Tagged
Post by: psyxeon on November 12, 2010, 09:21:12 AM
Quote from: SONSiVRi on May 14, 2009, 05:25:30 AM
Quote from: Realinfo on May 13, 2009, 11:50:42 PM
Sir.............. in menu bar, I want instead of GOOGLETAGGED, I just want to apears TAGS............... what and where i have to make this change mannually................ thanks............. ( My meny is too long, so I need to make it small)

// The [GoogleTagged] Button
echo ($current_action == 'tagged' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'tagged' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=tagged">' , $txt['googletagged']  , '</a>
</td>' , $current_action == 'tagged' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


This is your menu code. $txt['googletagged'] is variable you need to change, its in $languagedir/Modifications.english.php

I´m trying to edit the menu but, maybe i´m not getting it right.

I changed  "GoogleTagged" to "Tags" in Modifications.english but the menu text does not change.

Do i have to edit anywhere else, like subs.php

cheers 
Title: Re: Google Tagged
Post by: Yağız... on November 14, 2010, 07:23:45 AM
Try to empty your cache.
Title: Re: Google Tagged
Post by: eXtreme on November 22, 2010, 03:10:06 PM
Yagiz,

This mod doesn't seem to extract the keywords from google search queries when there is a # in the URL.  This happens when you search using country-specific search (google.co.xx and google.com.xx)

You can also replicate this in google.com domain.
1.Perform a search.
2.Don't click any search result.
3.Change the search query and press Enter. (Now, you will find # in the url. )
4.Click a search result from GoogleTagged enabled SMF forum. You will find the query not tagged.

However, if you perform just a single search on google.com domain and click the link, it is working fine.   I guess the google.ro issue mentioned by apashi is also related to this. Am not sure if you're aware of this or working on a fix for this, so thought I could let you know this.
Title: Re: Google Tagged
Post by: cellax on December 06, 2010, 01:51:07 PM
<?php
/**************************************************
  googletagged mod v1.5 - googletagged.italian-utf8.php
**************************************************/

// NORMAL STRINGS - FOR NON-ADMINS/MODS
$txt['googletagged'] = 'GoogleTagged';
$txt['googletagged_random50'] = 'GoogleTagged (50 casuali)';
$txt['googletagged_search'] = 'Topic GoogleTagged con ';
$txt['googletagged_subject'] = 'Oggetto';
$txt['googletagged_startedby'] = 'Iniziato da';
$txt['googletagged_replies'] = 'Risposte';
$txt['googletagged_views'] = 'Visto';
$txt['googletagged_pages'] = 'Pagine: ';

// ADMIN/MODS
$txt['googletagged_admin'] = 'Gestione GoogleTagged';
$txt['googletagged_admin_bantag'] = '[Escludi Tag]';
$txt['googletagged_admin_error'] = 'Non sei autorizzato a escludere un tag';
$txt['googletagged_admin_reset'] = 'Resetta tutti i tag a zero';
$txt['googletagged_admin_optimize'] = 'Ottimizza tag';
$txt['googletagged_admin_settings'] = 'Impostazioni';
$txt['googletagged_adminsbannedwords'] = 'Gestione dei Tag';
$txt['googletagged_admin_addbannedwords'] = 'Escludi tag';
$txt['googletagged_admin_addwordban'] = 'Inserisci un tag da escludere';
$txt['googletagged_admin_removebannedwords'] = 'Riabilita Tag';
$txt['googletagged_admin_nobannedwords'] = 'Non ci sono tag esclusi';
$txt['googletagged_googletagged'] = 'Attiva GoogleTagged Mod';
$txt['googletagged_together'] = 'Seleziona per salvare termini di ricerca e tag insieme.<div class="smalltext">Altamente sconsigliato salvare insieme</div>';
$txt['googletagged_empty'] = 'Nessun topic è ancora stato indicizzato!<br/>';
$txt['save'] = 'Salva';

?>


Code (modifications.italian.php) Select
$txt['googletagged'] = 'GoogleTagged';
$txt['googletagged_admin'] = 'GoogleTagged';
$txt['googletagged_menu'] = 'GoogleTagged';
$txt['googletagged_manage'] = 'Gestione GoogleTagged';
$txt['permissionname_googletagged_manage'] = 'Gestire GoogleTagged';
$txt['permissionname_googletagged_view'] = 'Visualizza GoogleTagged';
$txt['permissiongroup_googletagged'] = 'GoogleTagged';


italian translation
Title: Re: Google Tagged
Post by: alpheus on December 16, 2010, 10:56:12 AM
Hello. When I install this mod as package I am getting some problems about the files. I will install as manual but that 4 files I can't find the codes that given in the manual installing. My version is 1.1.12 Help me pls;

In display.template;

// Show the jumpto box, or actually...let Javascript do it.
echo '
<div class="plainbox" style="text-align: ', !$context['right_to_left'] ? 'right' : 'left', ';" id="display_jump_to">&nbsp;</div>';


In managepermissions.php;

'pm_read' => array(false, 'pm', 'use_pm_system'),
'pm_send' => array(false, 'pm', 'use_pm_system'),


In subs.php;

'login' => array(

And In Admin.php;

'serversettings' => array(

That codes not in smf version 1.1.12. Give me right places pls about codes. Thank you.
Title: Re: Google Tagged
Post by: Yağız... on December 16, 2010, 11:08:06 AM
http://custom.simplemachines.org/mods/index.php?action=parse;mod=1245;attach=142549;smf_version=1.1.12
Title: Re: Google Tagged
Post by: alpheus on December 16, 2010, 12:12:27 PM
hey yagız thank you but when I click to Google Tagged from admin panel I am getting this warning;

Fatal error: Function name must be a string in /home/fersiax/public_html/Sources/GoogleTagged.php on line 636;

$query = $smcFunc['db_query']('', '
Title: Re: Google Tagged
Post by: Yağız... on December 16, 2010, 12:50:04 PM
You've installed the wrong package. The first one is for 1.1.x versions and the other one is for 2.0 RC3.
Title: Re: Google Tagged
Post by: alpheus on December 16, 2010, 01:08:59 PM
Ok ı installed and changed with right one but now this warning;

Table 'fersiax_ferixia.googletagged' doesn't exist

File: /home/fersiax/public_html/Sources/GoogleTagged.php
Line: 548
Title: Re: Google Tagged
Post by: More-to-life on December 17, 2010, 09:03:51 AM
Hi Guys

Ive just updated to RC4 will this mod with if I re-install it with the RC4 version?
Title: Re: Google Tagged
Post by: blue_shadow on December 17, 2010, 11:38:25 AM
I wonder, even though Google is supposed to be determining which things get tagged, could we have a way to let users create tags themselves? There is another mod that does this (http://custom.simplemachines.org/mods/index.php?mod=579) but it does not work with Google like this one.
Title: Re: Google Tagged
Post by: Yağız... on December 17, 2010, 11:49:03 AM
The two mods do different things, this one gets tags from Google, and the other one lets users adding their own tags. If you want to merge them, you can ask the author for a permission that I can merge it for you.
Title: Re: Google Tagged
Post by: alpheus on December 17, 2010, 12:55:56 PM
Quote from: alpheus on December 16, 2010, 01:08:59 PM
Ok ı installed and changed with right one but now this warning;

Table 'fersiax_ferixia.googletagged' doesn't exist

File: /home/fersiax/public_html/Sources/GoogleTagged.php
Line: 548

Will you help us Yagız???
Title: Re: Google Tagged
Post by: Yağız... on December 17, 2010, 03:48:54 PM
Download the right package, extract it to your desktop, upload "install.php" to you SMF directory and run it on your browser.
Title: Re: Google Tagged
Post by: alpheus on December 17, 2010, 04:35:49 PM
I will cry now  :-[  I am doing as you said. On top of my site;

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg708.imageshack.us%2Fimg708%2F3623%2Fgotagx.jpg&hash=3f3f4cd0035f05ad929aef6016739cd9204b26ba)

And under it;

Database Error
Incorrect table name ''
File: /home/nicexpor/public_html/install.php
Line: 22
Title: Re: Google Tagged
Post by: Yağız... on December 19, 2010, 08:16:16 AM
Try to run attached file. If it doesn't work run this query on phpMyAdmin:
CREATE TABLE IF NOT EXISTS yourprefix_googletagged(
        ID_TAG mediumint(9) NOT NULL auto_increment,
        tag text NOT NULL,
        ID_TOPIC mediumint(8) NOT NULL,
        hits mediumint(8) NOT NULL default '1',
        status tinyint(1) NOT NULL default '1',
        PRIMARY KEY  (ID_TAG))


Don't forget to replace "yourprefix" with your table prefix.
Title: Re: Google Tagged
Post by: alpheus on December 19, 2010, 11:07:35 AM
oh thank you it is ok now. I want to learn smthng that; how will I understand that it is working rightly? Will I add the tags as manual? Thank you again.
Title: Re: Google Tagged
Post by: socialcharlotte on December 19, 2010, 11:18:29 AM
BlueSS
Thanks for the idea for the limit of 20..will make use of it
Title: Re: Google Tagged
Post by: Yağız... on December 19, 2010, 11:21:21 AM
Quote from: alpheus on December 19, 2010, 11:07:35 AM
oh thank you it is ok now. I want to learn smthng that; how will I understand that it is working rightly? Will I add the tags as manual? Thank you again.
Search something on Google that you can find on your site, click the link. It should show the keywords that you've searched at the bottom, this means that it's working.



BTW, the mod will be updated to 2.0 RC4 and 1.1.1.2 as soon as possible.
Title: Re: Google Tagged
Post by: Arkadaş on December 23, 2010, 01:38:05 AM
Google does not index these tags
Title: Re: Google Tagged
Post by: Arkadaş on December 23, 2010, 01:40:23 AM
100 lerce tag olmasına rağmen google bu tagları 1 tanesini bile indexlediğini görmedim sorun nerde acaba  :(
Title: Re: Google Tagged
Post by: alpheus on December 23, 2010, 06:41:54 AM
I have same problem with Ilanver. When I click to Google Tagged I see this;

GoogleTagged (50 Random)
No topics have been GoogleTagged, yet! 

I searched in google and clicked it but no tagged yet!
Title: Re: Google Tagged
Post by: anantgupta on December 31, 2010, 01:28:16 AM
Any HTML code to fetch the tags ??

So that i can show tags on every page on my site ??
Title: Re: Google Tagged
Post by: amiralib on December 31, 2010, 01:58:49 AM
Yağız..., can you solve other unicode texts untagged problem ?
Title: Re: Google Tagged
Post by: Blade_Runner on January 05, 2011, 12:46:42 PM
Thanks for this great mod. I am having the following errors after I have added customized message icons. The "Undefined index: body-kits" is my customized message icon. How can I fix this? Any help is greatly appreciated.

----------------------------------------
http://modcarclub.com/forums/index.php?action=tagged;id=51;tag=bmw
8: Undefined index: body-kits
File: /home/xxx/public_html/modcarclub.com/forums/Sources/GoogleTagged.php
Line: 206
----------------------------------------
Title: Re: Google Tagged
Post by: impreza on January 05, 2011, 04:22:27 PM
A very interesting modification
Title: Re: Google Tagged
Post by: ben sisko on January 21, 2011, 12:36:24 PM
time for an update to 2.0RC4? :)
Title: Re: Google Tagged
Post by: Yağız... on January 21, 2011, 01:01:17 PM
Quote from: ben sisko on January 21, 2011, 12:36:24 PM
time for an update to 2.0RC4? :)
Yes, soon :) I'm trying to fix all bugs that have been stated on the topic.
Title: Re: Google Tagged
Post by: bjraines on January 31, 2011, 03:27:16 PM
let me know if i can help, i have fixed many of them on my live site
Title: Re: Google Tagged
Post by: distante on February 01, 2011, 05:06:12 AM
@Yağız...

one question maybe a little offtopic.

I don't get a close look to the code yet but, do you think there's someway to tweak the mod code for general use? maybe in an wordpress page or joomla page?
Title: Re: Google Tagged
Post by: More-to-life on February 20, 2011, 10:40:22 AM
Any updates for RC5?

Thanks in advance
Title: Re: Google Tagged
Post by: Yağız... on February 20, 2011, 10:53:41 AM
Quote from: distante on February 01, 2011, 05:06:12 AM
@Yağız...

one question maybe a little offtopic.

I don't get a close look to the code yet but, do you think there's someway to tweak the mod code for general use? maybe in an wordpress page or joomla page?
I really don't know ... Never used them with my forums :) In the new update, I'll try to add some SSI functions. Maybe that can be useful for integrations.

Quote from: More-to-life on February 20, 2011, 10:40:22 AM
Any updates for RC5?

Thanks in advance
Sure, I'm updating Google Tagged with new integration hooks, should be available in some time.
Title: Re: Google Tagged
Post by: NoFeaR / NFSMW on March 22, 2011, 03:30:08 AM
Any news yet on the update?
Title: Re: Google Tagged
Post by: Soulmaster on March 28, 2011, 11:53:37 AM
i've got this strange error. ater installing only the admins can see the mod not the others on the site.

www.bliksemdetectie.nl
Title: Re: Google Tagged
Post by: InfoStrides on April 07, 2011, 03:16:34 PM
Is there any way to use this mod with SimplePortal? I have a SimplePortal powered SMF forum (http://www.theinfostrides.com). I will like to show tagged on the main page.

Please help!
Title: Re: Google Tagged
Post by: InfoStrides on May 15, 2011, 03:02:21 PM
Quote from: InfoStrides on April 07, 2011, 03:16:34 PM
Is there any way to use this mod with SimplePortal? I have a SimplePortal powered SMF forum (http://www.theinfostrides.com). I will like to show tagged on the main page.

Please help!

Any help here?
Title: Re: Google Tagged
Post by: Yağız... on May 15, 2011, 03:19:00 PM
I didn't try but you can try this code:
(Add this to a PHP block)
global $smcFunc, $context, $scripturl, $txt;

loadLanguage('GoogleTagged');

$query = $smcFunc['db_query']('', '
SELECT g.tag, g.id_tag, g.hits, g.status, g.id_topic, t.id_topic
FROM {db_prefix}googletagged as g, {db_prefix}topics as t
WHERE g.id_topic = t.id_topic
AND g.status != 0
GROUP BY g.tag
ORDER BY RAND()
LIMIT 50',
array()
);

// found some tags?
if($smcFunc['db_num_rows']($query) != 0)
{
// create an array for tags
$context['googletagged'] = array();
// cycle through
$highest = 1 ;
$lowest = 999999999999 ; // SO IT FORCES THE FIRST ROW TO BE THE LOWEST
while($row = $smcFunc['db_fetch_assoc']($query)) {
// STORE THE INFO FOR LATER ON
$context['googletagged'][] = $row;
$highest = ($row['hits'] > $highest) ? $row['hits'] : $highest ;
$lowest = ($row['hits'] < $lowest) ? $row['hits'] : $lowest ;
}
// tidy up
unset($row);
// work out the sizes for us
// first the max and min sizes that we can use in %
$maxsize = 200;
$minsize = 100;
// whats the difference - if 0, dividing my zero will cause an error
$diff = ($highest - $lowest == 0) ? 1 : ($highest - $lowest) ;
// evenly step the tags
$steps = ($maxsize - $minsize)/$diff;

// cycle through our tags
foreach ($context['googletagged'] as $key => $row) {
$context['googletagged'][$key]['size'] = ceil($minsize + ($steps * ($row['hits'] - $lowest)));
$context['googletagged'][$key]['text'] = str_replace("+", " ", $context['googletagged'][$key]['tag']);
}
// tidy up
unset($key,$row,$steps,$highest,$lowest,$maxsize,$minsize);
$smcFunc['db_free_result']($query);
}

echo '
<div style="text-align: center;">';

// start our tag cloud
if(isset($context['googletagged']))
{
$i = 1 ;
// write out our tags
foreach($context['googletagged'] as $key => $row)
{
echo '
<a href="', $scripturl , '?action=tagged;id=', $row['id_tag'] ,';tag=', $row['tag'] ,'" style="font-size: '.$row['size'].'%;" title="', $row['text'] ,'">', $row['text'] ,'</a>';
// increase counter until we may need to break
// if divisable by 10 - new line
echo (($i % 10) == 0) ? '<br />' : '';
$i++;
}
// tidy up
unset($i,$key,$row);
} else {
// no tags, so tell the user
echo $txt['googletagged_empty'];
}

// end the table
echo '
</div>';



New update will be available after SMF 2.0 Gold release.
Title: Re: Google Tagged
Post by: InfoStrides on May 27, 2011, 06:06:37 PM
Quote from: Yağız... on May 15, 2011, 03:19:00 PM
I didn't try but you can try this code:
(Add this to a PHP block)


Thank you. It works!
Title: Re: Google Tagged
Post by: InfoStrides on May 28, 2011, 05:26:13 AM
OBSERVATION:

After trying the codes, there was serious issue with my server load. It actually brought it down until I disabled it. I even reduced the number of tags to 25.

Here is the log file message from my host:

# User@Host: theinfo3_strides[theinfo3_strides] @ localhost []
# Query_time: 98 Lock_time: 22 Rows_sent: 25 Rows_examined: 368348
SELECT g.tag, g.id_tag, g.hits, g.status, g.id_topic, t.id_topic
FROM infostrides_googletagged as g, infostrides_topics as t
WHERE g.id_topic = t.id_topic
AND g.status != 0
GROUP BY g.tag
ORDER BY RAND()
LIMIT 25;


My host recommendation

QuoteThis database may need to be indexed by a DBA so that is runs more efficiently.

Please help look into it and revert. It may even help in the next version.
Title: Re: Google Tagged
Post by: DarioRed on June 15, 2011, 02:17:13 PM
Yağız... do you plan to update this mod to 2.0 final? :)

This mode is great!
Title: Re: Google Tagged
Post by: Yağız... on June 15, 2011, 02:23:53 PM
Quote from: InfoStrides on May 28, 2011, 05:26:13 AM
OBSERVATION:

After trying the codes, there was serious issue with my server load. It actually brought it down until I disabled it. I even reduced the number of tags to 25.

Here is the log file message from my host:

# User@Host: theinfo3_strides[theinfo3_strides] @ localhost []
# Query_time: 98 Lock_time: 22 Rows_sent: 25 Rows_examined: 368348
SELECT g.tag, g.id_tag, g.hits, g.status, g.id_topic, t.id_topic
FROM infostrides_googletagged as g, infostrides_topics as t
WHERE g.id_topic = t.id_topic
AND g.status != 0
GROUP BY g.tag
ORDER BY RAND()
LIMIT 25;


My host recommendation

QuoteThis database may need to be indexed by a DBA so that is runs more efficiently.

Please help look into it and revert. It may even help in the next version.
You could try this suggestion until I upgrade the mod: http://www.simplemachines.org/community/index.php?topic=433257.msg3056662#msg3056662

Quote from: DarioRed on June 15, 2011, 02:17:13 PM
Yağız... do you plan to update this mod to 2.0 final? :)

This mode is great!
As soon as I finish my work / school I'll begin updating my mods.
Title: Re: Google Tagged
Post by: DarioRed on June 15, 2011, 02:26:28 PM
Quote from: Yağız... on June 15, 2011, 02:23:53 PM
As soon as I finish my work / school I'll begin updating my mods.

Many Thanks!;)
Title: Re: Google Tagged
Post by: samurai-lupin on June 23, 2011, 08:49:53 AM
Hello Yagiz,

I am very sorry but I think there are some problems with your mod. RIght now this mod seems to be putting my server under way too high load due to some problem with how the database table is handles. My server status looks like this:

....

Operating System:    CentOS release 5.5 (Final)
Processor:    Intel® Xeon(TM) CPU @ 2.00GHz (1992.000MHz)
Load averages:    16.47, 14.78, 9.86
Current processes:    289 (282 sleeping, 6 running, 1 zombie)
Processes by CPU:    mysqld (1) 119.0%, httpd (124) 22.0%, (other) (84) 0.9%
Memory usage:    96.125% (3991092k / 4151960k)
Swap: 10.21% (107064k / 1048568k)
MySQL processes
Total processes:    105 (17 sleeping, 84 running, 4 locked)

Running processes
State    Time    Query
Copying to tmp table    63s   

SELECT g.ID_TAG, g.tag, g.status, g.hits, g.ID_TOPIC, t.ID_FIRST_MSG, t.ID_LAST_MSG, b.name AS bname,
      t.ID_BOARD, t.ID_POLL, t.isSticky, t.locked, t.numReplies, t.numViews,
      ms.ID_MEMBER, ms.ID_TOPIC, ms.posterTime AS firstPosterTime, ms.posterTime, ms.subject AS firstSubject,
      ms.ID_MEMBER AS ID_FIRST_MEMBER, ms.posterName AS firstPosterName, ml.subject AS lastSubject,
      ms.icon AS firstIcon, ms.smileysEnabled AS firstSmileys,
      ml.ID_MEMBER AS ID_LAST_MEMBER, ml.posterTime AS lastPosterTime, ml.modifiedTime AS lastModifiedTime,
      ml.ID_TOPIC, ml.subject AS lastSubject, ml.posterName AS lastPosterName, ml.icon AS lastIcon,
      ml.modifiedTime AS lastModifiedTime, ml.smileysEnabled AS lastSmileys
FROM (smf_googletagged as g, smf_boards AS b, smf_topics as t,
      smf_messages AS ms, smf_messages AS ml)
WHERE tag = ''
   AND g.status != 0
   AND b.ID_BOARD = t.ID_BOARD
   AND g.ID_TOPIC = t.ID_TOPIC
   AND ms.ID_MSG = t.ID_FIRST_MSG
   AND ml.ID_MSG = t.ID_LAST_MSG
   AND FIND_IN_SET(-1, b.memberGroups)AND CHAR_LENGTH(b.passwd) = 0
ORDER BY g.hits DESC
LIMIT 875, 25

Copying to tmp table    32s   

SELECT
   att.ID_ATTACH, att.ID_MSG, att.filename, IFNULL(att.size, 0) AS filesize, att.downloads, mem.ID_MEMBER,
   IFNULL(mem.realName, m.posterName) AS posterName, m.ID_TOPIC, m.subject, t.ID_BOARD, m.posterTime,
   att.width, att.height, IFNULL(thumb.ID_ATTACH, 0) AS id_thumb, thumb.width AS thumb_width, thumb.height AS thumb_height
FROM smf_attachments AS att
   INNER JOIN smf_messages AS m ON (m.ID_MSG = att.ID_MSG)
   INNER JOIN smf_topics AS t ON (t.ID_TOPIC = m.ID_TOPIC)
   LEFT JOIN smf_members AS mem ON (mem.ID_MEMBER = m.ID_MEMBER)
   LEFT JOIN smf_attachments AS thumb ON (thumb.ID_ATTACH = att.ID_THUMB)
   LEFT JOIN smf_boards AS b ON (b.ID_BOARD = t.ID_BOARD)
WHERE att.attachmentType = 3
   AND att.width != 0
   AND ( (FIND_IN_SET(0, b.memberGroups) OR FIND_IN_SET(5, b.memberGroups)))AND CHAR_LENGTH(b.passwd) = 0
   
GROUP BY t.ID_TOPIC
ORDER BY att.ID_ATTACH DESC
LIMIT 4

Copying to tmp table    5s   

SELECT
   att.ID_ATTACH, att.ID_MSG, att.filename, IFNULL(att.size, 0) AS filesize, att.downloads, mem.ID_MEMBER,
   IFNULL(mem.realName, m.posterName) AS posterName, m.ID_TOPIC, m.subject, t.ID_BOARD, m.posterTime,
   att.width, att.height, IFNULL(thumb.ID_ATTACH, 0) AS id_thumb, thumb.width AS thumb_width, thumb.height AS thumb_height
FROM smf_attachments AS att
   INNER JOIN smf_messages AS m ON (m.ID_MSG = att.ID_MSG)
   INNER JOIN smf_topics AS t ON (t.ID_TOPIC = m.ID_TOPIC)
   LEFT JOIN smf_members AS mem ON (mem.ID_MEMBER = m.ID_MEMBER)
   LEFT JOIN smf_attachments AS thumb ON (thumb.ID_ATTACH = att.ID_THUMB)
   LEFT JOIN smf_boards AS b ON (b.ID_BOARD = t.ID_BOARD)
WHERE att.attachmentType = 3
   AND att.width != 0
   AND FIND_IN_SET(-1, b.memberGroups)AND CHAR_LENGTH(b.passwd) = 0
    AND m.ID_BOARD IN (5,9,10,11,63,64,65,66,67,69,70,71,72,73,75,76,77,78,79,81,82,83,84,85,86,87,106,107,109,110,111,112,113,117,121,123,137)
GROUP BY t.ID_TOPIC
ORDER BY att.ID_ATTACH DESC
LIMIT 8

Copying to tmp table    4s   

SELECT
   att.ID_ATTACH, att.ID_MSG, att.filename, IFNULL(att.size, 0) AS filesize, att.downloads, mem.ID_MEMBER,
   IFNULL(mem.realName, m.posterName) AS posterName, m.ID_TOPIC, m.subject, t.ID_BOARD, m.posterTime,
   att.width, att.height, IFNULL(thumb.ID_ATTACH, 0) AS id_thumb, thumb.width AS thumb_width, thumb.height AS thumb_height
FROM smf_attachments AS att
   INNER JOIN smf_messages AS m ON (m.ID_MSG = att.ID_MSG)
   INNER JOIN smf_topics AS t ON (t.ID_TOPIC = m.ID_TOPIC)
   LEFT JOIN smf_members AS mem ON (mem.ID_MEMBER = m.ID_MEMBER)
   LEFT JOIN smf_attachments AS thumb ON (thumb.ID_ATTACH = att.ID_THUMB)
   LEFT JOIN smf_boards AS b ON (b.ID_BOARD = t.ID_BOARD)
WHERE att.attachmentType = 3
   AND att.width != 0
   AND ( (FIND_IN_SET(0, b.memberGroups) OR FIND_IN_SET(9, b.memberGroups)))AND CHAR_LENGTH(b.passwd) = 0
    AND m.ID_BOARD IN (5,9,10,11,63,64,65,66,67,69,70,71,72,73,75,76,77,78,79,81,82,83,84,85,86,87,106,107,109,110,111,112,113,117,121,123,137)
GROUP BY t.ID_TOPIC
ORDER BY att.ID_ATTACH DESC
LIMIT 8

Copying to tmp table    36s   

SELECT
   att.ID_ATTACH, att.ID_MSG, att.filename, IFNULL(att.size, 0) AS filesize, att.downloads, mem.ID_MEMBER,
   IFNULL(mem.realName, m.posterName) AS posterName, m.ID_TOPIC, m.subject, t.ID_BOARD, m.posterTime,
   att.width, att.height, IFNULL(thumb.ID_ATTACH, 0) AS id_thumb, thumb.width AS thumb_width, thumb.height AS thumb_height
FROM smf_attachments AS att
   INNER JOIN smf_messages AS m ON (m.ID_MSG = att.ID_MSG)
   INNER JOIN smf_topics AS t ON (t.ID_TOPIC = m.ID_TOPIC)
   LEFT JOIN smf_members AS mem ON (mem.ID_MEMBER = m.ID_MEMBER)
   LEFT JOIN smf_attachments AS thumb ON (thumb.ID_ATTACH = att.ID_THUMB)
   LEFT JOIN smf_boards AS b ON (b.ID_BOARD = t.ID_BOARD)
WHERE att.attachmentType = 3
   AND att.width != 0
   AND ( (FIND_IN_SET(0, b.memberGroups) OR FIND_IN_SET(7, b.memberGroups)))AND CHAR_LENGTH(b.passwd) = 0
    AND m.ID_BOARD IN (5,9,10,11,63,64,65,66,67,69,70,71,72,73,75,76,77,78,79,81,82,83,84,85,86,87,106,107,109,110,111,112,113,117,121,123,137)
GROUP BY t.ID_TOPIC
ORDER BY att.ID_ATTACH DESC
LIMIT 8

Copying to tmp table    30s   

SELECT
   att.ID_ATTACH, att.ID_MSG, att.filename, IFNULL(att.size, 0) AS filesize, att.downloads, mem.ID_MEMBER,
   IFNULL(mem.realName, m.posterName) AS posterName, m.ID_TOPIC, m.subject, t.ID_BOARD, m.posterTime,
   att.width, att.height, IFNULL(thumb.ID_ATTACH, 0) AS id_thumb, thumb.width AS thumb_width, thumb.height AS thumb_height
FROM smf_attachments AS att
   INNER JOIN smf_messages AS m ON (m.ID_MSG = att.ID_MSG)
   INNER JOIN smf_topics AS t ON (t.ID_TOPIC = m.ID_TOPIC)
   LEFT JOIN smf_members AS mem ON (mem.ID_MEMBER = m.ID_MEMBER)
   LEFT JOIN smf_attachments AS thumb ON (thumb.ID_ATTACH = att.ID_THUMB)
   LEFT JOIN smf_boards AS b ON (b.ID_BOARD = t.ID_BOARD)
WHERE att.attachmentType = 3
   AND att.width != 0
   AND ( (FIND_IN_SET(0, b.memberGroups) OR FIND_IN_SET(6, b.memberGroups)))AND CHAR_LENGTH(b.passwd) = 0
   
GROUP BY t.ID_TOPIC
ORDER BY att.ID_ATTACH DESC
LIMIT 4

Copying to tmp table    56s   

SELECT g.ID_TAG, g.tag, g.status, g.hits, g.ID_TOPIC, t.ID_FIRST_MSG, t.ID_LAST_MSG, b.name AS bname,
      t.ID_BOARD, t.ID_POLL, t.isSticky, t.locked, t.numReplies, t.numViews,
      ms.ID_MEMBER, ms.ID_TOPIC, ms.posterTime AS firstPosterTime, ms.posterTime, ms.subject AS firstSubject,
      ms.ID_MEMBER AS ID_FIRST_MEMBER, ms.posterName AS firstPosterName, ml.subject AS lastSubject,
      ms.icon AS firstIcon, ms.smileysEnabled AS firstSmileys,
      ml.ID_MEMBER AS ID_LAST_MEMBER, ml.posterTime AS lastPosterTime, ml.modifiedTime AS lastModifiedTime,
      ml.ID_TOPIC, ml.subject AS lastSubject, ml.posterName AS lastPosterName, ml.icon AS lastIcon,
      ml.modifiedTime AS lastModifiedTime, ml.smileysEnabled AS lastSmileys
FROM (smf_googletagged as g, smf_boards AS b, smf_topics as t,
      smf_messages AS ms, smf_messages AS ml)
WHERE tag = ''
   AND g.status != 0
   AND b.ID_BOARD = t.ID_BOARD
   AND g.ID_TOPIC = t.ID_TOPIC
   AND ms.ID_MSG = t.ID_FIRST_MSG
   AND ml.ID_MSG = t.ID_LAST_MSG
   AND FIND_IN_SET(-1, b.memberGroups)AND CHAR_LENGTH(b.passwd) = 0
ORDER BY g.hits DESC
LIMIT 50, 25

Sending data    1s   

SELECT COUNT(*)
FROM smf_topics AS t
   LEFT JOIN smf_log_topics AS lt ON (lt.ID_TOPIC = t.ID_TOPIC AND lt.ID_MEMBER = 2398)
   LEFT JOIN smf_log_mark_read AS lmr ON (lmr.ID_BOARD = t.ID_BOARD AND lmr.ID_MEMBER = 2398)
WHERE t.ID_BOARD IN (182, 28, 51, 139, 140, 141, 36, 142, 143, 154, 144, 29, 30, 33, 129, 32, 35, 62, 91, 130, 181, 93, 94, 164, 37, 38, 90, 122, 109, 121, 123, 107, 76, 83, 106, 9, 11, 5, 70, 73, 77, 78, 79, 63, 137, 117, 81, 82, 75, 69, 64, 67, 65, 66, 84, 86, 87, 85, 22, 25, 26, 162, 27, 138, 168, 161, 24, 145, 146, 147, 148, 149, 150, 151, 152, 153, 95, 23, 34, 31, 16, 17, 89, 88, 52, 19, 18, 13, 14, 15, 131, 100, 101, 102, 103, 12, 128, 105, 6, 7, 163, 4, 118, 169, 96, 97, 98, 99, 160, 119, 172, 132, 166, 167, 127, 3, 60, 39, 157, 155, 180, 40, 41, 42, 170, 43, 44, 45, 46, 50, 55, 53, 54, 56, 57, 58, 159, 59, 61, 47, 48, 49)
   AND IFNULL(lt.ID_MSG, IFNULL(lmr.ID_MSG, 0)) < t.ID_LAST_MSG

Sending data    10s   

SELECT COUNT(*) AS koll, SUM(size) AS totalsize, SUM(downloads) as down
                           FROM smf_attachments
                           WHERE Poster_ID=4577
   AND attachmentType!=3

Copying to tmp table    1s   

SELECT p.ID_POLL, p.question, t.ID_TOPIC, p.maxVotes
FROM (smf_polls AS p, smf_boards AS b, smf_topics AS t)
   LEFT JOIN smf_log_polls AS lp ON (lp.ID_POLL = p.ID_POLL AND lp.ID_MEMBER = 0)
WHERE p.votingLocked = 0
   AND lp.ID_CHOICE IS NULL
   AND t.ID_POLL = p.ID_POLL
   AND b.ID_BOARD = t.ID_BOARD
   AND FIND_IN_SET(-1, b.memberGroups)AND CHAR_LENGTH(b.passwd) = 0
   AND b.ID_BOARD IN (120, 114, 173, 135, 174, 175, 176, 177, 178, 136, 158, 171, 28, 51, 139, 140, 141, 36, 142, 143, 154, 144, 156, 29, 30, 33, 129, 32, 35, 62, 91, 92, 130, 181, 93, 94, 164, 37, 38, 90, 122, 121, 123, 107, 76, 83, 106, 9, 11, 5, 73, 77, 78, 79, 63, 137, 117, 81, 82, 75, 69, 64, 67, 65, 66, 84, 86, 87, 85, 22, 25, 26, 162, 27, 138, 168, 161, 24, 145, 146, 147, 148, 149, 150, 151, 152, 153, 95, 23, 34, 31, 16, 17, 89, 88, 52, 19, 18, 13, 14, 15, 131, 100, 101, 102, 103, 12, 128, 105, 6, 7, 163, 4, 118, 169, 96, 97, 98, 99, 160, 119, 172, 132, 166, 167, 127, 3, 60, 39, 157, 155, 180, 40, 41, 42, 170, 43, 44, 45, 46, 50, 55, 53, 54, 56, 57, 58, 159, 59, 61, 47, 48, 49, 10, 70, 71, 72, 104, 108, 109, 110, 111, 112, 113, 116, 179)
ORDER BY p.ID_POLL DESC
LIMIT 1

Copying to tmp table    29s   

SELECT g.ID_TAG, g.tag, g.status, g.hits, g.ID_TOPIC, t.ID_FIRST_MSG, t.ID_LAST_MSG, b.name AS bname,
      t.ID_BOARD, t.ID_POLL, t.isSticky, t.locked, t.numReplies, t.numViews,
      ms.ID_MEMBER, ms.ID_TOPIC, ms.posterTime AS firstPosterTime, ms.posterTime, ms.subject AS firstSubject,
      ms.ID_MEMBER AS ID_FIRST_MEMBER, ms.posterName AS firstPosterName, ml.subject AS lastSubject,
      ms.icon AS firstIcon, ms.smileysEnabled AS firstSmileys,
      ml.ID_MEMBER AS ID_LAST_MEMBER, ml.posterTime AS lastPosterTime, ml.modifiedTime AS lastModifiedTime,
      ml.ID_TOPIC, ml.subject AS lastSubject, ml.posterName AS lastPosterName, ml.icon AS lastIcon,
      ml.modifiedTime AS lastModifiedTime, ml.smileysEnabled AS lastSmileys
FROM (smf_googletagged as g, smf_boards AS b, smf_topics as t,
      smf_messages AS ms, smf_messages AS ml)
WHERE tag = ''
   AND g.status != 0
   AND b.ID_BOARD = t.ID_BOARD
   AND g.ID_TOPIC = t.ID_TOPIC
   AND ms.ID_MSG = t.ID_FIRST_MSG
   AND ml.ID_MSG = t.ID_LAST_MSG
   AND FIND_IN_SET(-1, b.memberGroups)AND CHAR_LENGTH(b.passwd) = 0
ORDER BY g.hits DESC
LIMIT 650, 25

Copying to tmp table    64s   

SELECT g.ID_TAG, g.tag, g.status, g.hits, g.ID_TOPIC, t.ID_FIRST_MSG, t.ID_LAST_MSG, b.name AS bname,
      t.ID_BOARD, t.ID_POLL, t.isSticky, t.locked, t.numReplies, t.numViews,
      ms.ID_MEMBER, ms.ID_TOPIC, ms.posterTime AS firstPosterTime, ms.posterTime, ms.subject AS firstSubject,
      ms.ID_MEMBER AS ID_FIRST_MEMBER, ms.posterName AS firstPosterName, ml.subject AS lastSubject,
      ms.icon AS firstIcon, ms.smileysEnabled AS firstSmileys,
      ml.ID_MEMBER AS ID_LAST_MEMBER, ml.posterTime AS lastPosterTime, ml.modifiedTime AS lastModifiedTime,
      ml.ID_TOPIC, ml.subject AS lastSubject, ml.posterName AS lastPosterName, ml.icon AS lastIcon,
      ml.modifiedTime AS lastModifiedTime, ml.smileysEnabled AS lastSmileys
FROM (smf_googletagged as g, smf_boards AS b, smf_topics as t,
      smf_messages AS ms, smf_messages AS ml)
WHERE tag = ''
   AND g.status != 0
   AND b.ID_BOARD = t.ID_BOARD
   AND g.ID_TOPIC = t.ID_TOPIC
   AND ms.ID_MSG = t.ID_FIRST_MSG
   AND ml.ID_MSG = t.ID_LAST_MSG
   AND FIND_IN_SET(-1, b.memberGroups)AND CHAR_LENGTH(b.passwd) = 0
ORDER BY t.numViews
LIMIT 0, 25

Copying to tmp table    66s   

SELECT g.ID_TAG, g.tag, g.status, g.hits, g.ID_TOPIC, t.ID_FIRST_MSG, t.ID_LAST_MSG, b.name AS bname,
      t.ID_BOARD, t.ID_POLL, t.isSticky, t.locked, t.numReplies, t.numViews,
      ms.ID_MEMBER, ms.ID_TOPIC, ms.posterTime AS firstPosterTime, ms.posterTime, ms.subject AS firstSubject,
      ms.ID_MEMBER AS ID_FIRST_MEMBER, ms.posterName AS firstPosterName, ml.subject AS lastSubject,
      ms.icon AS firstIcon, ms.smileysEnabled AS firstSmileys,
      ml.ID_MEMBER AS ID_LAST_MEMBER, ml.posterTime AS lastPosterTime, ml.modifiedTime AS lastModifiedTime,
      ml.ID_TOPIC, ml.subject AS lastSubject, ml.posterName AS lastPosterName, ml.icon AS lastIcon,
      ml.modifiedTime AS lastModifiedTime, ml.smileysEnabled AS lastSmileys
FROM (smf_googletagged as g, smf_boards AS b, smf_topics as t,
      smf_messages AS ms, smf_messages AS ml)
WHERE tag = ''
   AND g.status != 0
   AND b.ID_BOARD = t.ID_BOARD
   AND g.ID_TOPIC = t.ID_TOPIC
   AND ms.ID_MSG = t.ID_FIRST_MSG
   AND ml.ID_MSG = t.ID_LAST_MSG
   AND FIND_IN_SET(-1, b.memberGroups)AND CHAR_LENGTH(b.passwd) = 0
ORDER BY g.hits DESC
LIMIT 975, 25

Copying to tmp table    23s   

SELECT g.ID_TAG, g.tag, g.status, g.hits, g.ID_TOPIC, t.ID_FIRST_MSG, t.ID_LAST_MSG, b.name AS bname,
      t.ID_BOARD, t.ID_POLL, t.isSticky, t.locked, t.numReplies, t.numViews,
      ms.ID_MEMBER, ms.ID_TOPIC, ms.posterTime AS firstPosterTime, ms.posterTime, ms.subject AS firstSubject,
      ms.ID_MEMBER AS ID_FIRST_MEMBER, ms.posterName AS firstPosterName, ml.subject AS lastSubject,
      ms.icon AS firstIcon, ms.smileysEnabled AS firstSmileys,
      ml.ID_MEMBER AS ID_LAST_MEMBER, ml.posterTime AS lastPosterTime, ml.modifiedTime AS lastModifiedTime,
      ml.ID_TOPIC, ml.subject AS lastSubject, ml.posterName AS lastPosterName, ml.icon AS lastIcon,
      ml.modifiedTime AS lastModifiedTime, ml.smileysEnabled AS lastSmileys
FROM (smf_googletagged as g, smf_boards AS b, smf_topics as t,
      smf_messages AS ms, smf_messages AS ml)
WHERE tag = ''
   AND g.status != 0
   AND b.ID_BOARD = t.ID_BOARD
   AND g.ID_TOPIC = t.ID_TOPIC
   AND ms.ID_MSG = t.ID_FIRST_MSG
   AND ml.ID_MSG = t.ID_LAST_MSG
   AND FIND_IN_SET(-1, b.memberGroups)AND CHAR_LENGTH(b.passwd) = 0
ORDER BY g.hits DESC
LIMIT 925, 25
Title: Re: Google Tagged
Post by: Yağız... on June 23, 2011, 09:29:24 AM
It's a known issue but I don't have to update my mods at the moment. When I'll have the time, GoogleTagged will be the first mod to update.
Title: Re: Google Tagged
Post by: donjazzy on June 27, 2011, 12:27:21 PM
Please upgrade mod to 2.0 final. Thanks
Title: Re: Google Tagged
Post by: Eric222 on July 04, 2011, 05:37:27 AM
Please where is the author of this mod Can you please upgrade this mod to 2.0 final. Cheers
Title: Re: Google Tagged
Post by: Yağız... on July 04, 2011, 12:29:37 PM
Quote from: Eric222 on July 04, 2011, 05:37:27 AM
Please where is the author of this mod Can you please upgrade this mod to 2.0 final. Cheers
2 posts above I have said that it'll be updated when I have the time.
Title: Re: Google Tagged
Post by: chinaren on July 23, 2011, 08:23:42 PM
Quote from: Blade_Runner on January 05, 2011, 12:46:42 PM
Thanks for this great mod. I am having the following errors after I have added customized message icons. The "Undefined index: body-kits" is my customized message icon. How can I fix this? Any help is greatly appreciated.

----------------------------------------
http://modcarclub.com/forums/index.php?action=tagged;id=51;tag=bmw (http://modcarclub.com/forums/index.php?action=tagged;id=51;tag=bmw)
8: Undefined index: body-kits
File: /home/xxx/public_html/modcarclub.com/forums/Sources/GoogleTagged.php
Line: 206
----------------------------------------


I'm also getting a lot of these errors.  (A lot!).  Any way around this?
Title: Re: Google Tagged
Post by: WasdMan on August 28, 2011, 02:04:56 AM
I have downloaded from http://custom.simplemachines.org/mods/index.php?mod=1245.
Then I changed one line in the file googletagged.xml:


// Show the jumpto box, or actually...let Javascript do it.
echo '
<div class="plainbox" style="text-align: ', !$context['right_to_left'] ? 'right' : 'left', ';" id="display_jump_to">&nbsp;</div>';


I changed this:


// Show the jumpto box, or actually...let Javascript do it.


Went so smoothly.
Title: Re: Google Tagged
Post by: chinaren on August 28, 2011, 06:56:54 PM
 :-\  Unless there are two comments that read // Show to jumpto box... in the display.template.php file, then that won't make any difference at all.


Still looking for some help with the no index errors, as posted above.


Quote from: WasdMan on August 28, 2011, 02:04:56 AM

I have downloaded from http://custom.simplemachines.org/mods/index.php?mod=1245 (http://custom.simplemachines.org/mods/index.php?mod=1245).
Then I changed one line in the file googletagged.xml:


// Show the jumpto box, or actually...let Javascript do it.
   echo '
         <div class="plainbox" style="text-align: ', !$context['right_to_left'] ? 'right' : 'left', ';" id="display_jump_to">&nbsp;</div>';


I changed this:


// Show the jumpto box, or actually...let Javascript do it.


Went so smoothly.
Title: Re: Google Tagged
Post by: Lunixgame23 on October 11, 2011, 01:02:34 PM
why google tagged exclude sentences with 1 or 2 characters
eg:
[Search keyword] age of empire II download!
[Google Tagged] age empire download

Help, Thanks! :)
Title: Re: Google Tagged
Post by: samurai-lupin on December 08, 2011, 12:01:32 PM
Quote from: Yağız... on July 04, 2011, 12:29:37 PM
Quote from: Eric222 on July 04, 2011, 05:37:27 AM
Please where is the author of this mod Can you please upgrade this mod to 2.0 final. Cheers
2 posts above I have said that it'll be updated when I have the time.

Any news on this? Thank you.
Title: Re: Google Tagged
Post by: samurai-lupin on December 25, 2011, 12:54:02 AM
Bump
Title: Re: Google Tagged
Post by: Yağız... on December 25, 2011, 03:05:29 PM
I'll just update with a fix on the main query. Should be done within a week.
Title: Re: Google Tagged
Post by: samurai-lupin on January 07, 2012, 03:42:54 AM
Any news? Thank you
Title: Re: Google Tagged
Post by: distante on January 30, 2012, 12:13:14 PM
Oh no news with this mod
Title: Re: Google Tagged
Post by: samurai-lupin on February 05, 2012, 05:58:48 PM
Nope. It's a dead mod.
Title: Re: Google Tagged
Post by: distante on February 05, 2012, 10:54:02 PM
well the plugin works, the thing is with the server load problem.
Title: Re: Google Tagged
Post by: Antes on February 06, 2012, 06:17:39 PM
This is not A DEAD mod, Author has exams. He'll update the plug-in when he got time.
Title: Re: Google Tagged
Post by: samurai-lupin on February 06, 2012, 06:40:05 PM
Well, I don't mean to be rude but putting up a mod that will cause a server to overload is a none working but ... and if it doesn't get updated in a yer it is a dead, none working mod.
Title: Re: Google Tagged
Post by: distante on March 08, 2012, 09:10:14 PM
The problem with this mod is the query of the DB don't?

I have a lot (and I mean A LOT) of urls indexed with google tagged routes that I'm losing =( )
Title: Re: Google Tagged
Post by: netpaydays on March 09, 2012, 03:12:52 AM
The mod reported no errors before installation, it reported it successfully installed the mod.  Upon installation it took me to the settings page, HOWEVER, on every page on my site now, is the following information at the top of every single page:

$txt['googletagged'] = 'GoogleTagged'; $txt['googletagged_admin'] = 'GoogleTagged'; $txt['googletagged_menu'] = 'GoogleTagged'; $txt['googletagged_manage'] = 'Manage GoogleTagged'; $txt['permissionname_googletagged_manage'] = 'Manage GoogleTagged'; $txt['permissiongroup_googletagged'] = 'GoogleTagged'; $txt['googletagged'] = 'GoogleTagged'; $txt['googletagged_admin'] = 'GoogleTagged'; $txt['googletagged_menu'] = 'GoogleTagged'; $txt['googletagged_manage'] = 'Gerenciar GoogleTagged'; $txt['permissionname_googletagged_manage'] = 'Gerenciar GoogleTagged'; $txt['permissiongroup_googletagged'] = 'GoogleTagged';

Perhaps someone can help me fix this problem?

I've already tried uninstalling it and it uninstalled, however the above text remains on the site, reinstalling the mod a second time, only makes the above text duplicated, uninstalling it removes half of it, but the remainder stays.

Where do I look to get rid of that text, what do I do to get my sites running the way it was without all that text at the top of my site?

Thanks,
Title: Re: Google Tagged
Post by: Yağız... on March 09, 2012, 06:31:46 AM
Sorry everyone about that long wait, but I just finished coding that I rebegan last week because I've lost all my data while formatting my PC ... I'll do a few testing today and if anyone can PM me for testing, he'll be welcome.

Quote from: netpaydays on March 09, 2012, 03:12:52 AM
The mod reported no errors before installation, it reported it successfully installed the mod.  Upon installation it took me to the settings page, HOWEVER, on every page on my site now, is the following information at the top of every single page:

$txt['googletagged'] = 'GoogleTagged'; $txt['googletagged_admin'] = 'GoogleTagged'; $txt['googletagged_menu'] = 'GoogleTagged'; $txt['googletagged_manage'] = 'Manage GoogleTagged'; $txt['permissionname_googletagged_manage'] = 'Manage GoogleTagged'; $txt['permissiongroup_googletagged'] = 'GoogleTagged'; $txt['googletagged'] = 'GoogleTagged'; $txt['googletagged_admin'] = 'GoogleTagged'; $txt['googletagged_menu'] = 'GoogleTagged'; $txt['googletagged_manage'] = 'Gerenciar GoogleTagged'; $txt['permissionname_googletagged_manage'] = 'Gerenciar GoogleTagged'; $txt['permissiongroup_googletagged'] = 'GoogleTagged';

Perhaps someone can help me fix this problem?

I've already tried uninstalling it and it uninstalled, however the above text remains on the site, reinstalling the mod a second time, only makes the above text duplicated, uninstalling it removes half of it, but the remainder stays.

Where do I look to get rid of that text, what do I do to get my sites running the way it was without all that text at the top of my site?

Thanks,

What is your SMF version?
Title: Re: Google Tagged
Post by: distante on March 09, 2012, 09:30:12 AM
Great  Yağız!
Title: Re: Google Tagged
Post by: Yağız... on March 09, 2012, 06:22:31 PM
I've finally finished recoding. I've added a few settings, wanted to add some stats but I don't want that you wait more. I made a few changes in the language file too, and as I don't know Portuguese, Brazilian and Spanish languages, I've removed then from package. I'm still searching a solution for UTF-8 characters, couldn't find any solution yet.

New package will be on mod site tomorrow.
Title: Re: Google Tagged
Post by: distante on March 09, 2012, 07:24:14 PM
Quote from: Yağız... on March 09, 2012, 06:22:31 PM
I've finally finished recoding. I've added a few settings, wanted to add some stats but I don't want that you wait more. I made a few changes in the language file too, and as I don't know Portuguese, Brazilian and Spanish languages, I've removed then from package. I'm still searching a solution for UTF-8 characters, couldn't find any solution yet.

New package will be on mod site tomorrow.
Can you tell me the problem with the UTF-8 chars? I think I can help with that
Title: Re: Google Tagged
Post by: Yağız... on March 10, 2012, 05:03:51 PM
Google Tagged v2.0 is out or SMF 2.0 Final version with a few new settings and optimizations. Special thanks to distante (http://www.simplemachines.org/community/index.php?action=profile;u=200470) for testing the new version.
Title: Re: Google Tagged
Post by: distante on March 10, 2012, 05:05:55 PM
;) no even 0.04 segs more to load and just 4 extra querys
Title: Re: Google Tagged
Post by: Yağız... on March 10, 2012, 09:15:52 PM
Fixed a bug in the permissions area, if you have already installed the new version, just replace GoogleTagged-Integrate.php file.
Title: Re: Google Tagged
Post by: grafitus on March 11, 2012, 07:57:54 AM
Hey, Yağız! Congrats on the new version!

Just a suggest, it'd be good use $sourcedir identifier when including the source file here:
$integrations = array(
'integrate_pre_include' => 'Sources/GoogleTagged-Integrate.php',
Title: Re: Google Tagged
Post by: javierjp on March 11, 2012, 02:11:48 PM
Wonderfull mod,  thanks a lot Yağız!  :)

Its possible to grabs the incoming search terms x Topic? i mean no tags, simply a text list inside every topic with the search terms the user used for land in these topic from google.
Each topic has his own incoming search terms list depend of the traffic from google.

I saw something like that in a vbulletin forum.



Title: Re: Google Tagged
Post by: Yağız... on March 11, 2012, 02:23:27 PM
Quote from: javierjp on March 11, 2012, 02:11:48 PM
Wonderfull mod,  thanks a lot Yağız!  :)

Its possible to grabs the incoming search terms x Topic? i mean no tags, simply a text list inside every topic with the search terms the user used for land in these topic from google.
Each topic has his own incoming search terms list depend of the traffic from google.

I saw something like that in a vbulletin forum.




There is already a list at the bottom of the topic.
Title: Re: Google Tagged
Post by: javierjp on March 13, 2012, 10:14:21 AM
Ahh ok, thanks for reply, i though it was a general tag list similar for all the topics, my bad. ;)

Other question, its possible modify the tags for grab "long tail keywords" something like "download windows 7 app" , "good windows 7 player" and something like that?

Best regards
Title: Re: Google Tagged
Post by: distante on March 15, 2012, 07:38:59 PM
Yağız... for some reason the cloud of tags isn't getting showing in my site (in all the themes)

For example: http://www.desadaptados.net/chicas-hot/megan-fox-supergirl-(esta-foto-es-fake-no)/

This has the tag "Megan Fox Fake" (with 10 hits) as is showed here: http://www.desadaptados.net/tagged/1742/megan+fox+fake/

But there's no info of that tags in the bottom, Any Idea why?, the changes in my display.php and display.template.php files are ok.
Title: Re: Google Tagged
Post by: InfoStrides on March 17, 2012, 06:07:07 AM
Great mod! Thanks for the update. Please how can remove the link to "GoogleTagged" from the menu?
Title: Re: Google Tagged
Post by: distante on March 17, 2012, 09:40:30 AM
Quote from: InfoStrides on March 17, 2012, 06:07:07 AM
Great mod! Thanks for the update. Please how can remove the link to "GoogleTagged" from the menu?

with the group user permissions
Title: Re: Google Tagged
Post by: InfoStrides on March 17, 2012, 12:16:02 PM
Quote from: distante on March 17, 2012, 09:40:30 AM
Quote from: InfoStrides on March 17, 2012, 06:07:07 AM
Great mod! Thanks for the update. Please how can remove the link to "GoogleTagged" from the menu?

with the group user permissions

This will completely restrict access to it. I only wanted to remove it from the menu and place it in another place.
Title: Re: Google Tagged
Post by: InfoStrides on March 17, 2012, 12:22:14 PM
I got it removed. Thanks distante.
Title: Re: Google Tagged
Post by: distante on March 17, 2012, 12:37:59 PM
how did you remove it in the end?
Title: Re: Google Tagged
Post by: InfoStrides on March 18, 2012, 05:23:53 AM
Quote from: distante on March 17, 2012, 12:37:59 PM
how did you remove it in the end?

I commented the menu function in "sources/GoogleTagged.php"
Title: Re: Google Tagged
Post by: distante on March 18, 2012, 12:19:53 PM
Oh.

I have the problem that my menu cloud isn't get rendered in the topic page...
Title: Re: Google Tagged
Post by: alienv on March 26, 2012, 06:36:48 AM
i see some problems with this version
creates lot of tags without the name - its just empty, so tag is rendered and it looks like empty one, because links don't have a names
Title: Re: Google Tagged
Post by: Skyflash on March 27, 2012, 09:45:46 AM
Good mod!

Only a question: please, release a version where we can personalize the word "GoogleTagged" shown in the menu and in the footer of the article. "GoogleTagged" has no sense, it's better a simple "Tags"
Title: Re: Google Tagged
Post by: 4Kstore on March 27, 2012, 10:00:26 AM
Quote from: Skyflash on March 27, 2012, 09:45:46 AM
Good mod!

Only a question: please, release a version where we can personalize the word "GoogleTagged" shown in the menu and in the footer of the article. "GoogleTagged" has no sense, it's better a simple "Tags"

You only need edit a translation file.

themes/default/languages/GoogleTagged.english.php

Find:
$txt['googletagged'] = 'GoogleTagged';

And replace for:
$txt['googletagged'] = 'Tags';
Title: Re: Google Tagged
Post by: teos55 on April 28, 2012, 12:21:07 PM
SMF 2.0.2  Simple Portal 2.3.5  default theme

Receiving :

http:// mysite.org/index.php?action=admin;area=modsettings;sa=googletagged;bbd435705d5a=aeae04a9b11f17f4bc0e42d1e64531e78: Undefined index: googletagged_together
Dosya: /home/user/public_html/Themes/default/GoogleTagged.template.php
Satır: 205



lines around 205

<dt><span><label for="googletagged_together">'. $txt['googletagged_together'] . '</label></span></dt>
<dd><input type="checkbox" id="googletagged_together" name="googletagged_together"', $modSettings['googletagged_together'] == 1 ? ' checked="checked"' : '' ,' /></dd>



what might be wrong ?   Any effect on performance ?
Title: Re: Google Tagged
Post by: javierjp on June 23, 2012, 09:23:10 AM
Hi, I use "google search" in my site instead "smf search system" i get alot of google+mysite++com++++  tags, exist any way to avoid that?   i already tried ban the tags "mysite" and "google" but i still get these tags in my DB.

Any idea? thanks in advance.
Title: Re: Google Tagged
Post by: littlenicki on June 28, 2012, 09:20:25 PM
Does the SMF 1.1 Version still have any bugs? Especially this Database bug causing big server load? Thank you
Title: Re: Google Tagged
Post by: javierjp on June 29, 2012, 11:10:49 AM
Quote from: littlenicki on June 28, 2012, 09:20:25 PM
Does the SMF 1.1 Version still have any bugs? Especially this Database bug causing big server load? Thank you

Oh man, that was .... im having high server load since some weeks and now i know the source, it start since i installed this mod!!  exist any solution for that??
Title: Re: Google Tagged
Post by: littlenicki on June 29, 2012, 06:49:50 PM
Best uninstall the mod. I had it on my site and it would render my dedicated quad core (!) machine useless. The mod has a bug and musn't be used unless it gets fixed. I will report this mod as insecure now.
Title: Re: Google Tagged
Post by: javierjp on June 29, 2012, 11:09:52 PM
Thanks for the advice, i will uninstall the mod.

just curious, the 2.0.2 version has the same bug?

I not found a SEO benefit with this mod, only a informative thing about the search terms, i thought this was as the vbulletin or wordpress "incoming search terms" mod
Title: Re: Google Tagged
Post by: littlenicki on June 30, 2012, 08:00:30 PM
Yes, to my understaning it has no seo effect because the output is what Google is allready having on file anyways. However it will grow a quite big table. Mine was about 200 MB in size.
Title: Re: Google Tagged
Post by: poser3dart on August 21, 2012, 02:43:40 PM
How can I move the menu button over a few slots?
I'm using Core theme, smf 2.0.2
As it is the button shows up on the right of Logout and looks like crap.
I love the mod but if it stays like that I wont be able to use it.
Title: Re: Google Tagged
Post by: winsoft on December 02, 2012, 10:16:34 AM
I find this mod really useful, giving me idea about which threads are popular and for which keywords.
Title: Re: Google Tagged
Post by: Blade_Runner on January 21, 2013, 10:20:08 PM
I am getting the following error. How can I fix it?

-----------------------------------------
http://talkcarmod.com/forum/index.php?action=admin;area=modsettings;sa=googletagged;fdbebdca608=4802294707854f9754919fbf066d9d6c
8: Undefined index: googletagged_together
File: /var/www/***/httpdocs/forum/Themes/default/languages/BadBehavior_bbc.english.php (ShowGoogleTaggedAdmin sub template - eval?)
Line: 205
Title: Re: Google Tagged
Post by: ontbijtkoe on April 14, 2013, 09:12:47 AM
Only admins can see the clouds under the topic. how do i fix it so everyone can see it?
Title: Re: Google Tagged
Post by: deadhero on July 10, 2013, 04:47:36 AM
I get this errors on error log:

8: Undefined index: size
8: Undefined index: text
8: Undefined index: tagged
Title: Re: Google Tagged
Post by: PLAYBOY on July 30, 2013, 02:44:25 AM
I get tons of these error logs everyday

http://site.comforum/index.php?pretty;board=324;topic=234.0&amp;PHPSESSID=b41502cb33ab5ac458bc696e539fcff4
8: Undefined index: googletagged_together
File: /home/site/public_html/forum/Sources/GoogleTagged.php
Line: 729

This is what I have in that line
if($modSettings['googletagged_together'] == 1) {
Title: Re: Google Tagged
Post by: deadhero on July 30, 2013, 07:36:58 AM
Quote from: deadhero on July 10, 2013, 04:47:36 AM
I get this errors on error log:

8: Undefined index: size
8: Undefined index: text
8: Undefined index: tagged
Title: Re: Google Tagged
Post by: vietravel247.com on August 21, 2013, 07:18:35 AM
I get this error on logs: unable to load the 'main' template, please help. Thank you.
Title: Re: Google Tagged
Post by: deadhero on August 22, 2013, 03:49:29 AM
Quote from: deadhero on July 30, 2013, 07:36:58 AM
Quote from: deadhero on July 10, 2013, 04:47:36 AM
I get this errors on error log:

8: Undefined index: size
8: Undefined index: text
8: Undefined index: tagged
Title: Re: Google Tagged
Post by: vietravel247.com on August 26, 2013, 01:09:29 AM
Quote from: vietravel247.com on August 21, 2013, 07:18:35 AM
I get this error on logs: unable to load the 'main' template, please help. Thank you.
need help, thank you
Title: Re: Google Tagged
Post by: vietravel247.com on October 01, 2013, 06:48:39 AM
Need help, thanks
Title: Re: Google Tagged
Post by: vietravel247.com on October 10, 2013, 12:10:27 PM
I fixed it by adding lines into file index.php
$actionArray = array(
....................
'tagged' => array('GoogleTagged.php', 'GoogleTagged'),
....................

Thank you.
Title: Re: Google Tagged (HELP NEEDED)
Post by: diegolyanky on October 11, 2013, 02:44:28 PM
I can´t install because my index.template.php is very different ... I'm using helios_multi theme.

Here is attached my index.template.php

I´m using 1.1.11 version of SMF. (updated only source code)

Can anybody modify this file for me ?

Search: (this is not in my file)


// the [member] list button
if ($context['allow_memberlist'])
echo ($current_action == 'mlist' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'mlist' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=mlist">' , $txt[331] , '</a>
</td>' , $current_action == 'mlist' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


Add Before:


// The [GoogleTagged] Button.
if (allowedTo('googletagged_view'))
echo ($current_action == 'tagged' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'tagged' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=tagged">' , $txt['googletagged']  , '</a>
</td>' , $current_action == 'tagged' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';



Search (this is not in my file)

$current_action = 'admin';
if (in_array($context['current_action'], array(


Add After:

'tagged',


So, where to put new code ?

Thanks !
Title: Re: Google Tagged (BUG)
Post by: diegolyanky on October 13, 2013, 12:28:36 PM
Hi there:

I installed in a clean and new installation of SMF just for test this MOD, and I got this...

Is this normal ? (see the attached picture)

If not, so please can you tell me what to do in order to show real tagged words ?


Thanks a lot !!
Title: Re: Google Tagged
Post by: deadhero on October 19, 2013, 10:09:04 AM
Quote from: deadhero on August 22, 2013, 03:49:29 AM
Quote from: deadhero on July 30, 2013, 07:36:58 AM
Quote from: deadhero on July 10, 2013, 04:47:36 AM
I get this errors on error log:

8: Undefined index: size
8: Undefined index: text
8: Undefined index: tagged
Title: Re: Google Tagged
Post by: minos on December 10, 2013, 03:19:45 AM
i cant see options on modsettings. when iinstall the mobs no error shown
Title: Re: Google Tagged
Post by: PLAYBOY on January 21, 2014, 12:40:33 PM
I get this in my error log caused by the google tag mod.

Quote8: Undefined index: googletagged_together
Title: Re: Google Tagged
Post by: PLAYBOY on January 30, 2014, 03:07:04 AM
Any help??
Title: Re: Google Tagged
Post by: PhuriousGeorge on January 30, 2014, 10:26:06 AM
Quote from: PLAYBOY on January 30, 2014, 03:07:04 AM
Any help??

I get this as well, however haven't had a chance to track it down. I'll probably be working on debugging my forum tonight or this weekend and I'll report back if I have success removing this error.
Title: Re: Google Tagged
Post by: PLAYBOY on February 03, 2014, 04:12:37 AM
Quote from: PhuriousGeorge on January 30, 2014, 10:26:06 AM
Quote from: PLAYBOY on January 30, 2014, 03:07:04 AM
Any help??

I get this as well, however haven't had a chance to track it down. I'll probably be working on debugging my forum tonight or this weekend and I'll report back if I have success removing this error.
Quote from: PhuriousGeorge on January 30, 2014, 10:26:06 AM
Quote from: PLAYBOY on January 30, 2014, 03:07:04 AM
Any help??

I get this as well, however haven't had a chance to track it down. I'll probably be working on debugging my forum tonight or this weekend and I'll report back if I have success removing this error.

Did you have a chance to look into this?
Title: Re: Google Tagged
Post by: PhuriousGeorge on February 04, 2014, 11:28:28 AM
Quote from: PLAYBOY on February 03, 2014, 04:12:37 AM
Did you have a chance to look into this?

No, I was rather bogged-down this weekend :(
Title: Re: Google Tagged
Post by: PLAYBOY on February 04, 2014, 11:33:09 AM
Quote from: PhuriousGeorge on February 04, 2014, 11:28:28 AM
Quote from: PLAYBOY on February 03, 2014, 04:12:37 AM
Did you have a chance to look into this?

No, I was rather bogged-down this weekend :(

Thas fine. Any plans on looking into it anytime soon?
Title: Re: Google Tagged
Post by: kamili34 on February 15, 2014, 06:41:21 PM
Same here mod installed correct, but clicking on google tagged in admin panel, no action.
Title: Re: Google Tagged
Post by: Mr.Truckman on February 20, 2014, 11:34:40 PM
I found a topic that is not compatible with Google Tagged country. Please help me with a solution.

Title: Re: Google Tagged
Post by: yol on March 31, 2014, 01:15:55 PM
Selamlar,

Hata günlüğünde sürekli şu hatayı alıyorum;

preg_match(): Compilation failed: numbers out of order in {} quantifier at offset 15

Çözümü için yardımcı olabilirseniz çok sevinirim...


Sağlıcakla,
Sedat
Title: Re: Google Tagged
Post by: MyTime on September 27, 2014, 04:19:17 PM
I'm having the same problem as many people from above, such as Minos.
I had no problems with the download, but and it says googletagged in my admin area only and I click on it and their are no actions or anything.
Title: Re: Google Tagged
Post by: Gryzor on October 12, 2014, 12:45:04 PM
Same here... I added the "'tagged' => array('GoogleTagged.php', 'GoogleTagged')" line to the array in index.php, to no avail.
Title: Re: Google Tagged
Post by: Gryzor on October 21, 2014, 03:13:28 AM
...dead?
Title: Re: Google Tagged
Post by: Yağız... on November 23, 2014, 06:44:46 PM
For those who are having the settings problem;
In ../Sources/GoogleTagged-Integrate.php, search for:
function gt_modifications($subActions)
Replace with:
function gt_modifications(&$subActions)

For those who are having undefined_index problem;
In ../Themes/default/GoogleTagged.template.php, search for:
<dd><input type="checkbox" id="googletagged_together" name="googletagged_together"', $modSettings['googletagged_together'] == 1 ? ' checked="checked"' : '' ,' /></dd>
Replace with:
<dd><input type="checkbox" id="googletagged_together" name="googletagged_together"', (!empty($modSettings['googletagged_together']) ? ' checked="checked"' : '') ,' /></dd>

The modification package has also been updated, sorry for the issues. If you find any other bugs, I'd be glad to hear them via PM.
Title: Re: Google Tagged
Post by: Sudhakar Arjunan on November 24, 2014, 02:59:18 PM
Any upgrade for 2.1
Title: Re: Google Tagged
Post by: Gryzor on November 25, 2014, 02:38:12 AM
A bit too early? :D
Title: Re: Google Tagged
Post by: Yağız... on November 26, 2014, 11:26:48 AM
Quote from: A.SK on November 24, 2014, 02:59:18 PM
Any upgrade for 2.1
Planning but don't know when it will be available. I have to look for the new hooks they have added. I don't even have a localhost installed on my PC.
Title: Re: Google Tagged
Post by: Juan Londoño on February 19, 2015, 03:30:40 PM
Hello community. I installed the MOD Google Tagged in my forum but not in action, it is as if he had not installed the MOD.

The version installed is GoogleTagged20.zip

I have installed SMF 2.0.9, and emulated SMF 2.0.4 version which is supposedly the last version that worked the MOD, but nothing.

Any solution to visualize the action of this MOD on my forum?

Thanks in advance for your answers.

A greeting.
Title: Re: Google Tagged
Post by: Juan Londoño on February 21, 2015, 11:32:03 AM
Already tried http://myforum/action=tagged and I get this message "404 - Not Found - The resource requested could not be found on this server!" I guess this error occurs when a URL does not exist.

These are the MODs currently have installed and uninstalled on my SMF.

(https://fbcdn-sphotos-g-a.akamaihd.net/hphotos-ak-xpa1/t31.0-8/1534979_999505703411190_8959267560312207487_o.jpg)

I have installed SMF 2.0.9 with the theme Reseller.

This is the current setup I have for this mod:

(https://fbcdn-sphotos-h-a.akamaihd.net/hphotos-ak-xpf1/t31.0-8/10983268_998862160142211_5529349623015717753_o.jpg)

Does anyone know why it does not work this Mod?

A greeting and thanks in advance for your answers.
Title: Re: Google Tagged
Post by: Topman on June 29, 2015, 05:21:52 AM
Installed but no tags being shown. I am using 2.0.10
My site is public, spidered regularly and does not have a robots.txt file.
Does this mod imporve SEO and serps listings.
Title: Re: Google Tagged
Post by: Antes on June 29, 2015, 06:05:42 AM
You can read more about "Long Tail Traffic".
Title: Re: Google Tagged
Post by: Topman on June 30, 2015, 02:40:40 AM
Quote from: Antes on June 29, 2015, 06:05:42 AM
You can read more about "Long Tail Traffic".

I could but to be honest I don't understand any of it!
The Mod just don't work!
Title: Re: Google Tagged
Post by: Antes on June 30, 2015, 03:15:43 AM
Quote from: topman on June 30, 2015, 02:40:40 AM
Quote from: Antes on June 29, 2015, 06:05:42 AM
You can read more about "Long Tail Traffic".

I could but to be honest I don't understand any of it!
The Mod just don't work!

then you need to supply some information about the modification.
Title: Re: Google Tagged
Post by: Topman on July 02, 2015, 04:20:00 AM
More information?
It was installed OK
But nothing new is apparent.
I can see the Google Tagged Mod settings and everything is enabled.
Title: Re: Google Tagged
Post by: Antes on July 02, 2015, 04:53:27 AM
Quote from: topman on July 02, 2015, 04:20:00 AM
More information?
It was installed OK
But nothing new is apparent.
I can see the Google Tagged Mod settings and everything is enabled.

When it is installed ? It may require 1 week.
Title: Re: Google Tagged
Post by: Topman on July 02, 2015, 06:25:04 AM
Ah!  It was installed a couple of days ago.
I didnt realise that an already crawled site needed to wait to be crawled again.
I give it a few more days then.
Title: Re: Google Tagged
Post by: Topman on July 07, 2015, 03:27:08 AM
Nope its been a whole week now and still nothing is being shown.
Any Ideas Mod creator?
Title: Re: Google Tagged
Post by: Topman on July 14, 2015, 04:08:32 AM
Well I have got my first tags now
brand-newhomes    96952980    google   d24  Not sure what they mean or if they are any benefit!
This was the thread:
http://forum.brand-newhomes.co.uk/nhbc-warranty/'changing-standards-as-we-go-along-to-protect-the-interests-of-the-developers'/
Title: Re: Google Tagged
Post by: Topman on July 16, 2015, 03:09:00 AM
I thought the tags would be for words in the post or thread, not "google" or "96952980" which aren't even mentioned!
Title: Re: Google Tagged
Post by: simplebeer on November 02, 2015, 03:14:00 AM
Just downloaded and install this mod and  get a error at mod settings > googletTagged,  whats wrong?
Title: Re: Google Tagged
Post by: belljak on December 18, 2016, 04:46:01 AM
I have a big forum with million + daily page views.
After installing this mod my traffic is increasing from google but cpu usage has spiked to 4 times more. I upgraded the server but this mod is taking 80% resources of server.

I think this query is problem
SELECT id_tag, status, hits, tag
FROM smf_googletagged
WHERE id_topic = 56722 AND status != 0
ORDER BY RAND()
LIMIT 20

Is there a way to make this query use less cpu?

Also when i click on tag on topic it redirects me to homepage
Title: Re: Google Tagged
Post by: humbleworld on March 29, 2017, 01:56:31 PM
i hope this mod would be updated. will it still work with 2.0.13 version?
Title: Re: Google Tagged
Post by: sts_pro on September 17, 2017, 12:12:39 AM
Quote from: Juan Londoño on February 21, 2015, 11:32:03 AM
Already tried http://myforum/action=tagged and I get this message "404 - Not Found - The resource requested could not be found on this server!" I guess this error occurs when a URL does not exist.

Seems like a nice idea, however, I am experiencing the same issue - TAGs are being generated, however links (i.e .../forum/index.php?action=tagged;id=5;tag=picture) are leading to 404 page.

Any advise in these regards? 
Title: Re: Google Tagged
Post by: simplebeer on February 15, 2018, 04:55:30 AM
This mod isnt supported anymore?

I see a lot of unanswered questions like this, i have the samen problem..


Quote from: PLAYBOY on July 30, 2013, 02:44:25 AM
I get tons of these error logs everyday

http://site.comforum/index.php?pretty;board=324;topic=234.0&amp;PHPSESSID=b41502cb33ab5ac458bc696e539fcff4
8: Undefined index: googletagged_together
File: /home/site/public_html/forum/Sources/GoogleTagged.php
Line: 729

This is what I have in that line
if($modSettings['googletagged_together'] == 1) {
Title: Re: Google Tagged
Post by: Yağız... on February 16, 2018, 09:01:32 AM
New version is out. Huge performance increases, now it displays tags by hits and not random on the display page. Updated the license to MIT. And removed support for SMF 1.1.x

Feel free to PM me for critical errors you face.

I also create a repository on GitHub, you're welcome to contribute: https://github.com/smguy9/GoogleTagged (https://github.com/smguy9/GoogleTagged)
Title: Re: Google Tagged
Post by: -Rock Lee- on February 19, 2018, 09:59:43 PM
Quote from: Yağız... on February 16, 2018, 09:01:32 AM
New version is out. Huge performance increases, now it displays tags by hits and not random on the display page. Updated the license to MIT. And removed support for SMF 1.1.x

Feel free to PM me for critical errors you face.

I also create a repository on GitHub, you're welcome to contribute: https://github.com/smguy9/GoogleTagged (https://github.com/smguy9/GoogleTagged)

It's a great modification that you use for some projects that I'm glad you can update it, I leave the translation in Latin Spanish!


Regards!
Title: Re: Google Tagged
Post by: Yağız... on February 21, 2018, 10:51:23 AM
Quote from: Rock Lee on February 19, 2018, 09:59:43 PM
Quote from: Yağız... on February 16, 2018, 09:01:32 AM
New version is out. Huge performance increases, now it displays tags by hits and not random on the display page. Updated the license to MIT. And removed support for SMF 1.1.x

Feel free to PM me for critical errors you face.

I also create a repository on GitHub, you're welcome to contribute: https://github.com/smguy9/GoogleTagged (https://github.com/smguy9/GoogleTagged)

It's a great modification that you use for some projects that I'm glad you can update it, I leave the translation in Latin Spanish!


Regards!
Thanks for the translation! I will add the files in the next update.
Title: Re: Google Tagged
Post by: Plus on December 02, 2019, 07:23:24 AM
Yağız merhaba,


Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column '****.smf_googletagged.id_tag' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
Dosya: /home/***/public_html/Sources/GoogleTagged.php
Satır: 517


hatası almaktayım sürekli. Çözüm önerini beklemekteyim. Bunu çok eskiden kullandığım için iyi geliyor foruma :)
Title: Re: Google Tagged
Post by: KatieChristensen on March 25, 2020, 04:18:31 PM
Has anyone installed this lately or is still using it on the latest SMF version? If so, is it working well? Any unexpected surprises?
Title: Re: Google Tagged
Post by: KittyGalore on March 26, 2020, 03:10:50 PM
Quote from: KatieChristensen on March 25, 2020, 04:18:31 PM
Has anyone installed this lately or is still using it on the latest SMF version? If so, is it working well? Any unexpected surprises?
Yes i have this installed and don't see any issues with it on Smf 2.0.17
Title: Re: Google Tagged
Post by: SaleBrale on November 14, 2023, 04:36:57 AM
This was a great mod, but it doesn't work well anymore. No longer are keywords entered in the googletag cloud, only the word "google".
Any chance of an update?