PDA

View Full Version : PostBit Changer


SuperFly
14 Jun 2006, 14:39
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
14 Jun 2006, 17:37
just what i want.. Thank you

Snake
14 Jun 2006, 17:59
Thanks man!

Pathor
14 Jun 2006, 18:31
http://www.vbulletin.com/forum/showthread.php?t=169124

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

SuperFly
16 Jun 2006, 17:13
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
17 Jun 2006, 11:43
Well, I'm running 3.6 Beta 2. Maybe that's why. But yeah, I changed the fieldxx to the correct one.

loonytune15
17 Jun 2006, 15:41
Well I never found this originally, good job with the find..

DollarBill
13 Jan 2007, 19:28
I love you like a son!

shete
14 Jan 2007, 18:56
Nice , thanks for this .