The Arcive of vBulletin Modifications Site. |
|
User's Favourite Quote in Postbit... Details »»
|
||||||||||||||||||||||||||
This hack will add the User's favourite Quote in the Postbit...
Download the attached file for the Instructions, or see below : ###-=START=-### Step A) Create a new User Profile Field (in your Admin CP). For myself, I created a new field with these properties, in order from top to bottom: "Favourite Quote" "Enter your Favourite Quote" Max Input - 250 Field Length - 25 Display Order - 2 No No Yes Step B) You need to determine the field id of your new field. If you've never before added a custom profile field, this should be 5. When you hover over the "Edit" link when you go to "Modify" in your Custom profile Field section, a link should appear at the bottom left of the page. It will look something like : Quote:
Step C) Open the file: admin/functions.php Find this: PHP Code:
PHP Code:
(Note : You will need to change the number (5) in the $post[field] brackets to the number that you found out in Step B) Step D) Edit the postbit template. You can put $favquote anywhere in the postbit template that you want. Make sure, however, that there is a <br> before it, but not after it. Step E) Upload the functions.php file to your admin directory ###-=END=-### There are 2 Screenshots to show this hack... Satan Show Your Support
|
||||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
This is the View from the actual posts...
Satan |
|
#3
|
||||
|
||||
|
This is the view from your Profile...
Satan |
|
#4
|
|||
|
|||
|
im isntalling this
|
|
#5
|
|||
|
|||
|
/me clicks install button
i think that was the fasted ive ever installed a hack :alien: |
|
#6
|
||||
|
||||
|
Cool...
Tell me what you think ![]() Satan |
|
#7
|
|||
|
|||
|
ill leave my members to that job, once i get the forum back up tomorrow
|
|
#8
|
||||
|
||||
|
Ok
![]() If anyone wants to make any suggestions, by all means, go ahead! ![]() Satan |
|
#9
|
||||
|
||||
|
Dude, you can do this without any file-hacks.
Just put $post[fieldX] (where X is the profile field ID) inside the postbit template and you're set to go... No file hacks necessary at all. |
|
#10
|
||||
|
||||
|
Nice avatar, though
|
![]() |
|
|