The Arcive of vBulletin Modifications Site. |
|
Random Arcade for vbAdvanced CMPS Details »»
|
|||||||||||||||||||||||||
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. Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Thankyou for sharing your work once again
!
|
|
#3
|
||||
|
||||
|
You uploaded the php file, not the complete zip with install/templates, it appears...
|
|
#4
|
||||
|
||||
|
Yep, Fixed that. Good to go now.
|
|
#5
|
||||
|
||||
|
[high]* ChuanSE clicks install, but it don't includes the box border like the other modules
[/high]
|
|
#6
|
||||
|
||||
|
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]
<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>-> <a href="$vboptions[bburl]/arcade.php?$session[sessionurl]do=play&gameid=$randgame[gameid]"><b>$randgame[title]</b></a> <-
</div></td>
</tr>
</tbody>
</table>
<br />
|
|
#7
|
|||
|
|||
|
If I have this module set to active, all I get is a blank screen on my main page.
|
|
#8
|
||||
|
||||
|
Try the new code I updated above. Also make sure you set the template to use as 'adv_portal_rand_arcade'
|
|
#9
|
||||
|
||||
|
|
|
#10
|
|||
|
|||
|
Working fine here too, thank you - HL2 Nation
|
![]() |
|
|