xoops forums

Forum Index


Board index » All Posts (nachenko)




nachenko

Quite a regular
Posted on: 2007/11/20 21:29
nachenko
nachenko (Show more)
Quite a regular
Posts: 356
Since: 2005/1/18
#21

Re: How to remove some modules in the user profile?

Easy.

You got this:

Quote:
<{foreach item=module from=$modules}>


add this after it:

Quote:
<{if $module.name == "Module I want to show..."}>



then, locate the last foreach closing clause, and close the "if" statement adding this just before:

Quote:
<{/if}>


You want to hide a block? Easy.

Quote:
<{if $module.name != "Module I want to show..."}>


You want to show some blocks? Easy.

Quote:
<{if $module.name == "Module I want to show..." || $module.name == "Module I want to show..."}>


nachenko

Quite a regular
Posted on: 2007/11/20 16:51
nachenko
nachenko (Show more)
Quite a regular
Posts: 356
Since: 2005/1/18
#22

Re: Xoops 2.0.17 and XOOPS EXM

I have yet to try, in my next XOOPS project (starting scheduled next week). Looks promising. Their features should become part ofthe core.


nachenko

Quite a regular
Posted on: 2007/11/20 15:16
nachenko
nachenko (Show more)
Quite a regular
Posts: 356
Since: 2005/1/18
#23

Re: Xoops 2.0.17 and XOOPS EXM

Any news on this?

EXM has become "my XOOPS distribution of choice". Anynews are welcome.


nachenko

Quite a regular
Posted on: 2007/11/15 17:07
nachenko
nachenko (Show more)
Quite a regular
Posts: 356
Since: 2005/1/18
#24

Re: JQuery, XOOPS and Internet Explorer 6

I found a very nice workaround. Put it in the wiki.

In jQuery, the $ function is just an alias. Just use the original jQuery function. So, instead of...

$(document).ready(...

write...

jQuery(document).ready(

That easy.


nachenko

Quite a regular
Posted on: 2007/11/15 17:01
nachenko
nachenko (Show more)
Quite a regular
Posts: 356
Since: 2005/1/18
#25

Re: Setting a cookie

I don't know whether theme choice is stored in a cookie. If this is the case, you could make the cookie last forever just modifying a line of code (whatever line of code set this cookie, that is).

Storing in user profile involves db modification and minor hack of the core.


nachenko

Quite a regular
Posted on: 2007/11/14 10:37
nachenko
nachenko (Show more)
Quite a regular
Posts: 356
Since: 2005/1/18
#26

Re: how to add bg images into text area

Text area is like any other HTML object, you can apply CSS properties to it.

The CSS stuff you need to know:

· the background property
· the concept of "class" in CSS.


nachenko

Quite a regular
Posted on: 2007/11/14 8:44
nachenko
nachenko (Show more)
Quite a regular
Posts: 356
Since: 2005/1/18
#27

Re: XOOPSdocs.org is Open!

Looks good.

I don't like the "news" button that puts you out of the site. If XOOPSDocs has not their own news, it should have no News section or show them via RSS feeds from various sources (perhaps including local support sites)


nachenko

Quite a regular
Posted on: 2007/11/12 12:52
nachenko
nachenko (Show more)
Quite a regular
Posts: 356
Since: 2005/1/18
#28

Re: I have just lost my entire database in SmartSection

Quote:

They do backup daily, and they did a restore from the day before, but something went wrong and it more than doubled the size of my site.

Nobody can figure out why.


Anyway, this is good news.

Do a backup of your entire site as it's now (via FTP) and the database (using PHPMyAdmin). When you're sure you have everything you need, you can do two things:

· Manually check the downloaded content, to see why is it double the expected size.

· Delete the whole site and restore it from their backup. MAKE SURE YOU DID YOUR OWN BACKUP PROPERLY. This way you'll be pretty sure the only files that appear in your site are those form the backup.

Keep us informed. Good luck.


nachenko

Quite a regular
Posted on: 2007/11/11 23:44
nachenko
nachenko (Show more)
Quite a regular
Posts: 356
Since: 2005/1/18
#29

Re: I have just lost my entire database in SmartSection

Before running into panic, reply to this question:

Is your site in a shared host?

If the reply is "yes", ask your host for their backups. Perhaps they can restore the database from a weekly or daily backup.


nachenko

Quite a regular
Posted on: 2007/11/11 23:36
nachenko
nachenko (Show more)
Quite a regular
Posts: 356
Since: 2005/1/18
#30

Re: Funky news glitch

Quote:

FaYsSaL wrote:
Quote:

nachenko wrote:
I always change this on new installations.


can you explain how do u achieve this ?


Sure.

Look for storyform.inc.php in modules/news/includes

Look for this stuff:
Quote:
$editor2=news_getWysiwygForm(_AM_EXTEXT, 'bodytext', $bodytext, 15, 60, 'bodytext_hidden');
$sform->addElement($editor2,false);


There should be an if clause just before this line. Just remove it.



TopTop
« 1 2 (3) 4 5 6 ... 27 »