1101
redheadedrod
need Gallery Module, ExtGallery isn't working quite right 2.4.2 xoops with 1.0.8 extgallery

Ok,

I am using XOOPS 2.4.3 and am trying to install a Gallery.

What I WANT to have is a Gallery with Categories and then inside those categories when you upload pictures they go to seperate Albums within the catagory.

This is for a team web site and one of the Catagories will be for Game pictures. So I have a Category for "Game Photos" then when someone uploads pictures they will be able to make their own Album and put all the pictures for the related game into that catagory.

Seems like this worked out well with XOOPS 2.0.18 and an older version of ExtGallery but I have to manually add the Albums from the Admin Menu with the current version unless I am missing something.

Rodney



1102
redheadedrod
Re: $xoops_isadmin, $xoops_isuser, but $xoops_<custom group>?

It has been a while since this thread was last updated and I want to know if this method works in the latest versions as of this writing.(2.3.3, 2.4.3)

If I have this right...

In /class/template.php we look for the line...
Quote:
$this->Smarty();


And insert the following lines after...
Quote:

global $xoopsUser;
if ( is_object($xoopsUser) ) {
$this->assign( 'xoops_usergroups', $xoopsUser->getGroups() );}



then in our
theme/template

use
Quote:

<{foreach item=group from=$xoops_usergroups}>
<{if $group.groupid == 9}>
YOU CAN SEE ME GROUP 9!
<{/if}>
<{/foreach}>


Then you could use this to go through every id and adjust the theme or template.

What adjustments would need to be made to this to make it look at the group name? And I assume that the system used ID 0-2 for anonymous, registered and admin.

On my site I have 2 additional users as it is a team site and I am using the registered user as the generic fans and I also have a "player" and "moderator" groups available.

Would rather set them up as the names of the groups so if I add or change groups later this can be used.

Also looks like the function listed in the first page would work the way I want it to as well and be somewhat simpler in the long run. Has anyone tested this and make sure it works?

And as has been asked where would you put this function?

Thanks!



1103
redheadedrod
Re: Documentation Discussion - gathering membership

I would like to join the Documentation team.

I am most interested in trying to get the modules documentation up to date as I have mentioned in other locations on here.

Thanks!

Rodney



1104
redheadedrod
Re: XOOPS Module Packs for 2010

Quote:

redheadedrod wrote:
I have been wondering too if there might be a desire to build a wiki that is SOLELY for the use of documenting modules available for xoops.

In this wiki you would list the modules similar how the file repository is and with the wiki actually contain directions on how to use each module. And any special instructions if necessary for installation etc.
~
Blah blah
~
Rodney



Quote:

We definitely have to clean up the Wiki and FAQ.

If anybody wants to help, please join the Documentation Team

We are also looking at Dokuwiki to accomplish what you're looking for.

However, the first step is to have an active Documentation team. So anybody who would like to help, please join



Ahh, ok I didn't realize there already IS a wiki in place setup to do this now. I didn't realize the Documentation tab was actually the Wiki and contains ALL sorts of things...

Would seem to be a good idea for any module developers to put stuff related to their modules in this wiki when then post them such as was done with the "multisite" entry. (Which is actually how I found the wiki in the first place then tried to find it off the main menu...) Maybe there should be another of the larger menu tabs that says Wiki and has the main topics listed under them like it does for "forum" as an example.

Personally I think this or another Wiki (If you go to dokuwiki) should be pushed to be attached to the repository as much as possible so both get updated.


Rodney



1105
redheadedrod
Re: How to change date format in 2.4.3?

Thanks, this worked like a charm. Not sure how I missed them because I DID look in that file first...

I am assuming any modules and such that the date is not correct after changing this will likely have their own formatting somewhere within the module.




PS. To anyone reading this the codes in the format string are PHP formatting characters.



1106
redheadedrod
Re: XOOPS Module Packs for 2010

I have been wondering too if there might be a desire to build a wiki that is SOLELY for the use of documenting modules available for xoops.

In this wiki you would list the modules similar how the file repository is and with the wiki actually contain directions on how to use each module. And any special instructions if necessary for installation etc.

