1
dukehen
RM-Soft Downloads Module - Cannot upload
  • 2006/3/20 22:52

  • dukehen

  • Just popping in

  • Posts: 91

  • Since: 2003/12/9


Hello, I am attempting to upload a word document for download through my 1.5 Module.

I am running XOOPS 2.2.4.

The error I receive is that I should check the permissions of my upload path, which I have double checked and the permissions are fine.

Originally, the path was XOOPS_PATH/modules/rmdp/uploads

so I thought of just changing it to the generic uploads folder of XOOPS. No luck there either. Still get the same error.

I have also tried encasing the XOOPS_PATH in {} so that it now says {XOOPS_PATH}/uploads/ No luck either.

I am sure it is a small, stupid problem that I am missing - if anyone knows, I would greatly appreciate it.

Also, I double checked, and I did make sure that .DOC files are allowed in the file extension list.



2
dukehen
Re: Is there such a module that will do this?
  • 2006/2/5 16:02

  • dukehen

  • Just popping in

  • Posts: 91

  • Since: 2003/12/9


Quote:

beanstalk wrote:
multimenu does this as well.


True, but multimenu is limited to 8 menu items, and I can say after only a few minutes that Content is a better module for me. Does exactly what I want it to.

Thanks all!



3
dukehen
Re: Is there such a module that will do this?
  • 2006/2/5 1:22

  • dukehen

  • Just popping in

  • Posts: 91

  • Since: 2003/12/9


Quote:

barryc wrote:
You can do that with the Content module. Look at www.aka.org/aka, which is a rebuild of my live site using 2.2.4. I also took the opportunity to change some of the modules I'm using for content. Instead of multiple installations of tinycontent, I now use one installation of Content. I hide the system Main Menu and rename the Site Content menu of the Content module to Main Menu. Content allows you to order the menu items as you want and to add submenus as you indicated. If you click on General Content on that site you see the submenus. There are also submenus to the Member Content menu but you won't be able to see those. They are visible only to members (obviously enough). Their visibility is controled by a hack we have added to Content allowing menu level permissions. The programming of that was dne by a friend of mine.

Barry Cooper


Thanks a bunch Barry, I am going to download this bad boy and do some testing tonight/tomorrow.

Thanks again, this sounds like it is going to do EXACTLY what I want!



4
dukehen
Re: Is there such a module that will do this?
  • 2006/2/4 15:56

  • dukehen

  • Just popping in

  • Posts: 91

  • Since: 2003/12/9


I should also note that I am using XOOPS 2.2.4

Sorry for leaving that out.



5
dukehen
Is there such a module that will do this?
  • 2006/2/4 14:46

  • dukehen

  • Just popping in

  • Posts: 91

  • Since: 2003/12/9


Been a while since I have had the time to work on XOOPS' sites, and am glad to be back but have been out of the loop and searching hasn't been successful for me yet.

I am looking to design a XOOPS site for a business that deals with different sports equipment and service and whatnot.

Anyway, I would LIKE to be able to customize the main menu in this way:

I would like to have sub menus within the main menu say A, B, C, and D. Each of these menus have their own sub menus but would only display their own submenus if they are clicked on.

So, when you go to the site, it would look like this:

Main Menu
A
B
C
D

But if say you clicked on B, it would change to this:

Main Menu
A
B
Sub 1
Sub 2
Sub n
C
D

-----------------------------
Then all I have to do is a figure out a way to create virutally unlimited custom menus that will link to real content (such as news categories, photo galleries, etc. that I will otherwise hide from the main menu for organization.

Any ideas?

Thanks muchly!



6
dukehen
Re: Darn, stumped!
  • 2004/6/30 12:25

  • dukehen

  • Just popping in

  • Posts: 91

  • Since: 2003/12/9


Join the club!

http://www.alterboyz.com/modules/news/

login: testy / testy



7
dukehen
Re: Code syntax error?
  • 2004/6/30 0:54

  • dukehen

  • Just popping in

  • Posts: 91

  • Since: 2003/12/9


Yes, the file exists.

I should have mentioned that.

oops



8
dukehen
Re: Darn, stumped!
  • 2004/6/29 20:12

  • dukehen

  • Just popping in

  • Posts: 91

  • Since: 2003/12/9


Now, when I switch theme to default, it adds these specific queries:

--------------------
SELECT b.* FROM xoops_newblocks b, xoops_block_module_link m WHERE m.block_id=b.bid AND b.isactive=1 AND b.visible=1 AND m.module_id IN (0,3,-1) AND b.bid IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16) ORDER BY b.weight,b.bid
SELECT COUNT(*) FROM xoops_priv_msgs WHERE (read_msg = 0 AND to_userid = 1)
SELECT f.*, s.tpl_source FROM xoops_tplfile f LEFT JOIN xoops_tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'alter' AND tpl_file = 'system_block_user.html') ORDER BY tpl_refid
SELECT * FROM xoops_tplfile WHERE (tpl_tplset = 'alter' AND tpl_file = 'system_block_user.html') ORDER BY tpl_refid
SELECT * FROM xoops_modules WHERE (hasmain = 1 AND isactive = 1 AND weight > 0) ORDER BY weight ASC, mid ASC
SELECT * FROM xoops_group_permission WHERE (gperm_name = 'module_read' AND gperm_modid = 1 AND (gperm_groupid = 1 OR gperm_groupid = 2))
SELECT f.*, s.tpl_source FROM xoops_tplfile f LEFT JOIN xoops_tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'alter' AND tpl_file = 'system_block_mainmenu.html') ORDER BY tpl_refid
SELECT * FROM xoops_tplfile WHERE (tpl_tplset = 'alter' AND tpl_file = 'system_block_mainmenu.html') ORDER BY tpl_refid
SELECT topic_id, topic_title FROM xoops_topics WHERE topic_pid=0 ORDER BY topic_title
SELECT * FROM xoops_topics WHERE topic_pid=1
SELECT * FROM xoops_stories WHERE published > 0 AND published <= 1088541671 AND (expired = 0 OR expired > 1088541671) AND ihome=0 ORDER BY published DESC LIMIT 0, 5
SELECT * FROM xoops_topics WHERE topic_id=1
SELECT * FROM xoops_users WHERE uid=1
SELECT * FROM xoops_smiles
SELECT COUNT(*) FROM xoops_stories WHERE published > 0 AND published <= 1088541671 AND (expired = 0 OR expired > 1088541671) AND ihome=0
SELECT * FROM xoops_xoopsnotifications WHERE (not_modid = 3 AND not_category = 'global' AND not_uid = 1) ORDER BY not_id ASC
SELECT * FROM xoops_config WHERE (conf_modid = 3) ORDER BY conf_order ASC
SELECT * FROM xoops_modules WHERE mid = 3
SELECT * FROM xoops_config WHERE (conf_modid = 3) ORDER BY conf_order ASC
SELECT * FROM xoops_config WHERE (conf_modid = 3) ORDER BY conf_order ASC
SELECT * FROM xoops_config WHERE (conf_modid = 3) ORDER BY conf_order ASC
SELECT f.*, s.tpl_source FROM xoops_tplfile f LEFT JOIN xoops_tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'alter' AND tpl_file = 'news_index.html') ORDER BY tpl_refid
SELECT * FROM xoops_tplfile WHERE (tpl_tplset = 'alter' AND tpl_file = 'news_index.html') ORDER BY tpl_refid
SELECT f.*, s.tpl_source FROM xoops_tplfile f LEFT JOIN xoops_tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'alter' AND tpl_file = 'news_item.html') ORDER BY tpl_refid
SELECT * FROM xoops_tplfile WHERE (tpl_tplset = 'alter' AND tpl_file = 'news_item.html') ORDER BY tpl_refid
SELECT f.*, s.tpl_source FROM xoops_tplfile f LEFT JOIN xoops_tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'alter' AND tpl_file = 'system_notification_select.html') ORDER BY tpl_refid
SELECT * FROM xoops_tplfile WHERE (tpl_tplset = 'alter' AND tpl_file = 'system_notification_select.html') ORDER BY tpl_refid
-----------------------



9
dukehen
Re: Darn, stumped!
  • 2004/6/29 20:01

  • dukehen

  • Just popping in

  • Posts: 91

  • Since: 2003/12/9


1. no php errors
2. MySQL page kicked this out:
-------------------------------
Queries
SELECT * FROM xoops_config WHERE (conf_modid = 0 AND conf_catid = 1) ORDER BY conf_order ASC
SELECT sess_data FROM xoops_session WHERE sess_id = '5b87cb33c07c10f63049b16df96ea4ce'
SELECT * FROM xoops_users WHERE uid=1
SELECT * FROM xoops_modules WHERE dirname = 'system'
SELECT * FROM xoops_modules WHERE dirname = 'system'
SELECT * FROM xoops_configcategory
SELECT * FROM xoops_group_permission WHERE (gperm_name = 'module_admin' AND gperm_modid = 1 AND (gperm_groupid = 1 OR gperm_groupid = 2))
Total: 7 queries

Blocks
Total: 0 blocks

Execution Time
XOOPS took 0.13345694541931 seconds to load.

Extra
---------------------------
3. I don't know what I should look for specifically in the smarty output.

I know that if I use the default theme, I get my middle news block...

Thanks for any help rendered!



10
dukehen
Darn, stumped!
  • 2004/6/29 19:44

  • dukehen

  • Just popping in

  • Posts: 91

  • Since: 2003/12/9


No ideas?




TopTop
(1) 2 3 4 ... 10 »



Login

Who's Online

240 user(s) are online (162 user(s) are browsing Support Forums)


Members: 0


Guests: 240


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