vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=45192

Signature Image System - Version 3.0Beta...
by Chris M
30 Oct 2002 11:54

1 Attachment(s)
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

Chris M 30 Oct 2002 11:58

I think I have got all the templates that need editing...If there are any that I have missed, please point them out;)

Satan

DrkFusion 30 Oct 2002 12:04

Woa thats once confusing install, I read about this at your board ;)
Seems great, I will install it :)

-Arunan

Chris M 30 Oct 2002 12:08

Cool Arunan...

Yes - It is a bit muddled;)

If it makes it to Full Release, I will sort it all out, and may even get an Auto installer for the templates and Queries...I may;)

If you find any problems, please dont hesitate to note them...And...If you find any problems, but fix them all on your own, please dont forget to post the fix;)

Satan

Kars10 30 Oct 2002 12:09

Cool satan!!
I install it @ the moment!! ;) :D

Chris M 30 Oct 2002 12:11

Cool:)

Let me know how it goes;)

Satan

Chris M 30 Oct 2002 12:30

Right...

Ive found one error so far;)

In the "file mods.txt" file, it says the following:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

instead, replace that code with:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Thats all I can find so far;)

Satan

Chris M 30 Oct 2002 12:38

Another error:

The query:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


is wrong;)

Run this query, then the one after it:)


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Satan

Schorsch 30 Oct 2002 12:38

hmmm could you explain me what this hack actually does ?

cu
Schorsch

Chris M 30 Oct 2002 12:45

Ok:)!

All the files work...

My template skills leave a little to be desired though;)

Satan

Chris M 30 Oct 2002 12:46

Scorsch - You know how avatars are stored in the Database?

Well this is like a Signature version of that;)

Satan

Chris M 30 Oct 2002 12:56

Wahey!!!

It all works!!!:)

There is just one thing I cant understand (which doesnt work properly), and one template edit to make;)


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Why does ^ (that) redirect to usercp.php?

Satan

Velocd 30 Oct 2002 13:38

Quote:

Originally posted by Schorsch
hmmm could you explain me what this hack actually does ?

cu
Schorsch

I seriously think it needs to be required that people give a description on what the hack actually does! Maybe an extra required field when making in the newthread interface? Usually just the title alone, such as in this case "Signature Image System", doesn't really explain enough. ;)

But anyway, commenting on what you said after Schorsch post, the idea does seem pretty cool....except that most people who have signatures use them on other sites as well. For example, before I got a host I would use DeviantArt to host my signatures for many forums that I posted on. People might hotlink from your site to all their other sites..and I'm not all that sure you would want that, mostly if it's in the same case as attachments where the "who's online" thing will display guests viewing the signature. (not sure if that's actually an issue though).

Chris M 30 Oct 2002 13:38

Ok I think ive cracked it:)

It should be:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Anyone know if that will work?

Satan

Chris M 30 Oct 2002 13:40

@Velo - You know that referrers script that you can put in avatar.php & attachment.php?

Ive included that as standard in the root/signature.php to counteract that;)

Suffice it to say that I was paranoid about people hotlinking;):)

This is really a signature for use on your site, and your site alone;)

Satan


All times are GMT. The time now is 23:42.

Powered by vBulletin® Version 3.8.12
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.