11
Chris03
Re: Images problem
  • 2006/3/15 0:26

  • Chris03

  • Quite a regular

  • Posts: 372

  • Since: 2004/2/22


its a banner system, it doenst ASSUME the banner is stored on your site, it doesnt add your sites URL infront automatically, It asks for the URLhttp://somedomain.com/banner/baner.gif orhttp://yourdomain.com/banner/banner.jpg etc etc, it asks for a URL path incase the banner isnt stored on your domain.
KickassAMD

12
Chris03
Re: Images problem
  • 2006/3/15 0:28

  • Chris03

  • Quite a regular

  • Posts: 372

  • Since: 2004/2/22


To be sure is this a template you are making him? Or are you using the XOOPS banner module? I think that is where i might have gotten confused
KickassAMD

13
Chris03
Re: Images problem
  • 2006/3/15 0:31

  • Chris03

  • Quite a regular

  • Posts: 372

  • Since: 2004/2/22


if this is a template you are making then do


<img src="<{$xoops_url}>images/banners/banner.jpg"> and smarty will parse the xoops_url out to whatever is stored in mainfile.php as the sites path.
KickassAMD

14
ludaluda
Re: Images problem
  • 2006/3/15 0:33

  • ludaluda

  • Just popping in

  • Posts: 21

  • Since: 2006/3/14


Chris03 i dont think you have worked with other stuff than XOOPS before, nor another website than yours.

You see, if you build a website in any html editor, and you add a link to a page for than very own website, you can of course enter the full url, but its not recommended.

what you have to do, is only put bio.htm for example, and your website will look in the root and find the bio.htm file.

You dont have to wrtie the full url.

Anyway, it's not answering me at all, you're answering me newbie stuff.

I guess im in the newbie part of the forum and only newbies are here so ill move to another section.

15
Chris03
Re: Images problem
  • 2006/3/15 0:35

  • Chris03

  • Quite a regular

  • Posts: 372

  • Since: 2004/2/22


LMAO im own my own hosting company that powers 2000+ websites, ive designed 100s of sites, i also power more then 200 XOOPS domains, 100 mambo powered domains. Newbie hardly ive setup more XOOPS installations, then you are old. I dont think you really understand XOOPS and what im talking about.
KickassAMD

16
ludaluda
Re: Images problem
  • 2006/3/15 0:35

  • ludaluda

  • Just popping in

  • Posts: 21

  • Since: 2006/3/14


Quote:

Chris03 wrote:
if this is a template you are making then do


<img src="<{$xoops_url}>images/banners/banner.jpg"> and smarty will parse the xoops_url out to whatever is stored in mainfile.php as the sites path.


I'm not making a template, i only added a banner simply with the XOOPS website as it is. I simpley add a theme from 7dana if you read my first post correctly.

17
ludaluda
Re: Images problem
  • 2006/3/15 0:37

  • ludaluda

  • Just popping in

  • Posts: 21

  • Since: 2006/3/14


<img src="<{$xoops_url}>images/banners/banner.jpg">

if i enter that in the url path when i enter a new banner VIA the banner admin system it will really not work.

18
Chris03
Re: Images problem
  • 2006/3/15 0:37

  • Chris03

  • Quite a regular

  • Posts: 372

  • Since: 2004/2/22


If you using the XOOPS banner module. YOU HAVE TO enter the full URL to the image. Maybe you should read my post all 10 of them telling you you have to enter the full URL. XOOPS isnt frontpage or any other junk editor u have used.
KickassAMD

19
ludaluda
Re: Images problem
  • 2006/3/15 0:47

  • ludaluda

  • Just popping in

  • Posts: 21

  • Since: 2006/3/14


Quote:

Chris03 wrote:
If you using the XOOPS banner module. YOU HAVE TO enter the full URL to the image.


god #OOPS#, am i on planet earth?

ill explain it more easily so youll understand.

IF I do like YOU say:

banner url that i enter NOW while im BUILDING the WEBSITE on MY server. MY server is not the CLIENT server. MY url is then NOT the same as the CLIENT url.

SO the url of the banner presently IS www.mysite.com/test/images/banners/image.jpg

BUT the next url will be www.clientsite.com/images/banners/image.jpg

if i enter MY full url, maybe it will work, BUT it will not when i will install the website on the client SERVER BECAUSE HIS URL HIS DIFFERENT.

I WILL HAVE TO CHANGE ALL URLS OF THE WEBSITE.

how many urls do you think i will have to change? about a hundred.

right now i only added 3 images, 1: a banner, 2: bullets for the menus 3: icons on the left of register text.

but when i will finish customizing the website there will be a lot!


NOW ANOTHER IMPORTANT THING, because with all you said you do as website you must be a hell pro, but you obviously dont seem to understand right,


READ SLOWLY OK:

when im on the home page (THE FIRST PAGE)(MY VIRTUAL PATH PAGE) i see ALL images perfectly.

when i go to the news section or forum or any other section you want, ALL IMAGES DISAPPEAR.

CASE 1: home page, i right click every new image i added, and URLS ARE OK.

CASE 2 : news or any other section, images disappeared and urls ARE NOT OK (when i right click, it says www.mysite.com/test/modules/news/images/banners/image.jpg)
while the image is in www.mysite.com/images/banners/image.jpg

WHY THAT WHY THAT, and thats the real problem.

the full url thing is nothing compared to this problem, but still i shouldnt have to enter a full url as path to my wbsite graphics.

THAT IS JUST CRAZY.

20
Chris03
Re: Images problem
  • 2006/3/15 0:53

  • Chris03

  • Quite a regular

  • Posts: 372

  • Since: 2004/2/22


[Text removed - Be Nice! - We pride ourselves in being a tight-knit community that polices itself well, and we want to keep it that way. This means showing respect to all members.] Bluenova

1) why are you adding bullets etc etc for menu items to the banner admin, are you sure you know what the banner administrator is for??

2) IMAGE IN THE BANNER ADMIN MUST HAVE THE FULL URL TO THE BANNER.

3) YES THE IMAGES ARE COMING UP WRONG BE CAUSE YOU ARE USING IMAGES/PATH/THEIMAGE.JPG AND XOOPS IS ADDINGHTTP://WWW.SITENAME.COM/MODULES/WHATEVER_MODULE_YOU_ARE_VIEWING/IMAGES/PATH/THEIMAGE.JPG.

4) If you have to change that many images, and there URLs you need to rethink your approach.

5) Dont add client banners until you get the domain to them.

6) Yea im a Pro, dont have to come to XOOPS forums about a simple HTML question. Ive learned not to XOOPS installations on anything other then the clients domain. Too much crap to have to change to get it going again.
KickassAMD

Login

Who's Online

219 user(s) are online (102 user(s) are browsing Support Forums)


Members: 0


Guests: 219


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits