vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Show Users System Specs (https://vborg.vbsupport.ru/showthread.php?t=97702)

REVHEAD 03-16-2008 12:31 AM

yes please keep thos mod updated ,its great.

pcoskat 03-22-2008 12:33 PM

Quote:

Originally Posted by Jase2 (Post 1450294)
SnowBot, are you updating this hack?

Anyone know if this works with 3.7?

My question, too! I just saw this on someone's board today, and I want it!

Stifmeister2 03-27-2008 05:02 PM

Quote:

Originally Posted by pcoskat (Post 1471553)
My question, too! I just saw this on someone's board today, and I want it!

It does work with 3.7.

Jase2 03-28-2008 03:49 AM

Quote:

Originally Posted by Stifmeister2 (Post 1476020)
It does work with 3.7.

Are you sure? I can't get it to work. In the last bit:
Code:

<!--System Specs-->
        <div class="vbmenu_popup" id="sysinfo_$post[postid]_menu" style="display:none">

                <table cellpadding="4" cellspacing="1" border="0">

<td class="thead">My System Information</td>

<if condition="$post[fieldX]"><tr><td class="vbmenu_option"><b>CPU:</b> $post[fieldX]</td></tr></if>

<if condition="$post[fieldX]"><tr><td class="vbmenu_option"><b>Mainboard:</b> $post[fieldX]</td></tr></if>

<if condition="$post[fieldX]"><tr><td class="vbmenu_option"><b>Mem:</b> $post[fieldX]</td></tr></if>

<if condition="$post[fieldX]"><tr><td class="vbmenu_option"><b>HDD:</b> $post[fieldX]</td></tr></if>

<if condition="$post[fieldX]"><tr><td class="vbmenu_option"><b>Video:</b> $post[fieldX]</td></tr></if>

<if condition="$post[fieldX]"><tr><td class="vbmenu_option"><b>Sound:</b> $post[fieldX]</td></tr></if>

<if condition="$post[fieldX]"><tr><td class="vbmenu_option"><b>OS:</b> $post[fieldX]</td></tr></if>

                </table>
        </div>
<!--/System Specs-->

Are you meant change FieldX to each field number, for CPU ect... so it's a different number each time? That's what I did, enabled it in my UserCP and it doesn't work. Any ideas where I'm going wrong?

Thanks!

Regards Jason :)

Jase2 03-28-2008 03:57 AM

Ok, I've got it too show -- but my details such as CPU ect. aren't showing -- what could be wrong? Also, there is a big gap between the rep image and the 'system specs' drop down -- any ideas on how to get it right under?

Regards Jason :)

Stifmeister2 03-28-2008 12:01 PM

Damn I don't rmeember right now, I installed this ages ago. :p I'll try to check and look how I did it...

Jase2 03-28-2008 12:14 PM

Ah, I've done it!

Regards Jason :)

sava700 03-28-2008 04:59 PM

Quote:

Originally Posted by Jase2 (Post 1476692)
Ah, I've done it!

Regards Jason :)

what did you do to get it to show up?? You never said what your problem was as mine won't show up but I've got all the fields filled in as a stepping stone in numbers from 8,9,10 etc

nevermind..there is a part of the code at least for 3.6.8

<if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]:$post[reppower]</if> $post[reputationdisplay]</div></if>
<!--System Specs-->
<br />
<if condition="$post[field7] == YES">
<div id="sysinfo_$post[postid]" align="left" class="info" nowrap>
<a href="#sysinfo"><b>My System</b> </a><script type="text/javascript">
vbmenu_register("sysinfo_$post[postid]"); </script></div>
</if>
<br />
<!--/System Specs-->

WEBDosser 04-03-2008 01:51 PM

Hmm.. easy to install, i like it.

MattIS 12-31-2008 09:11 PM

Hello all this will work on 3.7 however some edits have to be done to the code:

The Original
Quote:

<!--System Specs-->
<br />
<if condition="$post[fieldX] == YES">
<div id="sysinfo_$post[postid]" align="left" class="info" nowrap>
<a href="#sysinfo"><b>My System</b> </a><script type="text/javascript"> vbmenu_register("sysinfo_$post[postid]"); </script></div>
</if>
<br />
<!--/System Specs-->
Change With
Quote:

<!--System Specs-->
<br/>
<if condition="$post[fieldX]=YES">
<div id="sysinfo_$post[postid]" align="left" class="info" nowrap>
<a href="#sysinfo"><b>My System</b> </a><script type="text/javascript"> vbmenu_register("sysinfo_$post[postid]"); </script></div>
</if>
<br/>
<!--/System Specs-->
You must remove one "=" and a "Space" to get it to work


All times are GMT. The time now is 03:02 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.01407 seconds
  • Memory Usage 1,745KB
  • 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
  • (1)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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