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

Reply
 
Thread Tools
Signature Image System Hack - Version 3.0+... Details »»
Signature Image System Hack - Version 3.0+...
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: 11-01-2002 Last Update: Never Installs: 44
 
No support by the author.

This hack is now a Full Release!!!...You can visit the BETA thread here - I will still be using that thread to test out upcoming versions!

Please do the following before attempting to install:

1.) Backup your Files & Database before doing anything
2.) Be aware that although I have tested this myself, there may still be problems...If you do not backup your files & database, I cannot condone your install of this hack...

The files you should have are:

In the main folder
modifications.php
templates.php
queries.php
3.0 - Show Signatures.php
3.0 - Usergroup override - permissions.php
NEW INSTALL.php

In the root folder
signature.php

In the admin folder
signature.php

*================================================= ================================================== ==================*
Please Note:
The install files are in the ".php" format, as vBulletin.org Parses all "{ imagesfolder }" and other replacment variables
used in the code - With .php extensions, it does not.

*================================================= ================================================== ==================*

Install Info:
Hack Version: 3.0+
Files to edit: 9 (admin/functions.php, admin/user.php, root/member.php, root/showthread.php, root/register.php, root/online.php, root/global.php, root/usercp.php, admin/index.php)
Templates to add: 19
Templates to edit: 5
Time to install: Approx 10-15 Minutes

Thanks
Special thanks should go to the following people:

N9ne - For providing template modifications, and for being a BETA tester
Minifreunde - For requesting this hack, and for being a BETA tester
DrkFusion - For being a BETA tester
NTLDR - For helping with a few errors during the BETA testing stage...
mADmAX`- For providing the missing code to the root/usercp.php file...You can find his manual change here

Support - I am offering support, but only in THIS THREAD...I unfortunately cannot be here during the coming weeks (Mon-Fri), so therefore you will have to rely on others for assitance, should it be urgent...If you do require assitance, please - Only reply in this thread

Screenshots
Screenshots will be coming in the next post in a .zip file of their own...

Updating from BETA

Depending on what version you are updating from, I recommend the following:

Version 1.0Beta - 2.1Beta - Complete re-install
Version 2.2Beta - Follow the instructions for the .php files starting "3.0", and there is one register.php modification and one usercp.php modification in the "modifications.php" file
Version 3.0Beta - There is one register.php modification and one usercp.php modification in the "modifications.php" file

v3+ comes out!
v3+ is really just the following:

Converting of all install files to .php format (to prevent code parsing)
Creation of an extra folder (root) to house the root/signature.php file (so you dont get confused with the install .php files)
The root/usercp.php modifcation I forgot to include

Enjoy!

Satan

Show Your Support

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

Comments
  #112  
Old 12-04-2002, 05:43 PM
AWS's Avatar
AWS AWS is offline
 
Join Date: Nov 2001
Location: Joliet, IL
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oooops. Wrong thread.
Reply With Quote
  #113  
Old 12-06-2002, 03:50 PM
Palyntir Palyntir is offline
 
Join Date: Apr 2002
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

heres a question maybe someone can help me with

got the hack installed on ym board (2.2.9) and works fine. ive got alot of peeps on the board using flash sigs and what have you. what id like to do is grandafather them in somehow

i can remove the manual signature fields in the edit profiles stuff, so new peeps would have to go through the signature system hack to put in new signatures.

the problem is, when old users want to replace their sigs using the signature hack functions, it doesnt delete the old one, it just displays both signatures. any ideas?

also, has this hack been made to support flash sigs yet?
Reply With Quote
  #114  
Old 12-06-2002, 05:37 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

@Palyntir - Unfortunately, I dont know how to add a Flash function to the allowed files - I dont know if it is wise either...

You will have to edit the member.php, register.php, and admin/user.php files, and remove the update queries on a Signature field - It isnt advisable - Just delete the signature field from the template, and then run a Query to set all user signatures to blank...

[sql]UPDATE user SET signature='0'[/sql]

That will set all the signatures to blank (not the signature images though)

If you want to do it on a user by user basis, do the following query for the specific user (Remember to replace "X" with the userid)
[sql]UPDATE user SET signature='0' WHERE userid=X[/sql]



Satan
Reply With Quote
  #115  
Old 12-06-2002, 05:52 PM
Palyntir Palyntir is offline
 
Join Date: Apr 2002
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thansk, hell...your query worked, but it left a big "0" where ever sig used to be...is there a way to just remove that?

nm, i got it

/me slaps forehead

great hack, thanks.
Reply With Quote
  #116  
Old 12-06-2002, 05:52 PM
ptenthus ptenthus is offline
 
Join Date: Jan 2002
Location: Lyons, CO
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How about allowing blank text sigs and sig images (now if the text sig is blank the sig image doesn't show).

I thought I was close, but ended up with it working in all but the initial post of the thread.

Ideas?

LangTuDaTinh,

I appear to have the size check problem as well. What other hacks are you running?
Reply With Quote
  #117  
Old 12-06-2002, 06:10 PM
Palyntir Palyntir is offline
 
Join Date: Apr 2002
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nevermind, i havent fixed it

i can set the sig field to " " or blank in the query, but then it wont show a sig when i put in a new one. if i set it to "0", it will show the sig, but it will also show the "0" above it...

thoughts?
Reply With Quote
  #118  
Old 12-06-2002, 06:14 PM
ptenthus ptenthus is offline
 
Join Date: Jan 2002
Location: Lyons, CO
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's the problem I've been posting about. If the text sig is blank, the sig image doesn't show.

There's got to be some conditional where it checks for the sig being blank that we can add a check for sig image (I thought I found it in the functions.php, but it doesn't seem to work 100%)
Reply With Quote
  #119  
Old 12-06-2002, 06:29 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

You can just do the following:

Edit the "postbit_signature" template:
Remove:
Code:
$post[signatureimg]
Edit the "postbit" template:
Add:
Code:
$post[signatureimg]
where you want it to show



Satan
Reply With Quote
  #120  
Old 12-06-2002, 06:51 PM
Crazy Pete Crazy Pete is offline
 
Join Date: Nov 2002
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by ptenthus
That's the problem I've been posting about. If the text sig is blank, the sig image doesn't show.

There's got to be some conditional where it checks for the sig being blank that we can add a check for sig image (I thought I found it in the functions.php, but it doesn't seem to work 100%)
Same problem here, I hadn't even thought of checking that until I read through this thread. Sure enough, even though the sig image shows up in my CP, if my regular sig text is empty, the image doesn't show in the posts. Only a blank spot where it's supposed to be. I don't seem to have the size/height problem, but haven't tried that yet either.
Reply With Quote
  #121  
Old 12-06-2002, 06:54 PM
Palyntir Palyntir is offline
 
Join Date: Apr 2002
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the alterations work, hellsatan, but i gues its a less than elegant solution. it'll work until something better comes along. thanks alot!

one more thing, what about people who just want text sigs? i mean quotes or words instead of images?

the biggest problem with this hack seems to be that its just a flat out war to get it reconciled with the existing sig functions in vbb...

if i wipe every existing sig and remove the existing sig functions, i get that blasted ")" in my sig fields on the boards...

if i move that to code to postbit, i have to manually insert the white barrier above the sig code into the html...

if i then go back and try to put in an old sig via the admin panel, the old functions insert a new white barrier above that sig, while the one i had to manually insert into the postbit template appears below...

plus, putting sigs in manually using the admin cp, they dont show up in the sig panel in the usercp, just the dead link. its just gonna confuse the hell out of people.

and, now, with the postbit hack, sigs put in the admin cp only appear in some posts....i gotta guy with four posts on one thread, the sig shows in some posts, like first, third and fourth, but not second...no idea whats causing that...

this is a great hack and it would really be usedful if it was possible to work it into the existing site functionality, or have them interact somehow.

or, this would fix everything, if you could have one or the other work by default or by user, that way, you could use the admin panel to handle text sigs and flash or anything, and have the usercp hack for new members...or whatever...a function to disable basic sig functionality on the board without disabling the hack and vice versa...

is this possible?

as it is, its just a monster headache getting it to work properly. still havent been able to do it.
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 02:29 PM.


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.04699 seconds
  • Memory Usage 2,320KB
  • 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_code
  • (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
  • (2)pagenav_pagelinkrel
  • (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