vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > Add-On Modules & Modifications > Module & Modification Discussion & Requests

Reply
 
Thread Tools Display Modes
  #1  
Old 06-11-2005, 09:35 PM
bezzell bezzell is offline
Junior Member
 
Join Date: Mar 2004
Posts: 16
Default Calendar Babes for CMPS 2?

I'd modified CMPS 1 with the Calendar Babes hack (original thread ) for use as a Photo of the Month. When I upgraded to CMPS 2, the hack no longer works.

Any suggestions where in the new version to make a simillar modification?

I see the new templates (adv_portal_calendar_*), but I'm not sure which one to look at for modification.

Thanks, and love the new version!
Reply With Quote
  #2  
Old 06-12-2005, 11:54 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Calendar Babes for CMPS 2?

Just add that <img> tag in your adv_portal_calendar_header template.
Reply With Quote
  #3  
Old 06-12-2005, 08:02 PM
bezzell bezzell is offline
Junior Member
 
Join Date: Mar 2004
Posts: 16
Default Re: Calendar Babes for CMPS 2?

Thanks Brian - that did it!
Reply With Quote
  #4  
Old 06-28-2005, 01:49 AM
YSR50 YSR50 is offline
Member
 
Join Date: Jun 2005
Posts: 33
Default Re: Calendar Babes for CMPS 2?

what about a weekly picture, is this still possible? Thanks

Last edited by YSR50; 06-28-2005 at 12:27 PM.
Reply With Quote
  #5  
Old 06-28-2005, 12:27 PM
YSR50 YSR50 is offline
Member
 
Join Date: Jun 2005
Posts: 33
Default Re: Calendar Babes for CMPS 2?

also, is it possible to put the photo between the month and the dates?

TIA
Reply With Quote
  #6  
Old 07-09-2005, 09:11 PM
wildondallas's Avatar
wildondallas wildondallas is offline
Member
 
Join Date: Jul 2004
Location: Dallas, TX
Posts: 29
Default Re: Calendar Babes for CMPS 2?

Quote:
Originally Posted by YSR50
also, is it possible to put the photo between the month and the dates?

TIA
I would like to know how to do this also. I got the image to show, but with no surrounding border, like all the other blocks. Before the update to the current cmps and vb, it was enclosed within the mini calendar block. Any suggestions?
__________________
www.WildonDallas.com
Your Elite Online Entertainment Source for the Dallas Texas
Get a Nightlife! Browse, Contribute, Support Dallas' Nightlife Community

Last edited by wildondallas; 07-09-2005 at 09:30 PM.
Reply With Quote
  #7  
Old 07-10-2005, 02:58 AM
VVIper VVIper is offline
Member
 
Join Date: Oct 2004
Posts: 52
Default Re: Calendar Babes for CMPS 2?

wildondalis, your site only shows the image and not the calendar,
did you get it fixed or not.
I am also using VBA RC1 and VB 3.0.7
If i use the IMG tag it inserts but like you i want it to pull files and thumbnails from a directory in the root of the website.
Reply With Quote
  #8  
Old 07-10-2005, 11:10 AM
wildondallas's Avatar
wildondallas wildondallas is offline
Member
 
Join Date: Jul 2004
Location: Dallas, TX
Posts: 29
Default Re: Calendar Babes for CMPS 2?

its not working how i want yet VVIper, and i am patiently waiting for a response.
__________________
www.WildonDallas.com
Your Elite Online Entertainment Source for the Dallas Texas
Get a Nightlife! Browse, Contribute, Support Dallas' Nightlife Community
Reply With Quote
  #9  
Old 07-11-2005, 07:13 PM
majorj0nny1 majorj0nny1 is offline
Senior Member
 
Join Date: May 2005
Posts: 111
Default Re: Calendar Babes for CMPS 2?

does anyone have any idea what needs to be done to create a DALY! calendar pic ? currently I got it down to weekly...
Reply With Quote
  #10  
Old 07-13-2005, 03:08 AM
YSR50 YSR50 is offline
Member
 
Join Date: Jun 2005
Posts: 33
Default Re: Calendar Babes for CMPS 2?

Quote:
Originally Posted by majorj0nny1
does anyone have any idea what needs to be done to create a DALY! calendar pic ? currently I got it down to weekly...
how did you get it to work weekly in CMPS 2?
__________________
ZX-10R.net
Reply With Quote
  #11  
Old 07-13-2005, 03:53 AM
majorj0nny1 majorj0nny1 is offline
Senior Member
 
Join Date: May 2005
Posts: 111
Default Re: Calendar Babes for CMPS 2?

Quote:
Originally Posted by YSR50
how did you get it to work weekly in CMPS 2?
sorry - Im not using CMPS2 ... still 1.01

here is my current callendar_smallmonth_header:

<tr>
<if condition="$show['dontshowweek']">
<td class="tcat" colspan="$colspan" align="$stylevar[left]"><span class="smallfont"><b>$vba_options[portal_blockbullet]
<else />
<td class="tcat" colspan="$colspan" align="center"><b>
</if><a href="$vboptions[bburl]/calendar.php?$session[sessionurl]month=$month&amp;year=$year&amp;c=$calendarid&amp;do=displaymonth">$monthname $year</a></td>
</tr>
<tr align="left">

<if condition="!$show['dontshowweek']"><td class="thead">&nbsp;</td><else /><td class="alt1" colspan="7">
<img src="/calendarimages/week$calweek.jpg">
</td>
</tr>
<tr>
</if>

<if condition="$show['day1']"><td class="thead">$day1</td></if>
<if condition="$show['day2']"><td class="thead">$day2</td></if>
<if condition="$show['day3']"><td class="thead">$day3</td></if>
<if condition="$show['day4']"><td class="thead">$day4</td></if>
<if condition="$show['day5']"><td class="thead">$day5</td></if>
<if condition="$show['day6']"><td class="thead">$day6</td></if>
<if condition="$show['day7']"><td class="thead">$day7</td></if>
</tr>
$calendarrowbits


does that not work for CMPS2?
Reply With Quote
  #12  
Old 07-16-2005, 01:28 AM
YSR50 YSR50 is offline
Member
 
Join Date: Jun 2005
Posts: 33
Default Re: Calendar Babes for CMPS 2?

Quote:
Originally Posted by majorj0nny1
sorry - Im not using CMPS2 ... still 1.01

here is my current callendar_smallmonth_header:

does that not work for CMPS2?
not for me. the new file (adv_portal_calendar_header) looks like this
Code:
<tr>
	<if condition="$show['day1']"><td align="center" class="thead">$day1</td></if>
	<if condition="$show['day2']"><td align="center" class="thead">$day2</td></if>
	<if condition="$show['day3']"><td align="center" class="thead">$day3</td></if>
	<if condition="$show['day4']"><td align="center" class="thead">$day4</td></if>
	<if condition="$show['day5']"><td align="center" class="thead">$day5</td></if>
	<if condition="$show['day6']"><td align="center" class="thead">$day6</td></if>
	<if condition="$show['day7']"><td align="center" class="thead">$day7</td></if>
</tr>
$calendarrowbits
so there is no
Code:
<if condition="!$show['dontshowweek']"><td class="thead">&nbsp;</td></if>
to replace.

like Brian said above, just add that <img> tag. That works fine for monthly
Code:
<img src="/calendarimages/month$month.jpg">
or weekly
Code:
<img src="/calendarimages/week$calweek.jpg">
but not month_week
Code:
<img src="/calendarimages/month$month_week$calweek.jpg">
at least not for me
__________________
ZX-10R.net
Reply With Quote
  #13  
Old 07-16-2005, 09:01 PM
gorp gorp is offline
Member
 
