1
invertigo7
Re: Avatar Upload
  • 2013/11/3 19:41

  • invertigo7

  • Just popping in

  • Posts: 14

  • Since: 2005/7/1 1


Thank you for your reply! It appears to be a general image upload problem, as the image gallery gave me an error as well. It said:

Could not get uploaded file 0


Is there any other info I can provide to help?



2
invertigo7
Avatar Upload
  • 2013/11/3 16:28

  • invertigo7

  • Just popping in

  • Posts: 14

  • Since: 2005/7/1 1


Hello all! I cannot get avatars to upload on my site. I get the following error if I try to upload through the Profile Module:

Errors Returned While Uploading fileavatar.jpg
No file uploaded


If I try to upload through the system > Avatars, I get the following:

Errors Returned While Uploading fileavatar.jpg
Invalid image file


I have avatars enabled for users and groups, the file is 100 x 100 pixels and only a few KB (both less than specified in the User settings), I have chmod'ed the uploads and uploads/avatars folders on my site. This is a clean, brand new install of Xoops.

Here is the info from my system overview:
XOOPS Version    XOOPS 2.5.6
PHP Version    5.3.10
-1ubuntu3.4
mySQL Version    5.5.28
-0ubuntu0.12.04.2
Server API    apache2handler
OS    Linux
safe_mode    Off
register_globals    Off
magic_quotes_gpc    Off
allow_url_fopen    On
fsockopen    On
post_max_size    8M
max_input_time    60
output_buffering    4096
max_execution_time    30
memory_limit    128M
file_uploads    On
upload_max_filesize    2M


Is there something I'm missing? I can't imagine no one that uses xoops can use avatars, so there has to be a way to fix this. Thank you!



3
invertigo7
Re: Avatar upload failure
  • 2013/11/3 6:02

  • invertigo7

  • Just popping in

  • Posts: 14

  • Since: 2005/7/1 1


So, is there a fix? I'm having the same issues as the original poster here.



4
invertigo7
Re: Content Module with Configurable Edit Permissions
  • 2009/10/27 17:05

  • invertigo7

  • Just popping in

  • Posts: 14

  • Since: 2005/7/1 1


Thanks for the replies. I can't get SmartSection to work in XOOPS 2.2, I can't get the forms to add a category to display. Do you have a link to this "publisher" module. I did a search, but that is kind of a generic term.

I will try cloning the content module. That may work for me. I've never tried cloning a module, so I will look into how to do that.

Thanks again!



5
invertigo7
Content Module with Configurable Edit Permissions
  • 2009/10/26 17:06

  • invertigo7

  • Just popping in

  • Posts: 14

  • Since: 2005/7/1 1


Hello all! My apologies in advance if this is posted in the wrong place, but I wasn't sure where to place it.

I have a need I'm trying to fill in my organization. We are looking at redoing our web site and I really want to use XOOPS since I have been using it for years on my personal site. However, I have one problem I'm trying to overcome and I'm not finding a solution that will work.

What I need is a content module that allows me to set edit permissions on a per-page basis. I will have a number of people that will be editing the site, but I only want them to have access to edit their part of the site. All the content modules I've looked at are all or nothing. They either don't have access to edit anything, or they have access to edit everything.

Does anyone have any ideas?

Thank you all in advance!



6
invertigo7
Re: Resetting Post Count
  • 2008/1/3 7:52

  • invertigo7

  • Just popping in

  • Posts: 14

  • Since: 2005/7/1 1


I seem to have the problem when I go in and manually delete comments from my news posts that were made by spam accounts.

For example, just tonight, I saw I had a few new spam accounts on my site. Some of them had no posts, so I just deleted their accounts. However, a couple of them made comments to my posts in the news module. I decided to delete the comments before I deleted the accounts. As soon as I deleted just one comment, all the post counts for every member on my site went to -1.

If it makes any difference, the only module on my web site where members can post comments or ANYTHING at all is the news module. Only admins can create new News posts. I can run the script that was linked up on page one and it sets all the post counts back to what they should be.

I just thought I'd throw this info out there in case it helps anyone else.



7
invertigo7
Two Xoops Installs, One Module
  • 2007/11/23 5:10

  • invertigo7

  • Just popping in

  • Posts: 14

  • Since: 2005/7/1 1


Greetings all!

I have a somewhat unusual situation I've been trying to figure out. I have two web sites, we'll call them Site A and Site B. Each site has its own separate XOOPS install and its own databases, Database A and Database B. On site A I have a module that I built that is full of data in Database A. I would like to install the same module on site B, but have it pull its data from Database A. All other modules on site B would use database B as normal, only one specific module would use database A.

I found a post (https://xoops.org/modules/news/article.php?storyid=1222) explaining how to run multiple sites with one XOOPS install, but I don't think that will do quite what I need. I have no problem with using separate installs and separate databases. I only want to share this one module. Both sites are hosted on the same server on our hosting account.

Any suggestions would be greatly appreciated! Thanks!



8
invertigo7
Re: Help With Creating a Module
  • 2006/12/13 21:51

  • invertigo7

  • Just popping in

  • Posts: 14

  • Since: 2005/7/1 1


Mithrandir, my friend, are my hero! The modversion['hasMain'] = 1; was exactly what I needed. I had it in there, but set to zero because the description only said something about the main menu. I didn't realize it did more than just that. Thank you!

akitson, I am going to take a look at that mod right now. Thank you both very much!



9
invertigo7
Help With Creating a Module
  • 2006/12/13 13:24

  • invertigo7

  • Just popping in

  • Posts: 14

  • Since: 2005/7/1 1


I've been using XOOPS on a couple of different sites for a while now, and I feel pretty comfortable with how most things work. However, I'm extremely new at trying to make a module, and maybe I'm in way over my head, but I have a question.

I have created a very basic module called "squad". So far I don't have any blocks or anything, and I don't have an admin page. I just browse to www.mysite.com/modules/squad and it displays the data. The problem I'm having is that I can only view the module when I'm logged in as a user who is a webmaster. I know how to assign groups access rights to modules in the control panel. I have set up my news module, content module, etc to be accessible by all groups and they work fine. However, my module does not show up on the groups page as a module I can assign rights to. How do I make it so my module shows up there so I can grant access permissions? If this doesn't make sense let me know and I'll try to clarify.

I'm really sorry if this is posted in the wrong place, but I can't find any basic newbie guides for making a mod anywhere, and the dev forums don't seem to be visited very much.

Thank you all in advance!



10
invertigo7
Re: News Archive Block and Modifying Ecal Blocks
  • 2005/7/2 16:56

  • invertigo7

  • Just popping in

  • Posts: 14

  • Since: 2005/7/1 1


Thank you! Clicking on update for the Module did take care of my problem! I will check out Multimenu and see if it does what I need. Thank you!

You mentioned that I can delete all the stuff in templates_c. I have a question about that. When I started using XOOPS, I copied the default theme and renamed it to something else. I then started modifying the theme to look how I wanted. I did this by modifying the CopiedThemeName^theme.html file in that folder. Should I have done that a different way? Or is that how it intended to be updated?




TopTop
(1) 2 »



Login

Who's Online

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


Members: 0


Guests: 299


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