xoops forums

Forum Index


Board index » All Posts (ghia)




ghia

Community Support Member
Posted on: 2009/4/15 8:18
ghia
ghia (Show more)
Community Support Member
Posts: 4953
Since: 2008/7/3 1
#2941

Re: data from custom user fields on forums

You can blend in some php code in the templates between the <{php}> and <{/php}> tags.
Check if the $xoopsUser object exists. If not, echo the link. If it does look up the fields and echo them as Trabis pointed out.


ghia

Community Support Member
Posted on: 2009/4/15 7:58
ghia
ghia (Show more)
Community Support Member
Posts: 4953
Since: 2008/7/3 1
#2942

Re: Customizing Error Messages and other language

A list of most language files (will be incomplete in the future) is here.


ghia

Community Support Member
Posted on: 2009/4/15 7:53
ghia
ghia (Show more)
Community Support Member
Posts: 4953
Since: 2008/7/3 1
#2943

Re: How to bring an uninstalled module back?

The module has several data in the database. Of course the tables created by the module, but also an entry in the module table, where all modules are listed. This entry contains the module number the mid. This id is used in various other tables as reference to the module. They have a field that is named mid or contains mid in the name (sometimes modid or mod_id). Examples are the tables for blocks, comments, configuration (where the preferences are kept), group permissions, templates and notifications.
So, a lot of information is woven in the database. Depending on the module it is easier to recreate the exact status of what is was before. The biggest problem is that the module id is a consecutive number for every install. When you restore to another system, the number may already be taken. Overwriting will be a sure inroad to disaster.
When you get a new module id, all refencing data must be altered.
For most modules an install with restore of the tables created by the module (see sql file) would work together by a review of all permission and admin settings.

For more complex modules, it may be necessary that other data has to be present for eg the created categories. In normal use, for eg creating new categories, the category record is inserted together with eg a permissions record. When changing the category permissions, both records are updated.
If you have the category inserted by the restore operation and you modify the permissions of the category, the update for the permissions record will fail, because it was never inserted and does not exists.
That also category numbers get their number at creation, may further complex the situation for getting all the reference numbers right.


ghia

Community Support Member
Posted on: 2009/4/15 7:00
ghia
ghia (Show more)
Community Support Member
Posts: 4953
Since: 2008/7/3 1
#2944

Re: Where does content module store uploaded files?

Just one tought: Beware for the camelcaps: have correct upper- and lowercase letters in the name.


ghia

Community Support Member
Posted on: 2009/4/14 16:55
ghia
ghia (Show more)
Community Support Member
Posts: 4953
Since: 2008/7/3 1
#2945

Re: Problem with Encoding Characters

What is the encoding of your site and database?
Which font is used? Is the difference to see on the same computer?
Is there a link, where we can see it?


ghia

Community Support Member
Posted on: 2009/4/14 16:51
ghia
ghia (Show more)
Community Support Member
Posts: 4953
Since: 2008/7/3 1
#2946

Re: Best choice among Xoops news modules (articles, ezines, advanced blogs)

Quote:
Is it possible to let each top category (1 module use) have its own "latest postings" lists to be placed on different pages? News category on "Start page" and other categories in other places?

In principle you can clone a block and because you canselect the categories to display in it, you could end up with one block per category. Or you can make a custom one as here on XOOPS France.
For the pages, there the choice is more limited in the sense that there are only as many pages as there are modules. (A module can have several views, but they count as 1 page).


ghia

Community Support Member
Posted on: 2009/4/14 16:41
ghia
ghia (Show more)
Community Support Member
Posts: 4953
Since: 2008/7/3 1
#2947

Re: XOOPS 2.3.3 Final Issues

If the image (with the letters and digits to type over) is not showing, check the required directory and switch caching off for modules system and profile.


ghia

Community Support Member
Posted on: 2009/4/14 10:17
ghia
ghia (Show more)
Community Support Member
Posts: 4953
Since: 2008/7/3 1
#2948

Re: Just looking for a simple module

Look in the /templates directory.


ghia

Community Support Member
Posted on: 2009/4/14 10:15
ghia
ghia (Show more)
Community Support Member
Posts: 4953
Since: 2008/7/3 1
#2949

Re: Lexikon module browse by letter

Modify lx_alphaArray in /include/functions.php


ghia

Community Support Member
Posted on: 2009/4/14 7:51
ghia
ghia (Show more)
Community Support Member
Posts: 4953
Since: 2008/7/3 1
#2950

Re: weblog install error

Probably a problem with the newer version of mysql.
Edit the /sql/mysql.sql file and change all default '0' to default 0 (without quotes and for all fields which are int(egers)).
Another problem might be the int(100), it should be int(10).



TopTop
« 1 ... 292 293 294 (295) 296 297 298 ... 461 »