vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Administrative and Maintenance Tools - Google Analytics in the Archive (and Forum) (https://vborg.vbsupport.ru/showthread.php?t=246171)

SnakeEaterITA 01-02-2011 08:41 PM

Ok, I disabled each plugin, one by one, but the error is still there >:(

damn...I remember that, following some guides, I added the Analytics script in the footer and in another page, but I'm unable to remember WHERE...

BirdOPrey5 01-02-2011 08:47 PM

I suggest you try disabling hooks to confirm where the problem is. There are no templates in the archive.

To disable hooks edit your config.php... add this as the second line, directly below the opening tag <?php
Code:

define('DISABLE_HOOKS', true);
Then check again if you still have the archive error.

SnakeEaterITA 01-02-2011 08:51 PM

Ok, no more error removing the hooks. Consider I don't even know what is a hook :'(

Now what to do? What changes if i remove hooks?

BirdOPrey5 01-02-2011 08:57 PM

Disabling hooks *really* disables every single mod and plugin... You should re-enable them again but now we know for sure the problem is with a plugin, not altered vbulletin files.

Re-enable your hooks, confirm the error is back...

Then go to Admin CP -> Plugin Manager and tell me what plugins you have at the top under Product: vBulletin (if any)...

SnakeEaterITA 01-02-2011 09:03 PM

Sh*t, found it!

It was my fault as I looked at Products instead of Plugins... it was this one:

Name: Code in Archive
Hook Location: archive_complete
PHP Code:

$output .= "<script src=\"http://www.google-analytics.com/urchin.js\" type=\"text/javascript\">
</script>
<script type=\"text/javascript\">
_uacct = \"XXXXXXXXXXXXXXXXXXXXXXXXXXX\";
urchinTracker();
</script>";

<!--Paste Google Adsense Code (with slashes) Above This Line-->
';

BirdOPrey5 01-02-2011 09:22 PM

yeah,, good, delete that plugin, you won't need it anyway with this mod.

www.ch-joy.com 01-03-2011 10:27 AM

tankx :-)

Edgespeeder06 01-03-2011 11:52 PM

installed but google tells me that no tracking is installed?

www.NJStangers.org I don't see it on my pages neither even though its in the google anayltics product I added to the backend

BirdOPrey5 01-04-2011 12:05 AM

It's definitely in your archive... I see it's not on your pages though... I think it's because you have the "Branding" removed from vBulletin (branding free license)- I wasn't taking that into consideration when I tied the Analytics code to the copyright... If there's no copyright there's no analytics code.

I suggest you manually add the code to your footer template but leave the mod installed for the archive.

I'll work on fixing this.

Edgespeeder06 01-04-2011 12:09 AM

ah okay that happened when we did the custom garage as well as a few other mods, that explains it. Thanks again.


All times are GMT. The time now is 03:17 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01110 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete