View Single Post
  #775  
Old 05-06-2009, 12:00 PM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Since it's still a ways off, by the time it's ready for public consumption vB4 will be out (if not 4.1), so I'm mainly going to be aiming for vB4 compatibility.

It's a load of hassle to support two versions, and by then most of the more popular mods will also have moved to vB4, so there's little reasons not to upgrade


EDIT: After having seen how people reacted to the postbit I originally created for v4, I've decided to revert to a look similar to v3.
So, here's some screenshots of the revised postbit in v4. Thanks to swiftor for still running v3 so I could dig up the HTML code I used easily

Full View:
Attachment 98742

Collapsed View:
Attachment 98743

The magnifying glass icon will take the user to the extended RPG information page, which in this version will be fully integrated with the tabbed profile system found natively in vBulletin, rather than opening a pop-up window.
This decision was made because pop-ups are generally annoying, and because having a tab in the profile allows for much easier extension by modules (Guilds, Items, Battle, etc) than a fixed-size popup would.

Don't worry, it opens a new tab in the browser, so you won't face angry messages from users saying "OMFG I JUST LOST MY HUGE EPIC RP POST JUST BECAUSE I WANTED TO CHECK OUT MY OPPONENT, WTF YOU SUCK"

I didn't make the icon bar in the bottom collapse alongside the main content because that would just cause extra clicks for people who just don't want the in-line display of RPG info - should you disagree with me and want it collapsed, it's a simple template edit to move the image bar into the rest of the fold (pun intended).

And finally, a note about the collapsing:
It's unfortunately not feasible to create a system where collapsing one member's RPG info collapses it globally for all posts made by this member.
Not only does that produce XHTML validation errors when this member posts more than once per page, but the JavaScript code vBulletin uses for collapsing only collapses the first post.
To compensate, I'm going to create a setting that allows users to see the collapsed postbit by default, so that they can expand it as they desire.


Hope you liked this little update, more to come in the future once I finalise the design on the Guilds front-end.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01094 seconds
  • Memory Usage 1,768KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete