|
 
 |
|
|
 |
About This Page: This is a discussion on Need Help with a V3 arcade Mod within the vBulletin Modifications forums, part of the vBulletin Discusions category, at vBulletin Modification Discussions. I downloaded and installed the Champion Podium Mod for the arcade and it works fine. Only problem is the color on the podiums for the winners names needs to be changed. How and where do I do this? I have |
01-08-2007, 05:07 PM
|
#1 (permalink)
|
|
Junior Member
Join Date: Dec 2006
Posts: 6
|
Need Help with a V3 arcade Mod
I downloaded and installed the Champion Podium Mod for the arcade and it works fine. Only problem is the color on the podiums for the winners names needs to be changed. How and where do I do this? I have searched everywhere for the line to edit the color of the text, but cannot find it.
Can anyone Help?? I tried to get help on the V3ARCADE website but nobody is responding, and I don't think there is any support there anymore.
Thanks
Evil Dave
kritterkots@aol.com
evildaveliveson@yahoo.com
|
|
|
01-08-2007, 05:24 PM
|
#2 (permalink)
|
|
Administrator
Join Date: May 2006
Posts: 2,223
|
Do you have a link to where this mod is displayed?
|
|
|
01-08-2007, 06:16 PM
|
#3 (permalink)
|
|
Junior Member
Join Date: Dec 2006
Posts: 6
|
Quote:
Originally Posted by Code Monkey
Do you have a link to where this mod is displayed?
|
Yes the link is evildaveshouseofhorror.com/forums/arcade.php
Please bear with the speed of the site we have been having some problems with the host.
Thanks
Evil Dave
p.s. I did a search in all the templates and in the arcade.php file and couldnt find it. Maybe I was just looking at the wrong thing.
|
|
|
01-08-2007, 06:27 PM
|
#4 (permalink)
|
|
Administrator
Join Date: May 2006
Posts: 2,223
|
They have hardcoded that ugly yellow background into the template.
Code:
<td style="border-left: thin solid rgb(0, 0, 0); border-right: thin solid rgb(0, 0, 0);" bgcolor="#ffffcc" height="40">evildave </td>
Just do a search for the following in all the templates that came with it and delete every instance.
|
|
|
01-08-2007, 06:30 PM
|
#5 (permalink)
|
|
Administrator
Join Date: May 2006
Posts: 2,223
|
Or change the background color to something that goes with the text more if you want that podium look. The text is default vBulletin. You can overide it but I would suggest changing that ugly yellow first.
|
|
|
01-08-2007, 06:39 PM
|
#6 (permalink)
|
|
Junior Member
Join Date: Dec 2006
Posts: 6
|
Ok I will give it a try
Thanks Very Much for your help
Dave
|
|
|
01-08-2007, 06:43 PM
|
#7 (permalink)
|
|
Junior Member
Join Date: Dec 2006
Posts: 6
|
Quote:
Originally Posted by Code Monkey
They have hardcoded that ugly yellow background into the template.
Code:
<td style="border-left: thin solid rgb(0, 0, 0); border-right: thin solid rgb(0, 0, 0);" bgcolor="#ffffcc" height="40">evildave </td>
Just do a search for the following in all the templates that came with it and delete every instance.
|
I tried that and no go. It is not finding it anywhere. When I got it, the instructions told me to edit the Arcade.php File which I did, and the Arcade Main template which I did. For some reason its not pulling up the code I need to edit it.
Any other Ideas?
Thanks
Dave
|
|
|
01-08-2007, 06:43 PM
|
#8 (permalink)
|
|
Junior Member
Join Date: Dec 2006
Posts: 6
|
Code:
INSTRUCTIONS
Arcade - Awards Podium ||
|| By: Mariusvr ||
\\========================//
#########################
###### Description ######
#########################
This modification displays the arcade Awards Podium on your arcade index.
###################
###### To Do ######
###################
Products to import: (1)
Upload images: (7)
Files to edit: (1) - arcade.php
Templates to edit: (1) - arcade_main
################################
###### Products To Import ######
################################
Go to:
Admin CP -> Plugin System -> Manage Products -> [Add/Import Product]
Import the "product-v3aAwards.xml" file.
###########################
###### Upload Images ######
###########################
Upload the images in the ZIP file to the {your_forum}/images/arcade directory
###########################
###### Files To Edit ######
###########################
In arcade.php find:
($hook = vBulletinHook::fetch_hook('arcade_main_complete')) ? eval($hook) : false;
Above it add:
// Arcade Awards Podium)
if ($vbulletin->options['dispawards'] == '1')
{
$champs = $db->query_read("SELECT user.username, count(games.highscorerid) as prices, user.userid FROM " . TABLE_PREFIX . "arcade_games AS games LEFT JOIN " . TABLE_PREFIX . "user AS user ON user.userid = games.highscorerid WHERE user.userid IS NOT NULL GROUP BY user.username ORDER BY prices DESC LIMIT 0 , 5");
$champ1 = array(); $champ2 = array(); $champ3 = array();
While ($champ = $db->fetch_array($champs))
{
array_push($champ1, $champ['username']);
array_push($champ2, $champ['userid']);
array_push($champ3, $champ['prices']);
};
}
###############################
###### Templates To Edit ######
###############################
In arcade_main find:
<table cellpadding="0" cellspacing="0" align="center"><tr><td>
<div id="tabs" class="alt1">
<table cellpadding="2" cellspacing="0" style="margin: 0px 2px 0px 2px"><tr>
$gamecategories
</tr></table>
</div>
</td></tr></table>
Above it add:
<!-- arcade awards podium -->
<if condition="$vboptions['dispawards'] == '1'">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr align="center" valign="middle">
<td width="140" height="40" align="left" nowrap="nowrap" class="thead">
<img src="$vboptions[arcadeimages]/no1.gif" class="inlineimg" border="0" /> Champion:</td>
<td width="35%" height="40" align="left" class="alt1"><span class="smallfont"><a href="member.php?u=$champ2[0]"><strong>$champ1[0]</strong></a> with $champ3[0] titles</span></td>
<td height="40" class="alt1"> </td>
<td height="40" style="border-bottom-width:thin; border-bottom-style:solid; border-bottom-color:#000000" class="alt1"><img src="$vboptions[arcadeimages]/podium_1.gif" ></td>
<td height="40" class="alt1" > </td>
</tr>
<tr align="center" valign="middle">
<td width="140" height="40" align="left" nowrap="nowrap" class="thead">
<img src="$vboptions[arcadeimages]/no2.gif" class="inlineimg" border="0" /> Runner-up:</td>
<td width="35%" height="40" align="left" class="alt1"><span class="smallfont"><a href="member.php?u=$champ2[1]"><strong>$champ1[1]</strong></a> with $champ3[1] titles</span></td>
<td height="40" class="alt1" style="border-bottom-width:thin; border-bottom-style:solid; border-bottom-color:#000000 "><img src="$vboptions[arcadeimages]/podium_2.gif" ></td>
<td height="40" bgcolor="#FFFFCC" style="border-right-width:thin; border-right-style:solid; border-right-color:#000000; border-left-width:thin; border-left-style:solid; border-left-color:#000000 ">$champ1[0] </td>
<td height="40" class="alt1"> </td>
</tr>
<tr align="center" valign="middle" class="alt1">
<td width="140" height="40" align="left" nowrap="nowrap" class="thead"><img src="$vboptions[arcadeimages]/no3.gif" class="inlineimg" border="0" /> Third Place::</td>
<td height="40" align="left" class="alt1"><span class="smallfont"><a href="member.php?u=$champ2[2]"><strong>$champ1[2]</strong></a> with $champ3[2] titles</span></td>
<td height="40" bgcolor="#FFFFCC" style="border-left-width:thin; border-left-style:solid; border-left-color:#000000 ">$champ1[1] </td>
<td height="40" bgcolor="#FFFFCC" style="border-right-width:thin; border-right-style:solid; border-right-color:#000000;"> </td>
<td height="40" style="border-bottom-width:thin; border-bottom-style:solid; border-bottom-color:#000000 "><img src="$vboptions[arcadeimages]/podium_3.gif" ></td>
</tr>
<tr align="center" valign="middle">
<td width="140" height="40" align="left" nowrap="nowrap" class="thead"><img src="$vboptions[arcadeimages]/no4.gif" class="inlineimg" border="0" /> Wanna-be:</td>
<td width="35%" height="40" align="left" class="alt1"><span class="smallfont"><a href="member.php?u=$champ2[3]"><strong>$champ1[3]</strong></a> with $champ3[3] titles</span></td>
<td height="40" bgcolor="#FFFFCC" style="border-bottom-width:thin; border-bottom-style:solid; border-bottom-color:#000000 ; border-left-width:thin; border-left-style:solid; border-left-color:#000000 "><div align="center"></div></td>
<td height="40" bgcolor="#FFFFCC" style="border-bottom-width:thin; border-bottom-style:solid; border-bottom-color:#000000 "><div align="center"></div></td>
<td height="40" bgcolor="#FFFFCC" style="border-bottom-width:thin; border-bottom-style:solid; border-bottom-color:#000000;border-right-width:thin; border-right-style:solid; border-right-color:#000000; "><div align="center">$champ1[2] </div></td>
</tr>
</table>
<else />
<br />
</if>
<!-- / arcade awards podium -->
###################
###### Enjoy ######
###################
|
|
|
01-08-2007, 06:51 PM
|
#9 (permalink)
|
|
Junior Member
Join Date: Dec 2006
Posts: 6
|
Ok it worked with my name, background is now black. Tried to search for it again and it didnt come up. so how do I change the other parts of the podium to a different color?
thanks
|
|
|
01-08-2007, 07:48 PM
|
#10 (permalink)
|
|
Administrator
Join Date: May 2006
Posts: 2,223
|
Looks to me like you got it. The same template is most likely used for each square. Though changing them to black made them blend with the outer border. You may want to play with the color till you like one and it still has a definitive border.
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |
|
| Online Users |
32 |
| Registered |
1 |
| Guests |
31 |
| Members |
3746 |
| Active Members |
164 |
| Threads |
1791 |
| Posts |
7271 |
| Top poster: Code Monkey (2223) |
| Welcome to our newest member, punko3000 |
| Most users ever online was 235, 04-11-2007 at 08:59 AM. |
|
|