Dynamic users online banner

Sledmur

Web-Developer
Nov 29, 2011
459
98
This tutorial requires allitle bit of knowlege of php you may be able to do it if you dont know any. Its a tutorial on how to create a signature or a topsites banner that displays current up-to the minute information about your website. To use it follow the directions below and just visit and itll show!

Materials-

1. Just download this file which has all needed files.

Directions-

1. Open the Online.php
2. Edit the database variables.
3. Open Banner.png
4. Edit it how you want.
5. Upload Online.php and arial.ttf to your root directory, and banner.png to your /images/ directory.

To Edit Placements-

1. Open Online.php
2. Find the variable you want to edit. (for this ill use "imagefttext($image, 8, 0, 398, 45, $font_color, './arial.ttf', $online);")
3. In imagefttext($image, 8, 0, 398, 45, $font_color, './arial.ttf', $online); edit the bold part. (398 is the X-Axis (across), and 45 is the Y-Axis (up and down))

Example-

siggy.php
 

Gajeel

Well-Known Member
Oct 4, 2011
2,411
413
ok..i did..but i just dont know what i must write in banner url??
As he said, put your banner on (rootfolder)/images/ folder, if the folder does not exist, create one, then save the banner.png there. Now if you want to preview your banner, go to (url)/online.php. I cannot give example of the banner I made as the link of my hotel is there.
 

Users who are viewing this thread

Top