![]() |
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. |
Thankyou for sharing your work once again :)!
|
You uploaded the php file, not the complete zip with install/templates, it appears...
|
Yep, Fixed that. Good to go now.
|
[high]* ChuanSE clicks install, but it don't includes the box border like the other modules ;)[/high]
|
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"> |
If I have this module set to active, all I get is a blank screen on my main page.
|
Try the new code I updated above. Also make sure you set the template to use as 'adv_portal_rand_arcade'
|
thanks! Working on my site
www.runaked.com :)! |
Working fine here too, thank you - HL2 Nation
|
Nice one tcs. However, I've noticed if you have disabled games, it shows these too. I have a load of games that I release in drip-fashion. What needs changing in the code to exclude disabled games?
|
I will look into that on the disabled games.
|
Thanks tcs.
|
thanks for great module.
i have seen this on numerous sites, i know it works, and works well. when i make this module active, i get white screen or action cancelled screen. i have looked over everything 5 or 6 times i have no idea. if i take the random_arcade.php out of the files to include, the template shows up, but when i put to incude the .php, the whole thing goes bad..... what could it be ? thanks |
You have the Template name in the wrong box by the sounds of it. Make sure it is in the Templates to include box.
An since you know me,, you can call me bro and I will help you install it. (Think "V") |
V !!
is that hooves i hear, beatin a path the other way ?? LOL !! |
I'm not sure if this is still supported but changing the first line of the template from
Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="$stylevar[tablewidth]" align="center"> Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="$stylevar[tablewidth]" align="center"> Great module btw, cheers. HB |
Just a note of caution....
I upgraded one of the sites to 3.0.5 and this hack broke some portions of it.. I would get the error: Code:
Unable to add cookies, header already sent. Code:
?> While I had this on the cmps_index page - it worked fine - but I have the left bar showing on several other pages - and once I got into the forums - it would break. Remove the ending seems to have solved the issue. |
I'm not seeing the image, when looking at the properties of where the image should be I see
PHP Code:
Chet |
Quote:
|
I haven't upgraded yet but will in the nest day or so to see what is up with it.
|
how about ipbarcade can anyone integrate this to it?
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Hi KW802, Nice seeing ya bro.
djjeffa, I did the 3.0.6 upgrade and the hack works fine with the upgrade. Yo might try changing the $randgame to $rgame. Could be a statement conflict. |
Quote:
|
Hi Everyone, I am running vb 3.0.7 with CMPS 1.01 and I am getting a blank page on any page where I activate this module. I did use the new template info but still the blank page.
Any ideas on how I can fix this? Thanks in advance. |
Hi there
I have a problem with this module. In the random_arcade.php file you have this line of code eval('$home["$mods[modid]"][\'content\'] .= "' . fetch_template('adv_portal_rand_arcade') . '";'); in the php file it puts the block right across the whole page. But with this code eval('$home[$onlineid][\'content\'] = "' . fetch_template('adv_portal_rand_arcade') . '";'); it works as a block but it will only show on the left if the order is set to 1 even if you set the order to 5, 10, it will only show it in order 1. can anyone help with this |
What version of vBulletin you running?
|
Doesn't work for me. All it shows is the header name and no info about the latest game. Not even the text above the image shows up (i tried pasting into header too).
|
This is for the older version VB and v3arcades. What version you running?
I can fix this up if there is a request for this. |
Vb 2.0.12
VBa 2.0 V3Arcade 1.0.3 |
All times are GMT. The time now is 04:52 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|