vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Mini Mods - ForumSig 1.0 (https://vborg.vbsupport.ru/showthread.php?t=127076)

hilfe-forum 09-20-2006 06:24 PM

Quote:

Originally Posted by Phooey
Is there any way to make the text size a bit larger?

Edit: Nevermind, figured it out. You can see my modded version in my sig. :D

/installed

please tell me the way to change text size

LICryptkeeper 09-20-2006 06:54 PM

Quote:

Originally Posted by aceofspades
1. You noob you use the png as your sig image.

he means that not all forums allow .php in image tags. I agree with ragtek that it should be cached into an image, and run as a cronjob, since it has the possibility of being a little sever-intensive.

it's how mine is running:

http://network.montrealforums.com/links/invite.php
outputs
http://network.montrealforums.com/links/invite2.jpg

the php is run every 15 minutes, and therefore the JPG gets updated every 15 minutes.

jw00dy 09-20-2006 11:25 PM

Very cool, thank you!

*installed*

jw00dy 09-20-2006 11:36 PM

Quote:

Originally Posted by LICryptkeeper
he means that not all forums allow .php in image tags. I agree with ragtek that it should be cached into an image, and run as a cronjob, since it has the possibility of being a little sever-intensive.

it's how mine is running:

http://network.montrealforums.com/links/invite.php
outputs
http://network.montrealforums.com/links/invite2.jpg

the php is run every 15 minutes, and therefore the JPG gets updated every 15 minutes.

That's very cool. I can already tell mine is taking a hit with the sig.

Phooey 09-21-2006 12:48 AM

Quote:

Originally Posted by hilfe-forum
please tell me the way to change text size

Find this code in the sig.php file, the numbers I bolded are what you change to make the text larger:
Code:

// Adds Text
imagestring($im, 1, 5, 5,  $forumname . " Statistics", $text_color);
imagestring($im, 1, 5, 15,  "Threads: " . $totalthreads, $text_color);
imagestring($im, 1, 5, 25,  "Posts: " . $totalposts, $text_color);
imagestring($im, 1, 105, 15,  "Users: " . $totalusers, $text_color);


Kanustep 09-21-2006 03:13 AM

Great hack! How do we add more variables, for example:
- Last thread
- Users online: this could be a mess!
- Active members
- Last member registration

hilfe-forum 09-21-2006 09:52 AM

Quote:

Originally Posted by Phooey
Find this code in the sig.php file, the numbers I bolded are what you change to make the text larger:
Code:

// Adds Text
imagestring($im, 1, 5, 5,  $forumname . " Statistics", $text_color);
imagestring($im, 1, 5, 15,  "Threads: " . $totalthreads, $text_color);
imagestring($im, 1, 5, 25,  "Posts: " . $totalposts, $text_color);
imagestring($im, 1, 105, 15,  "Users: " . $totalusers, $text_color);


Cool THX :)

optrex 09-21-2006 10:07 AM

Quote:

Originally Posted by LICryptkeeper
he means that not all forums allow .php in image tags. I agree with ragtek that it should be cached into an image, and run as a cronjob, since it has the possibility of being a little sever-intensive.

it's how mine is running:

http://network.montrealforums.com/links/invite.php
outputs
http://network.montrealforums.com/links/invite2.jpg

the php is run every 15 minutes, and therefore the JPG gets updated every 15 minutes.

can you tell me how I would set this cron job up - to update every 15 mins and output a jpg?

ragtek 09-21-2006 04:46 PM

oh sorry that i just said the truth
1.not in all forums is php allow
2. its better for the performance when you cache it every 30 minutes

and if you think that i'm a noob its ok for me

Qwest 09-21-2006 06:01 PM

Hey guys.

For those of you complaining about forums not accepting sig.php as an image. Simply add this code to a .htaccess file and place it in the same directory as base.png and sig.php

Code:

RewriteEngine on
RewriteRule ^base.png$ sig.php

Then just link to base.png and Apache will automatically use sig.php


All times are GMT. The time now is 06:40 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.01946 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
  • (3)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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