Back to vBulletin 3.8 Template Modifications

GamerDNA Social Mod
Mod Version: 1.00, by nightbloom

vB Version: 3.8.1 Rating: (0 vote - 0 average) Installs: 5
Released: 15 Feb 2009 Last Update: Never Downloads: 31
Not Supported Template Edits Additional Files Re-usable Code Translations  

This is a really, really simple mod for anyone. I whipped it up on my board, but in the interest of supporting a well made product, (http://www.gamerdna.com) Ill post it here for anyone else that may be interested in it.

Ive included a text file also. Otherwise, you only need to DL the GamerDNA icon or make your own. This same format can be used for ANY social site like Twitter, WeGame, YouTube, etc...

Step 1: Open your AdminCP and select Add New User Profile Field Manager.

Step 2: Create a new Profile Field using a Single-Line Text Box

Step 3: Input the following information (If it is not mentioned, leave default)
Title: My GamerDNA Profile
Description: Display your GamerDNA Profile in your posts by putting your GamerDNA user name here.
Private Field: Yes
Field Searchable on Members List: No
Show on Members List: No

Step 4: Remember the profile field number that is listed (ex: field5)

Step 5: In your AdminCP open Style Manager

Step 6: Beside your default skin (you will have to repeat for each additional skin you use) select Edit Templates in the drop down menu.

Step 7: Find Postbit Templates in the menu and expand it.

Step 8: Select the postbit or postbit_legacy (whichever you use, postbit is across the top of the post, legacy is down the left side of post) template and click it.

Step 9: Find:
PHP Code:
<div>$post[icqicon$post[aimicon$post[msnicon$post[yahooicon$post[skypeicon
and add under it:
PHP Code:
<!--GamerDNA Icon --->
<if 
condition="$post[fieldXXX]">
<
a href ="http://$post[fieldXXX].gamerdna.com"target="_blank"><img src ="$stylevar[imgdir_misc]/GDNA.png"border="0"alt="View Member's GamerDNA Profile"></a>
</if>
<!--
GamerDNA Icon ---> 
Step 10: Replace XXX in fieldXXX with your GamerDNA profile field number that you noted earlier.

Step 11: Scroll to the botton and select Save and Reload in case you need to move it, alter it or you missed something.

Step 12: Upload the GDNA.png image to your images/misc folder in your forum root folder. (note: You may need to also upload the icon to your style image folder)

Step 13: Go into your UserCP/Edit Your Details, input your GamerDNA user ID, go check a post on your forum and see if it worked. If it doesnt, go back to the template and make SURE you changed BOTH fieldXXX to the correct fields.

Here is a sample post to show what it will look like...

http://igamelegit.com/forum/showpost.php?p=54686&postcount=1

Download

File Type: %1$s GamerDNA Icon.txt (2.0 KB, 31 downloads)

Screenshots


vblts.ru supports vBulletin®, 2022-2024