Log in

View Full Version : Calendergirls hack????


blakkboy
09-04-2003, 09:42 AM
i would like to know if there is a way for someone to give me a code i can use so that when anyone views my calender an image is shown above the calender ( like in a real calender )? thanx in advance

amykhar
09-04-2003, 02:31 PM
you don't need a hack for this. Simply edit it calendar template.

Amy

blakkboy
09-04-2003, 02:50 PM
how would i do that ?????

assassingod
09-04-2003, 02:57 PM
Admin CP->Template->Modify->Calendar Templates

You'll have quite a bit of editing to do, but you'll get there eventually

blakkboy
09-04-2003, 03:02 PM
im a real newbie with vbulletin so could someone perhaps break it down for a noob

blakkboy
09-05-2003, 01:58 AM
how could i use this and apply it to vbulletin styles

hack for inv 1.1.X do not know if it is 1.2 compatible

open /Skin/sX/skin_calendar.php

FIND :

return <<<HTML

<br>
<form action='{$ibforums->base_url}&act=calendar' method='POST'>
<table cellpadding='0' cellspacing='0' border='0'

width='<{tbl_width}>' align='center'>
<tr>


ADD AFTER :

<td align='center' colspan='2'>
<img src="http://your.site.com/calgirls/$month$year.jpg" border='0'>
</center>
<br>
Calendar Girls V1.1 Invisionboard by Miskie
</tr>
<tr>


And you are done with editing... Now, make a directory to keep your images

in.. In this case, Im using /calgirls/ Name your pictures monthyear.jpg to

display... if you would rather use .gif, .png or whatever just change the

<img src" appropriately..

The way this hack is currently setup, there will be a new Image every month..

if you would rather only use a total of 12 images, edit '/$month$year.jpg' to

'/$month.jpg'Then they will cycle thru the same set yearly

**this hack uses derived names.. So, if you have multiple languages

supported on your board, you will need to include images named appropriately

for each language.***

pie
09-05-2003, 02:34 AM
I wouldnt do that personally.

I'd create an image that points to $bburl/{imagesfolder}/$month.jpg

and create one for every month. BTW you'd have to replace $month with the real month $variable

blakkboy
09-05-2003, 11:14 AM
ok but i dont know how to create an image that points to that directory...... im a real noobie sorry

blakkboy
09-06-2003, 10:49 PM
uppin once again

blakkboy
09-22-2003, 02:00 AM
would this work

In the Calendar template, find

$navbar

Immediately following that, place

<br /><div align="center"><img src="$stylevar[imagesfolder]/$month$year.gif" alt="$month $year" title="" border="0" /></div>

let me know if this would work with my vb version

blakkboy
09-24-2003, 01:56 AM
ok i found that it would work but how would i point the image directory to tru-essence.net/calgirls

can someone help me out

gengar003
09-25-2003, 12:13 PM
... "imagesfolder" automatically points to your images folder. just put $month$year picuters in there.

blakkboy
09-26-2003, 02:40 AM
so could i do [images/calgirls] for that part

sabret00the
09-26-2003, 07:21 AM
no just change the whole $stylevar[imagesfolder] to your desired url

gengar003
09-26-2003, 11:46 AM
so could i do [images/calgirls] for that part

well, If I were you... I would use this:



<br /><div align="center"><img src="{imagesfolder}/calgirls/$month$year.gif" alt="$month $year" title="" border="0" /></div>

blakkboy
09-27-2003, 04:35 AM
aiight that sounds good ill let you know how it went

bmckain
10-03-2003, 08:16 PM
Okay, I am interested in how this worked and exactly what you edited.

blakkboy
10-03-2003, 10:36 PM
ill let you know when i apply this