![]() |
I made it so i could have it as a template instead... therefor making it easier to edit if i ever needed to.
Hope you dont mind me adding this... *Note... you need to have installed the hack before adding this. ## in admin/functions.php Find: PHP Code:
PHP Code:
Now create the template called postbit_realname and add the following: PHP Code:
I just think the above makes it easier to edit if you ever needed to. Enjoy. |
I like this, but I also want it to show up in the members profile like here at vb.org. Is that a hack here?
|
Quote:
I'm curious, what would you ever need to edit with this? You only have "Name:" to deal with. ;) |
Quote:
If you do that, you are adding 1 extra query to showthread. To save this query, you need to cache that template. Make sure you edit "showthread.php", find: PHP Code:
And change it to: PHP Code:
|
Isn't that what I basically said in this?
Quote:
|
Quote:
|
Quote:
Thanks i didnt realize that... infact i editted my functions.php and took my things out of templates and cut back on 4 queries... Very nice. |
Quote:
|
Nice hack, thank god it's incredibly small. lol ^^;
|
i can't find this code in functions.php. how do i get this to work with 3.6.5?
|
All times are GMT. The time now is 01:32 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|