vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=34)
-   -   Multiple Signatures Hack. (https://vborg.vbsupport.ru/showthread.php?t=59588)

weaver 05-27-2004 06:48 PM

Looks like a nice one but I'll wait til it's out of Beta. I think it's a great idea for a hack. :)

Sanity 07-31-2004 12:26 PM

I got a parse error in functions_showthread. This piece of code:

Sry, didnt see the posting above :nervous:

Sanity 07-31-2004 12:57 PM

My fault, all errors fixed.

weaver 08-02-2004 02:03 PM

great hack :)

weaver 08-02-2004 02:12 PM

Quote:

Originally Posted by Sulaiti
Fix :nervous:

Phrase Type: User tool (global)
Varname:
Text: Signature Title

will be :

Phrase Type: User tool (global)
Varname: signature_title
Text: Signature Title


for vBulletin Version 3.0.1

find :

/includes/functions_showthread.php


$post['signature'] = parse_bbcode($post['signature' . $post[showsignature], 'nonforum', $vboptions['allowsmilies']);


Change to :

$post['signature'] = parse_bbcode($post['signature'], 'nonforum', $vboptions['allowsmilies']);

Thanks very much! Maybe the install instructions should be updated to reflect this? It would have saved me a lot of stress! :)

Reeve of shinra 08-03-2004 03:52 AM

For anyone using this custom usergroups:

Did you also wrap the edit from hwtan around the replacents for:

PHP Code:

<label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="1" $checked[signature] />$vbphrase[show_your_signature]</label


Berethorn 10-11-2004 12:30 AM

*Installed* After some hassle. The instructions could be a bit clearer, but the hack is very good.

Things that would be great: The ability to only allow admin or other user groups to use the random sig, or choose their sig. I can see this being abused. If people change large images and stuff, it will confuse things easily. It's much better if the only thing that is randomized is a simple text quote. :)

Talisman 10-11-2004 03:23 AM

What a nice hack.. thks! I'd like to install this on my test board, but I need a little help adding some conditionals to the code.

1 - If member is in the admin or mod usergroups, they get to use multiple sigs. That's a nice touch.

2 - If you have contributing members in some "premium" usergroup, they should have this, too. That's a useful perk to offer people who've actually donated money to support your site.

3 - Members of an age-restricted/adult-only usergroup with access to private areas could use an alternate sig inside "naughty" forums.... but those sigs wouldn't be appropriate in the more public forums where they would be seen by all the other members.

How would I set random/selectable conditions based on usergroup ID -- AND -- restrict certain (adult oriented) sigs according to specified forum IDs?

integra99 10-12-2004 04:48 AM

I installed this hack, but edited it to my needs. I have it set to select from 3 signature (1,2,3), removed the 'N' signature (not sure what that is). Also, the random function would not work for me whatever I tried to do.

integra99 10-13-2004 06:24 PM

Any idea how to integrate this with the AdminCP so I don't have to use phpMyAdmin everytime I have to change someones signature?

Shadow Blaze 10-22-2004 05:25 AM

nope... doesn't make any sense whatsoever to me :-p but that's okay doesn't have to, i don't mind using this hack *presses the install button*

urmyantichrist 11-11-2004 08:51 PM

I've run into a problem after installing this hack... Noone's signatures are showing up at all now..

Any insight?

outlaw621 11-16-2004 04:59 PM

Quote:

Originally Posted by urmyantichrist
I've run into a problem after installing this hack... Noone's signatures are showing up at all now..

Any insight?

I am having the same problem

urmyantichrist 11-16-2004 06:35 PM

I have tried uninstalling this hack, but still cannot see any signatures on threads/posts... Not getting any errors, just not able to see sigs...

Help!

Scerina 11-19-2004 03:33 AM

Can someone please install this hack for me? If you can help me out, please contact me via email at: Pandora@Sweet-November.Net

Thanx!

Scerina 11-21-2004 06:31 AM

I installed this hack and it wont let me change the second signature nor would it save...it just stays on the first one.

What is wrong? Can someone help me out plz?

Scerina 11-21-2004 06:48 AM

Okay, am gettin error messages in my threads...when I go to view them I get this:
Parse error: parse error, unexpected ',', expecting ']' in /home/pandy/public_html/boards/includes/functions_showthread.php on line 546

