vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   [MOD] Icon games in Active users list (https://vborg.vbsupport.ru/showthread.php?t=155751)

robb9 08-20-2007 01:46 PM

[MOD] Icon games in Active users list
 
1 Attachment(s)
Hi!

Open arcade/modules/mod_arcade.php


Search
Code:

$DB->query("SELECT gid, gtitle FROM ibf_games_list WHERE gid IN ($games_list)");
Replace with:

Code:

$DB->query("SELECT gid, gtitle, gname FROM ibf_games_list WHERE gid IN ($games_list)");



Search

PHP Code:

$games_names[$g['gid']] = $g['gtitle']; 

below add:

PHP Code:

$games1_names[$g['gid']] = $g['gname']; 




search:

Code:

$span_pre = "<span title='".$ibforums->lang["playing"].$games_names[$gid]."' style='text-decoration: none; border-bottom: 1px dashed; padding-bottom: 1px;'>";
replace with:

Code:

$span_pre = "<img src=\"www.yourserver.com/images/".$games1_names[$gid]."2.gif\" alt='".$ibforums->lang["playing"].$games_names[$gid]."'><span title='".$ibforums->lang["playing"].$games_names[$gid]."' style='text-decoration: none; border-bottom: 1px dashed; padding-bottom: 1px;'>";


That's All :)

stangger5 08-20-2007 07:26 PM

I coded this same idea months ago...Little different but same idea..

Are you working on anything else ??
I`ve got some new add-ons coming soon... ;)

Gemma 08-21-2007 07:32 AM

I did this two years ago :)

https://vborg.vbsupport.ru/showpost....&postcount=431

stangger5 08-21-2007 10:35 AM

Quote:

Originally Posted by Gemma (Post 1322137)

I wish,, I had seen that months ago..
I went through invisionboard ibparcade seeing how they did it...

If I had seen yours,,,would have saved me allot of time...lol...

Hey Gemma,,,are you working on anything else or have anything in the making ??
I love playing around with the arcade....;)

robb9 08-22-2007 07:51 AM

Quote:

Originally Posted by stangger5 (Post 1321827)
I coded this same idea months ago...Little different but same idea..

Are you working on anything else ??
I`ve got some new add-ons coming soon... ;)


Hy another add-ons is:

Share games with url and embed code.

Quote:

Originally Posted by Gemma (Post 1322137)

Ops.. i dont'k know :)

MrZeropage 08-26-2007 06:09 AM

Quote:

Originally Posted by robb9 (Post 1322949)
Hy another add-ons is:

Share games with url and embed code.

what does this do ?


All times are GMT. The time now is 01:09 AM.

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.01075 seconds
  • Memory Usage 1,729KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete