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 10-25-2004 07:52 PM

hehe... If I get a bit of time I will do that mod to it. Jus tryin 2 get some kind of application that shows the latest posts etc to show.

ice chrono 11-07-2004 09:27 PM

I cant seem to get this to work.
here my settings.
Quote:

// #################### ENTER DATABASE INFORMATION #######################
//DB-Servername
$host = "localhost";

//DB-Username
$user= "x";

//DB-Password
$password= "x";

//vbulletin database name
$database="x";

//E-Mail Address where MySQL Error Messages are sent to
$adminemail = "icechrono@gmail.com";

// ###################### ENTER IMAGE INFORMATION #########################

//Width of banner image
$width = 468;

//Height of banner image
$height = 60;

//Left text-margin
$left = 13;

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

//Font Size
$fontsize = 7;

//If you have GD2 or higher set $sgdver to 1, for any older GD version set $sgdver to 0
$sgdver = 0;

//If you wish to use a TrueType font set $ttfe to 1, for default php font set $ttfe to 0
$ttfe = 1;

//If you wish to use a TrueType font, please enter the location to the .ttf file below
$ttff = "verdana.ttf";

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

//full path to empty signature image (input image)
$vorlagedatei = "home/pjrpg/vb/sig.jpg";

//full path to signare image with forum data (output image)
$ausgabedatei = "home/pjrpg/vb/signature.jpg";

//Compression of output image
$komprimierung = 95;

//debug mode
$debug = 0;
any help?

DWard 11-08-2004 10:21 AM

why won't it work? what happens?

Ifrani 11-08-2004 04:05 PM

To get this hack working with the vBCrown change the following:

Search for:

PHP Code:

// GETTING TOTAL POSTS AND THREADS
include_once('./includes/functions_forumlist.php');
cache_ordered_forums(100);
if (
is_array($forumcache))
{
    foreach (
$forumcache AS $forum)
    {
        
$nthreads += $forum['threadcount'];
        
$nposts += $forum['replycount'];
        
$totalthreads number_format($nthreads);
        
$totalposts number_format($nposts);
    }


Replace it with:

PHP Code:

// GETTING TOTAL POSTS AND THREADS

    
$holedinge $DB_site->query("SELECT forum.forumid, threadcount, replycount FROM " TABLE_PREFIX "forum AS forum");
        if (
$DB_site->num_rows($holedinge))
        {
            while (
$holeding $DB_site->fetch_array($holedinge))
            {
                if (empty(
$focache["$holeding[forumid]"]))
                {
                    
$focache["$holeding[forumid]"] = array();
                }
                
$focache["$holeding[forumid]"] = array_merge($focache["$holeding[forumid]"], $holeding);
            }
        }

    
$DB_site->free_result($holedinge);

    if (
is_array($focache))
         {
            foreach (
$focache AS $forum)
            {
                
$nthreads += $forum['threadcount'];
                
$nposts += $forum['replycount'];
                
$totalthreads number_format($nthreads);
                
$totalposts number_format($nposts);
            }
         } 

Now you can use the sceduled tasks in your admincp. :nervous:

DWard 11-15-2004 07:47 AM

Cheers, I might put that in the next version so that people can chose what to do :)

Jedric 11-19-2004 01:07 AM

Could someone help me install mine? For some reason it won't let me do the true type font. The error I get is at: http://www.blizzardaddict.com/signature.php
Anyone know how to fix this? I also need to get it on multiple lines, but first I just need it to recognize the truetype font.

Jedric 11-21-2004 06:59 PM

Nevermind guys. I got it working. Thanks DWard for helping me.

Stangsta 11-22-2004 07:00 AM

Heh, I need help too!

Files and directory are chmod 777
Running GD2
I get a "red X" when trying to view signature.php

Heres the path to the pics.
//full path to empty signature image (input image)
$vorlagedatei = "/home/sevencityracing/html/hosting/sig.jpg";

//full path to signare image with forum data (output image)
$ausgabedatei = "/home/sevencityracing/html/hosting/signature.jpg";

Im lost here, any help is appreciated.

Stangsta 11-28-2004 09:10 PM

Anyone?????

traderx 11-29-2004 03:43 AM

Quote:

Originally Posted by Stangsta
Heh, I need help too!

Files and directory are chmod 777
Running GD2
I get a "red X" when trying to view signature.php

Heres the path to the pics.
//full path to empty signature image (input image)
$vorlagedatei = "/home/sevencityracing/html/hosting/sig.jpg";

//full path to signare image with forum data (output image)
$ausgabedatei = "/home/sevencityracing/html/hosting/signature.jpg";

Im lost here, any help is appreciated.

did you install vb in your root dir? or /forum?


All times are GMT. The time now is 05:37 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.04380 seconds
  • Memory Usage 1,768KB
  • 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_php_printable
  • (2)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