Jul 25, 2008

Trap17 Board Status Dynamic Image

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > PHP Programming
Pages: 1, 2

free web hosting

Trap17 Board Status Dynamic Image

galexcd
I was really board a few days ago and decided to make a trap17 board status image for my sig tongue.gif


That is the current beta. I'm still working on it so that it might display the most recent post or somthing, i'm not sure. After I finish it ill give out the source code but if you want one right now you can pm me and ill set one up to get the info on your account ^.^

So I was wondering how you members liked it? You'll probably think that its a waist of time, but alas as I said i was quite bored and had nothing better to do when i did it tongue.gif.

Reply

jlhaslip
I will be a Beta tester for this... What, if anything, do I need to do?

Reply

Plenoptic
Pretty interesting, I guess that'd make things a bit easier than going into the profile to see when they were last on and how many days since they were last on but the post count is seen every post anyway. I already have too much space taken up in my signature though. tongue.gif I'll try and think of some other features you can add in there to make it even more efficient.

Reply

galexcd
Oh didn't notice such quick replies! All you had to do was ask jlhaslip. Your personal image his here: http://www.creds.trap17.com/stats/jlhaslip.gif As I update the image yours will update too. Yes I know plenoptic it is kind of useless but alas it is fun at the same time!

Reply

jlhaslip


It seems to be picking up the Server time or your local time??? Maybe add the Time Zone information to that? ie: GMT +/- X hrs?

Reply

BuffaloHELP
Holy Moses!!

This is pretty interesting for Trap17 board. I think there might be few members who would be interested in your script. The Firefox extension plug-in was very popular... perhaps this may be the second popular script development from the members of Trap17 smile.gif


Reply

galexcd
QUOTE(jlhaslip @ Aug 5 2007, 09:05 PM) *
It seems to be picking up the Server time or your local time??? Maybe add the Time Zone information to that? ie: GMT +/- X hrs?


Yes I noticed this. I think for some reason its getting the time for GMT 0, but perhaps thats because a server is connecting to trap17 instead of a user. It isn't my time zone, so I am not quite sure where it came from, but I shall see if i can do something about it because I take in all the data as a string, so fixing it might be too hard to bother.

Once I add some more stuff, I might make something where users can sign up for their their own image. We shall see...

Reply

jlhaslip
That sounds about right. It is Noon here now and the Image is stating it is 6:00pm, which is GMT (given that I am GMT -7, but Daylight Savings Time).

Can you modify the script so that It echos out the GMT attribute? Or can each Image be modded to add/subtract the user's hours?

Reply

matak
QUOTE(alex7h3pr0gr4m3r @ Aug 6 2007, 06:10 PM) *
but perhaps thats because a server is connecting to trap17 instead of a user.


server echoes server time. i mean, that's... doh laugh.gif

Reply

galexcd
QUOTE(jlhaslip @ Aug 6 2007, 11:07 AM) *
That sounds about right. It is Noon here now and the Image is stating it is 6:00pm, which is GMT (given that I am GMT -7, but Daylight Savings Time).

Can you modify the script so that It echos out the GMT attribute? Or can each Image be modded to add/subtract the user's hours?


It would be quite hard to change the time. I'd have to parse the string and have it perhaps convert it back into an int and convert it back? Eww sounds like a lot of work. The only reason it is a string is because the place it is getting all its info from is your profile. Perhaps if trap17 made a page of information that php could read easier I would have more control but I'm sure that none of the admins would want to bother adding a page just for something small like this. I might even get rid of the last active, and in its place add some other stuff. I am not sure yet.

 

 

 


Reply

Latest Entries

Galahad
This is one great gadget... It MAY be rather useless, but that doesn't diminish it's usefulness smile.gif Did I mention I also love making great, but useless gadgets laugh.gif

Anyways, I have one, maybe more questions... How did you get Trap17 board to display it, or rather, how did you get the server to parse files with .gif extensions? Or did you use cron jobs to refresh the physical image every x minutes? I'm asking you this, because I made this online status thing, and would like to add it as my signature, and maybe even share it with the world... It's made up of two parts, one is software application, running on your computer, refreshing data in MySQL on my server, and the other is PHP script, that creates an image, with all the info needed... It also has Winamp history (10 last played songs)... I would really like to assist you on this, if you'd like, and we could exchange knowledge smile.gif

Here's what I made:

Text mode: http://status.galahad.trap17.com/

Image: http://status.galahad.trap17.com/stat.php

Hope to be hearing from you soon...

Reply

jlhaslip
Look forward to reciving the code anytime you send it. No rush... tongue.gif

I'll probably have some time in the winter season... tongue.gif

Reply

galexcd
Sure no problem. I've been really busy lately so I haven't had time to do anything for it and my first year of college is in about a week so If you want you can even take over the project because I'm not sure how much time I'll have to be able to devote to trap. When I get a chance I'll pm you my code, or post it here. Right now I'm not at a computer with FTP capability to my website.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Pages: 1, 2
Similar Topics

Keywords : trap17 status dynamic image

  1. Can I Make Dynamic Menu In Php - is it posible to make dynamic menu in php without javascript (7)
    As there are many java script by which we can have event based interaction like,message on mouse
    over etc,that we can create dynamic menu in javascripts to make navigation bar ,but is it possible
    in php to have this acomplished without javascripts,i am new to php,is it possible?. Thanks...
  2. Watermark Your Image With Simple Php Script - found it on the net (34)
    This script was found on the net http://tips-scripts.com/?tip=watermark#tip B&T's Tips &
    Scripts site. Just in case the site may not show, I will include the code here: List of things
    needed: 1. your image in any format 2. watermark image--in gif format with transparent background 3.
    script below with name (i.e. watermark.php) CODE <?php // this script creates a watermarked
    image from an image file - can be a .jpg .gif or .png file // where watermark.gif is a mostly
    transparent gif image with the watermark - goes in the same directory as this script // ...
  3. Image Upload - ?!? (11)
  4. Dynamic Php Pages - Nice tutorial (5)
    This is a really good tutorial on making php pages that normally appear as
    www.domainname.com/links.php appear as www.domainname.com/index.php?page=links
    http://nuwen.com/tutorials/php-dynamic-pages ...
  5. Dynamic Image / Signature Generator - a simple code to change text on an image (12)
    In search of dynamically changing quote, saying or all other types of text on an image I came across
    a code that I have modified to fit my initial usage. This procedure requires two files and short
    knowledge of PHP. If you are familiar with Trap17's sig rotation code you will understand this
    procedure very fast. Code 1: dynamic_sig.php (you can rename this to index.php and you'll see
    at the end why) Code 2: a simple text file named anything (I will call it name.txt ) Code 1
    CODE <?php header("Content-type: image/png"); �...
  6. Script That Tracks The User Status - how can I track on or offline users? (4)
    long explaination: hey, I'm building a user profile site right now. And, I kinda know how to
    make a online/offline detector, but not totally sure. I know I can make a mysql database to track
    them, but how does it entrer the information? I could easily put in a field where when they login it
    sets them to online, but if they don't sign out, and just exit the browser, how can I tell.
    short: I want someone to tell me how to make a online/offline status detector, like they have here
    on trap17. I'd be thrilled if you can post to this, thanks, arcticsnpr...
  7. Php And Flash Image Gallery - Need some help in creating or editing an xml file while viewing some o (5)
    Hello there and thanks for the helping hand you are offering. PHP newbie here! /ph34r.gif"
    style="vertical-align:middle" emoid=":ph34r:" border="0" alt="ph34r.gif" /> So here is my problem:
    On my website I have a flash image gallery.The way the gallery works is by uploading pictures in a
    folder and editing? an xml file.(pics.xml) where it adds the following code when you upload a
    picture: CODE <pictures>     <image location="nameofpicture1.jpg"
    desc="" />     <image location="nameofpicture2.jpg" desc="" /&#...
  8. Getting An Array Value Of A Dynamic Variable - (9)
    Ok i can't believe I need help in php but I can't figure this out... If i have an array,
    lets say called test, how do i get a certain value from that array when referencing it dynamically
    by either a string or another variable? Example: CODE $test=array(1,2,5);
    $name="test"; //Doesn't work: echo $$name[0]; /Doesn't
    work: echo ${$name}[0]; ...
  9. Get A Image Indentifier With Gd Library - GD library question (7)
    Hey fellow coders, I'm having a problem. If you output a im indentifier in php with gd libary.
    With this method for example: CODE <?
    header("(anti-spam-(anti-spam-(anti-spam-content-type:)))
    image/png"); $imgWidth = 50; $imgHeight = 50;
    $image=imagecreate($imgWidth, $imgHeight); $colorBlack =
    imagecolorallocate($image, 0, 0, 0);  // first color you define with colorallocate is
    also the color of the background of your image imagepng ($image); image...
  10. Unofficial Trap17 Hosted Members Directory - (13)
    This is the Trap17 edition of the Hosted Members Directory. A script initially written by me for the
    Astahost forums. The script has gone through many a changes and is currently in version 4 which
    includes the following features:- > Listing of hosted members. > Listing of the websites of the
    hosted members. > Validation of the websites (whether the site is suspended, working or not not
    working, etc) > Save/Load result to/from database. > Multithreaded for faster operation. > Status
    messages, images and progress bar to keep you informed of the process. Link to the Scrip...
  11. Flipping An Animated Gif Image W/ Gd Library - Help (1)
    I need an animated gif image flipped using GD library in PHP. I wrote a script to flip still
    images, but it doesn't work on animated images. This is probably because I have the script
    moving 1 column of pixels at a time, and switching them around. How would I make multiple frames?
    Any help would be great! Thanks!...
  12. More Dynamic ?id=browsing With Php (associative Array) - Just create array and watch php code do the rest (1)
    The thing that has been bugging me for a while was that switch statement that we use to create ID
    browsing (some use If-Ifelse but results are the same for both). I wanted to figure out a way to use
    more dynamic switch statement so that i only need to update my links array in order to create links
    for template. With use of foreach, array_keys, and in_array functions finally i managed to do so.
    Also i'm planing on changing foreach with array_walk but i'll do that later. Now for the
    code.. First we create an associative array something like this CODE $gl...
  13. Script Won't Work At Trap17 -- Version Differences? - But works flawlessly in my machine... (12)
    Here is the code: CODE <?php $data_array = array(); $data_array2 =
    array(); $file_name = "menu_data.txt"; $handle =
    @fopen($file_name, "r"); if (!$handle)  {     echo "File
    Handle Not Available For Use"; exit;         } while (($data = fgetcsv(
    $handle, 1000, ",")) !== FALSE) {         if ( (strpos
    ($data[2],"$page=")))     {
                        $data_array[] =  t...
  14. Detect Image Resolution Without Gd - Also stop error if not found (1)
    Hi, I have come accross some starnge problem in PHP. I wanted to detect the image resolution in
    of a URL specified by the user. This is possible via getimagesize() function of PHP that is
    independent of GD library. But this function generates a E_WARNING Error if the image is not there.
    What shall i do to stop this warning ?? I dont want to show the Error in PHP style but my style of
    error reporting. Please help me....
  15. Looking For Php Script : Image Thumbnail Like Imageshack. - (2)
    Does anyone know a code like the one ImageShack uses, like this one. That would be just
    awesome, I hate doing it by hand, such a hassal. Until I can find a code similar to that, I think I
    will just use ImageShack....
  16. Image Galleres - (10)
    what is a really good image gallery i can hook up for my phpnuke site?? something easy to set up to.
    thanks...
  17. Imap Status Set Flags Problem - IMAP status set flags problem (1)
    i'd like to set or clear the seen flag to any selected message: CODE if
    (isset($_GET['hmark']) &&
    isset($_GET['dmsg']) &&
    isset($_GET['fresh'])) {     $dmsg =
    $_GET['dmsg'];     $flagtype = $_GET['hmark'];
        $fresh = $_GET['fresh'];     $used =
    isset($_SESSION['used']) ? $_SESSION['used'] :
    array();     if (&#...
  18. Dynamic Drop Down List <select> - (3)
    Hi, What I am trying to achieve is when you have a form drop down menu, it displays all the
    categories from the directory, with all the indentations. Something like when you submit your site
    to a directory. Now I've got it almost working, but I can figure out how to indent it. The code
    below, I've used a spacer gif, but obviously that won't work! I've had a go at
    this, as you can see, but that does do the indentations, unless I'm doing something wrong here.
    Any help appreciated - thanks. PHP Code: CODE function maketree($root...
  19. Php Photo And Image Gallery Script - PHP Photo And Image Gallery Script (2)
    This script is great and the documentation is excellent!! I have used it on my site without
    really knowing much about PHP. Script ...
  20. Image Upload And File Size - (2)
    Hi, I'm trying to upload rather large jpgs files (2560x1920 and ~ 2 megs in size) to my server
    via PHP. The problem I am having is that when I upload and attempt to resize by creating a new
    image, the new image is always black. Code I'm using is: PHP Code: CODE if(
    !empty($thefile_name) ) {                                                  
                                                 $query = "INSERT INTO coldwell_images
    (imagename) VALUES ('insertimage')";                    $result ...
  21. Dynamic Included Menus - path specification (8)
    I am looking for a way to make a dynamic menu using php and include, basicly I want to make a file
    that contains html formating source and links and include it somewhere in all my pages, the problem
    is that links are taken literaly and refered to as to where the html is running from. So is there a
    way I can make a file and include it in my pages, then it will determin where the page is running
    from, and generate the links with an approperate amount of ../../'s so if my index is at root,
    but every section has it's own folder, I want to be able to include this fil...
  22. I Need A Php Editor - I need that for image editing (1)
    I need a php editor whichc can be used for the image editing like FrontPage for HTML. Can any body
    give a link for that...
  23. Write Random Text To Image - PHP script help! (5)
    I'm trying to create a script that writes text to an image. CODE
    header("Content-type: image/png"); $_phrases = array( "Test 1",
    "Test 2", "Test 3", "Test 4", "etc." ); $_rand_phrase =
    $_phrases[rand(0,count($_phrases)-1)]; $_image =
    imagecreatefrompng("gmail.png"); $_user_width =
    imaagettfbbox(9,0,"tahoma.ttf",$_rand_phrase); $_x_value =
    (200-($user_width[2] + 113)); ...
  24. Using The Image Editing Functions Of Php - Specifically, lines or regular polygons. (4)
    I've been experimenting a little with PHP's image functions and I was trying to see if I
    could make something that looked 3D, so I started with a cube because it's simple. To make an
    isometric picture of a cube, you need to start with a regular hexagon. However, making a regular
    hexagon isn't the easiest thing. Is there a function to create a regular polygon, or specify an
    angle and magnitude for a vector?...
  25. Returning Game Status - retrieving game status (11)
    I'm currently making a fansite for a game thats coming out soon and im wondering how I can show
    the game status: Meaning..is the game down? or is the game up? I of course don't have access to
    their servers and I have no IP whatsoever, Im very sure they won't give out much info on their
    servers either, because their current game (GunBound) is getting hacked like crazy, releasing server
    info might cause problems for both me and Softnyx At the moment I have only the forum status (wich
    is pretty easy), and a n/a image on my Game Status. Is there a possibility ...
  26. Php Dynamic News Updating Using Mysql - changing a sites news using MySQL and PHP (3)
    Hey everyone. It appears to me that everyone really know what they are doing in this forum and im a
    pretty new to this PHP and MySQL combo. I know some PHP but not MySQL....I am trying to make a new
    website but i want to be able to go to a certain update page and change the news on the main index.
    For example: - The main page show news updates of the last 10 post. - I go to the update page
    and then fill in the form and it will add this post to the top of the list and still only print the
    top 10. I have no clue how to do this with MySQL. At the moment i am doing it u...
  27. About Cragllo's Script Time File. - Located on support.trap17.com (7)
    It's incorrect.. It gives you a HUGE number with E-5 or something at the end. Just do this for
    your file: CODE <?php // At the very top of the document! $start_time =
    microtime(); // ... // ... // At the very BOTTOM of the document $end_time =
    microtime(); // Footer function footer() { print 'Copyright ©2005 -
    YOURNAME<br />Script executed in
    '.round($end_time-$start_time,5).' seconds.'; } ...
  28. Calling A Variable From A Dynamic List In A Sql Statement - (2)
    I would be greatful if anyone could help me out, I have been stuck on this for a while. The problem
    is that I have a drop down menu which I get the contents of from a database. Then when I press the
    get details button I want to use the value selected in my drop down menu and pass it into an SQL
    statement to recieve all te relevent info. Everything works if I specify a known variable, but the
    problem seems to be passing a variable in which is part of the array. Below is the code for the drop
    down menu and the Sql statement i'm trying to execute. drop down menu: �...
  29. Image/scrolling Menu Correlation - Help.... plz... (0)
    Hey Guyz... I'm working on re-designing my website, and I need a way to set-up my affiliates
    page. I have several (decent looking, not that it matters) images for my possible affiliates to
    choose from. I currently have this code in effect... CODE <html> <p
    align=center>Two different sized advertisments are currently available for ad-exchanges.
    Purchasing advertising is currently unavailable. Here are your ad-choices.<select multiple
    name="images" size=5><option>88x31 pixel box<option>120x240 pixel
    tower</select...



Looking for trap17, board, status, dynamic, image

Searching Video's for trap17, board, status, dynamic, image
Can I Make
Dynamic Menu
In Php is it
posible to
make dynamic
menu in php
without
javascript
Watermark
Your Image
With Simple
Php Script
found it on
the net
Image Upload
?!?
Dynamic Php
Pages Nice
tutorial
Dynamic
Image /
Signature
Generator a
simple code
to change
text on an
image
Script That
Tracks The
User Status
how can I
track on or
offline
users?
Php And
Flash Image
Gallery Need
some help in
creating or
editing an
xml file
while
viewing some
o
Getting An
Array Value
Of A Dynamic
Variable
Get A Image
Indentifier
With Gd
Library GD
library
question
Unofficial
Trap17
Hosted
Members
Directory
Flipping An
Animated Gif
Image W/ Gd
Library Help
More Dynamic
?id=browsing
With Php
(associative
Array) Just
create array
and watch
php code do
the rest
Script
Won't
Work At
Trap17 --
Version
Differences?
But works
flawlessly
in my
machine...
Detect Image
Resolution
Without Gd
Also stop
error if not
found
Looking For
Php Script :
Image
Thumbnail
Like
Imageshack.
Image
Galleres
Imap Status
Set Flags
Problem IMAP
status set
flags
problem
Dynamic Drop
Down List
<select&g
t;
Php Photo
And Image
Gallery
Script PHP
Photo And
Image
Gallery
Script
Image Upload
And File
Size
Dynamic
Included
Menus path
specificatio
n
I Need A Php
Editor I
need that
for image
editing
Write Random
Text To
Image PHP
script
help!
Using The
Image
Editing
Functions Of
Php
Specifically
, lines or
regular
polygons.
Returning
Game Status
retrieving
game status
Php Dynamic
News
Updating
Using Mysql
changing a
sites news
using MySQL
and PHP
About
Cragllo'
s Script
Time File.
Located on
support.trap
17.com
Calling A
Variable
From A
Dynamic List
In A Sql
Statement
Image/scroll
ing Menu
Correlation
Help....
plz...
advertisement



Trap17 Board Status Dynamic Image



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE