vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Random Arcade for vbAdvanced CMPS (https://vborg.vbsupport.ru/showthread.php?t=66385)

tcs 06-21-2004 10:00 PM

Random Arcade for vbAdvanced CMPS
 
This will display a random arcade game in a side box or Evan a center box if desired.

Install is in the zip.

Hope it don't sux like the Coppermine hack. lol
Coppermine is freeware and I do applaud them for their fine work.

Let me know if you need help.

Idea and part of the code is from Chris-FH hack - https://vborg.vbsupport.ru/showthrea...=random+arcade

I added an image and converted to cmps and changed the template.

Dean C 06-22-2004 09:41 AM

Thankyou for sharing your work once again :)!

ixian 06-23-2004 06:43 AM

You uploaded the php file, not the complete zip with install/templates, it appears...

tcs 06-23-2004 01:23 PM

Yep, Fixed that. Good to go now.

ChuanSE 07-04-2004 07:02 AM

[high]* ChuanSE clicks install, but it don't includes the box border like the other modules ;)[/high]

tcs 07-04-2004 01:46 PM

To get the boarder replace all the template code in adv_portal_rand_arcade with this:

Code:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="$stylevar[tablewidth]" align="center">
<thead>
        <tr>
                <td class="tcat" colspan="2"> <span class="smallfont"><strong>$vba_options[portal_blockbullet]&nbsp;
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_randomtopic')"><img id="collapseimg_forumhome_randomtopic" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_forumhome_randomtopic].gif" alt="" border="0" /></a>
<a href="$vboptions[bburl]/arcade.php?$session[sessionurl]"> Arcade Game</a>
                </td>
        </tr>
</thead>
<tbody id="collapseobj_forumhome_randomtopic" style="$vbcollapse[collapseobj_forumhome_randomtopic]">
        <tr>
                <td class="alt1" align="center"><span class="smallfont">
<fieldset class="fieldset" style="margin:0px 0px 0px 0px">
               
                <div style="padding:0px">
                Have you played?<br><br><a href="$vboptions[bburl]/arcade.php?$session[sessionurl]do=play&gameid=$randgame[gameid]"><img src="$vboptions[bburl]/$stylevar[imgdir_arcade]/$randgameimg" border=0></a><br><br>->&nbsp;&nbsp;<a href="$vboptions[bburl]/arcade.php?$session[sessionurl]do=play&gameid=$randgame[gameid]"><b>$randgame[title]</b></a>&nbsp;&nbsp;<-
                </div></td>
        </tr>
</tbody>
</table>
<br />

Save the other template just in case you don't like the inner boarders.

Flare 07-14-2004 07:26 PM

If I have this module set to active, all I get is a blank screen on my main page.

tcs 07-15-2004 11:36 PM

Try the new code I updated above. Also make sure you set the template to use as 'adv_portal_rand_arcade'

TheComputerGuy 07-16-2004 04:22 PM

thanks! Working on my site
www.runaked.com :)!

Feanor 07-16-2004 05:52 PM

Working fine here too, thank you - HL2 Nation


All times are GMT. The time now is 11:11 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.01198 seconds
  • Memory Usage 1,734KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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