vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Extra Image in Postbit for Users (https://vborg.vbsupport.ru/showthread.php?t=143152)

Reeve of shinra 03-25-2007 10:00 PM

Extra Image in Postbit for Users
 
Add a 'sidebar' image to your postbit.


What it does:
Adds a second user selected image to the postbit which is just like an avatar but appears at the bottom of the postbit. Great fun for larger communities with expressive users.

Concerns:
This doesnt have the same restrictions as an avatar, so giant images could be placed inside the area given, which means you'll have to do some moderation to keep people inline and if needed - restrict access to sidebars for some members.


Instructions:
Step 1:
User Profile Fields > Add New User Profile Field - Single Line Text Box

Title: Sidebar
Description: Enter the URL of your sidebar image here

Keep the default values the same.

Now record the value given to this profile field! (Example: Field15) You'll need it for the template edit.


Step 2:
Edit Template: postbit_legacy & postbit

Find:
Code:

<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
Below Add:
Code:

<!-- SIDEBAR -->
<if condition="$post[field14]"><div style="padding:$stylevar[cellpadding]px"><img class="inlineimg" src="$post[field14]" border="0" padding="2" /></div></if>
</-- SIDEBAR -->


<<<REMEMBER TO CHANGE $post[fieldX] TO THE PROPER PROFILE FIELD NUMBER!!>>>

REMEMBER TO CLICK INSTALL :D

Reeve of shinra 03-25-2007 10:58 PM

Updated this to work with IE.

RichieBoy67 03-25-2007 11:02 PM

Hi,

Is there a site this is running on so I can see it better???

Thanks... great idea...

Reeve of shinra 03-25-2007 11:04 PM

<a href="http://www.landofwarcraft.com/board/showthread.php?t=796" target="_blank">http://www.landofwarcraft.com/board/...read.php?t=796</a>

There ya go.

RichieBoy67 03-25-2007 11:26 PM

Link doesn't work.... ok, works now...

I am not really sure what this mod is?? Why are you calling it a sidebar???? It allows extra images in the side area of the postbit???

Thanks

Reeve of shinra 03-25-2007 11:30 PM

I called it a sidebar for lack of a better term, its a modification that allows your users to add another picture to the side area of the postbit.

Atakan KOC 03-26-2007 06:25 AM

Thanks....

deezelpope 03-26-2007 10:12 AM

Awesome! Installed...thank you!:D :up:

Foxtrotelite 03-28-2007 02:45 PM

great hack, thank you..

Can I ask what hack you are running to get the "activity" "longevity" bars, and also the reputation bars. them are very professional looking, and look great.

Thanks

Greek76 03-29-2007 11:15 AM

Installed it on my forum to works great but just one thing Im not crazy about. It makes the post box a lot taller then usual. But hey you cant have it all. Thanks for the mod.


All times are GMT. The time now is 05:36 PM.

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.01006 seconds
  • Memory Usage 1,725KB
  • 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete