vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Easy Google Analytics (https://vborg.vbsupport.ru/showthread.php?t=290306)

Shadow 11-06-2012 11:00 PM

Easy Google Analytics
 
1 Attachment(s)
Description:
This small and simple modification is a back port of my vBulletin 5 version and will allow you to easily add your Google Analytics tracking code to your site without editing templates. Editing templates may seem daunting to some people however this modification allows you to paste your code in a box and it'll handle the rest.

Your Analytics tracking code will be added to the end of the footer template so it doesn't slow the loading of your site down.

Installation:
  1. Download the product XML and import it through the 'Manage Products' page in the AdminCP.
  2. Add your tracking code to: Admin CP -> Settings -> Options -> Google Analytics Settings.
  3. Done.

Changelog:
07/11/2012 - Version 1.00:
- Initial release.

Notes:
I'm always looking to improve my work for the people that enjoy using it. If you have any suggestions on how I can improve this hack then please leave a comment and I'll see what I'm able to do. Don't forget to 'Mark As Installed' if you've got it installed!

voglermc 11-09-2012 04:31 PM

This has already been done, are you copying their code?
https://vborg.vbsupport.ru/showthread.php?t=256325

Shadow 11-09-2012 05:46 PM

Quote:

Originally Posted by voglermc (Post 2379726)
This has already been done, are you copying their code?
https://vborg.vbsupport.ru/showthread.php?t=256325

Little bit of reading goes a long way:

Quote:

This small and simple modification is a back port of my vBulletin 5 version..

voglermc 11-09-2012 06:08 PM

Yeah, that still doesn't mean a lot. I'll let the admins decide

SwollenCranium 11-09-2012 07:15 PM

Installed!

Thanks!!

bzcomputers 11-09-2012 07:20 PM

Quote:

Originally Posted by voglermc (Post 2379757)
Yeah, that still doesn't mean a lot. I'll let the admins decide

It appears if you actually took the time to look at the code of the two you would see they do do different things and the coding is not copied.

Before accusing a little research on your own part might be nice, only takes a sec to open an .xml and look yourself!

Shadow 11-09-2012 08:07 PM

Quote:

Originally Posted by voglermc (Post 2379757)
Yeah, that still doesn't mean a lot. I'll let the admins decide

Well I don't know where you got the evidence for your accusation as it would seem quite obvious, you didn't take the time to even open up the XML file and compare the code. Only then you'd notice, both are completely different.

Quote:

Originally Posted by bzcomputers (Post 2379771)
It appears if you actually took the time to look at the code of the two you would see they do do different things and the coding is not copied.

Before accusing a little research on your own part might be nice, only takes a sec to open an .xml and look yourself!

Thank you very much :)

NTT 11-12-2012 01:51 PM

Quote:

Originally Posted by voglermc (Post 2379726)
This has already been done, are you copying their code?
https://vborg.vbsupport.ru/showthread.php?t=256325

just the same idea, you should compare 2 xml files of 2 add-on before you conclude !

patrick91 11-20-2012 08:43 PM

Thanks good and simple addon! Will give it a shot.

equinox101 01-27-2013 05:35 PM

Simple - takes the pressure out of where to install the code, installed. thanks :)


All times are GMT. The time now is 03:15 AM.

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.01311 seconds
  • Memory Usage 1,736KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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