PDA

View Full Version : Hellsatan Sig Hack


Gio~Logist
07-25-2005, 10:00 PM
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


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


After this add


<br> $post[fieldx]


Where x is the ID of the created profile field.


Hit save, and we're done!




HOTM!!!!!!!!

Chris M
07-26-2005, 04:17 PM
Nice idea :)

Satan

Dan
07-26-2005, 04:40 PM
Awsome modifaction :D

* Dan clicks install

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
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
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 $post[musername]

They can make it whatever they want :)

Gio~Logist
07-26-2005, 05:56 PM
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
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
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
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