2941
ghia
Re: data from custom user fields on forums
  • 2009/4/15 8:18

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


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.



2942
ghia
Re: Customizing Error Messages and other language
  • 2009/4/15 7:58

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


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



2943
ghia
Re: How to bring an uninstalled module back?
  • 2009/4/15 7:53

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


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.



2944
ghia
Re: Where does content module store uploaded files?
  • 2009/4/15 7:00

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


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



2945
ghia
Re: Problem with Encoding Characters
  • 2009/4/14 16:55

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


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?



2946
ghia
Re: Best choice among Xoops news modules (articles, ezines, advanced blogs)
  • 2009/4/14 16:51

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


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).



2947
ghia
Re: XOOPS 2.3.3 Final Issues
  • 2009/4/14 16:41

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


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.



2948
ghia
Re: Just looking for a simple module
  • 2009/4/14 10:17

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Look in the /templates directory.



2949
ghia
Re: Lexikon module browse by letter
  • 2009/4/14 10:15

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Modify lx_alphaArray in /include/functions.php



2950
ghia
Re: weblog install error
  • 2009/4/14 7:51

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


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 »



Login

Who's Online

257 user(s) are online (187 user(s) are browsing Support Forums)


Members: 0


Guests: 257


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