vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Signature Image System Hack - Version 3.0+... (https://vborg.vbsupport.ru/showthread.php?t=45310)

AWS 12-04-2002 05:43 PM

Oooops. Wrong thread.

Palyntir 12-06-2002 03:50 PM

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?

Chris M 12-06-2002 05:37 PM

@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

ptenthus 12-06-2002 05:52 PM

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?

Palyntir 12-06-2002 05:52 PM

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.

Palyntir 12-06-2002 06:10 PM

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?

ptenthus 12-06-2002 06:14 PM

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%)

Chris M 12-06-2002 06:29 PM

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

Crazy Pete 12-06-2002 06:51 PM

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.

Palyntir 12-06-2002 06:54 PM

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.


All times are GMT. The time now is 08:21 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.03164 seconds
  • Memory Usage 1,746KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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