21
ZPC
Re: Microsoft Browser compatibility problem (VERY IMPORTANT)
  • 2005/10/29 17:43

  • ZPC

  • Official Support Member

  • Posts: 76

  • Since: 2002/1/16


regarding content ... I wonder ...

regarding the displaying problem ... it's not ideal even in FFox ... the center alignment of some part doesn't work correctly, etc.
But that's problem of the theme and its CSS ... some polishment work would have to be done to correct/clean all them...

regarding the shoutbox ... idea of having ilayer with height="100%" is kinda nice ... but for some MSIE dificult to handle. Try to put there some exact number instead of the percentage... i.e. width="100" will do the work.

If you don't know where to set it up ... ummm... I think it will be in the shoutbox block (or template) ...

I tried it on saved html page localy and it worked for me, should work for you as well.

Take care and happy xoopsing



22
ZPC
Re: myxoops.org hacked!
  • 2005/9/7 21:49

  • ZPC

  • Official Support Member

  • Posts: 76

  • Since: 2002/1/16


this is getting scary ... I noticed several sites being hacked ... e.g. Imago Themes (http://xoops.imagocn.net/modules/news/) - and that's what I call a gentle hack.

The reasons seem to me clear - keep your site updated.



23
ZPC
Re: Bluemoon Multientry form
  • 2005/5/2 8:31

  • ZPC

  • Official Support Member

  • Posts: 76

  • Since: 2002/1/16


It looks like the install is supposed to use mysql.sql file but the file just isn't there.
Check whether it's on it's place:
.../modules/bmef/sql/mysql.sql

If not upload it again...



24
ZPC
Re: Need help finding code in css
  • 2005/5/2 7:55

  • ZPC

  • Official Support Member

  • Posts: 76

  • Since: 2002/1/16


My help to you will be the same as the guys said before...
...the code #e6e6e6 is in the php code of wfdownloads...

I searched my local version (2.0.5) and I found it in these files:
/modules/wfdownloads/templates/wfdownloads_download.html
/modules/wfdownloads/templates/wfdownloads_singlefile.html

If you open these files in some texteditor e.g. notepad, you will easily find it...

After you save it and upload to your server don't forget to Update wfdownloads module in Adnministration -> System module -> Modules Administration


Take care

ZPC



25
ZPC
Re: how to differentiate blocks in theme.html?
  • 2005/4/28 10:53

  • ZPC

  • Official Support Member

  • Posts: 76

  • Since: 2002/1/16


I did, couple times ... but my first question was more about variable $block for using in theme.html, than about block templates, which I know, that I can easily modify etc...
I guess my english is getting worse every day... sorry for that ... but one more try ...

On this page is basicaly what is this all about:
http://xoops.zpc.cz/dev/csslayout/test.html

There you can see the left and right menu blocks ... they don't have any padding inside the .blockContent DIV which is INSIDE the theme.html:
...
<{foreach 
item=block from=$xoops_rblocks}>
<
div class="rightblock">
<
div class="blockHead"><{$block.title}></div>
<
div class="blockContent"><{$block.content}></div>
</
div>
<{/foreach}>
...


but you can see that the other modules should have the padding ...

Now, what should I do ... change the code inside theme.html to something like this:

...
<{foreach 
item=block from=$xoops_rblocks}>
<
div class="rightblock">
<
div class="blockHead"><{$block.title}></div>
<{
$block.content}>
</
div>
<{/foreach}>
...


and modify all templates of blocks on my site - adding the div into every one of them with any variety of css classes as I wont ... right?

<div class="blockContent">...original block-template content...</div>


so I could have in my MENU block-templates:

<div class="blockMenu">...original menu block-template content...</div>


That is what I call pain in ... you know where ...

did you get my point? do I really have to do it that way?



26
ZPC
Re: how to differentiate blocks in theme.html?
  • 2005/4/28 9:39

  • ZPC

  • Official Support Member

  • Posts: 76

  • Since: 2002/1/16


As you guys didn't give me any hint how to differentiate with smarty, I guess there is no way without hacking into the core, right?

Regarding the default template set, resp. modyfing those templates... I am completely aware of that, but I am a bit lazy so I wanted to find some "easier" way how to do it...

basicaly the only problem is that you ususaly need some padding inside a block, but NOT in all blocks ... e.g. main and user menu ... so my idea was the code in theme.html:
...
<{foreach 
item=block from=$xoops_lblocks}>
<
div class="leftblock">
<
div class="blockHead"><{$block.title}></div>
<
div class="blockContent"><{$block.content}></div>
</
div>
<{/foreach}>
...

change to something like this:
...
<{foreach 
item=block from=$xoops_lblocks}>
<
div class="leftblock">
<
div class="blockHead"><{$block.title}></div>
<{if 
$block.bid != 1}><div class="blockContent">
<{else}><
div class="menuBlockContent">
<{/if}>
<{
$block.content}></div>
</
div>
<{/foreach}>
...


so one could have e.g. the menu block quite different than any other block.

Now I will have to change every template on my site and add <div class="blockContent"> in each and every one of them, except the menu-block templates ... damn...
Right?



27
ZPC
how to differentiate blocks in theme.html?
  • 2005/4/27 22:32

  • ZPC

  • Official Support Member

  • Posts: 76

  • Since: 2002/1/16


Hi I am creating more or less table-less three column design, but I came to the point where I would have to change all the default templates for all blocks or give different css classes to mainmenu, user menu and default to other blocks.
But how to do it?
I tried to find what is being sent to the theme template and it's only array of left blocks, right blocks, etc. each only with fields block heading and block content. No bid or blockname or anything, is that right?

What would be the easiest way how to do it? Did I miss something?


The goal is simple, minimum system-templates changes and different html code for different blocks based on their bid or some block_name or something like that...

e.g. menu like on www.myxoops.de in regular block is impossible cause of the padding which you usualy have to give to regular text blocks...

any advices are welcome...

thx



28
ZPC
Re: closing db connection
  • 2005/3/25 19:45

  • ZPC

  • Official Support Member

  • Posts: 76

  • Since: 2002/1/16


The discussion was about our php applications and their db connection closings, which was the theory of some of the hosters.

On the other hand, I came to conclusion, that the error is really only about uncapability to connect to db (because the db is just not accessible due it's down etc.) Our db-server had lil down-time and some other severs had the similar syptoms...

I could say that this morning I didn't wake up with the right foot, the morning post was with too hot head (from the discussions), which is usually not my way of reaction... now I feel lil stupid. I am pulling back the word USELESS off... it's fine. Sorry.


Anyway, why isn't the XOOPS closing his connections to db? any particular reason?



29
ZPC
closing db connection
  • 2005/3/25 11:04

  • ZPC

  • Official Support Member

  • Posts: 76

  • Since: 2002/1/16


I wonder, is there a XOOPS page which closes the db connection after it's finished with grabbing data from db? (while not using the persistent connection)

I may be wrong, but I couldn't find one single "close" line anywhere in the code... am I missing something?

How about putting such thing e.g. in footer, it might solve lot problems with things like this:

Error [Xoops]: Unable to connect to database in file class/database/databasefactory.php line 34

It's an idea, which I got after talking about the error with some folks from czech XOOPS comunity and few web-providers...

I don't wanna be rude but the relevant FAQ is really useless, (No ofense, Mith )

Comments? Reactions?



30
ZPC
Re: XOOPS on PHP5 - success story ;-)
  • 2004/4/26 17:30

  • ZPC

  • Official Support Member

  • Posts: 76

  • Since: 2002/1/16


Anybody got white pages after login after this procedure (the changes listed above and new Smarty 2.6.2) and no error messages even with debug mode on.
I can access most of the admin pages but cannot view any normal page.

Any guesses?




TopTop
« 1 2 (3) 4 »



Login

Who's Online

133 user(s) are online (95 user(s) are browsing Support Forums)


Members: 0


Guests: 133


more...

Donat-O-Meter

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

Latest GitHub Commits