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

Reply
 
Thread Tools
Your Current Alexa Rank (Integrated With VB) Details »»
Your Current Alexa Rank (Integrated With VB)
Version: 1.00, by Mr Chad Mr Chad is offline
Developer Last Online: Apr 2009 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.0 Beta 1 Rating:
Released: 06-14-2006 Last Update: Never Installs: 44
 
No support by the author.

If you like it click


Installation Time: <2 mins
Template Edits: 1
Uploads: 1
VB Version: 3.6.0 Beta 1
Live Example (Look at my footer): http://beasttoast.com

Description:
This hack will make your site go to alexa.com once a day and grab your current alexa rank. You can place your rank anywhere by using $alexarank.

Installation Instructions:
  1. Open your 'includes/config.php' and Find:
    PHP Code:
    ?> 
    Replace With:
    PHP Code:
    global $specialtemplates;
    $specialtemplates array_merge(
    $specialtemplates, array(
    'alexarank',
    ));  
    ?> 
  2. Upload Product!
  3. Now add this in any template where ever you want to show the rank:
    PHP Code:
    {$vbulletin->alexarank

    For example in footer page:
    HTML Code:
    <br /> Alexa Rank: {$vbulletin->alexarank} <br />
  4. Run the schedulted task:
    'Alexa Rank'
Screen Shot:




FAQ:- NONE
If you like it click

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 01-25-2007, 01:30 PM
Mr Chad's Avatar
Mr Chad Mr Chad is offline
 
Join Date: Jul 2005
Posts: 911
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it no longer works. until i find the time to fix it. it will remain like that,
Reply With Quote
  #13  
Old 03-17-2007, 03:37 PM
COBRAws's Avatar
COBRAws COBRAws is offline
 
Join Date: Oct 2002
Location: Buenos Aires
Posts: 864
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

mmmmm until yesterday it worked without a problem, now it doesnt.


Looking at the code @ alexa.com I found that now, they use a premium tool for displaying this type of that on your/my site.

Code:
<span class="body"> Traffic Rank for SITE.COM:</span><span class="descBold">	&nbsp;<!--Did you know? Alexa offers this data programmatically.  Visit http://aws.amazon.com/awis for more information about the Alexa Web Information Service.--><NOSCRIPT><span class="gray small">JavaScript Required.</span></NOSCRIPT>
<SCRIPT>
document.write(String.fromCharCode(33+16,34+16,30+14,38+19,40+20,56+27,54+26,65+32,74+36,42+20,40+20,32+15,56+27,54+26,65+32,74+36,42+20,33+16,40+20,77+38,75+37,65+32,74+36,42+20,40+20,32+15,77+38,75+37,65+32,74+36,42+20,36+17))</SCRIPT></span>
So instead of storing the rank number on the DB, now the product should store the JS code.
Reply With Quote
  #14  
Old 03-26-2007, 04:12 PM
adhari_com's Avatar
adhari_com adhari_com is offline
 
Join Date: May 2004
Location: Bahrain
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's much easier to use the code provided by Alexa themselves.
Reply With Quote
  #15  
Old 03-27-2007, 11:41 AM
GoLDeNLaNd's Avatar
GoLDeNLaNd GoLDeNLaNd is offline
 
Join Date: Nov 2006
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it is very nice
Reply With Quote
  #16  
Old 04-06-2007, 07:06 AM
seangworld's Avatar
seangworld seangworld is offline
 
Join Date: Sep 2002
Location: Chesapeake, VA
Posts: 272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

uh...

there is no "?>" in the config file.
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 12:14 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10629 seconds
  • Memory Usage 2,261KB
  • Queries Executed 22 (?)
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
  • (1)bbcode_code
  • (1)bbcode_html
  • (3)bbcode_php
  • (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
  • (1)pagenav_pagelink
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)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_postinfo_query
  • fetch_postinfo
  • 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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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