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
  #12  
Old 10-30-2002, 11:46 AM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Well this is like a Signature version of that

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

Wahey!!!

It all works!!!

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

PHP Code:
  if ($modifyavatar!="") {
    
$goto="member.php?s=$session[sessionhash]&action=editavatar";
  } else {
    
$goto="usercp.php?s=$session[sessionhash]";
  }
  eval(
"standardredirect(\"".gettemplate("redirect_updatethanks")."\",\"$goto\");");
// now we edit the signature!
  
if ($modifysignature!="") {
    
$goto="member.php?s=$session[sessionhash]&action=editsignature";
  } else {
    
$goto="usercp.php?s=$session[sessionhash]";
  }
  eval(
"standardredirect(\"".gettemplate("redirect_updatethanks")."\",\"$goto\");");


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

Satan
Reply With Quote
  #14  
Old 10-30-2002, 12:38 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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).
Reply With Quote
  #15  
Old 10-30-2002, 12:38 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

Ok I think ive cracked it

It should be:

PHP Code:
if ($modifyavatar!="") {
    
$goto="member.php?s=$session[sessionhash]&action=editavatar";
  } elseif(
$modifysignature!="") {
    
$goto="member.php?s=$session[sessionhash]&action=editsignature";
  }else{
    
$goto="usercp.php?s=$session[sessionhash]";
  }
  eval(
"standardredirect(\"".gettemplate("redirect_updatethanks")."\",\"$goto\");");


Anyone know if that will work?

Satan
Reply With Quote
  #16  
Old 10-30-2002, 12:40 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

@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
Reply With Quote
  #17  
Old 10-30-2002, 12:43 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

For your pleasure, I have attached the referrers script...

You can put this in:

avatar.php
attachment.php
signature.php (if you have this hack installed)

It does prevent hotlinking

Satan
Reply With Quote
  #18  
Old 10-30-2002, 12:44 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm, interesting stuff then hellsatan..I'll be awaiting the non-beta release
Reply With Quote
  #19  
Old 10-30-2002, 12:46 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

Ok cool

It really is ready for non-beta...Aside from that template edit

Anyone found a better looking "modifyoptions" template edit, cos, like I said, Im not good at <table> stuff

Satan
Reply With Quote
  #20  
Old 10-30-2002, 12:55 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

Here is a screenshot of the faulty template...

Incase you are wondering - I found the errors by installing it on my previously hacked Offline forum on My Computer

This is the ONLY error I can find

Satan
Reply With Quote
  #21  
Old 10-30-2002, 12:59 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

Here is the HTML code for the faulty modifyoptions template...

Just for those of you who could sort it out

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 08:58 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.05180 seconds
  • Memory Usage 2,336KB
  • Queries Executed 25 (?)
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_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
  • (3)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_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