Can someone please look at this coding and tell me if everything is correct and if not, how can I fix it? This is from my functions_showthread.php file that we are suppose to modify for this pacific hack:
// Multiple Signatures Hack by Ethan -- Start of Code Block
// choose a random signature
if ($post['showsignature'] == 127) {
$sigtries = N;
$post['showsignature'] = rand(1, N);
while (($post['signature' . $post['showsignature']] == '') AND ($sigtries> 0)) {
$post['showsignature'] = ($post['showsignature'] % N) + 1;
--$sigtries;
}
if ($sigtries == 0) $post['showsignature'] = 0;
}
$post['signature'] = $post['signature' . $post['showsignature']];
// Multiple Signatures Hack by Ethan -- End of Code Block
// get signature
if ($post['showsignature'] AND $vboptions['allowsignatures'] AND trim($post['signature']) != '' AND (!$bbuserinfo['userid'] OR $bbuserinfo['showsignatures']) AND $sigperms[$post['userid']])
{
// Modified by Multiple Signature Hack, to uninstall change $sigcache["$post[userid]_$post[showsignature]"] to $sigcache["$post[userid]"]
if (!isset($sigcache["$post[userid]_$post[showsignature]"]))
{
$parsed_postcache['skip'] = true;
$post['signature'] = parse_bbcode($post['signature' . $post[showsignature], 'nonforum', $vboptions['allowsmilies']);

// Modified by Multiple Signature Hack, to uninstall change $sigcache["$post[userid]_$post[showsignature]"] to $sigcache["$post[userid]"]
$sigcache["$post[userid]_$post[showsignature]"] = $post['signature'];
}
else
{
// Modified by Multiple Signature Hack, to uninstall change $sigcache["$post[userid]_$post[showsignature]"] to $sigcache["$post[userid]"]
$post['signature'] = $sigcache["$post[userid]_$post[showsignature]"];
}
}

else
{
$post['signature'] = '';
}

Scerina 11-21-2004 06:54 AM

threads on my forum are now messed up...

I am gettin these parse error messages...

Here is the link to my forum:
http://www.underworld-chaos.net/boards

Scerina 11-21-2004 03:25 PM

What kind of hack is this if u can't freaking get support?! esp from the creator themselves who created this hack???? My forum is all screwed up now...

Dean C 11-21-2004 04:05 PM

Scerina - No author is obided to provide support for their modification. Note this author has not ticked the box to offer support. This community is a forum for volunteers to help each other and share their work. Please be more polite in future when making posts as after all you modify your board at your own risk and no-one but you is responsible for that :) Also please don't quadruple-post :D! Thankyou for understanding

urmyantichrist 11-22-2004 07:32 PM

Quote:

Originally Posted by urmyantichrist
I have tried uninstalling this hack, but still cannot see any signatures on threads/posts... Not getting any errors, just not able to see sigs...

Help!

Can anyone help with this?

urmyantichrist 12-14-2004 07:05 PM

Tried reinstalling once more, to see if I could get my signatures back, and no deal..

Can someone help me understand these instructions a bit better??

jos 12-23-2004 09:10 AM

Hi,

Can you modify your multiple sig hack for use in 3.03 and install it for me at my group... i'm ready to pay 75 $.

can yu do this? please advise.
if not can you refer me to someone who can?

btw, after paying, i am ready to share it free here at your thread for others to take adavantage of.

please advise.

thanks
jos

hpsinfo_03@myway.com

EDDIE! 12-28-2004 01:52 AM

Quote:

Originally Posted by urmyantichrist
I've run into a problem after installing this hack... Noone's signatures are showing up at all now..

Any insight?

I am now having the same problem.
If anyone got this to work, can you please help us?

ozmazdaclub 12-29-2004 09:14 PM

Parse errors anyone shed some light on this please...

ozmazdaclub 01-03-2005 10:37 PM

Noi signatures now after the uninstallation... what the helll....

Neikol 01-06-2005 11:23 AM

I'm also having the same problem as urmyantichrist...I installed and no one's signatures showed up at all, and I have no uninstalled everything as far as I can tell, but still can't seem to get the signatures back...any clues?

Berethorn 01-30-2005 04:11 AM

There's a major problem with this....admin cannot edit signatures (without phpmyadmin).

Is there a way around this? :\

Wired1 07-07-2006 12:59 PM

anyone thought of updating this for vB 3.5/3.6?


All times are GMT. The time now is 04:52 AM.

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.01618 seconds
  • Memory Usage 1,799KB
  • 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
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (29)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