vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v1.x (Archive - Closed for Posting) > Troubleshooting / "How do I..." Questions

 
 
Thread Tools Display Modes
  #1  
Old 06-04-2005, 01:54 PM
nastea nastea is offline
Junior Member
 
Join Date: Nov 2004
Posts: 20
Default Make the border the same as my forum

I'm running CMPS as my main page, how can i make it so the "modules" have the same setup as my forums.

www.dcevoclub.com
forums:
http://forums.dcevoclub.com/index.php?

i'm specifically talking about trying to get this (sorry image is crappy size restrictions):



around the modules.
Attached Images
File Type: jpg help.jpg (19.3 KB, 43 views)
  #2  
Old 06-04-2005, 01:59 PM
ConqSoft's Avatar
ConqSoft ConqSoft is offline
Senior Member
 
Join Date: Jan 2004
Location: Raleigh, NC
Posts: 1,364
Default Re: Make the border the same as my forum

I'd suggest upgrading the CMPS 2.0 first, since it has a "wrapper" for the modules. Then you only have to edit ONE place to make all your modules have that same look/feel.
__________________
My Blog
GPS Discussion Forum

*** Please do not contact me privately for help. Thanks. ***
  #3  
Old 06-04-2005, 02:04 PM
LEAD_WEIGHT's Avatar
LEAD_WEIGHT LEAD_WEIGHT is offline
Senior Member
 
Join Date: Mar 2005
Posts: 307
Default Re: Make the border the same as my forum

I would like to have that done aswell but I know it is not a simple solution
__________________
User Name : test
Password : test
www.theundergroundsource.com
  #4  
Old 06-04-2005, 02:05 PM
LEAD_WEIGHT's Avatar
LEAD_WEIGHT LEAD_WEIGHT is offline
Senior Member
 
Join Date: Mar 2005
Posts: 307
Default Re: Make the border the same as my forum

Quote:
Originally Posted by ConqSoft
I'd suggest upgrading the CMPS 2.0 first, since it has a "wrapper" for the modules. Then you only have to edit ONE place to make all your modules have that same look/feel.
Do not say that without explaining how to edit! That is just teasing ppl that need to know
__________________
User Name : test
Password : test
www.theundergroundsource.com
  #5  
Old 06-04-2005, 02:29 PM
ConqSoft's Avatar
ConqSoft ConqSoft is offline
Senior Member
 
Join Date: Jan 2004
Location: Raleigh, NC
Posts: 1,364
Default Re: Make the border the same as my forum

You just edit the "wrapper" template and add the same code to the top/bottom of the table there as the top/bottom of the other tables of your site.
__________________
My Blog
GPS Discussion Forum

*** Please do not contact me privately for help. Thanks. ***
  #6  
Old 06-04-2005, 03:23 PM
LEAD_WEIGHT's Avatar
LEAD_WEIGHT LEAD_WEIGHT is offline
Senior Member
 
Join Date: Mar 2005
Posts: 307
Default Re: Make the border the same as my forum

Thanks ConqSoft, I got it now. lots of work for each module but at least it going to look professional.
__________________
User Name : test
Password : test
www.theundergroundsource.com
  #7  
Old 06-04-2005, 03:32 PM
ConqSoft's Avatar
ConqSoft ConqSoft is offline
Senior Member
 
Join Date: Jan 2004
Location: Raleigh, NC
Posts: 1,364
Default Re: Make the border the same as my forum

You should only have to do it once if you have it set to use the module wrapper with 2.0.
__________________
My Blog
GPS Discussion Forum

*** Please do not contact me privately for help. Thanks. ***
  #8  
Old 06-04-2005, 04:03 PM
LEAD_WEIGHT's Avatar
LEAD_WEIGHT LEAD_WEIGHT is offline
Senior Member
 
Join Date: Mar 2005
Posts: 307
Default Re: Make the border the same as my forum

Quote:
Originally Posted by ConqSoft
You should only have to do it once if you have it set to use the module wrapper with 2.0.
Ok, I guess I am going about this the wrong way. Exactly where do I need to do this.
I hope it is not "Use Module Shell Template" cause it goofs it up.
__________________
User Name : test
Password : test
www.theundergroundsource.com

Last edited by LEAD_WEIGHT; 06-04-2005 at 04:18 PM.
  #9  
Old 06-04-2005, 04:22 PM
ConqSoft's Avatar
ConqSoft ConqSoft is offline
Senior Member
 
Join Date: Jan 2004
Location: Raleigh, NC
Posts: 1,364
Default Re: Make the border the same as my forum

Edit the "adv_portal_module_shell" template, adding any customizations needed for your particular skin/style.

Then, make sure all your modules have the option for "Use Module Shell Template" set to Yes. (You'll need to edit the templates for any custom module templates and remove the <table> </table> and the first <tr></tr> from them. Otherwise, they'll be doubled up. (You'll see them when you turn that option to Yes.)
__________________
My Blog
GPS Discussion Forum

*** Please do not contact me privately for help. Thanks. ***

Last edited by ConqSoft; 06-04-2005 at 04:24 PM.
  #10  
Old 06-04-2005, 05:48 PM
LEAD_WEIGHT's Avatar
LEAD_WEIGHT LEAD_WEIGHT is offline
Senior Member
 
Join Date: Mar 2005
Posts: 307
Default Re: Make the border the same as my forum

So this is the code for module I have & all I have to do is place the rest inside?


Code:
<table width="100%" cellpadding="0" cellspacing="0" border="0"> 
<tr> 
<td width="30" height="50"><img src="forums/images/bluepearl/misc/t1.jpg" border="0" width="30" height="50"></td> 
<td width="100%" height="50" background="forums/images/bluepearl/misc/t3.jpg" align="left"><img src="forums/images/bluepearl/misc/t2.jpg" border="0" width="64" height="50"><!--<img src="forums/images/bluepearl/misc/tforums.jpg" border="0" width="122" height="50">--></td> 
<td width="24" height="50"><img src="forums/images/bluepearl/misc/t4.jpg" border="0" width="24" height="50"></td> 
</tr> 
<tr> 
<td width="30" background="forums/images/bluepearl/misc/t5.jpg"></td> 
<td width="100%" bgcolor="#5C71CA" valign="top"> 
<table align="center" class="page" cellspacing="0" cellpadding="0"width="100%"> 
<tr valign="top">

<--Place code here-->

<td width="24" background="forums/images/bluepearl/misc/t6.jpg"></td> 
</tr> 
<tr> 
<td width="30" height="31"><img src="forums/images/bluepearl/misc/t7.jpg" border="0" width="30" height="31"></td> 
<td width="100%" height="31" background="forums/images/bluepearl/misc/t8.jpg" align="right"><img src="forums/images/bluepearl/misc/t10.jpg" border="0" width="26" heigth="31"></td> 
<td width="24" height="31"><img src="forums/images/bluepearl/misc/t9.jpg" border="0" width="24" height="31"></td> 
</tr>
So far I got this but it does not quite look right but it does work

Code:
$mods[formcode]
<table width="100%" cellpadding="0" cellspacing="0" border="0"> 
<tr> 
<td width="30" height="50"><img src="forums/images/bluepearl/misc/t1.jpg" border="0" width="30" height="50"></td> 
<td width="100%" height="50" background="forums/images/bluepearl/misc/t3.jpg" align="left"><img src="forums/images/bluepearl/misc/t2.jpg" border="0" width="64" height="50"><!--<img src="forums/images/bluepearl/misc/tforums.jpg" border="0" width="122" height="50">--></td> 
<td width="24" height="50"><img src="forums/images/bluepearl/misc/t4.jpg" border="0" width="24" height="50"></td> 
</tr> 
<tr> 
<td width="30" background="forums/images/bluepearl/misc/t5.jpg"></td> 
<td width="100%" bgcolor="#5C71CA" valign="top"> 
<table align="center" class="page" cellspacing="0" cellpadding="0"width="100%"> 
<tr valign="top">

	<thead>
		<tr>
			<td class="tcat" colspan="$mods[colspan]">
			<if condition="$vba_style['portal_collapsemods']">
				<a href="#top" onclick="return toggle_collapse('module_$mods[collapse]')" style="float:$stylevar[right]"><img alt="" border="0" id="collapseimg_module_$mods[collapse]" src="$stylevar[imgdir_button]/collapse_tcat$modimgcollapse.gif" /></a>
			</if>
			<span class="smallfont"><strong>$vba_style[portal_blockbullet] <if condition="$mods['link']"><a href="$mods[link]">$mods[title]</a><else />$mods[title]</if></strong></span></td>
		</tr>
	</thead>
	<tbody id="collapseobj_module_$mods[collapse]" style="$modcollapse">
		<if condition="$show['tablerow']">
			<tr>
				<td class="$bgclass">
					$modulehtml
				</td>
			</tr>
		<else />
			$modulehtml
		</if>
	</tbody>
</table>
<div><img src="$vboptions[bburl]/$vboptions[cleargifurl]" height="$vba_style[portal_vspace]" alt="" /></div>

<if condition="$mods['formcode']"></form></if>

<td width="24" background="forums/images/bluepearl/misc/t6.jpg"></td> 
</tr> 
<tr> 
<td width="30" height="31"><img src="forums/images/bluepearl/misc/t7.jpg" border="0" width="30" height="31"></td> 
<td width="100%" height="31" background="forums/images/bluepearl/misc/t8.jpg" align="right"><img src="forums/images/bluepearl/misc/t10.jpg" border="0" width="26" heigth="31"></td> 
<td width="24" height="31"><img src="forums/images/bluepearl/misc/t9.jpg" border="0" width="24" height="31"></td> 
</tr>
</table>
__________________
User Name : test
Password : test
www.theundergroundsource.com

Last edited by LEAD_WEIGHT; 06-04-2005 at 06:19 PM.
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I make CMPS public but forum private? spaghie Troubleshooting / "How do I..." Questions 6 04-12-2005 02:48 AM
want to make a new module based on a forum Xil Ze Troubleshooting / "How do I..." Questions 1 03-21-2005 04:42 PM
Make browser title show message / forum name mvulcan Troubleshooting / "How do I..." Questions 4 02-26-2005 11:15 AM
Make Forum into a Module yinyang Troubleshooting / "How do I..." Questions 1 06-02-2004 07:50 PM


All times are GMT -4. The time now is 09:14 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.