Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Postbit Enhancements: Icons - Gender / Site Supporter / Site Profiles Details »»
Postbit Enhancements: Icons - Gender / Site Supporter / Site Profiles
Version: 1.1, by davidw davidw is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.8.x Rating:
Released: 03-07-2009 Last Update: 06-19-2009 Installs: 51
Uses Plugins
Additional Files  
No support by the author.

This mod will allow you to add a group of icons to your postbit. Before installing the product you will need to do a couple things.

Step 1
Create Profile Fields.
You will need a profile field for each one of these that you intend to use.

Your member's Gender
Blogger.com
Blogmarks.net
Delicious.com
Digg.com
eBay.com
Facebook.com
LinkedIN.com
Myspace.com
Stumbleupon.com
Twitter.com

Version 1.1 Added:

BodyBuilding
CarDomain
Flickr
HotorNot
IMDB
LiveJournal
Xanga
YouTube

If you install version 1.1 the new addins are alphabetical. You must continue to edit if you prefer to use .gifs or change your location(s). Also, please report any errors.

I have organized the folders a little different in this update - and will continue to do so with each update. Also, as I make changes/fulfill requests, I will add.

############

An example of how to create one (such as Gender):
Code:
AdminCP => User Profile Fields => Add New User Profile Field => Single-Selection Menu
Title:							Gender
Description:						Gender of member
Profile Field Category:					Your choice
Options:						Female
							Male
Set Default:						Yes, but No First Blank Option
Display Order:						Your choice
Field Required:						Yes, at registration and profile updating
Field Editable by User:					Only at registration
Private Field:						No
Field Searchable on Member's List:			Your choice
Show on Member's List:					Your choice
Allow user to input their own value for this option:	No
Which page displays this option?			Your choice
Also if you have a Site Supporter usergroup or intend to create one, remember the usergroupid for later.

Write down all your profile field IDs, and don't confuse this with the display order.

Step 2:
Upload icons.
I have created a set that you do not have to use but they are ones I have created and are 17x17 in size. You can use PNGs or GIFs. If you use your own stock images, either rename the image location in Step 3 or rename the image to icon_imagename.png
Upload the images to your images/misc/profile/ folder (if you do not use the supplied images, you must create a folder called profile in the misc directory.

Step 3:
Edit the product.
For every X option replace this with either the usergroupid or the profile field id.

For example:
If your profile field id for your gender is 5, change this:
Code:
<if condition="$post[fieldX]">
	<img src="images/misc/profile/icon_$post[fieldX].png" title="$post[fieldX]">
</if>
to this:
Code:
<if condition="$post[field5]">
	<img src="images/misc/profile/icon_$post[field5].png" title="$post[field5]">
</if>
Note in this instance, there are 3 changes

If you uploaded GIFs instead of PNGs, rename the file extension for each image to .gif
If you want a different order than what is shown in the template section copy each <if...> to </if> to which place you want it. I have each icon listed alphabetically. If you have an issue with moving lines of code up or down, let me know and I will reorder them for you.

When you are satisfied with your arrangement, save and import the product.

If you have any requests for more additions or if you see any issues with the product, let me know.

The male/female and star images are the FAM FAM FAM silk icons used here.

The user's LinkedIN profile (their input) should be something like this:
Code:
0/0/0b

Download Now

File Type: zip product-davidw_vbpostbiticons.zip (27.3 KB, 485 views)
File Type: zip iconenhancements_v_1_1.zip (50.8 KB, 307 views)

Screenshots

File Type: gif postbit.gif (7.2 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 08-23-2009, 07:45 AM
timberball timberball is offline
 
Join Date: Apr 2008
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i cant see the images in my postbit... It only shows "// Site Supporter //Gender " in my postbit! what should i do? i edited the product and overwrote it a few times...plz help !
edit : my bad! it's working great!
thanks
Reply With Quote
  #23  
Old 08-23-2009, 10:20 PM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No problem - Glad you got it sorted.

Don't forget to click install
Reply With Quote
  #24  
Old 08-24-2009, 01:15 PM
Daisyboo Daisyboo is offline
 
Join Date: Jul 2008
Location: Somerset UK
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has anyone got a demo I could see please?
Reply With Quote
  #25  
Old 08-24-2009, 03:52 PM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="https://vborg.vbsupport.ru/attachment.php?attachmentid=96139&stc=1&thumb=1&d= " target="_blank">https://vborg.vbsupport.ru/attac...c=1&thumb=1&d=</a>
Reply With Quote
  #26  
Old 10-18-2009, 09:45 AM
mp4sverige mp4sverige is offline
 
Join Date: Feb 2007
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

On Chinese gadget forums i have many times seen small icons of owned products displayed under the avatar picture.

will it be possible to achieve something like this with Postbits?

Reply With Quote
  #27  
Old 01-02-2010, 12:01 PM
karel1985 karel1985 is offline
 
Join Date: Mar 2007
Location: Belgium
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi David,

Happy New Year ;-)

Do you foresee an update/port for vb4?
It would be nice to see this back in this version...
Reply With Quote
  #28  
Old 01-10-2010, 08:59 PM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you have any suggestions for this product please PM me. I will probably have a 4.0 version, but time will tell.
Reply With Quote
  #29  
Old 01-10-2010, 09:36 PM
InsomniacP InsomniacP is offline
 
Join Date: Dec 2009
Location: Lancashire UK
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice work David, Can't wait to see this on 4.0
Reply With Quote
  #30  
Old 02-02-2010, 10:37 PM
Xtrigit's Avatar
Xtrigit Xtrigit is offline
 
Join Date: Jan 2010
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I love this mod because there are no templates to modify, whatever style youo have it will work with. I would love to have this on vb4 as well. thanks!!!!!!!!!!!!!!!!!!!!!!!!!
Reply With Quote
  #31  
Old 03-16-2010, 07:04 PM
karel1985 karel1985 is offline
 
Join Date: Mar 2007
Location: Belgium
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by davidw View Post
If you have any suggestions for this product please PM me. I will probably have a 4.0 version, but time will tell.
Hi David;

Any ETA foreseen or plans? No idea if it works with this version on vb4? I can't check it, but it would be nice to see it working on vb4

Thanks;

Karel
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:43 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06060 seconds
  • Memory Usage 2,339KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete