vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   why has images folder's path been changed after uploading to host? (https://vborg.vbsupport.ru/showthread.php?t=172162)

kotlt99 03-05-2008 02:54 PM

why has images folder's path been changed after uploading to host?
 
Hi there, pros!

I've created a new style. And I tested it many times at localhost. It runs perfectly. But when I upload to web host, the path of images folder has been changed automatically.

For example:

Before:
Code:

http://domain/forum/mystyle/statusicon/forum_old_lock.gif
After:
Code:

http://domain/forum/mystyle/statusicon/%20/forum_old_lock.gif
Even I created a folder name " " (space), the images didnt appear.

Why has images folder's path been changed after uploading to host?

Please help! :confused:
Thanks in advance! :(

vBDesignerz 03-05-2008 03:01 PM

do you have a space in your folder's name?
if so, then take out the space, you shouldnt have spaces in your folders
but if not, then there might be something wrong with your ftp program u are using

kotlt99 03-05-2008 03:35 PM

Quote:

Originally Posted by killaduce (Post 1457681)
do you have a space in your folder's name?
if so, then take out the space, you shouldnt have spaces in your folders
but if not, then there might be something wrong with your ftp program u are using

sorry but i don't have any space in my folder's name . And i'm using FlashFXP to upload image file .

vBDesignerz 03-05-2008 03:44 PM

ok so what your saying is when you upload your image folder "statusicon"
it addes those extra digits ?

kotlt99 03-05-2008 04:14 PM

When i connect by ftp , i see this folder's name is : statusicon
But when i load my forum,images don't load , i copy image location and i see statusicon%20 . I don't know what happened with my new style :(

I tried to rename my folder's name to "statusicon " or "statusicon%20" but it don't work.
This is a part of my .xml
Code:

<?xml version="1.0" encoding="ISO-8859-1"?>

<style name="hirufm (fluided)" vbversion="3.6.8" product="vbulletin" type="custom">
       
<templategroup name="StyleVar Special Templates">

               
<template name="imgdir_button" templatetype="stylevar" date="1166809290" username="hiru" version=""><![CDATA[styles/hirufm/buttons]]>
</template>
               

<template name="imgdir_misc" templatetype="stylevar" date="1166809290" username="hiru" version=""><![CDATA[styles/hirufm/misc]]>
</template>
               

<template name="imgdir_statusicon" templatetype="stylevar" date="1166809290" username="hiru" version=""><![CDATA[styles/hirufm/statusicon]]>
</template>


<template name="imgdir_poll" templatetype="stylevar" date="1166809290" username="hiru" version=""><![CDATA[styles/hirufm/polls]]>
</template>

<template name="imgdir_rating" templatetype="stylevar" date="1166809290" username="hiru" version=""><![CDATA[styles/hirufm/rating]]>
</template>       

</templategroup>


vBDesignerz 03-05-2008 04:17 PM

ok your uploading your images to "myself/statusicon"
is there a folder in your ftp that is called styles?
if so go to styles, then go to hirufm and the click on statusicon and upload ur images there

because i read - [CDATA[styles/hirufm/statusicon]]
thats just a guess tho, dont get mad if im wrong lol

edit: but either way, nothing will happen if i was wrong, so dont be afraid to try that out (just be sure not to replace any images you dont want to)

SEOvB 03-05-2008 04:42 PM

reexport your style xml from your localhost.
Upload all images to correct locations on your server
Install xml file on server

see if it does the same

kotlt99 03-09-2008 02:13 AM

Quote:

Originally Posted by FRDS (Post 1457782)
reexport your style xml from your localhost.
Upload all images to correct locations on your server
Install xml file on server

see if it does the same

Thanks FRDS, it worked


All times are GMT. The time now is 04:41 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01034 seconds
  • Memory Usage 1,731KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete