Current time: 04-16-2014, 10:22 PM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 4 Votes - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MyBB Signature v1.0
09-06-2008, 11:11 PM
Post: #131
RE: MyBB Signature v1.0
o. Is there anyway to get a free version of MYPS for 1.4? lol?

[Image: Chasingu.png]
Visit this user's website Find all posts by this user
Quote this message in a reply
09-07-2008, 05:55 AM (This post was last modified: 09-07-2008 06:02 AM by abhisheksaini.)
Post: #132
RE: MyBB Signature v1.0
all i am getting instead of signature is [Image: mybbsig.php]
i am putting in my sig like....
[img]www.mysite.com/forums/mybbsig.php[/img]

and I changed the path to my forum in the php file
Find all posts by this user
Quote this message in a reply
01-04-2009, 05:47 AM
Post: #133
RE: MyBB Signature v1.0
Very nice!Smile
Find all posts by this user
Quote this message in a reply
01-06-2009, 12:12 PM
Post: #134
RE: MyBB Signature v1.0
I love it.. Thx

New Beta Portal from MyBB Indonesia to get local support
My 'Simple' Unique Plugin here Smile
Find all posts by this user
Quote this message in a reply
01-07-2009, 05:39 PM
Post: #135
RE: MyBB Signature v1.0
This user has been denied support. This user has been denied support.
FYI...I updated this to version 3. If you had your board set to closed the image wouldn't display but that's now fixed. So if you are running this with image error just update. If you do not have a mybb subscription but you have an older version simple alter one line:

require "./globals.php";

to

require_once "./inc/init.php";

That should do it.
Visit this user's website Find all posts by this user
Quote this message in a reply
01-07-2009, 05:42 PM
Post: #136
RE: MyBB Signature v1.0
Thanks for the update!Smile
Find all posts by this user
Quote this message in a reply
04-22-2009, 04:08 PM
Post: #137
RE: MyBB Signature v1.0
error says

Direct initialization of this file is not allowed.

[Image: mybbsig.php]
Visit this user's website Find all posts by this user
Quote this message in a reply
07-05-2010, 07:26 PM
Post: #138
RE: MyBB Signature v1.0
(04-22-2009 04:08 PM)cobarde Wrote:  error says

Direct initialization of this file is not allowed.

Mine is similar:

Direct initialization of this file is not allowed.

Please make sure IN_MYBB is defined.

That's what came up for me :o
Find all posts by this user
Quote this message in a reply
08-06-2010, 12:36 AM
Post: #139
RE: MyBB Signature v1.0
[Image: mybbsig.php]

test

Visit this user's website Find all posts by this user
Quote this message in a reply
04-06-2011, 12:36 PM (This post was last modified: 04-06-2011 12:37 PM by metonator.)
Post: #140
RE: MyBB Signature v1.0
UPDATE FOR MYBB 1.6

PHP Code:
<?php

/**
 * MyBB Signature v1.0
 * Copyright © 2006 CreateMyBB, All Rights Reserved
 *
 * Website: http://www.createmybb.com
 * Created by Adam of CreateMyBB.com
 * Updated to work with MyBB 1.2 by Tikitiki
 */
 
$link "mybbsig.png";

define("IN_MYBB"1);
define("NO_ONLINE"1);

require 
"./global.php";

//Total Members
$query $db->simple_select("users""COUNT(*) as rows");
$total_members_result $db->fetch_field($query"rows");

//Total Posts
$query $db->simple_select("posts""COUNT(*) as rows");
$total_posts_result $db->fetch_field($query"rows");

//Newest Member
$query $db->simple_select("users""*""", array('order_by' => 'uid''order_dir' => 'desc''limit' => 1));
$newest_member_result $db->fetch_array($query);

//Total Threads
$query $db->simple_select("threads""COUNT(*) as rows");
$total_threads_result $db->fetch_field($query"rows");

Header("Content-type: image/png");
$img_handle imageCreateFromPNG($link);
$color ImageColorAllocate ($img_handle100100100);

ImageString($img_handle31010,  "Total Members: {$total_members_result}"$color);
ImageString($img_handle31040,  "Newest Member: {$newest_member_result['username']}"$color);
ImageString($img_handle320010,  "Total Posts: {$total_posts_result}"$color);
ImageString($img_handle320040,  "Total Threads: {$total_threads_result}"$color);
ImagePng($img_handle);
ImageDestroy($img_handle);
?>
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication