41
kerkyra
Re: Profile Recent Activity - How to?
  • 2011/1/22 13:45

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


bump?
www.guidemap.gr - Beta is out...



42
kerkyra
Profile Recent Activity - How to?
  • 2011/1/21 15:31

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


hallo anybody,

could someone tell me how the recent activity in profile works?

I would like to add the recent activity items of a module i'm writing, under the user profile.

I'm not sure where to start from.

Does it have to do with notifications?

I just want every time a user adds something in the db, to be shown in his profile... Any tips are welcomed.

Thanks



43
kerkyra
Re: Changing theme through modules settings
  • 2010/12/29 14:13

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


doesnt work cause the theme variables xoImgUrl, theme name etc of the two themes look in the xoTheme object which gives the folder name of the pseudo theme set in the xoops preferences.

I also tried deface which does what i actually want to BUT

it will only show the theme set in the defacer module no matter if a user selects the second one or not :/ :(
www.guidemap.gr - Beta is out...



44
kerkyra
Re: Changing theme through modules settings
  • 2010/12/29 12:32

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


i dont want to put the stylesheet in the module template overiding folder cause its a completely different theme.

In order for the stylesheet to work both themes should have same structure, shouldnt they? Am I missing something?

The code that i quoted actually works it changes the session variable. I can see it works, because if i log out, the logout screen is the one from the theme that i want to actually load.

so i need something the will make it happen after the core has loaded the selected xoops theme.

is this information also stored in a cookie or something?

www.guidemap.gr - Beta is out...



45
kerkyra
Re: Changing theme through modules settings
  • 2010/12/29 1:30

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


hmmm i dont think i follow you kris! could you elaborate that a lil bit please...
www.guidemap.gr - Beta is out...



46
kerkyra
Re: Changing theme through modules settings
  • 2010/12/29 0:48

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


whats in there?
www.guidemap.gr - Beta is out...



47
kerkyra
Re: Changing theme through modules settings
  • 2010/12/28 22:31

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


i did try it mate. It doesn't meet my needs unfortunatelly.

www.guidemap.gr - Beta is out...



48
kerkyra
Re: Changing theme through modules settings
  • 2010/12/28 22:23

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


i'll give it a try mamba. thanks!

although i would also like to know if there is some way perhaps to do it without installing any other module.

thanks again mate

www.guidemap.gr - Beta is out...



49
kerkyra
Changing theme through modules settings
  • 2010/12/28 20:32

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


does anybody know how to load a non-default theme when visiting a module based on user or module preferences?

For example i use newbb but the theme selection in module preferences doesnt seem to work.

I want the forum to have a different theme than the rest of the site. With an option to choose from 2 different forum themes.

This cant be done with defacer.

I tried

Quote:

xoops_setConfigOption('theme_set', $theme);
$_SESSION['xoopsUserTheme'] = $theme;


in the begining of the index.php file but it doesnt work.

Any ideas???



50
kerkyra
Re: Charset problem
  • 2010/12/28 14:04

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


have you had a look of the content in your db tables? how does it look?

I had a problem when I converted my db from iso to utf and every single character was wrong.

I found that i had to convert my db from utf to latin again and back to utf to overcome this.
www.guidemap.gr - Beta is out...




TopTop
« 1 2 3 4 (5) 6 7 8 ... 40 »



Login

Who's Online

233 user(s) are online (146 user(s) are browsing Support Forums)


Members: 0


Guests: 233


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