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
Easy - My Favorite Game In Postbit Details »»
Easy - My Favorite Game In Postbit
Version: 1.01, by soulnothing soulnothing is offline
Developer Last Online: Jan 2010 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.8.x Rating:
Released: 11-05-2009 Last Update: 11-23-2009 Installs: 13
Additional Files Translations Is in Beta Stage  
No support by the author.

Updated

This is to add my favorite game to your postbit.

Download the zip and put the "favgame" folder in your: home.com/images folder

(you can add more images later... make sure you save them as .png (size is 120x57 pixels) and that you name the file exactly as you put it in the options field in your user profile field manager... lower and uppercase letters does matter)

Now go to your admin panel then select: User Profile Fields> Add New User Profile Field
then in Profile Field Type select: single-selection menu

the rest i have a snapshot for: (leave the Display Order like it is and remember the number.. you will be replacing XX in the code with that number)
(in the options part i have put a text file in the zip to copy and paste... make sure you copy and paste it exactly like it is)




ok now go to: Styles and Templates> Style Manager> Your Style Edit Templates
then select: Postbit templates> postbit/postbit legacy (according to which one you use... postbit goes across the top in your forums post and postbit legacy is on the side)

now search: "reputation"

below this code:
Code:
<if condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><div><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
				$template_hook[postbit_userinfo_right]
				<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
			</div>
put:
Code:
<br>
<if condition="$post[fieldXX] != ''"><center>My Favorite PC Game:</center></if>
<br>
<div align="center">
<if condition="$post[fieldXX] != ''"><img src="images/favgame/$post[fieldXX].png" title="$post[fieldXX]" align="center" border="0"/></if>
</td>
replacing the XX's like i said earlier

example:


now your done!
here is an example:
code for the second image is in the reserved post


if you use this pls click install

made by JarHeaD

Download Now

File Type: zip favgame2.zip (1.69 MB, 113 views)

Screenshots

File Type: jpg games list.jpg (139.4 KB, 0 views)

Show Your Support

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

Comments
  #12  
Old 11-08-2009, 02:10 AM
soulnothing soulnothing is offline
 
Join Date: Dec 2008
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lol this one isnt hard
Reply With Quote
  #13  
Old 11-08-2009, 02:33 PM
AzzidReign's Avatar
AzzidReign AzzidReign is offline
 
Join Date: Apr 2006
Posts: 497
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Pretty good, though you are missing CoD:WaW. Unless you have it under World at War on the list and not shown in the picture. Not to mention MW2 is coming out in 2 days...it would be cool to have that too.
Reply With Quote
  #14  
Old 11-08-2009, 04:13 PM
soulnothing soulnothing is offline
 
Join Date: Dec 2008
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

they are in it waw is under world at war and mw2 is under modern warfare 2 like i said in the above post im also adding some more to the games list so keep a check up
Reply With Quote
  #15  
Old 11-24-2009, 06:25 PM
soulnothing soulnothing is offline
 
Join Date: Dec 2008
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

updated....
Reply With Quote
  #16  
Old 11-28-2009, 08:44 PM
zapiy zapiy is offline
 
Join Date: Jul 2008
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fella, could this be extended so we could get our members to select all there games?

I would be happy to supply the images.

Cheers
Reply With Quote
  #17  
Old 11-28-2009, 09:19 PM
soulnothing soulnothing is offline
 
Join Date: Dec 2008
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what you mean... to select more than one game???? or do you mean more games... im gonna add more games later i just have so much goin on runnin a community and family and all
Reply With Quote
  #18  
Old 12-06-2009, 02:41 PM
zapiy zapiy is offline
 
Join Date: Jul 2008
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Actually build a list of games that you own..

I know it would be a large list and i am willing to help if you can do it?
Reply With Quote
  #19  
Old 12-06-2009, 09:17 PM
IR15H IR15H is offline
 
Join Date: Feb 2007
Location: England
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by soulnothing View Post
what you mean... to select more than one game???? or do you mean more games... im gonna add more games later i just have so much goin on runnin a community and family and all
Quote:
Originally Posted by zapiy View Post
Actually build a list of games that you own..

I know it would be a large list and i am willing to help if you can do it?
If I understand Zapiy correctly, he means rather than just have one favourite game, you are able to select multiple games to display. I haven't tested it but I think it's possible by changing the user profile field to be multiple-selection checkbox and the template edits to something like;

HTML Code:
<if condition="$user['fieldX'] & 1"><img src="imagesource/image1.png" alt="image1" border="0" />&nbsp;</if>
<if condition="$user['fieldX'] & 2"><img src="imagesource/image2.png" alt="image2" border="0" />&nbsp;</if>
<if condition="$user['fieldX'] & 4"><img src="imagesource/image3.png" alt="image3" border="0" />&nbsp;</if>
<if condition="$user['fieldX'] & 8"><img src="imagesource/image4.png" alt="image4" border="0" />&nbsp;</if>
<if condition="$user['fieldX'] & 16"><img src="imagesource/image5.png" alt="image5" border="0" />&nbsp;</if>
You'd increase the conditionals by how ever many game options you have (doubling the number each time)... which would get quite clunky if you have lots of games to chose from. Anyway, hope that's of some help.
------------

Nice mod, by the way .
Reply With Quote
  #20  
Old 12-07-2009, 06:05 PM
soulnothing soulnothing is offline
 
Join Date: Dec 2008
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
If I understand Zapiy correctly, he means rather than just have one favourite game, you are able to select multiple games to display. I haven't tested it but I think it's possible by changing the user profile field to be multiple-selection checkbox and the template edits to something like;
yeah i thought thats what he was talkin about but wasnt sure ... i know how to do it but its alot to put in a postbit especially if you have other things in it like i do

and thx

Quote:
Actually build a list of games that you own..

I know it would be a large list and i am willing to help if you can do it?
i am adding games here in there and it just takes sometime when i have other things to do also... but i know the next one is gonna have WoW, Dirt 2, Rogue Warrior, Serious Sam, and more in it it just takes a while to go back and get old games plus do the new ones

on another note i can make up a mod where u can put in a list of games you own/play but it wouldnt look good in the postbit ... it would look better on the user info page
Reply With Quote
  #21  
Old 09-26-2010, 09:53 AM
Taurus1's Avatar
Taurus1 Taurus1 is offline
 
Join Date: Dec 2009
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I really need this for vb4, can you please update it.

Thanks!
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 12:06 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.04473 seconds
  • Memory Usage 2,340KB
  • Queries Executed 28 (?)
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
  • (2)bbcode_code
  • (1)bbcode_html
  • (4)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
  • (1)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
  • (2)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_postinfo_query
  • fetch_postinfo
  • 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