vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - Your Current Alexa Rank (Integrated With VB) (https://vborg.vbsupport.ru/showthread.php?t=115116)

Mr Chad 05-08-2006 10:00 PM

Your Current Alexa Rank (Integrated With VB)
 
If you like it click
https://vborg.vbsupport.ru/


Installation Time: <2 mins
Template Edits: 1
Uploads: 1
VB Version: This actually works on 3.5.0 - 3.5.4
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:

https://vborg.vbsupport.ru/


FAQ:- NONE
If you like it click
https://vborg.vbsupport.ru/

Mr Chad 05-09-2006 12:43 AM

Can someone please test this out for me :)

I dont have time right now.

Mr Chad 05-09-2006 12:54 AM

Come on, lol

Smiry Kin's 05-09-2006 12:59 AM

i will soon dude :)

Smiry Kin's 05-09-2006 01:18 AM

is this right?

File Name: './alexarank_update.php.txt'

Smiry Kin's 05-09-2006 01:23 AM

cant seem to get it to work :(

Mr Chad 05-09-2006 01:29 AM

whats wrong with it?

Smiry Kin's 05-09-2006 01:39 AM

Alexa Rank is:

*blank*

nothing shows? :S

Ahsin1 05-09-2006 01:48 AM

Nice

Smiry Kin's 05-09-2006 01:48 AM

its the $alexarank

that isnt working i've checked the txt file and its shows my rank inside it


All times are GMT. The time now is 09:21 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.01074 seconds
  • Memory Usage 1,739KB
  • 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_html_printable
  • (3)bbcode_php_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