vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Mini Mods - SteamProfile Integration (https://vborg.vbsupport.ru/showthread.php?t=231081)

johkalhaups 10-05-2010 12:11 AM

<a href="http://www.theriseoftsm.com/forums/index.php" target="_blank">http://www.theriseoftsm.com/forums/index.php</a>

I use posbit instead of postbit_legacy, is there anyway to have this show up to the left of the info in posts like location, posts, join date, etc?

i3lack 10-25-2010 12:23 AM

I put this under my postbit right under the Posts:XXX

To Do this follow the instructions below.

1. Go to Postbit_Legacy
2. Search "Posts" should look like this
Code:

{vb:rawphrase 'posts'} : {vb:raw post.posts}
    </div>

Below Put
Code:

<vb:if condition="$post['fieldx']"><div class="steamprofile" title="{vb:raw post.fieldx}" style="float: left;"></div></vb:if>
<script type="text/javascript" src="steamprofile/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="steamprofile/steamprofile.js"></script>

Make sure to change ['fieldx'] to your field number exp: ['field5']

Save and Load . It too long so to edit this go to steamprofile/themes/default
Edit the Style.css file and change to this

Code:

.steamprofile {
        position: relative;
        width: 180px;
        height: 48px;
        background: #8ba6b8 url(background.png);
        overflow: hidden;
        margin: 4px;
        z-index: 100;
}

To Change how far it comes out change
Code:

width: 180px;
I have mine at width: 180px;

Code:

http://thogaming.com/forums/news-center/4325-new-tho-media.html#post4708
If you have already installed this make sure you delete the coding you put in. If you dont it will not work with this!

R4Z0R49 10-25-2010 10:59 AM

Hello Mycologist,

Works perfect Thank you

PS Steam ids can be found here: http://steamidfinder.com/

T3MEDIA 10-25-2010 11:02 AM

cool. will check it out.

horussjr 10-28-2010 06:31 PM

can somebody make the 2.0.4 work on vbulletin 4.0.8? (or any other v4). here is the official project link
http://code.google.com/p/steamprofile/


PS: not changing the status because of the setting in the files. it's veri ugly made, unfinished etc. i made some changings into the files and themes and it's a lot nicer. and work very well changing the refresh rate

kroko 10-31-2010 11:44 PM

so dose this works with the newest version vbulletin?

lcn 11-01-2010 01:58 AM

Works well with Vbulletin 4.0.8
I modified one small part so the Steam information is posted on the left.

# Go to AdminCP > Styles & Templates > Style Manager > Edit Templates > Postbit Templates > postbit_legacy.
# Find the following line:
Code:

                <vb:if condition="$post['title'] OR $show['messageicon']">
in DeepSkyBlue change the word right to center
Code:

        <vb:if condition="$post['field5']"><div class="steamprofile" title="{vb:raw post.field5}" style="float: center;"></div></vb:if>

ccsdef 11-02-2010 01:07 AM

For those asking about http://code.google.com/p/steamprofile/.

Just use the same instructions as given here however note that you need only include the javascript files included in the new release you do not need jQuery.

If you want the Steam profile to show up on every post simply just move it (the code from step 14) before the code found in step 13.

Also in the default CSS to fix the quote overlap problem you must add a z-index. I used the following to properly display all images and fix the quote overlap.

.steamprofile z-index = 1

.steamprofile .sp-extra z-index = 2 (this just pertains to the stuff that rolls out)

.steamprofile .sp-handle z-index = 3 (this is the part you click to roll out the extras)

Hope this helps!:cool:

Stheal 01-12-2011 01:31 PM

does the mod work? cause i have this problem

https://vborg.vbsupport.ru/

Can anyone help me getting it work?

matrixmark 01-13-2011 10:09 AM

Quote:

Originally Posted by stuky4ever (Post 1940054)
How can I add the Steam Profile thing below the Post Count. Example.

Took a bit of playing around but finally got it for me :D

find:

Quote:

{vb:raw post.yahooicon} {vb:raw post.skypeicon}
In your postbit_legacy file.

and under that ^ line paste in:

Quote:

<vb:if condition="$post['fieldX']"><div class="steamprofile" title="{vb:raw post.fieldX}" style="float: left;"></div></vb:if>
Make sure to change the X in ['fieldX'] part to the number of your field when you created it.

Save and reload.

p.s you might and probably will have to modify the css a little to fit it in there better! but that I wont explain as it might be different all depending what theme you are using etc. The css file is located in "/steamprofile/themes/default" this is the block you need to edit up a little bit to fit your needs.

Quote:

.steamprofile {
position: relative;
width: XXXpx;
height: XXXpx;
background: #8ba6b8 url(background.png);
overflow: hidden;
margin: 4px;
z-index: 100;
}

Replace the XXX's with the sizes for your forum, i used width: 170px; height: 48px; for mine but it might be different for yours
Well hopefully that made sense :p if not let me know and i'll try and explain better. Oh and here is a lil screenshot of what it looks like... hope this is allowed :O


Mark


All times are GMT. The time now is 07:53 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.01464 seconds
  • Memory Usage 1,750KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (7)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete