Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
BBR Google Analytics Addon Details »»
BBR Google Analytics Addon
Version: 1.0.3, by BBR-APBT BBR-APBT is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 4.0.x Rating:
Released: 12-01-2009 Last Update: 01-30-2010 Installs: 815
Uses Plugins Auto-Templates
 
No support by the author.

I will no longer support vBulletin because of IB and the agile development, and they are not fixing bugs like they should. Instead they add bloat.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
comunidadmh, misericorde

Comments
  #32  
Old 12-06-2009, 11:34 AM
naoba naoba is offline
 
Join Date: Aug 2009
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, i cant find it in the footer template.. Plz check it once
PHP Code:
{vb:raw ad_location.ad_footer_start}
{
vb:raw ad_location.global_above_footer}
<
div class="footercontainer">
<
div class="footercontainer2">
<
div id="footer" class="floatcontainer">

    <
form action="{vb:raw vboptions.forumhome}.php" method="get" id="footer_select">

            
        <
vb:if condition="$show['quickchooser']">
            <
select name="styleid" onchange="switch_id(this, 'style')">
                <
optgroup label="{vb:rawphrase quick_style_chooser}">
                    {
vb:raw quickchooserbits}
                </
optgroup>
            </
select>    
        </
vb:if>
        
        <
vb:if condition="$show['languagechooser']">
            <
select name="langid" onchange="switch_id(this, 'lang')">
                <
optgroup label="{vb:rawphrase quick_language_chooser}">
                    {
vb:raw languagechooserbits}
                </
optgroup>
            </
select>
        </
vb:if>
    </
form>

    <
ul id="footer_links" class="goright">
        <
vb:if condition="$show['contactus']"><li><a href="{vb:raw vboptions.contactuslink}" rel="nofollow" accesskey="9">{vb:rawphrase contact_us}</a></li></vb:if>
        <
vb:if condition="$vboptions['hometitle']"><li><a href="{vb:raw vboptions.homeurl}">{vb:raw vboptions.hometitle}</a></li></vb:if>
        <
vb:if condition="$show['admincplink']"><li><a href="{vb:raw admincpdir}/index.php{vb:raw session.sessionurl_q}">{vb:rawphrase admin}</a></li></vb:if>
        <
vb:if condition="$show['modcplink']"><li><a href="{vb:raw modcpdir}/index.php{vb:raw session.sessionurl_q}">{vb:rawphrase mod}</a></li></vb:if>
        <
vb:if condition="$vboptions['archiveenabled']"><li><a href="archive/index.php">{vb:rawphrase archive}</a></li></vb:if>
        {
vb:raw template_hook.footer_links}
        <
vb:if condition="$vboptions['privacyurl']"><li><a href="{vb:raw vboptions.privacyurl}">{vb:rawphrase privacy_statement}</a></li></vb:if>
        <
vb:if condition="$vboptions['tosurl']"><li><a href="{vb:raw vboptions.tosurl}">{vb:rawphrase terms_of_service}</a></li></vb:if>
        <
li><a href="{vb:raw relpath}#top" onclick="document.location.hash='top'; return false;">{vb:rawphrase top}</a></li>
    </
ul>
    
    
    <
vb:if condition="$show['dst_correction']">
    <!-- 
auto DST correction code -->
        <
form action="profile.php?do=dst" method="post" name="dstform">
            <
input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
            <
input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
            <
input type="hidden" name="do" value="dst" />
        </
form>
        <
script type="text/javascript">
        <!--
            var 
tzOffset = {vb:raw bbuserinfo.timezoneoffset} + {vb:raw bbuserinfo.dstonoff};
            var 
utcOffset = new Date().getTimezoneOffset() / 60;
            if (
Math.abs(tzOffset utcOffset) == 1)
            {    
// Dst offset is 1 so its changed
                
document.forms.dstform.submit();
            }
        
//-->
        
</script>
        <!-- / 
auto DST correction code -->
    </
vb:if>
    
    <
script type="text/javascript">
    <!--
        
// Main vBulletin Javascript Initialization
        
vBulletin_init();
    
//-->
    
</script>
</
div>
</
div>
</
div>
<
div class="below_body">
<
div id="footer_time" class="shade">{vb:rawphrase all_times_are_gmt_x_time_now_is_y}</div>

<
div id="footer_copyright" class="shade">
    <!-- Do 
not remove this copyright notice -->
    {
vb:rawphrase powered_by_vbulletin}
    <!-- Do 
not remove this copyright notice -->    
</
div>
<
div id="footer_morecopyright" class="shade">
    <!-- Do 
not remove cronimage or your scheduled tasks will cease to function -->
    {
vb:raw cronimage}
    <!-- Do 
