PDA

View Full Version : Miscellaneous Hacks - Your Current Alexa Rank (Integrated With VB)


Mr Chad
06-14-2006, 10:00 PM
If you like it click
https://vborg.vbsupport.ru/ (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=118636)


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:
Open your 'includes/config.php' and Find:
?>
Replace With:
global $specialtemplates;
$specialtemplates = array_merge(
$specialtemplates, array(
'alexarank',
));
?>
Upload Product! :)
Now add this in any template where ever you want to show the rank:{$vbulletin->alexarank}
For example in footer page:
<br /> Alexa Rank: {$vbulletin->alexarank} <br />
Run the schedulted task:
'Alexa Rank'Screen Shot:

http://beasttoast.com/thosting/files/1/alexarank_thumb.png
(http://beasttoast.com/thosting/files/1/alexarank.PNG)

FAQ:- NONE
If you like it click
https://vborg.vbsupport.ru/ (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=118636)

Mr Chad
06-15-2006, 04:22 AM
there currently is a problem with the schudled task that is added, to fix it just go to the schuduled task manager and edit the Alexa rank one add the needed info (description, just make anything up) and save it... Then its up and running.

If you do not do this it will say that its next run time will be in 1969... lol

Snake
06-15-2006, 10:33 AM
Very nice hack! :)

rogersnm
06-16-2006, 07:48 PM
it's good if you want to show everyone that there are 500,000 sites that are better than yours xD. But seriously cool hack, well done.

Ber|Art
10-20-2006, 04:25 PM
I cannot see the screeenshot? :( (Red-Cross image?) I use IE6
Live Example (Look at my footer): http://beasttoast.comI cannot see the live sample in your footer?

Domenico
10-20-2006, 04:41 PM
Hi! Can you make it so it can take your rank from the regional(country) top 100 list ?

Domenico
11-01-2006, 12:36 PM
Someone, anyone?

Mr Chad
01-07-2007, 04:40 AM
ok then...

Brandon Sheley
01-13-2007, 05:45 PM
I cannot see the screeenshot? :( (Red-Cross image?) I use IE6
I cannot see the live sample in your footer?

I think this site has it
http://www.forumsclub.net/
you can see down in the bottom right



I've tried on my site and does this work on forum in a subdir ?

tried it on http://forum.vbulletinsetup.com and it shows as 0
and I did runt he scheduled task

btw, when i run the scheduled task this is what I see

alexa
URL: forum.vbulletinsetup.com

Done

Brandon Sheley
01-24-2007, 03:10 PM
12 days and no answer :(

guess I'll uninstall

Mr Chad
01-25-2007, 01:30 PM
it no longer works. until i find the time to fix it. it will remain like that,

COBRAws
03-17-2007, 03:37 PM
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.

<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,7 7+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.

adhari_com
03-26-2007, 04:12 PM
It's much easier to use the code provided by Alexa themselves.

GoLDeNLaNd
03-27-2007, 11:41 AM
it is very nice :)

seangworld
04-06-2007, 07:06 AM
uh...

there is no "?>" in the config file.