vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - VBHSignature Maker (https://vborg.vbsupport.ru/showthread.php?t=248736)

micheal332001 08-21-2010 08:20 AM

Quote:

Originally Posted by DAMINK (Post 2087264)
Why is this mod not taken to the next level?
Like Mybb did i hate to say it. I did make a thread about it but no takers as per normal.
Bug a sig that could pull specs from the forum would be gold mate.

Like this!!

http://www.supportforums.net/mybbsig.php

Simple yet very damn effective. Comeon VB community. Why dont we have one?
Were not all about spamming the net. Some like to use old school methods damn it.


This could be made without any problems and would not need any flash code.
All you would need to do is use a simple php code that can make the image with the GD function.

Within the files for this script you would be able to make suce a system very easy.

PHP Code:

<?php
// Created by Adam Khoury @ www.developphp.com
// Connect to the database first thing
define('THIS_SCRIPT''signature');
define('signature_SCRIPT'true);

$phrasegroups = array();

$specialtemplates = array();

$globaltemplates = array();

$actiontemplates = array();

require_once(
'./global.php'); 
require_once(
DIR '/includes/functions.php');

$hexcolor str_split("FFFFFF"2);

// Convert HEX values to DECIMAL
$bincolor[0] = hexdec("0x{$hexcolor[0]}");
$bincolor[1] = hexdec("0x{$hexcolor[1]}");
$bincolor[2] = hexdec("0x{$hexcolor[2]}");

//Get your database info you want to use here
$postinfo$vbulletin->db->query_first("SELECT * FROM " TABLE_PREFIX "DATABASE TABLE HERE");

$threadinfo$vbulletin->db->query_first("SELECT * FROM " .  TABLE_PREFIX "DATABASE TABLE HERE");

// create the image using your own background
$image imagecreatefromjpeg("backgroundimage.jpg");

// dimensions of the image used
$img_width 240;
$img_height 25;

$font "verdana.ttf";

// set the colours
$color[1]  = imagecolorallocate($image$bincolor[0], $bincolor[1], $bincolor[2]);

// now i will create a line with font size 8, with no angle, 10 pixels to the right, and 17 pixels down
ImageTTFText ($image801017$color[1], $font'Total Posts: '.$postinfo[postcount]);
ImageTTFText ($image8010025$color[1], $font'Total Threads:  '.$threadinfo[threadcount]);

// output and destroy
header'Content-type: image/jpeg' );
imagepng($image);
imagedestroy($image);
?>

Hope this gives you a good start on what you want.

Dr.osamA 08-21-2010 04:40 PM

1 Attachment(s)
thank you very very much bro

here is all MOD in Arabic

Signature Maker New All in Arabic :

vbhsignature_maker.swf
vbhsignature_maker.php
vbhsignature_maker_admin.php

plzz be nice and add it to 1st post

betts02 08-21-2010 06:26 PM

When i try to extract the file, I get "Some data in the zip file is damaged" any ideas ?

It seems to be the sigimage file that will not work ?

micheal332001 08-21-2010 08:03 PM

Quote:

Originally Posted by betts02 (Post 2087470)
When i try to extract the file, I get "Some data in the zip file is damaged" any ideas ?

It seems to be the sigimage file that will not work ?


I have just tryed the files and they un-zip fine

andyv72 08-21-2010 08:09 PM

1 Attachment(s)
! C:\Users\Administrator\Desktop\Signature Makerrrrr.zip: CRC-Fehler in UPLOAD\vbhsignature\bg\apocalypse.jpg. Die Datei ist fehlerhaft.

Not Work... (4.0.6)

Attachment 121148
Attachment 121149

betts02 08-21-2010 09:17 PM

Quote:

Originally Posted by andyv72 (Post 2087513)
! C:\Users\Administrator\Desktop\Signature Makerrrrr.zip: CRC-Fehler in UPLOAD\vbhsignature\bg\apocalypse.jpg. Die Datei ist fehlerhaft.

Not Work... (4.0.6)

Attachment 121148
Attachment 121149

Exact same

micheal332001 08-22-2010 02:08 AM

Quote:

Originally Posted by andyv72 (Post 2087513)
! C:\Users\Administrator\Desktop\Signature Makerrrrr.zip: CRC-Fehler in UPLOAD\vbhsignature\bg\apocalypse.jpg. Die Datei ist fehlerhaft.

Not Work... (4.0.6)

Attachment 121148
Attachment 121149

Quote:

Originally Posted by betts02 (Post 2087539)
Exact same

I will re-ipload the files now and let me know if they are fine this time thanks.

betts02 08-22-2010 06:04 AM

It seems to be the BG file now doing the exact same

Dont know what you have done but it just keeps saying ""Some data in the zip file is damaged"

betts02 08-22-2010 06:09 AM

Quote:

Extracting to "C:\Users\Shane\Documents\"
Use Path: yes Overlay Files: no
Extracting vbhsignature_maker_admin.php
Extracting bitfield_vbhsignature_maker.xml
Extracting cpnav_vbhsignature_maker.xml
Extracting textLayout_1.0.0.595.swz
Extracting apbghost.jpg
Extracting apocalypse.jpg
CRC check failed
Error: Unable to extract "C:\Users\Shane\Documents\UPLOAD\vbhsignature\bg\a pocalypse.jpg".

The size of the extracted file (33528) does not match the uncompressed size (33527) recorded in the Zip file
Extracting asassenscreed.jpg
Extracting assassinscreed2.jpg
Extracting background.jpg
Extracting background1.jpg
Extracting background2.jpg
Extracting beast.jpg
Extracting catchme.jpg
Extracting chaoslegion.jpg
Extracting ciel.jpg
Extracting gambit.jpg
Extracting gearsofwar2.jpg
Extracting hellboy.jpg
Extracting house.jpg
creating: C:\Users\Shane\Documents\UPLOAD\vbhsignature\font\
Extracting verdana.ttf
creating: C:\Users\Shane\Documents\UPLOAD\vbhsignature\sigim age\
Extracting InsomniacP_2697630.jpg
Extracting micheal332001_.jpg
Extracting micheal332001_1415177.jpg
Extracting micheal332001_2059856.jpg
Extracting micheal332001_2256973.jpg.jpg
Extracting micheal332001_3566269.jpg
Extracting micheal332001_4955371.jpg
Extracting micheal332001_8270767.jpg.jpg
Extracting micheal332001_8276089.jpg
Extracting test.jpg
Extracting Unregistered_1731393.jpg
Extracting _.jpg
creating: C:\Users\Shane\Documents\UPLOAD\vbhsignature\water mark\
Extracting watermark.jpg
Extracting watermark.png
Extracting vbhsignature_image.php
Extracting vbhsignature_maker.php
Extracting vbhsignature_maker.swf
This is what i get from it when i try to see whats wrong

micheal332001 08-22-2010 07:25 AM

Quote:

Originally Posted by betts02 (Post 2087674)
It seems to be the BG file now doing the exact same

Dont know what you have done but it just keeps saying ""Some data in the zip file is damaged"


I have just remade the zip file and then tryed to un-zip it with winace and winzip and it un-zips the file with no problems now.

Please let me know if this is still happening to you and i will send you the files another way.


All times are GMT. The time now is 10:52 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.01410 seconds
  • Memory Usage 1,772KB
  • 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
  • (7)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