not remove cronimage or your scheduled tasks will cease to function -->
    {
vb:raw vboptions.copyrighttext}
</
div>

{
vb:raw ad_location.ad_footer_end
</
div
Reply With Quote
  #33  
Old 12-06-2009, 03:21 PM
BBR-APBT's Avatar
BBR-APBT BBR-APBT is offline
 
Join Date: Feb 2009
Location: Maryland
Posts: 946
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not in the template its self. View the source of the page and it should be at the bottom just above the </body tag.
Reply With Quote
  #34  
Old 12-07-2009, 12:19 PM
naoba naoba is offline
 
Join Date: Aug 2009
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

and i was searching for the </body> tag in the template Thank you. Yes the codes are present. May be i should just check up with google. Thanks again Brotha...!!
Reply With Quote
  #35  
Old 12-08-2009, 02:44 AM
hendri's Avatar
hendri hendri is offline
 
Join Date: Dec 2004
Location: Jakarta, Indonesia
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i check google analystic cannot use... nothing happen ?
Reply With Quote
  #36  
Old 12-09-2009, 12:22 PM
cyber3 cyber3 is offline
 
Join Date: Dec 2009
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed this when you released it, and I am not getting any stats in google analytics ..

It just says "Waiting for Data"

Anyone having the same issues ?
Reply With Quote
  #37  
Old 12-10-2009, 11:24 AM
cyber3 cyber3 is offline
 
Join Date: Dec 2009
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

after 1 week still no results showing.. anyone ??
Reply With Quote
  #38  
Old 12-11-2009, 04:43 AM
BBR-APBT's Avatar
BBR-APBT BBR-APBT is offline
 
Join Date: Feb 2009
Location: Maryland
Posts: 946
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looking into it.
Reply With Quote
  #39  
Old 12-11-2009, 07:35 AM
Jedric Jedric is offline
 
Join Date: Jan 2003
Location: Austin, TX
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This code seems to work a lot better:

PHP Code:
if ($vbulletin->options['bbr_google_active']){
$bbrgoogleaccountid $vbulletin->options['bbr_google_account_id']; 

$bbrgooglecode '<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push([\'_setAccount\', \''
$bbrgoogleaccountid .'\']);
  _gaq.push([\'_trackPageview\']);

  (function() {
    var ga = document.createElement(\'script\'); ga.type = \'text/javascript\'; ga.async = true;
    ga.src = (\'https:\' == document.location.protocol ? \'https://ssl\' : \'http://www\') + \'.google-analytics.com/ga.js\';
    (document.getElementsByTagName(\'head\')[0] || document.getElementsByTagName(\'body\')[0]).appendChild(ga);
  })();

</script>'
;
$BBR_find '</head>';
$BBR_add_before "$bbrgooglecode"PHP_EOL;
$output str_replace($BBR_find,$BBR_add_before.$BBR_find$output);  


It uses the new Asynchronous Tracking script. More information about that is located here: http://code.google.com/apis/analytic...cTracking.html

Check out http://mmojunkie.com for a preview.
Reply With Quote
  #40  
Old 12-11-2009, 05:28 PM
cyber3 cyber3 is offline
 
Join Date: Dec 2009
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jedric View Post
This code seems to work a lot better:

PHP Code:
if ($vbulletin->options['bbr_google_active']){
$bbrgoogleaccountid $vbulletin->options['bbr_google_account_id']; 

$bbrgooglecode '<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push([\'_setAccount\', \''
$bbrgoogleaccountid .'\']);
  _gaq.push([\'_trackPageview\']);

  (function() {
    var ga = document.createElement(\'script\'); ga.type = \'text/javascript\'; ga.async = true;
    ga.src = (\'https:\' == document.location.protocol ? \'https://ssl\' : \'http://www\') + \'.google-analytics.com/ga.js\';
    (document.getElementsByTagName(\'head\')[0] || document.getElementsByTagName(\'body\')[0]).appendChild(ga);
  })();

</script>'
;
$BBR_find '</head>';
$BBR_add_before "$bbrgooglecode"PHP_EOL;
$output str_replace($BBR_find,$BBR_add_before.$BBR_find$output);  


It uses the new Asynchronous Tracking script. More information about that is located here: http://code.google.com/apis/analytic...cTracking.html

Check out http://mmojunkie.com for a preview.
Thanks I will give this a try and see if I can finally see any results.
Reply With Quote
  #41  
Old 12-12-2009, 02:57 AM
kwa11ace kwa11ace is offline
 
Join Date: Nov 2009
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im the same, it says it's there but does not update with any data.

How to put the code in thats above, in the xml?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:32 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.04732 seconds
  • Memory Usage 2,375KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete