11
kalamata
Encoding broken after database restore
  • 2009/3/2 13:50

  • kalamata

  • Not too shy to talk

  • Posts: 121

  • Since: 2005/3/3 1


Dear All,

I am having the following problem: set the encoding of my page to Greek (88957) and everything was working perfectly until I had to move the site to a different server. I restored the database and re-installed as usual, but the database content, as well as the template content (I had made changes to the template file for the main menu as well) is broken; I get funny characters instead of my text.

This is affecting the whole site (have modules for photos, forum etc) and I am at a loss as to what to do - retrieving the data will take ages and in some case (forum posts) will be impossible.

Do you have any idea as to what I might try?

Regards,
George



12
kalamata
MyAlbum Question
  • 2008/7/17 21:25

  • kalamata

  • Not too shy to talk

  • Posts: 121

  • Since: 2005/3/3 1


Hi,

I am using the myalbum module and having problems with specific images.

I did check that they are of the allowed file types to be uploaded (jpg), they meet the size, width and height limitations but whenever I try to upload them I get the following message: Errors Returned While Uploading
No file uploaded (experimented with setting tmp_name and name to have equal values, but still the message persists).

Could somebody please point me towards what I might be doing wrong?

Thanks,
George



13
kalamata
Can I make custom blocks (and pages) and searchable?
  • 2008/7/5 23:41

  • kalamata

  • Not too shy to talk

  • Posts: 121

  • Since: 2005/3/3 1


Dear All,

I have a site which is heavy on custom pages and blocks and would like to include them in the search facility built-in by xoops.

Is there any way to achieve this (from a quick look at search.php it looks like it is looking for modules with a search facility and then runs search on them). However, since custom blocks and pages are all saved on the database, I am imagining that there should be a way to integrate these to the search.

Best Regards,
George



14
kalamata
How can I have custom sub-menus in main menu hidden exactly in the same way it happens with XOOPS
  • 2008/6/21 13:03

  • kalamata

  • Not too shy to talk

  • Posts: 121

  • Since: 2005/3/3 1


Dear All,

I can create subm-menus fine using the menuMain and menuSub classes, but for some reason my custom sub-menus would always be active. What files do I need to edit to achieve this?

Thanks,
George



15
kalamata
How can I have sub-menus hidden in the main menu block exaclty as it happens for the xoops modules
  • 2008/6/21 12:28

  • kalamata

  • Not too shy to talk

  • Posts: 121

  • Since: 2005/3/3 1


Dear All,

I can create subm-menus fine using the menuMain and menuSub classes, but for some reason my custom sub-menus would always be active. What files do I need to edit to achieve this?

Thanks,
George



16
kalamata
Group Membership Crashing The Site
  • 2007/12/7 13:22

  • kalamata

  • Not too shy to talk

  • Posts: 121

  • Since: 2005/3/3 1


Dear All,

I added a new group to my site, say test, with an id of 5. I also added a function called xoops_isingrouptest in my kernel/user.php file as follows:
if (in_array("5",$this->_groups)){
return true;
}
else {
return false;
}

I, then, added to header.php the assignment of that variable to the Smarty template as xoopstest->$xoopsUser->xoops_isingrouptest().

I can see that the user belongs to the group by running a print_r on the groups array, however, everytime I add one to the group and try to login as that user, all I get is a blank page (no PHP or Smarty erros).

Any hints as to what I might be doing wrong here?

I look forward to hearing from you soon.

Thanks in advance.

George



17
kalamata
Re: HTML Code in Block Title?
  • 2007/7/25 21:51

  • kalamata

  • Not too shy to talk

  • Posts: 121

  • Since: 2005/3/3 1


True, but this does not help much if you only want to format specific bits of the title, does it? If you want a title like Welcome to our big party and you want the word party in bold but only that, you will not be able to achieve it with your solution.

George



18
kalamata
Re: HTML Code in Block Title?
  • 2007/7/25 11:00

  • kalamata

  • Not too shy to talk

  • Posts: 121

  • Since: 2005/3/3 1


up. Please give me some pointers as to how I can implement this.

Thanks,
George



19
kalamata
HTML Code in Block Title?
  • 2007/7/21 22:30

  • kalamata

  • Not too shy to talk

  • Posts: 121

  • Since: 2005/3/3 1


Dear All,

Is it possible to have HTML code in the title of blocks? So, if you want to write a date properly (e.g. 7th July) or if you want your title to blink, is there a way to achieve this?

Thanks,
George



20
kalamata
Re: Smarty variables in conditional statements
  • 2007/7/3 11:40

  • kalamata

  • Not too shy to talk

  • Posts: 121

  • Since: 2005/3/3 1


My fault - I have not given registered users access to the module (it took three hours to understand that ).

As for the Login link, I just used it as an example - do not need it in this case.

Many thanks for your help.

George




TopTop
« 1 (2) 3 4 5 ... 12 »



Login

Who's Online

153 user(s) are online (103 user(s) are browsing Support Forums)


Members: 0


Guests: 153


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