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)

DWard 08-07-2004 04:40 PM

Quote:

Originally Posted by artfag
If I uncomment line one, and comment line 2, I get the image to show up with no text on it. I can't figure out what yyou mean by line 12 and line 22. Because that makes no sense to me.

http://www.emocrap.com/forums/signature.php

See it shows up but with no text on the image. I really don't want to use the default font, but as per my post above the other way just doesn't want to work.

Sorry it's a bit unclear. This is what it should read:

Uncomment LINE1 and comment LINE2 to use default font.

If this doesn't work, then you may need to contact your web host to see if they have disabled the functions 'imagestring' and 'imagettftext'.

Blam Forumz 08-07-2004 08:04 PM

How do I move the text around?

DWard 08-08-2004 06:28 AM

Quote:

Originally Posted by Blam Forumz
How do I move the text around?

Theres two variables at the top of the script called $top and $left, you must edit those to mode the text around.

Blam Forumz 08-08-2004 06:51 AM

Could ya give me some sort of guide please,? im not exactly sure how to move them

oldfan 08-10-2004 03:50 PM

//Width of banner image
$width = yoursize;

//Height of banner image
$height = yoursize

//Left text-margin
$left = 296;

//text-margin from top
$top = 30;

//Font Size
$fontsize = 10;

//Line-spacing of text
$zeilenabstand = 0;

oldfan 08-10-2004 03:52 PM

and this will make your text appear one ontop of each other

$output = " Members: $numbermembers\n\r Threads: $totalthreads\n\r Posts: $totalposts\n\r Online: $totalonline";


like this http://bbs.metallifukinca.com/signature.php

Natch 08-10-2004 10:16 PM

To be perfectly frank, there is a better way for the text to appear one on top of the next ...
Code:

$output[] = "Members: $numbermembers";
$output[] = "Threads: $totalthreads";
$output[] = "Posts: $totalposts";
$output[] = "Online: $totalonline";

This works as the original script did - walks thru an array of lines for output...

oldfan 08-11-2004 02:37 AM

thanks, I'll try that :)


Quote:

Originally Posted by Natch
To be perfectly frank, there is a better way for the text to appear one on top of the next ...
Code:

$output[] = "Members: $numbermembers";
$output[] = "Threads: $totalthreads";
$output[] = "Posts: $totalposts";
$output[] = "Online: $totalonline";

This works as the original script did - walks thru an array of lines for output...


Meltingfire 08-12-2004 12:46 PM

I have a small problem when running it as a vb-cronjob.
The member-count is displayed but threads and post are completly empty.

When i run it "manually" it will generate a correct image... even if i press the "Run now" button in cronjob it will generate it correctly

Could it be that when running as a vb-cronjob it sometimes doesnt have the time to run the complete code because a user aborts the page-load. (If im not misstaken cronjobs are runned when a user access a vb-page and there is a scheduled task that needs to be run)

Would it maybe be solved if you added ignore_user_abort(true) and (false) at the beginning and end of he script?

Natch 08-12-2004 03:44 PM

This issue occurs for some but not others - I'm wondering if it could be related to a permissions issue - maybe the guest (the cron job) doesn't have permissions to access those tallies...


All times are GMT. The time now is 10:14 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.01470 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)bbcode_code_printable
  • (3)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