This wiki could also contain directions on how to install modules for newbies as well as how to recover from bad module installs etc.

Basically a Module Usage Wiki that would deal with all the modules available for Xoops. That way you don't have to download the modules to find out how to use them and people can look it over to see if it looks like it will do what they want. Excerpts from the modules could be included if there are instructions or helpful stuff within the modules.

You could even potentially build it into a complete module repository in its self where someone can go to the modules directly through the expanding tree of the Wiki and compare modules, have links for the different releases for each module etc.

I think it would me a scalable system that would make modules much easier to find and use.

I know as a relatively new user I get lost alot and have no clue what I am looking for to do this or that.

Rodney




1107
redheadedrod
How to change date format in 2.4.3?

I need to change the date format for my sites to the dd/mm/yyyy format instead of the yyyy/dd/mm format that comes with the default system.

When I did a search I found messages referring to older systems but that does not work with the newer setups.

I found what seemed to be the setting in the file...

/language/english/locale.php

and modified the following line to read as follows...

define("_YEARMONTHDAY", "n/j/Y G:i");

This did NOT seem to change it in my system and I am stumped on how to modify this. It SHOULD be a simple fix but I have not been able to find mention of it anywhere and I have already wasted way more time then I should have.

I am assuming that this date format is used in the modules as well so if I fix it in one place it should be fixed across the board.

Thanks for any help on this.

Rodney



1108
redheadedrod
Re: Protector detects site manipulation

Quote:

onasre wrote:
You Guys making it sound harder that wht is ..

u just could disable it from protector setting .

"enable manipulation checking"

select No ..


Seems easy sure, the point of this message was that I couldn't get to the menu to change that setting.

When the message comes up there is no EASY way to get into the system PERIOD...You are dead in the water until you figure out that you have to manipulate the flags in the database and go from there.

And if you never have had to mess with that and you don't have a clue how to do that... Well then your stuck until someone helps you or you figure it out.



1109
redheadedrod
Changed from sub domain to domain and site shows subdomain???

Ok, now that I got past my protector issue and actually have the sites online I have another problem.

My old sites were on a different host...

I just started using a new host and decided to upgrade to the lastest XOOPS on the new site and restart the sites from scratch.

I have 2 sites I moved to this new site.

When I was creating the site I put them on the live server as a sub domain to make sure they worked right before going live. This meant they were available by going to...

mysite.host.com

When I got the sites up and running I pointed the name servers from the old sites to the new sites and you can get to them by going to...

mysite.com

However once you type in mysite.com, ANY action on the site goes back to the mysite.host.com URL. And although it does work it is not my intention. It should always use the mysite.com URL.

Is this a XOOPS "feature" or a hosting issue?

I would appreciate any feed back.

I tried deleting cookies and other history and that wasn't the issue and even went to another computer that never was on the sub domains and it operated the same way.

Should have looked through the source before I asked this but assume this line in mainfile.php is the culprit?
define('XOOPS_URL', 'http://myhost.com');

Rodney



1110
redheadedrod
Re: Protector detects site manipulation

I was able to change the setting...

_MI_PROTECTOR_GLOBAL_DISBL

from 0 to 1 which was the setting to totally disable protector from within protector.

This allowed me access to the site.

Ok, I see now what part of the problem was...

Mamba had mentioned to me before that with XOOPS 2.4.3 you don't patch the core to use Protector.

With the patches to mainfile and databasefactory in place the protector module still has "something" in place and deactivating the module by changing the value in _modules doesn't totally disable it. I had apparently patched the core on those sites before being told that and had not changed them yet.

Without the patches in place it does disable the module and you can get into the site from which you can make further adjustments.

I will try to get ahold of the author about this but waiting for his site to give me an activation link which it hasn't done yet.

So as far as I am concerned this is resolved for now. Thanks for those of you that helped me out. I definitely learned something today.

Rodney





TopTop
« 1 ... 108 109 110 (111) 112 113 114 ... 116 »



Login

Who's Online

244 user(s) are online (149 user(s) are browsing Support Forums)


Members: 0


Guests: 244


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