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

Reply
 
Thread Tools
GamerDNA Social Mod Details »»
GamerDNA Social Mod
Version: 1.00, by nightbloom nightbloom is offline
Developer Last Online: Jan 2017 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.8.1 Rating:
Released: 02-14-2009 Last Update: Never Installs: 5
Template Edits
Re-useable Code Additional Files Translations  
No support by the author.

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...86&postcount=1

Download Now

File Type: txt GamerDNA Icon.txt (2.0 KB, 29 views)

Show Your Support

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

Comments
  #2  
Old 02-14-2009, 10:06 PM
nightbloom's Avatar
nightbloom nightbloom is offline
 
Join Date: Mar 2008
Location: Whidbey Island, WA
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I actually wrote this for an entirely different audience, so I explained EVERY step as best I could.
Reply With Quote
  #3  
Old 02-17-2009, 06:39 PM
Jon Tolzien Jon Tolzien is offline
 
Join Date: Nov 2008
Location: Grand Forks, ND
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you please give a product description, especially for us new people
Reply With Quote
  #4  
Old 04-11-2009, 02:22 AM
down.low down.low is offline
 
Join Date: Mar 2009
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And exactly what does this do?
Reply With Quote
  #5  
Old 04-11-2009, 02:26 AM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by down.low View Post
And exactly what does this do?
Adds your GamerDNA (If your a member) info via a clickable icon in postbit etc. Members provide the url/ link address via their usercp in the profile fields.

Just like some of the mods you have seen recently to add in your twitter details like this one (However it is for their profile not postbit etc)

https://vborg.vbsupport.ru/showthrea...hlight=twitter

S-MAN
Reply With Quote
  #6  
Old 04-11-2009, 02:33 AM
down.low down.low is offline
 
Join Date: Mar 2009
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheLastSuperman View Post
Adds your GamerDNA (If your a member) info via a clickable icon in postbit etc. Members provide the url/ link address via their usercp in the profile fields.

Just like some of the mods you have seen recently to add in your twitter details like this one (However it is for their profile not postbit etc)

https://vborg.vbsupport.ru/showthrea...hlight=twitter

S-MAN
hey thanks a lot for the answer good buddy.
Reply With Quote
  #7  
Old 04-11-2009, 02:36 AM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by down.low View Post
hey thanks a lot for the answer good buddy.
No Problem! I just happened to be on
Reply With Quote
  #8  
Old 05-17-2009, 11:14 PM
MaR? MaR? is offline
 
Join Date: Aug 2008
Location: Argentina
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You are my Superman!... Im using this to add youtube icon... Just a question.

I want to show this icon also on "contact page" on profile... Do I have to put the same code?
Reply With Quote
  #9  
Old 06-22-2009, 10:23 AM
DNG DNG is offline
 
Join Date: Jun 2009
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice
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 02:14 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.07771 seconds
  • Memory Usage 2,308KB
  • Queries Executed 23 (?)
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_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (1)postbit_attachment
  • (9)postbit_onlinestatus
  • (9)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete