vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=134)
-   -   Hellsatan Sig Hack (https://vborg.vbsupport.ru/showthread.php?t=92929)

Gio~Logist 07-25-2005 10:00 PM

Hellsatan Sig Hack
 
This is a hack i made just for hellsatan.

What does it do?

If you are like hellsatan, that loves having your name after each post, then this hack is for you.



Go to "Add New User Profile Field" in your ACP and add a Single-Line text box, with the "Max length of allowed user input" set at about 15. Then name it "Signature 2" or whatever you'd like.

Now Hit SAVE


Go to the "Profile Field Manager" and find the field ID of the field you made. (This appears under the "Name" column). It should show as fieldx where x is the ID.

Now go to your postbit template and look for this code

HTML Code:

                <!-- message -->
                <div>$post[message]</div>
                <!-- / message -->

After this add

HTML Code:

<br> $post[fieldx]
Where x is the ID of the created profile field.


Hit save, and we're done!




[HIGH]HOTM!!!!!!!![/HIGH]

Chris M 07-26-2005 04:17 PM

Nice idea :)

Satan

Dan 07-26-2005 04:40 PM

Awsome modifaction :D

[high]* Dan clicks install
[/high]

Almost as good as my Making Zachery in the credits hack :D

Gio~Logist 07-26-2005 04:41 PM

haha........

I dont think anyone can beat that one.

Corriewf 07-26-2005 05:21 PM

If this gets HOTM, I will change my name to good4chit .

sketch42 07-26-2005 05:24 PM

so this will automatically put every users name at the end of their posts or can they make it what ever they want??

Azhrialilu 07-26-2005 05:35 PM

Excellent :D

Altho, I have to admit I'm amazed at Satan's modest response to a hack with his name in it ;)

bigcurt 07-26-2005 05:54 PM

Quote:

Originally Posted by sketch42
so this will automatically put every users name at the end of their posts or can they make it what ever they want??

Your user has to enter it in his profile

Gio~Logist 07-26-2005 05:55 PM

Quote:

Originally Posted by sketch42
so this will automatically put every users name at the end of their posts or can they make it what ever they want??

No... if you wanted that you can just put
HTML Code:

$post[musername]
They can make it whatever they want :)

Gio~Logist 07-26-2005 05:56 PM

Quote:

Originally Posted by Azhrialilu
Excellent :D

Altho, I have to admit I'm amazed at Satan's modest response to a hack with his name in it ;)

I think he would have prefered if i made it so that it sais HIS NAME at the end of everyone's posts.

akanevsky 07-26-2005 06:18 PM

Ha!!!!!!

I can beat this:
Instead of "<br> $post[fieldx]" write "<br> hellsatan" - this way hellsatan's name will be shown under everybody's post :))))))

Gio~Logist 07-26-2005 06:27 PM

HAHA!!!!!!!!!1

and i can beat that... instead of "hellsatan"... but "gio~logist" :-D

akanevsky 07-26-2005 06:35 PM

Yeah, that is actually what I meant: the board admin puts his name in the postbit :)
And do not forget <h1></h1> tags :D

ciocsy 07-26-2005 08:24 PM

i did everything it says in the instalation and i wrote something in the field and it does't work. it doesnt show what i wrote in the field.
why is that?

Azhrialilu 07-26-2005 08:26 PM

obvious question, but are you looking at it in the style you made the changes to?

ciocsy 07-26-2005 08:33 PM

i only use one style... the default one

Gio~Logist 07-26-2005 08:45 PM

did you make sure to replace x with the proper profilefield ID?

ciocsy 07-26-2005 08:54 PM

yes, the profile field is the correct one. and my vB version is 3.0.7.

Gio~Logist 07-26-2005 08:58 PM

Are you sure that your profile was updated properly and that it's not simple the fotn that makes you nto able to see it?

ciocsy 07-26-2005 09:04 PM

yes, the profile has been updated properly. there is no font because i tried to select the text within a message posted by me and it doesn't appear anyway.

what should i do?

ciocsy 07-26-2005 09:17 PM

nevermind... i found it!
i had to modify the postbit_legacy template instead of postbit.

it's working now. thanks anyway
ps. it's great :P

Gio~Logist 07-27-2005 01:39 AM

Haha, sorry i took so long to answer, the dsl for the comp. i was at got messed up.

I''m glad you like it :-D

Roms 07-28-2005 03:32 AM

Fun hack, thanks :)

Gio~Logist 07-29-2005 11:16 AM

Anytime :-D

Warlord 07-30-2005 09:33 PM

How can I get it to recognize html?

Gio~Logist 07-31-2005 12:35 AM

The same way you get all profile fields to recognize html... php edits

Warlord 07-31-2005 06:28 PM

Could you elaborate please? I don't know what php to edit or put in. Thanks.

akanevsky 07-31-2005 08:11 PM

Quote:

Could you elaborate please? I don't know what php to edit or put in. Thanks.
Then how come you have a coder status?.. And I wouldn't suggest allowing HTML in profile fields.

Warlord 07-31-2005 09:41 PM

Your title is based off of your post count, not your coding skills. I've only made small hacks, nothing big.

Gio~Logist 08-01-2005 12:49 PM

Quote:

Originally Posted by Warlord
Your title is based off of your post count, not your coding skills. I've only made small hacks, nothing big.

Then would you like to explain to me why i have mroe posts then you and yet YOU'RE the coder?

Warlord 08-03-2005 02:40 PM

Good question, guess I was wrong. I didn't give myself Coder Status, and I assumed it was because it was based on post count.

You have released more hacks then I have so, now I have no idea why I have coder status and you don't.

But back to the subject, can someone explain to me what to do exactly to allow html in profile fields please?

stan111 09-23-2005 11:45 AM

Quote:

Where x is the ID of the created profile field.
thanks for a nice hack but i dont understand that sentence
am i supposed to replace x with number 1 for admin ID ?

edit: i got it now
thanks for a nice hack


All times are GMT. The time now is 04:07 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.03294 seconds
  • Memory Usage 1,774KB
  • 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
  • (3)bbcode_html_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (32)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete