vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   End-User Options - Select Postbit (https://vborg.vbsupport.ru/showthread.php?t=193902)

jesus likes pie 10-17-2008 10:00 PM

Select Postbit
 
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

Quote:

Originally Posted by Lizard King (Post 1647448)

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

Quote:

Originally Posted by Lizard King (Post 1647448)

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

Quote:

Originally Posted by Lizard King (Post 1647480)
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

Quote:

Originally Posted by jesus likes pie (Post 1647742)
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:
PHP Code:

<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]$post[avwidth$post[avheightalt="<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.


All times are GMT. The time now is 03:24 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01089 seconds
  • Memory Usage 1,758KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (17)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete