View Single Post
  #1  
Old 10-29-2004, 08:09 PM
Earl Grey Earl Grey is offline
 
Join Date: Oct 2004
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Mod Help Needed - Broke Something

I know this is a cmps mod but I was wondering if this problem might be an original set-up/install issue. The mod and larger image are working fine, just the addressing to the images are hosed.



Any help would be greatly appreciated...



Board --> http://www.lobo.net/~rbf/forum/guild...ps_index.php??



The Details



I could use some help guys, I've looked high and low, can't seem to figure out why this is happening.



I believe I've followed the instructions correctly. The image space above the calendar and link to larger image is working fine. The problem is the url to the images is not correct.



I created the calendarimages file and within that the thumbs file. I uploaded this right along the rest of my files (i.e. images, install, include...) with the image titles, as mentioned in the post.



The problem is that I am getting 'red x' no image. on both thumb and full.



Here are the urls that are being pulled and are broken;

Code:
http://www.lobo.net/calendarimages/thumb/month10.jpg

http://www.lobo.net/calendarimages/month10.jpg
Here are the working ones;

Code:
http://www.lobo.net/~rbf/forum/guild_forum/calendarimages/thumb/month10.jpg

http://www.lobo.net/~rbf/forum/guild_forum/calendarimages/month10.jpg
Notice "~rbf/forum/guild_forum/" is missing from the broken set

Here is the code I altered on calendar_smallmonth_header;

Code:
<tr>

<if condition="$show['dontshowweek']">

<td class="tcat" colspan="$colspan" align="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="center">

<if condition="!$show['dontshowweek']"><td 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 Sized Image" width="100%" border="0" />

</a>

</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


x-fingers for a fix...
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01203 seconds
  • Memory Usage 1,780KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete