Page 1 of 1

[Alpha] UserBarData

Posted: 02 Jun 2008, 15:40
by Obsidian
MOD Title: UserBarData
MOD Author: [url=http://startrekguide.com/community/memberlist.php?mode=viewprofile&u=8985]sTraTo[/url] (A.K.A. [url=http://www.phpbb.com/community/memberlist.php?mode=viewprofile&u=480595]Desdenova[/url])
MOD Version: 0.5.2 Alpha 2
MOD Description: An image script that allows you to display a user's postcount & Cash amount (if Handyman's Cash MOD 0.3.2 is installed) within an image the size of a userbar, and if a background is specified, it can look like an actual userbar that has the specified user's live stats. Very easily customized!

Script is VERY easy to install, all it requires is some file copying. To customize the script, edit it in a UTF-8 BOMless PHP editor and go to the Override Controls section. Simply by reading the instructions inside the file, you can override certain features to prevent auto-activation or to set custom colors, etc. etc.

Script will automatically assume (unless there are overrides active) that the user is UID #2 if none is supplied.


Please, beware, the Cash MOD integration is still experimental. While it can't do anything to the Cash MOD, it might not grab the data properly and the script may end up looking like a mess because of it.

Tested on phpBB version: 3.0.1
Released: 27 May 2008

Installation Level: easy
Installation Time: ~ 1 Minutes

Download: [url=http://startrekguide.com/community/viewtopic.php?f=127&t=6784]Download provided by StarTrekGuide[/url]

Included: Three default userbar backgrounds. (ubar1.gif, ubar2.gif, ubar3.gif)

Script will fully display 350px wide by 19px tall userbars.

Overrides Available:
  • Disable user choice
  • Override default user
  • Disable rank query & display
  • Disable Cash MOD integration (only if Cash MOD is detected)
  • Override Cash ID (probably unneeded)
  • Disable backgrounds
  • Disable background choice (force certain background)
  • Set default background
  • Set text color
  • Set background color (if no background image is used)
  • Disable appearance of site URL
  • Disable auto-border
  • Change border colors
  • Adjust username vertical positioning
  • Disable usercolor integration
  • Font size override


Demo:

(Backgrounds:)
ubar1.gif: [img]http://infernalarcade.ej.am/stats.gif/index.php?u=53&bg=ubar1.gif[/img]
ubar2.gif: [img]http://infernalarcade.ej.am/stats.gif/index.php?bg=ubar2.gif[/img]
ubar3.gif: [img]http://infernalarcade.ej.am/stats.gif/index.php?bg=ubar3.gif[/img]

To come later:
  • Compatibility with upcoming Cash MOD 1.0.0 by Handyman
  • Workability when PHP SAFE_MODE is enabled.

Features:
  • Sessionless, I.E. no cookies generated!
  • No hardcoded language or language files or language edits! Uses the board's default common.php language file for the few language entries it needs.
  • Easily adapted!
  • SQL queries are written to be compatible with the SQL types supported by phpBB using the sql_build_query function. - (Only tested on MySQL and MySQLli)

Re: [Alpha] UserBarData

Posted: 02 Jun 2008, 22:45
by Brandon
Very nice Modification sTraTo.

:D

Re: [Alpha] UserBarData

Posted: 03 Jun 2008, 13:25
by Obsidian
Thanks Brandon. :)

Beware, this script doesn't like SAFE_MODE. See this topic if you can help: http://phpbbmodders.net/board/viewtopic.php?f=55&t=2702

Re: [Alpha] UserBarData

Posted: 09 Aug 2008, 18:53
by Nerdy
Hi all...
How to install UserBarData? :-D
I uploaded all files on ftp and big error
I can not install it

Re: [Alpha] UserBarData

Posted: 10 Aug 2008, 19:04
by igorw
Please post the error message, else it's impossible to help you.

Re: [Alpha] UserBarData

Posted: 11 Aug 2008, 07:22
by Nerdy

Re: [Alpha] UserBarData

Posted: 11 Aug 2008, 13:05
by igorw
Safe Mode warning: Cannot set environment variable 'GDFONTPATH' - it's not in the allowed list


Your host has enabled PHP's "safe mode", either ask them how to put 'GDFONTPATH' on the allowed enviroment variable list or ask them to disable "safe mode" because it's not safe and makes life a pain. Another thing worth trying is to disable DEBUG in config.php (assuming it's enabled).

As for the other errors, you are either missing some font file (visitor1.ttf) somewhere or you have to replace the following:

Code: Select all

$font = 'visitor1';

with:

Code: Select all

$font = 'visitor1.ttf';

Re: [Alpha] UserBarData

Posted: 16 Apr 2010, 16:18
by neuropass
Can someone explain how to use it? there are no instruction in the folder... :roll:

Re: [Alpha] UserBarData

Posted: 22 May 2010, 10:22
by mryozocripz
How to install UserBarData?

When i install this in my testing forum i got an error like this

Code: Select all

The image “http://mryozocripz.byethost8.com/userbardata.gif/” cannot be displayed, because it contains errors.

im newbie of phpbb forum.. please help me.. thanks in advance :roll: