Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Beta Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Signature Image System - Version 3.0Beta... Details »»
Signature Image System - Version 3.0Beta...
Version: 1.00, by Chris M Chris M is offline
Developer Last Online: Feb 2013 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 10-29-2002 Last Update: Never Installs: 15
Is in Beta Stage  
No support by the author.

Can I stress that this IS A BETA

Please do the following before attempting to install:

1.) Backup your Files & Database before doing anything
2.) Be aware that this is a BETA
3.) Be aware that although I have tested this myself, there may still be problems...

I did the hack .txt files in a strange way for some reason - I recommend running the Queries first, which are at the end of "file mods.txt"...

The files you should have are:

In the main folder
signature.php
file mods.txt
file mods2.txt
templates.txt
queries.txt
3.0Beta - Show Signatures.txt
3.0Beta - Usergroup override - permissions.txt
UPGRADING.txt
NEW INSTALL.txt

In the admin folder
signature.php

"file mods.txt" & "file mods2.txt" contain File modifications..."templates.txt" contains just templates to add and templates to edit..."queries.txt" contains Queries to run...

Install Info:
Hack Version: 3.0Beta
Files to edit: 8 (admin/functions.php, admin/user.php, root/member.php, root/showthread.php, root/register.php, root/online.php, root/global.php, admin/index.php)
Templates to add: 19
Templates to edit: 5
Time to install: ???

Thanks
Special thanks should go to the following people:

N9ne - For providing a new modifyoptions template modification, a small template addon, and a postbit modification
Minifreunde - For requesting this hack, and for being a BETA tester
DrkFusion - For being a BETA tester
NTLDR - For fixing an SQL Error in the admin/user.php file

Support - I am not officially offering support, because I have not installed this myself...As it is a BETA, I am waiting to find what errors other people find I will help if I can however, so there is what I would call minimal support...

If you require assitance, please - Only reply in this thread

Enjoy!

UPDATE!!-1.1Beta

I have corrected the template (i believe), and have uploaded a new .zip file...This file also contains the corrections I mentioned below, apart from the member.php issue, which will be 1.2Beta when fixed - Ok...The template wasnt corrected properly Can someone please find a way to make the "modifyoptions" template addon work? Im not good with tables etc in HTML

UPDATE!!-1.2Beta

I have corrected the code error that causes you to be redirected to the usercp.php file from the "edit options" screen...Please download the new file, or you can scroll down and find my fix (2nd post from the bottom) - The template still is not fixed, so again, if anyone can supply me with one that does, please do

UPDATE!!-1.3Beta

Now the modifyoptions template error has been corrected thanks to N9ne This hack is still a BETA until the other two BETA testers (DrkFusion & Minifreunde) have come back and posted that it works, but from my end, it does work

UPDATE!!-1.4Beta

I have included another file in the .zip - It now has an auto-query installer, so that you only need to add the Templates manually

UPDATE!!-1.5Beta

I have updated the "file mod.txt" file now Thanks to NTLDR for helping me fix the error in admin/user.php. For those of you who want to correct, it is the first change to user.php in the new .zip file, or you can see the fix on the second page of this thread

UPDATE!!-1.6Beta

I have updated the "file mod2.txt" file to include instructions for adding the "Signatures" option to the Admin Control panel...I totally forgot about this part!!! - See Page 3 for the update if you dont want to re-download

UPDATE!!-1.7Beta

Everybody who has this installed must update to 1.7Beta now!!! I forgot that the $post[signature] variable in admin/functions.php already exists!!! I have corrected the .txt file, and now the variable is $post[signatureimg] - Luckily, I had already realised this with the templates, so no editing other than admin/functions.php is needed - See Page 4 for the update without downloading the .zip

UPDATE!!-1.8Beta

Everybody who has this installed must update to 1.8Beta now!!! I also forgot another 2 things - I forgot that the instructions were set to overwrite the "postbit_signature" template...Please read this post if you have Version 1.7Beta or earlier, to fix it

=-=

UPDATE!!-1.9Beta

I have just released Version 1.9Beta!

What you should do to upgrade:

Click here!

=-=

UPDATE!!-2Beta

I have just released Version 2Beta!

What you should do to upgrade:

Click here!

=-=

UPDATE!!-2.1Beta

I have just released Version 2.1Beta!

=-=

UPDATE!!-2.2Beta

I have just released Version 2.2Beta!

What you should do to upgrade:

Click here!

=-=

UPDATE!!-3.0Beta

