1
tylerjordan
Re: What's the difficulty level of porting a drupal module to xoops?
  • 2009/8/18 23:10

  • tylerjordan

  • Just popping in

  • Posts: 9

  • Since: 2007/2/27


Hmmm, IC. . .I'll try to get hold of the original developer and see if he can assist me with the non-drupal bits.



2
tylerjordan
Re: What's the difficulty level of porting a drupal module to xoops?
  • 2009/8/18 23:08

  • tylerjordan

  • Just popping in

  • Posts: 9

  • Since: 2007/2/27


I do have a link:

http://drupal.org/project/marketplace

I don't think it would be a very popular module for most people and hence don't see a point in trying to rewrite from the ground up. I run a couple local community websites and we have a strong interest in this type of software.

Thanks for any advice.



3
tylerjordan
What's the difficulty level of porting a drupal module to xoops?
  • 2009/8/18 9:03

  • tylerjordan

  • Just popping in

  • Posts: 9

  • Since: 2007/2/27


Just curious if anyone has looked into porting a module from drupal before. There is a module over there, that I'd really like over here.

If you have attempted it, what's involved? Is it hairy and scary?

Cheers



4
tylerjordan
Re: help! module and system content not displaying (only blocks working)
  • 2009/6/12 16:03

  • tylerjordan

  • Just popping in

  • Posts: 9

  • Since: 2007/2/27


Alright, was a dumb goof as they usually seem to be. Was able to get the theme to switch by logging in and out - theme switcher didn't work for some reason. Once I switched themes things went 'right'. Tracked down the problem to something I did in the my theme two days ago

So here's the embarrassing part where I eat crow:

I had moved module content table INTO the center blocks table. As there were no center blocks to display, it wasn't displaying the content either. What befuddled me was that I had set myself up for all this 'fun'. As, before yesterday, I DID have center blocks active. So when I had first made the change to my theme, it was still displaying the content and hence, when I later disabled those center blocks and everything went blank, I KNEW that it couldn't possibly be MY theme causing the problem because it was working just fine a few minutes before! HA! Somehow it must have been something else. . .Crow eaten - yuk!

Thanks for the help and good tips too,

Cheers



5
tylerjordan
Re: help! module and system content not displaying (only blocks working)
  • 2009/6/12 4:38

  • tylerjordan

  • Just popping in

  • Posts: 9

  • Since: 2007/2/27


I'm using my own theme - highly customized menu system, but nothing has changed on it for some time. Thanks for the tip on Cjay content, I never used the spaw editor anyway and have now disabled it.

The errors messages all seem to be of the 'notice' variety and they are not the same depending on which module content I attempt to display (which menu item I select,wiki,profile, forum,etc.) That being the case, I don't think the problem is there.

Good idea to try and change the theme, I switched it in the preferences to 'default' and then to 'zetagenesis' and nothing happened at all, it keeps using my theme!? Something seems quite fishy. I'll get back in a few hours and try pulling my theme out entirely to see what happens - very odd though.

Thanks for the help! All suggestions are welcome!



6
tylerjordan
help! module and system content not displaying (only blocks working)
  • 2009/6/11 14:36

  • tylerjordan

  • Just popping in

  • Posts: 9

  • Since: 2007/2/27


My site suddenly stopped displaying module content. Still shows the blocks for menus and recent content that is in the modules, but no longer shows the content of any of the modules. Even fails to display user profile! Any help would be warmly received! I'm using XOOPS 2.3.3 with mediawiki 1.6.7; CBB 3.0.8; Cjaycontent; videotube; and smartFAQ installed. I turned debugging on and this was the output:

None All errors (0) queries (25) blocks (6) extra (2) timers (6)

Probably something stupid, but it's not a theme problem of that I'm sure. Was working fine, then suddenly wasn't! Maybe it'll fix itself, but I'm doubtful.

Anyone else experienced this?

Thannx for any help. Cheers.


Okay, just noted I do get one error when I try to display the wiki module:

None All errors (1) queries (35) blocks (7) extra (2) timers (6)
Error: [2] mysql_real_escape_string(): 17 is not a valid MySQL-Link resource
Ending Script

Not sure if that is relevant to the problem though.



7
tylerjordan
Re: $xoops_isadmin, $xoops_isuser, but $xoops_?
  • 2007/5/24 14:02

  • tylerjordan

  • Just popping in

  • Posts: 9

  • Since: 2007/2/27


Quote:

leostotch wrote:


Now you can test if the user is a member of a specific group using something like this in your templates:
Quote:
<{if 1|in_array:$xoops_usergroups}>User is a member of group 1<{/if}>
<{if 2|in_array:$xoops_usergroups}>User is a member of group 2<{/if}>


To use the group name instead of its ID/number isn't recommended: the groupd Id will always stay the same, while you may want to change its display name in the future, whitout having to change all your templates.


I've tried this everyway but sideways and I always get the blank white screen of death - surely I have something configured wrong?! I'm attempting to build a custom main menu block. . .can this code go into the block? I assume so. I've also tried replacing the modules/system/templates/blocks/system_block_mainmenu.html file with my own menu system - still get the blank white screen of death. . .any clues?

Cheers, Tyler




TopTop



Login

Who's Online

147 user(s) are online (74 user(s) are browsing Support Forums)


Members: 0


Guests: 147


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits