Jump to content



  • Please log in to reply
1 reply to this topic

#1 Detail


    King Detail

  • Hosted
  • 7,767 posts
  • Location:Dayonic
  • Projects:Dayvi.com
  •  Blu Spy

Posted 18 January 2009 - 07:52 PM

I found my old StumbleUpon tips:


StumbleUpon is not much good for games modding, but game fans sites and mapping should benefit a little from those tips.

The html for the blue box:
<div style=\"width: 360px; border: 1px solid #BBD9EE; padding: 4px; background: #FAFAFA; font-size: 12px;\"><img src=\"http://www.stumbleupon.com/images/stumble7.gif\" alt=\"StumbleUpon\" align=\"left\" style=\"margin: 1px 3px 6px 3px;\" /> If you like this THING, please <i>thumbs up</i> it, so more Stumblers can find it :) </div>

I used to have a php code for checking if StumbleUpon.com was the referral and making it show that box, but i can't find it atm. I'll have to find it for a site i'm working on, when i do i'll post it here.

#2 Phil


    Force Majeure

  • Network Leaders
  • 7,976 posts
  • Location:Switzerland
  • Projects:Revora, C&C:Online
  •  Thought Police
  • Division:Revora
  • Job:Network Leader
  • Donated
  • Association

Posted 18 January 2009 - 08:33 PM

You could actually even do it with JavaScript if you don't want/have/like PHP code in the site.
if( typeof(document.referrer) != 'undefined' && document.referrer !== null && document.referrer.indexOf("stumbleupon.com"') !== -1 )
	// box-show-code-here

My Political Compass

Sieben Elefanten hatte Herr Dschin
Und da war dann noch der achte.
Sieben waren wild und der achte war zahm
Und der achte war's, der sie bewachte.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users