PDA

View Full Version : End-User Options - Select Postbit


jesus likes pie
10-17-2008, 10:00 PM
Select Postbit by Rafael Lopez
10/17/2008

This is an overdue port for a modification I made way back in the 3.0.x days. But enough with the preface, let's
get to the point.

~~ What this does ~~

Gives users the option of using either version of vBulletin's postbit. They can choose to use postbit_legacy or the normal postbit.

You may choose/keep your forum's default through vBulletin's normal vBulletin Options regarding that option (i.e. you don't need to do anything extra). But there's a tiny catch which we'll go over during installation.

And that's it!

~~ Included ~~

1 product
1 plugin
0 templates
0 template edits
(Woooo!!)



If you use this please CLICK INSTALL.

Support will not be given for users who have not clicked install. But then again, it probably won't need any support since it'll "just work" ;)

Baldilocks
10-18-2008, 02:38 AM
Sounds like a winner. (Not having to set the postbit as default board style is what I was looking for!)

jesus likes pie
10-18-2008, 02:44 AM
Hm I found a bug which I haven't been able to fix...then again I'm in a hurry and only experimented for a few minutes.

Ajax seems to screw it up. Editing and posting will revert the post back to the forum default until you refresh.

I'll work on a fix later (in the middle of something else now) but if anyone has any ideas I'm more than open to suggestions etc.

Baldilocks
10-18-2008, 03:15 AM
No biggie. I will just update it when you find a fix.
I'll see if I can figure it out...... but I doubt I will get very far.

Lizard King
10-18-2008, 03:56 AM
<a href="https://vborg.vbsupport.ru/showthread.php?t=144644" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=144644</a>

Baldilocks
10-18-2008, 04:01 AM
https://vborg.vbsupport.ru/showthread.php?t=144644

As I stated--with that one you have to have the default style set to postbit. I do not. My forum default is postbit_legacy.

That's why I am using the mod in THIS thread. :)

jesus likes pie
10-18-2008, 04:02 AM
https://vborg.vbsupport.ru/showthread.php?t=144644

1. I hadn't seen that before, the one I HAD seen before was annoying because you HAD to have postbit (i.e. not legacy) on as default. That was unacceptable to some people including myself.

2. The link you posted doesn't seem to work with 3.7 and users have been complaining and the author hasn't ported it.

3. From what I gather it also seems to have the same "problem" as #1.


If people want to use that one then they can, if they don't then they can use any of the others that are available including mine.

Lizard King
10-18-2008, 05:49 AM
1. You just saw it now

2. It works perfectly with 3.7

3. Doesnt have any single problem.

Baldilocks
10-18-2008, 05:56 AM
1. That's pretty condescending.

2. Seems as though some are having problems with it.

3. Unless you use postbit_legacy as the default in which case there is a problem.

dartho
10-18-2008, 06:22 AM
Thank you - I've been wanting to offer the option for quite sometime, but wished to maintain postbit_legacy as default. Now I can.

NAZIA
10-18-2008, 10:39 AM
awesome hack .
thanks for developing..

jesus likes pie
10-18-2008, 04:03 PM
1. You just saw it now

2. It works perfectly with 3.7

3. Doesnt have any single problem.


Why don't you pipe down?

If you don't want it then don't use it. Otherwise please just leave.

SwollenCranium
10-18-2008, 05:02 PM
Why don't you pipe down?

If you don't want it then don't use it. Otherwise please just leave.



BAM !

Namaless
10-18-2008, 09:17 PM
Good Choice...

* Installed

jesus likes pie
10-18-2008, 11:00 PM
Getting a little frustrated >:|

The only way I've been getting the ajax stuff to work is by forcing non legacy to be on by default.

Otherwise every combination works EXCEPT legacy as default but non legacy as the user selected option. That one just doesn't want to work for some reason.

I'll keep trying it out, it would be more professional if I got it to work. I'll send out an update if/when I get it to work. Stay tuned.

Glad you guys are liking it though.

A (hopefully) temporary workaround is to disable ajax in quick reply and editing by going to

Admin CP --> vBulletin Options --> General Settings --> Disable AJAX Features :: Disable Problematic Ajax features

Or if it's not a big deal to you then you can just leave Ajax on :)

MrEyes
10-19-2008, 07:18 PM
1) Get

2) A

3) Room

:)

Dr. Bantham
10-26-2008, 12:10 PM
Many thanks! I have installed this mod and appreciate the ability to offer members a choice in post layout. However, since I have a larger maximum avatar size than is standard (150wx200h), the standard Postbit does not format as well as my default Postbit Legacy. Since I also feel that the standard (old) Postbit format might be more attractive to members with lower graphic resolution settings, I would like to reduce the height of the avatar and maintain proportionality - but only when viewing the (old) Postbit layout. Is there not a maximum height I can enforce within the code of the Postbit template, which will reduce the image size accordingly?

The suspect code:
<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if>


Note
Since this is also a general question, I have also posted this query within Design and Graphic Discussions (https://vborg.vbsupport.ru/showthread.php?p=1653041).