vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Forum stats on signature image (https://vborg.vbsupport.ru/showthread.php?t=50848)

Velocd 03-28-2003 04:15 PM

Quote:

>>having all these damn signatures here slows this thread down to a crawl....

ahaha yea, now we're not only dependent on vB.org's server response but everyone else's.
Maybe Filburt?s version where the image is outputted through running the script, but this hack simply saves the outputted image in a directory as a JPG so you can link to it as you would a regular signature image, so there should be no dependency on anyone?s server response, nor that much of a slow down (except for the kilobytes each signature takes of course).

limey 03-28-2003 04:34 PM

Nice hack, I like it. Need to get my cron in order will try overgrow's addon.

Fi_InCogNiTo 03-28-2003 04:43 PM

Quote:

Yesterday at 02:12 PM Fi_InCogNiTo said this in Post #54
Can someone send me the code to make this do:

Just gather the amount of posts in only one forum for one user?

*example: I want a sig to let people know how many posts are in my news forum just by me.


NuclioN 03-28-2003 04:47 PM

Warning: imagecreatefromjpeg: Unable to open './forum/images/signature/sig.jpg' for reading

Fi_InCogNiTo 03-28-2003 04:49 PM

Quote:

Today at 01:47 PM NuclioN said this in Post #64
Warning: imagecreatefromjpeg: Unable to open './forum/images/signature/sig.jpg' for reading
Try checking the way you named the directory it's calling for. It's spelled "signatur" in the php file ;)

base 03-28-2003 05:38 PM

also remember to set the proper permissions for the 'signatur' folder - chmod 777 i think it was

Fi_InCogNiTo 03-28-2003 06:01 PM

I'm having a strange problem

Ever since I added this hack, my who's online has been showing 2 guests with almost the same ip(last number is dif in IP). They are always creating a new thread, even though there is never a new thread created, and they are on 24/7.

Screenshot attached :confused:

wooolF[RM] 03-28-2003 08:47 PM

]uhm.. what about protecting the folder where signature.jpg is? it is chmodded 777 and anyone can do evil things with it...

BTW, great hack :)

Link14716 03-28-2003 09:18 PM

wooolF, try this:
PHP Code:

$text "$numbermembers$totalthreads$totalposts"


NuclioN 03-28-2003 09:27 PM

I can't get this to work :(
These are the path"s:

$zeilenabstand = 15; //Line spacing of stats text
$vorlagedatei = "forum/images/signatur/sig.jpg"; //Relative path to underlying signature image
$ausgabedatei = "forum/images/signatur/signature.jpg"; //Relative path and Name to new signature image with stats

error in attach


All times are GMT. The time now is 10:51 AM.

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.01182 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
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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