291241
jayjay
Changing sort order of modules menu in admin control panel
  • 2003/10/7 15:49

  • jayjay

  • Not too shy to talk

  • Posts: 175

  • Since: 2003/9/10


Hi all!

I'd like to change the sort order of the modules menu in the administration section of xoops. I want the system admin button on top and sort the other module buttons in descending order of importance. Somehow while installing a module, the order got messed up. Some module buttons even get displayed twice!

I looked at cp_functions.php (/include/)and at admin.php (/modules/system/) and also at the js-script that generates the popups in the menu, but I still haven't got a clue. Hope someone can help?

Greetz

Jayjay



291242
OldSwede
Re: This page loaded in x seconds
  • 2003/10/7 15:34

  • OldSwede

  • Just popping in

  • Posts: 26

  • Since: 2003/8/15


Thank you,

this works perfect for me with 2.0.4 and 2.0.5 RC

wr
oldswede



291243
dodell
Re: Deleting comments not working
  • 2003/10/7 15:20

  • dodell

  • Just popping in

  • Posts: 4

  • Since: 2003/10/7


I'm using 2.0.4. I do get output when turning on debugging, but it's only a couple of notices, so that shouldn't be any problem, since it auto-corrects that.

Notice [PHP]: Use of undefined constant XOOPS_COMMENT_APPROVENONE - assumed 'XOOPS_COMMENT_APPROVENONE' in file include/comment_delete.php line 62
Notice [PHP]: Undefined index: xoops_lblocks in file class/smarty/Smarty.class.php line 626

MySQL debugging gives me:
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 = '4400ae9439fb8addc4b4bc07257b8c70'
SELECT * FROM xoops_users WHERE uid=1
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: 6 queries

Blocks
Total: 0 blocks

(so there's obviously no deletion getting done)

Debugging templates gives no output.

On a somewhat less prestegious level, how can I let non-logged in users see the forums?

Thanks,

Devon



291244
mCity
Re: SOLVED - Making Xoops CONTENT Multilingual
  • 2003/10/7 15:17

  • mCity

  • Just popping in

  • Posts: 52

  • Since: 2003/3/31


Well, I hope XOOPS would add this square backet method to core even if they implement XOOPS multilingual by adding an extra column for language to related tables. We don't need to have extra column for blocks titles. We need news, comment, and forum content, etc for members to use. For admin, I prefer to use this way still: "Select [tch]English[/tch][eng]Chinese[/eng]" for assign title to select language block and most place.

Today, I solved the way to show in blocks administration table.

edit /modules/system/admin/blocksadmin/blocksadmin.php
in function list_blocks(line 41)
Quote:
global $xoopsUser, $xoopsConfig, $myts, $HTTP_GET_VARS; //failed, check next post from Daigoro

(line 98)
Quote:
$title = $myts->makeTboxData4Show($block_arr[$i]->getVar("title"));


if you add multilingual for module name in /modules/news/language/tchinese/modinfo.php for each modules before install modules, you may need to edit line 100
Quote:
$name = $myts->makeTboxData4Show($block_arr[$i]->getVar("name"));


and within the line 101 echo
Quote:
$myts->makeTboxData4Show($module_list2[$block_arr[$i]->getVar('mid')])


You jump, I jump. I do, you do.
Happy to share again.



291245
ackbarr
Re: Reorder position & Appearance of blocks

1. To re-order blocks use the "Weight" column in "System" -> "Blocks". When blocks are rendered, the lowest weight is displayed first. So if you wanted your blocks to render:

1. Custom Block 1
2. Poll Block
3. Custom Block 2

Set the weight of the first block to 1, the second to 2, etc.

2. Make sure that the anonymous group has block access to custom block 1 and custom block 2 in "System" -> "Groups"



291246
Coreace
Re: thanks for wfsection!
  • 2003/10/7 15:07

  • Coreace

  • Just popping in

  • Posts: 16

  • Since: 2003/8/26


If only the upload bug can be fixe along with the rest. Yes- I agree an excellent module.



291247
281266
Re: Xoops Gallery
  • 2003/10/7 15:05

  • 281266

  • Just popping in

  • Posts: 14

  • Since: 2003/10/5


... one more person out of frankfurt

Thanks for the quick reply. Is there a homepage where I can check the status quo of the new version and where I can add feature request as a 4images and photopostphp user?



291248
Coreace
Re: Need testers for XoopsGallery maintenance update
  • 2003/10/7 15:03

  • Coreace

  • Just popping in

  • Posts: 16

  • Since: 2003/8/26


I hope you will manage to sort out the bugs. I get when clicking on a thumbnail 'ERROR: requested index [-1] out of bounds [1]' Tried uninstall/reinstall with no joy. Using the default module in the donwload section without any modification or hacks.



291249
ffabris
Re: XoopsGallery Fixes.. Recent Comments Link, New Pics Block showing thumbnail, etc...
  • 2003/10/7 15:00

  • ffabris

  • Just popping in

  • Posts: 16

  • Since: 2003/10/4


Me again.

I just noticed that a line in xoopsgallery_index.html doesn't look quite right...

<td style="padding 10px;" width="<{$album.image.width}>" height="<{$album.image.height}>"><{$album.image.image}></a></td>


Note the closing </a>... which suggests that there should be a link. In fact, it makes sense to link the album thumb to the album too, not just the album name. So I changed the line to:

<td style="padding 10px;" width="<{$album.image.width}>" height="<{$album.image.height}>"><a href="<{$album.image.link}>"><{$album.image.image}></a></td>


and tested it... works fine.



291250
281266
Navigation bar: hide "home" and/ or replace it with "news"?
  • 2003/10/7 15:00

  • 281266

  • Just popping in

  • Posts: 14

  • Since: 2003/10/5


Hi,

I think many of us are suing XOOPS first page mainly for showing news. At least this is for me the case. I use XOOPS as a section of my normal website. So basically I do not need the navigation bar/ page "home" in xoops, since my homepage is another one.

The question is now how can I hide/delete home and is there a risk of damaging other functionalities of XOOPS by doing this?

Do others find the "home" useful and why? Maybe I have overseen some of the benefits of separating it from news and showing it as an extra page.







Login

Who's Online

143 user(s) are online (101 user(s) are browsing Support Forums)


Members: 0


Guests: 143


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