Join Date: Dec 2004
Posts: 76
Default Re: Calendar Babes for CMPS 2?

Quote:
Originally Posted by YSR50
not for me. the new file (adv_portal_calendar_header) looks like this
Code:
<tr>
	<if condition="$show['day1']"><td align="center" class="thead">$day1</td></if>
	<if condition="$show['day2']"><td align="center" class="thead">$day2</td></if>
	<if condition="$show['day3']"><td align="center" class="thead">$day3</td></if>
	<if condition="$show['day4']"><td align="center" class="thead">$day4</td></if>
	<if condition="$show['day5']"><td align="center" class="thead">$day5</td></if>
	<if condition="$show['day6']"><td align="center" class="thead">$day6</td></if>
	<if condition="$show['day7']"><td align="center" class="thead">$day7</td></if>
</tr>
$calendarrowbits
so there is no
Code:
<if condition="!$show['dontshowweek']"><td class="thead">&nbsp;</td></if>
to replace.

like Brian said above, just add that <img> tag. That works fine for monthly
Code:
<img src="/calendarimages/month$month.jpg">
or weekly
Code:
<img src="/calendarimages/week$calweek.jpg">
but not month_week
Code:
<img src="/calendarimages/month$month_week$calweek.jpg">
at least not for me
wherever I add the img tag to that table the pic is outside the calendar box, and not inside it.
Reply With Quote
  #14  
Old 07-17-2005, 06:24 PM
majorj0nny1 majorj0nny1 is offline
Senior Member
 
Join Date: May 2005
Posts: 111
Default Re: Calendar Babes for CMPS 2?

brian ... is there a method to do this daly ?
Reply With Quote
  #15  
Old 08-01-2005, 07:27 AM
hendri hendri is offline
Junior Member
 
Join Date: Feb 2005
Posts: 15
Default Re: Calendar Babes for CMPS 2?

how to put the image inside the calendar box ?
Reply With Quote
  #16  
Old 09-24-2005, 01:26 PM
Allen Mead Allen Mead is offline
Senior Member
 
Join Date: Jul 2004
Location: United Kingdom
Posts: 131
Default Re: Calendar Babes for CMPS 2?

I've go this to work (see here http://www.astra-mk2.com ) although for some reason, the calendar portal is now slightly wider that the others. This may be to do with the thumbnail images sizes. I haven't changed these yet to see if it makes a difference. The other ting it seems to have done is make the gap between the top of the calendar portal to the bottom of the online users portal bigger than the others.

you need to open this template as mentioned before;

adv_portal_calendar_header

Add this code above:

PHP Code:
<tr align="center">
    <class=
"thead">&nbsp;</td><else /><td class="alt2" colspan="7" align="center" style="padding:0px">
<
a href="/calendarimages/month$month.jpg" target="blank" />
<
img src="/calendarimages/thumb/month$month.jpg" alt="Click for full size image" width="100%" border="0" />
</
a>
</
td>
</
tr>
<
tr
Which gives you the following:

PHP Code:
<tr align="center">
    <class=
"thead">&nbsp;</td><else /><td class="alt2" colspan="7" align="center" style="padding:0px">
<
a href="/calendarimages/month$month.jpg" target="blank" />
<
img src="/calendarimages/thumb/month$month.jpg" alt="Click for full size image" width="100%" border="0" />
</
a>
</
td>
</
tr>
<
tr>

<
tr>    
        <if 
condition="$show['day1']"><td align="center" class="thead">$day1</td></if>
    <if 
condition="$show['day2']"><td align="center" class="thead">$day2</td></if>
    <if 
condition="$show['day3']"><td align="center" class="thead">$day3</td></if>
    <if 
condition="$show['day4']"><td align="center" class="thead">$day4</td></if>
    <if 
condition="$show['day5']"><td align="center" class="thead">$day5</td></if>
    <if 
condition="$show['day6']"><td align="center" class="thead">$day6</td></if>
    <if 
