vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=275626

My Favorite Game With Picture
by Khalid-B
18 Dec 2011 12:34

2 Attachment(s)
Discription.

My Favorite Game is a simple modfisation that allow users to choose there favorite game through user CP.
I was using at my forum and decided to share at vb.org , may be some one wants to use for his forum .

Install.....

Instructions are in .zip file

Gamelobby 22 Dec 2011 21:57

Where does the "Misc" folder go..?
Seems like they are images, but i dont see an image folder in this zip.

Just want to be sure where they go.
Thanks

Khalid-B 25 Dec 2011 19:36

upload all images in your styles misc folder

duditas 13 Jan 2012 12:41

Hello
First of all I would like to thank you for this great mod, although it doesn't work for me.

You don't tell us which User Profile Field should we choose:
http://img26.imageshack.us/img26/6174/fieldy.jpg

I have chosen the Single-Selection Menu, I have changed your name of games by styles of music and your images for my own.
The selection is possible, but images don't show even in postbit_legacy
http://img69.imageshack.us/img69/8259/stylesh.jpg


The code has changed:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This </div> doesn't exist in 4.1.8, perhaps that is why the mod does not work.

It is my first time doing something like this, I hope you can help me (I also hope you can understand me, my english is awful xD)

woody313 16 Jan 2012 02:58

This is not my mod but I thought I would update it for the 4.1.10 board.

Step #1
You will need to add a new user profile field:
GOTO:
ACP/User Profile Fields/Add New User Profile Field

Select: Multiple-Selection Menu

Title: My Favorite Game
Description: This will show an image of your favorite game in your status profile.

Options: Add the below list.

Assassin's Creed-2
Assassin's Creed-3
Battlefield-3
Call Of Duty MW2
Call Of Duty Black Ops
Call Of Duty MW3
Fifa 2010
Fifa 2011
Gears Of War-2
Gears Of War-3

Field Required: NO
Field Editable by User:Yes
Allow user to input their own value for this option: NO

Save: Once saved look and see what the Name "fieldxx" is, where the xx's are there will be a number right this number down you will need it later.

Step #2

Upload images in the archive to your images/xxxxx you can make a diferent folder anyware within your image folder to store the images in, I will show you how to set the correct path below.

Step #3

You will now need to edit the postbit_legcy section.
ACP/Styles & Templates/Styles Manager

Choose your style from the list, from the drop down menu choose Edit Template. You will now scroll down to Postbit Templates and double click.
From there click on the postbit_legacy,from here do the below.

FIND

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

ADD AFTER:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Ok the above code will need to be edited, First make sure to edit the path to point to were you have your game images stored.
Second you will need to change all the xx's with the number you wrote down, don't worrie if you only have one number just enter that number and remove the extra x.

Once done click save at the bottom..

Step #5

Go to your profile and select a game from the drop down list, it should now show in your post profile.

https://www.vbulletin.org/forum/external/2012/01/39.jpg

You can add new games to your list by uploading the images to the folder were your game images are stored and adding them to the list of options in the User Profile Field under the ACP.
Make sure when adding options/New games you name them exactly the same as the image corsponding with game minus the extechen .png

Hope this works out if you have problem please post in this forum and I will try and help.

Thanks
wOOdy

alghzil 16 Jan 2012 10:04

cool

can i put more images ?

woody313 16 Jan 2012 16:13

Quote:

Originally Posted by alghzil (Post 2288477)
cool

can i put more images ?

Read the bottom of my above post it tells you how to add more games and the images.

Peace

duditas 17 Jan 2012 02:36

Thanks woody, but look what happens when I put the code where you said

With the code
http://img585.imageshack.us/img585/5...ssedupw.th.jpg



Without the code
http://img576.imageshack.us/img576/9...thingok.th.jpg

My vB is 4.1.8


Any suggestion? Thanks

woody313 21 Jan 2012 09:15

Sorry for the long dely, looks like a table/spacing problem is that a social mod?.
I only updated this on our board did not test it any other just thought I would share it.
If you can not clear the alignment up send me the contents of your postbit_legacy via this site and I will take a look at it and see if I can get it lined up for ya.

Peace
wOOdy

duditas 07 Feb 2012 01:50

Please, look into your private messages, woody313


All times are GMT. The time now is 18:13.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.