[Alpha] UserBarData

Post your MODs, receive and provide feedback!
Topics in this forum are not for MOD support, they are for giving the author feedback.
Forum rules
The topics in this forum are not for general MOD support, they are for giving the MOD author some feedback, ideas and bug reports.

[Alpha] UserBarData

Postby Obsidian » 02 Jun 2008, 15:40

MOD Title: UserBarData
MOD Author: sTraTo (A.K.A. Desdenova)
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: Download provided by StarTrekGuide

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: Image
ubar2.gif: Image
ubar3.gif: Image

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)
User avatar
Obsidian
Supporter
Supporter
 
Posts: 866
Joined: 13 May 2008, 15:20
Real name: Damian

Re: [Alpha] UserBarData

Postby Brandon » 02 Jun 2008, 22:45

Very nice Modification sTraTo.

:D
Image
array(
'Brandon' => ' VALIDATE_USER ',
),
User avatar
Brandon
Member
Member
 
Posts: 63
Joined: 08 Apr 2008, 00:11
Location: USA
Real name: Brandon

Re: [Alpha] UserBarData

Postby Obsidian » 03 Jun 2008, 13:25

Thanks Brandon. :)

Beware, this script doesn't like SAFE_MODE. See this topic if you can help: viewtopic.php?f=55&t=2702
User avatar
Obsidian
Supporter
Supporter
 
Posts: 866
Joined: 13 May 2008, 15:20
Real name: Damian

Re: [Alpha] UserBarData

Postby Nerdy » 09 Aug 2008, 18:53

Hi all...
How to install UserBarData? :-D
I uploaded all files on ftp and big error
I can not install it
Nerdy
New member
New member
 
Posts: 2
Joined: 13 Jun 2008, 15:18
Location: Czech Republic, Chomutov
Real name: Jakub

Re: [Alpha] UserBarData

Postby igorw » 10 Aug 2008, 19:04

Please post the error message, else it's impossible to help you.
User avatar
igorw
Past Contributor
Past Contributor
 
Posts: 2321
Joined: 01 Jun 2006, 20:48
Real name: Igor

Re: [Alpha] UserBarData

Postby Nerdy » 11 Aug 2008, 07:22

Nerdy
New member
New member
 
Posts: 2
Joined: 13 Jun 2008, 15:18
Location: Czech Republic, Chomutov
Real name: Jakub

Re: [Alpha] UserBarData

Postby igorw » 11 Aug 2008, 13:05

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';
User avatar
igorw
Past Contributor
Past Contributor
 
Posts: 2321
Joined: 01 Jun 2006, 20:48
Real name: Igor

Re: [Alpha] UserBarData

Postby neuropass » 16 Apr 2010, 16:18

Can someone explain how to use it? there are no instruction in the folder... :roll:
neuropass
New member
New member
 
Posts: 20
Joined: 12 Apr 2010, 17:07

Re: [Alpha] UserBarData

Postby mryozocripz » 22 May 2010, 10:22

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:
mryozocripz
New member
New member
 
Posts: 1
Joined: 22 May 2010, 01:14


Return to MOD Feedback

Who is online

Users browsing this forum: No registered users and 1 guest