vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Signature Stats v3.04 (https://vborg.vbsupport.ru/showthread.php?t=65361)

cteselle 10-07-2004 04:59 PM

If you want to use a random base image each time the script is loaded:

Find:
PHP Code:

//full path to empty signature image (input image) 

Above Add:
PHP Code:

// Figure out which sig image to use
$rand_number rand(1,3); 

Change the $vorlagedatei line to something like this:
PHP Code:

$vorlagedatei "/path/to/your/forums/sig$rand_number.jpg"

Create sig1.jpg, sig2.jpg, sig3.jpg and place in your forum root.

If you want to have more than 3 images, change the "3" in the $rand_number line to reflect your number of images.

Hope this is useful to someone. :)

mharmon 10-08-2004 10:18 PM

Getting an error:

<b>Fatal error</b>: imagepng(): gd-png: fatal libpng error: Incompatible libpng version in application and library
in <b>/forums/signature.php</b> on line <b>267</b><br />

Watson 10-13-2004 11:52 AM

I cant get the line break to work, and I am using a ttf, any help on exactly where to put it.

I am doing it here

PHP Code:

// ########################### OUTPUT TEXT ###############################
// Use \n\r to make a line break (only for use with truetype font SO FAR)
// Will be developed to use with default font soon :)

//Output text
$output "Members: $numbermembers \n\r Threads: $totalthreads \n\r Posts: $totalposts";

$vorlage imagecreatefromjpeg("$vorlagedatei");

if (
$sgdver == "1")
{
$img imagecreatetruecolor($width,$height);
} else {
$img imagecreate($width,$height);



Watson 10-13-2004 03:39 PM

oh and got no clue where I would put this cron thing in, cause I cant use .php in the image tags in some forums

Watson 10-14-2004 03:24 PM

oh and for some reason some forums show a messagebroadcaster banner

any idea's on this too?

cteselle 10-14-2004 03:38 PM

Quote:

Originally Posted by Watson
oh and got no clue where I would put this cron thing in, cause I cant use .php in the image tags in some forums

If you do not know what this is, you should contact your server admin for details on how to add an entry to your crontab.

DWard 10-18-2004 12:18 PM

By the way, could people send me their suggestions for Signature Stats v4 please :)

MissKalunji 10-18-2004 08:31 PM

Quote:

Originally Posted by DWard
By the way, could people send me their suggestions for Signature Stats v4 please :)


Perhaps Random Banner?? :p

DWard 10-22-2004 08:24 AM

Quote:

Originally Posted by MissKalunji
Perhaps Random Banner?? :p

Is that all?? I'm gona have an easy job! :)

MissKalunji 10-24-2004 11:45 AM

Quote:

Originally Posted by DWard
Is that all?? I'm gona have an easy job! :)

and i thought it was hard :nervous:


All times are GMT. The time now is 09:20 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01610 seconds
  • Memory Usage 1,744KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete