vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - Steam Mini Profiles (For Steam Connect) (https://vborg.vbsupport.ru/showthread.php?t=266884)

Disasterpiece 07-14-2011 10:00 PM

Steam Mini Profiles (For Steam Connect)
 
1 Attachment(s)
This Addon displays a Mini Steam Box in the postbit template.

It requires the Steam Connect Addon to find the according Steam ID.
It's a vbulletin-implementation of Barracuda's SteamProfile Plugin.


INSTALL

1) Upload all the files inside "upload" directory to their respective locations

2) CHMOD directory "clientscript/steamprofile/cache" to 777

3) Import the product xml file as an Addon inside your AdminCP

4) Navigate to Settings > "Steam Mini Profile Settings" and configure the product to fit your needs.

BASIC STYLING

The best idea is to use it in the upper right corner of the postbit. You can accomplish this by adding this CSS to your CSS > additional.css template:

Code:

div.steamprofile{
float:right;
display:block;
z-index:300;
}

If you want to place it at any other position inside the postbit* template, follow the instructions in this post: https://vborg.vbsupport.ru/showpost....70&postcount=3
Just place the following part anywhere you like the profile to appear:
HTML Code:

<vb:if condition="$post['steamid']"><div class="steamprofile" title="{vb:raw post.steamid}"></div></vb:if>

See Upgrade Notes for Upgrade v1.0 -> v1.1

Garrey 07-16-2011 02:13 PM

But how can I move it? It's before post - but I would like to get it after post and aligned to right.

Thanks!

Disasterpiece 07-16-2011 06:23 PM

Quote:

Originally Posted by Garrey (Post 2221214)
But how can I move it? It's before post - but I would like to get it after post and aligned to right.

Thanks!

Hi

First, go to Admincp > Plugins, deactivate the plugin "add steam profile" in hook "postbit_display_start".

Then you navigate to Styles > Templates > Postbit > postbit/postbit_legacy (depends on what you're using)

Find:
HTML Code:

<!-- / attachments -->
                                        </vb:if>

Below, add:
HTML Code:

<div class="steamprofile" title="{vb:raw post.steamid}"></div>
Then Navigate to Styles > Templates > CSS > additional.css
Add this to the template somewhere:
Code:

div.steamprofile{
float:right;
display:block;
z-index:300;
}

Save

That's it!

Garrey 07-17-2011 12:24 PM

You are fast!
Thanks a lot! :)

nojo 07-20-2011 11:32 PM

doesnt display the miniprofile...

i went and disabled the plugin hook ' Admincp > Plugins, deactivate the plugin "add steam profile" in hook "postbit_display_start". '

and i check the source of the html... it is where it needs to be, but it doesnt display...

any ideas?

ps. steam connect works 100%

Disasterpiece 07-21-2011 12:33 PM

Quote:

Originally Posted by nojo (Post 2223053)
doesnt display the miniprofile...

i went and disabled the plugin hook ' Admincp > Plugins, deactivate the plugin "add steam profile" in hook "postbit_display_start". '

and i check the source of the html... it is where it needs to be, but it doesnt display...

any ideas?



ps. steam connect works 100%

View the source code of your forum and search for the term "steamprofile/ajax/steamprofile.min.js"
It should appear within the head-tags of your template. If it doesn't, you need to include the following line in your headinclude template manually:

HTML Code:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="http://www.example.com/forum/clientscript/steamprofile/ajax/steamprofile.min.js"></script>

Substiture example.com with your forum url.

nojo 07-22-2011 04:40 PM

its there... have looked around at all the settings, still no idea... all the files are in the right folders.. steam connect is 100% all settings look 100%.

http://www.wkaclan.com/ if you want to peak at the source. (youll only be able to see the news section, which should be enough to see the source of a page with it on it)

nojo 07-22-2011 04:47 PM

iv also tried it with this on and off
Quote:

First, go to Admincp > Plugins, deactivate the plugin "add steam profile" in hook "postbit_display_start".

Disasterpiece 07-22-2011 04:56 PM

The plugin Add steamprofile should remain active.

It seems you're missing jquery. What does the setting "Skip JQuery" say in your admincp > steam mini profile settings?

nojo 07-23-2011 08:12 PM

works now, thanks


All times are GMT. The time now is 04:48 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.01166 seconds
  • Memory Usage 1,749KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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