![]() |
How do I import the xml file? Thanks!
|
Quote:
adminCP --> Plugins & Products --> Manage Products Then at the bottom click [Add/Import Product] |
their are variables that havent been updated to vbulletin 4 yet and using vb3 variables
this does not work for vb4 for example [if ($vbulletin->options['bbr_google_active']) is vb3 variables <vb:if condition="$vboptions['bbr_google_active']"> you will need to run through you codes again |
Quote:
There are template conditionals and you use your regular php code in your plugins. This modification works just fine. |
Thanks!
|
How do i "import xml"?
|
Quote:
adminCP --> Plugins & Products --> Manage Products Then at the bottom click [Add/Import Product] |
hi just to let you know
the new code has now changed to Code:
<script type="text/javascript"> please can you update your script to work with this please |
Quote:
This is working if you wish to change it in your copy, your more then welcome to. |
Has anyone tested it with 4.0.1?
|
It will work with 4.0.1
This has nothing really fancy to make it break. This should work for almost any vBulletin version. |
Its working for me so far Hubsi.
|
THX, for the fast answer :)
|
Now i dont think that i am stupid, but:
Quote:
|
Nevermind, where vbulletin.com /.de / .org forums have not brougth me any help by searching, google did.
This "Link" was even with the manual not easy to locate |
Installed thanks!
|
Thank you :)
|
Thanks! Installed.
|
Is it at all possible that the google analytics would increase bandwidth utilization of the NIC? I installed this on the 18th and my bandwidth utilization has literally doubled immediately. I don't know if it was having Google Analytics on my site that has caused an increase in spider activity or something or if it's just coincidence? I went from averaging 4gb bytes out per day to 10gb bytes out.
|
I don't understand where I add the Tracking Code from Google?
Is it in a template? If so, which one? Or do I need to edit the xml? I'm so confused!? |
Quote:
and put in your api key number. You will not receive no more support till you click install. |
Thankyou for speedy response.
I hadn't marked it as installed yet as I didn't think I had fully installed it. I've marked it now. I thought I had to add my Google analytics code above the </body> tag of one of the files? |
Quote:
They add your key in the settings/options in the adminCP. This adds the code for you automatically. |
Found a mistake:
Quote:
|
Thanks for your help BBR-APBT. :)
|
When adding or inserting Google Analytics tracking code in vBulletin 4 forums software, either in styles, templates, plugins, products or ad HTML code of newly added advertising function, error message similar to the following may appear when saving the code:
The following error occurred when attempting to evaluate this template: Parse error: syntax error, unexpected ‘[‘ in /home/forums/includes/adminfunctions_template.php(4595) : eval()’d code on line 18 This is likely caused by a malformed conditional statement. It’s highly recommended that you fix this error before continuing, but you may continue as-is if you wish. Two options of “Go Back” or “Continue” are available for user selection. And of course, even if user forcefully save and make active or enable the Google Analytics tracking code, the script doesn’t work, and does not appear on web pages. Google Analytics tracking code or script contains some special characters which does not parse properly. Thus, in order to embed Google Analytics tracking code, the easier way is to wrap the code with <vb:literal> and </vb:literal> tags so that the code is treated literally during page rendering. For example, <vb:literal> <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript">\> try { var pageTracker = _gat._getTracker("****"); pageTracker._trackPageview(); } catch(err) {}</script> </vb:literal> The Google Analytics tracking code can be placed in footer template, or better suggestion is to place it into ad_footer_end template (inside Ad Location Templates) as to avoid future upgrading issues where templates need to manually merged. |
Quote:
Simple install my plugin. Makes it easier all the way around. |
thanks :D
|
really useful.
Thanks dude! |
Updated:
Version: 1.0.3 - Rewrite of the code to give the option to use the (Standard Tracking Code) or the (Asynchronous Tracking Code) |
Nice, thank you for the update :)
|
why does it matter? one setting or the other? (standard or asynchronous?)
update necessary? |
Quote:
One is above the opening body tag. One is above the closing body tag. There is no need to update but it is recommended. as I have moved where the code was placed in the head. I figured some people wanted to use the standard code. The mod used to use the Asynchronous Tracking Code full time. Now you have the option is all. I like the standard code for me personally. I like the code loading at the end of everything for the forums loads and not before. |
How to Import the XML file?:confused:
|
Quote:
Your answer awaits you here: http://www.vbulletin.com/forum/showt...nalytics-Addon :down: |
How to ?
4) Input your Google Account ID (UA-xxxxxx-x) |
Quote:
|
Quote:
AdminCP -> Settings -> Options -> BBR Google Analytics Thanks, anyway! |
Quote:
|
when can u try implent the new analystics code
i've tried it many times as a plugin or php file and still no luck, any chances of trying some time please |
All times are GMT. The time now is 11:56 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|