1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Relocate Cron.php image

Discussion in 'XenForo Questions and Support' started by Sean S, Dec 13, 2010.

  1. Sean S

    Sean S Active Member

    Good afternoon,

    was wondering if you could tell me where and how I can replace the location of the 1px by 1px cron.php image that shows up at the very bottom of the page.

    What template or file does this image gets called from?

    thank you,
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Admin CP -> Appearance -> Templates -> PAGE_CONTAINER

    <xen:if is="{$cronLink}"><img src="{$cronLink}" width="1" height="1" alt="" /></xen:if>
    Sean S likes this.
  3. Brogan

    Brogan XenForo Moderator Staff Member

    It's called in PAGE_CONTAINER.

    Edit: Beaten to it by my nemesis :D
    Sean S likes this.
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Oh, and the image itself is actually encoded in the PHP code:


    	 * Outputs the blank image needed for cron page embedding.
    	public function outputImage()
    		header('Content-Type: image/gif');
    		echo base64_decode('R0lGODlhAQABAIAAAP///wAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw=='); // transparent gif
    Sean S likes this.
  5. Sean S

    Sean S Active Member

    Great, thanks for the help Jake and Brogan :)

Share This Page