Log in

View Full Version : PostBit Changer


SuperFly
06-13-2006, 10:00 PM
Create a new Custom Profile Field of the your choosing (yes/no / radio / select). "Top" and "Left" as the options. At the very bottom of the custom profile edit page, set the Display Page option to Options: Thread Viewing. Submit your new profile field.


Then you add a new plugin with the Hook Location 'style_fetch', replace xx with the field number and enter the following code:



if ($vbulletin->userinfo['fieldxx'] == 'Top')
{
$vbulletin->options['legacypostbit'] = 0;
}

Credit to Wayne Luke.

Frapegliko
06-14-2006, 04:37 PM
just what i want.. Thank you

Snake
06-14-2006, 04:59 PM
Thanks man!

Pathor
06-14-2006, 05:31 PM
<a href="http://www.vbulletin.com/forum/showthread.php?t=169124" target="_blank">http://www.vbulletin.com/forum/showthread.php?t=169124</a>

Emil
06-16-2006, 10:26 AM
For some reason this isn't working for me. Nothing happens when I change the option in my profile.

SuperFly
06-16-2006, 04:13 PM
Fist of all, are you running vb 3.6 Beta 1

And second, did you edit the plugin where it said fieldxx to the field you made?

Emil
06-17-2006, 10:43 AM
Well, I'm running 3.6 Beta 2. Maybe that's why. But yeah, I changed the fieldxx to the correct one.

loonytune15
06-17-2006, 02:41 PM
Well I never found this originally, good job with the find..

DollarBill
01-13-2007, 06:28 PM
I love you like a son!

shete
01-14-2007, 05:56 PM
Nice , thanks for this .