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
  #2  
Old 11-05-2009, 11:24 PM
soulnothing soulnothing is offline
 
Join Date: Dec 2008
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Demo: www.extreme-gamers.org

I have a dummy account for the site:
Username: guest
Password: password

------------------------------------------------------------------------------------------------------------------
You can also put the code in like this: (this is how it is on my site)
Code:
<if condition="$post[fieldXX] != ''"><center><b>My Favorite PC Game:</b></center></if>
<div align="center">
<if condition="$post[fieldXX] != ''"><img src="images/favgame/$post[fieldXX].png" title="$post[fieldXX]" align="center" border="0"/></if>
</td>
it takes the spacing out and makes "My Favorite PC Game" bold
------------------------------------------------------------------------------------------------------------------
Reply With Quote
  #3  
Old 11-05-2009, 11:45 PM
mbc100 mbc100 is offline
 
Join Date: Feb 2009
Location: K.S.A
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great i like games
Reply With Quote
  #4  
Old 11-06-2009, 06:40 AM
F90 F90 is offline
 
Join Date: Jul 2009
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i'm installed
in
http://cs4arabs.com/vb
Reply With Quote
  #5  
Old 11-06-2009, 07:17 AM
F90 F90 is offline
 
Join Date: Jul 2009
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can you make small images ?
Reply With Quote
  #6  
Old 11-06-2009, 09:48 AM
soulnothing soulnothing is offline
 
Join Date: Dec 2008
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by F90 View Post
can you make small images ?
yes you can make them any size you want just make sure you dont make them to big so it wont stretch out your template... and when you name them it has to be the exact same way in the options box when added (lower and uppercase letters matters) and save them all one format... the code is set for .png files but you can change it to .gif or whatever where it says "My Favorite PC Game:" you can also make a icon bar or something there that says that if you change the code
Reply With Quote
  #7  
Old 11-06-2009, 01:41 PM
abdobasha2004's Avatar
abdobasha2004 abdobasha2004 is offline
 
Join Date: Aug 2008
Posts: 541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

simple .. but thanks
Reply With Quote
  #8  
Old 11-06-2009, 02:30 PM
soulnothing soulnothing is offline
 
Join Date: Dec 2008
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

.... do u go around commenting on everyones stuff??? everything i have posted you have came by and made a comment about it this being the nicest one which isnt saying much... we are sorry that we dont know everything u do and share ideas and stuff with each other
Reply With Quote
  #9  
Old 11-07-2009, 09:50 PM
soulnothing soulnothing is offline
 
Join Date: Dec 2008
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i will be updating this soon it will have more game images and have an image for the "My Favorite PC Game:" part ill add the psd so you can change the colors and stuff
Reply With Quote
  #10  
Old 11-08-2009, 12:20 AM
betts02's Avatar
betts02 betts02 is offline
 
Join Date: Jun 2009
Posts: 910
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

easier version,just a little editing and works fine
https://vborg.vbsupport.ru/showthread.php?t=213359
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:54 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.04480 seconds
  • Memory Usage 2,321KB
  • Queries Executed 24 (?)
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
  • (3)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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (2)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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