condition="$show['day7']"><td align="center" class="thead">$day7</td></if>
</
tr>
$calendarrowbits 
__________________

Last edited by Allen Mead; 09-24-2005 at 01:30 PM.
Reply With Quote
  #17  
Old 09-28-2005, 03:40 PM
Allen Mead Allen Mead is offline
Senior Member
 
Join Date: Jul 2004
Location: United Kingdom
Posts: 131
Default Re: Calendar Babes for CMPS 2?

Any help with the positioning of the modules?
__________________
Reply With Quote
  #18  
Old 11-05-2005, 01:28 PM
bouncingpeanut's Avatar
bouncingpeanut bouncingpeanut is offline
Senior Member
 
Join Date: Feb 2004
Posts: 109
Default Re: Calendar Babes for CMPS 2?

Quote:
Originally Posted by Allen Mead
I've go this to work (see here http://www.astra-mk2.com ) although for some reason, the calendar portal is now slightly wider that the others. This may be to do with the thumbnail images sizes. I haven't changed these yet to see if it makes a difference. The other ting it seems to have done is make the gap between the top of the calendar portal to the bottom of the online users portal bigger than the others.

you need to open this template as mentioned before;

adv_portal_calendar_header

Add this code above:

PHP Code:
<tr align="center">
    <class=
"thead">&nbsp;</td><else /><td class="alt2" colspan="7" align="center" style="padding:0px">
<
a href="/calendarimages/month$month.jpg" target="blank" />
<
img src="/calendarimages/thumb/month$month.jpg" alt="Click for full size image" width="100%" border="0" />
</
a>
</
td>
</
tr>
<
tr
Which gives you the following:

PHP Code:
<tr align="center">
    <class=
"thead">&nbsp;</td><else /><td class="alt2" colspan="7" align="center" style="padding:0px">
<
a href="/calendarimages/month$month.jpg" target="blank" />
<
img src="/calendarimages/thumb/month$month.jpg" alt="Click for full size image" width="100%" border="0" />
</
a>
</
td>
</
tr>
<
tr>

<
tr>    
        <if 
condition="$show['day1']"><td align="center" class="thead">$day1</td></if>
    <if 
condition="$show['day2']"><td align="center" class="thead">$day2</td></if>
    <if 
condition="$show['day3']"><td align="center" class="thead">$day3</td></if>
    <if 
condition="$show['day4']"><td align="center" class="thead">$day4</td></if>
    <if 
condition="$show['day5']"><td align="center" class="thead">$day5</td></if>
    <if 
condition="$show['day6']"><td align="center" class="thead">$day6</td></if>
    <if 
condition="$show['day7']"><td align="center" class="thead">$day7</td></if>
</
tr>
$calendarrowbits 
Nice one - thanks for the helpful instructions
Reply With Quote
  #19  
Old 11-06-2005, 08:53 PM
cbr929rrerion cbr929rrerion is offline
Member
 
Join Date: Oct 2005
Posts: 66
Default Re: Calendar Babes for CMPS 2?

thanks.. got it working on mine too.. Great idea..
Reply With Quote
  #20  
Old 11-10-2005, 12:32 PM
cbr929rrerion cbr929rrerion is offline
Member
 
Join Date: Oct 2005
Posts: 66
Default Re: Calendar Babes for CMPS 2?

I would like for it to change daily too.. is there a way to do that and if some one has the script can you post it.. using 3.5 gold and 2.0 cmps

thanks
Reply With Quote
Reply


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
Calendar babes NuclioN Troubleshooting / "How do I..." Questions 36 04-08-2006 07:59 AM
Calendar -- ugh mtrac Troubleshooting / "How do I..." Questions 3 11-15-2004 10:02 PM
No Calendar poseidon Troubleshooting / "How do I..." Questions 5 05-19-2004 08:33 PM


All times are GMT -4. The time now is 10:33 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.