I have just released Version 3.0Beta!

What you should do to upgrade:

Click here!

=-=

Satan

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 10-30-2002, 07:27 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you know how many queries this adds to showthread hellsatan?
Reply With Quote
  #53  
Old 10-30-2002, 07:36 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Unfortunately I dont NTLDR

I dont have the microstats installed on my offline board...

Satan
Reply With Quote
  #54  
Old 10-30-2002, 07:42 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update: 1.9Beta

I have just released Version 1.9Beta!

What you should do to upgrade:

1) Open up the "file mods - queries.txt" file
2) Find the "UPDATE" section
3) Run the Queries
4) Modify the "error_signaturebaddimensions" template

Replace the entire template with:

Code:
That image is too large. The maximum dimensions are $signaturemaxwidth by $signaturemaxheight pixels.
5) Modify the "modifysignature_custom" template

Replace the entire template with:

Code:
<script language="Javascript">
<!--
function checkCustom(formname) {
	formname.customsignaturecheck.checked=true;
}
//-->
</script>
<tr>
	<td bgcolor="#1D6AA0" colspan="2"><normalfont color="#EEEEFF"><b>Custom Signatures</b></normalfont></td>
</tr>
<tr>
	<td bgcolor="#13486D"><normalfont><b>Use custom signature</b></normalfont><br>
	<smallfont>Note: the maximum size of your custom image is $signaturemaxwidth by $signaturemaxheight pixels or $signaturemaxsize bytes (whichever is smaller).</td>
	<td bgcolor="#13486D"><normalfont>
	<input type="radio" name="signatureid" value="0" $signaturechecked[0] id="customsignaturecheck"> yes </normalfont><br>
	<smallfont>(The database currently has the following custom signature in your name: <img src="$bbuserinfo[signatureurl]" border="0" alt="Your custom signature"><br>
	If you want to keep it as it is, leave the fields below as they are.)</smallfont></td>
</tr>
$customsigwebsite
$customsigupload
6) Open root/member.php
Find:
PHP Code:
      if ($filename!="") {
        
// check valid image
        
if ($imginfo=@getimagesize($filename)) {
          if (
$imginfo[0]>$signaturemaxdimensions or $imginfo[1]>$signaturemaxdimensions) {
            @
unlink($filename);
            eval(
"standarderror(\"".gettemplate("error_signaturebaddimensions")."\");");
          } 
replace with:
PHP Code:
      if ($filename!="") {
        
// check valid image
        
if ($imginfo=@getimagesize($filename)) {
          if (
$imginfo[0]>$signaturemaxwidth and $imginfo[0]>$signaturemaxheight or $imginfo[1]>$signaturemaxwidth and $imginfo[1]>$signaturemaxheight) {
            @
unlink($filename);
            eval(
"standarderror(\"".gettemplate("error_signaturebaddimensions")."\");");
          } 


What does this new update do?

It adds the ability to restrict image sizes by Height and Width, rather than just by Maximum Dimensions via the Admin Options...

ONLY FOLLOW THIS IF YOU ARE RUNNING 1.8Beta or below

Satan
Reply With Quote
  #55  
Old 10-30-2002, 07:51 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Screenshot 10 : Edit Signature (Improved)...

This includes the new Height vs Width Pixel stuff

Satan
Reply With Quote
  #56  
Old 10-30-2002, 07:52 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Screenshot 11 : Bad Dimensions Error...

Image too big screen

Satan
Reply With Quote
  #57  
Old 10-30-2002, 08:11 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmm...

For some reason, the installer doesnt work

Re-uploading the .zip

Satan
Reply With Quote
  #58  
Old 10-30-2002, 08:47 PM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I gotta say, you've done a great job on this Chris
Reply With Quote
  #59  
Old 10-30-2002, 09:04 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks

Satan
Reply With Quote
  #60  
Old 10-30-2002, 09:12 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by hellsatan
Unfortunately I dont NTLDR

I dont have the microstats installed on my offline board...
Tip: add $debug=1; in config.php on you local board then add &showqueries=1 to the URL

I'm just worried the showthread queries will go sky high
Reply With Quote
  #61  
Old 10-30-2002, 09:19 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update - Version 2Beta

What to do to upgrade from 1.9Beta
(note: You must upgrade to 1.9Beta, then to Version 2Beta in that order)

1) Download the .zip from the first post
2) Open the "file mods - version2.txt" file, and do all the changes in that file

Satan
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:37 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05583 seconds
  • Memory Usage 2,338KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete