筍子工作雜記

四月 18, 2007

xoops system module 1.0 新增使用者時,多群組不能儲存的問題

Filed under: Uncategorized,xoops — shinnlu @ 5:19 下午

System 模組新增使用者時,選擇多個群組只會儲存第一個
此修正只適合 xoops 2.0.x版,2.3 沒有這個問題,修正方式如下:
\modules\system\admin\users\main.php
找到這一段
if (!$member_handler->insertUser($newuser)) {
$adduser_errormsg = _AM_CNRNU;
} else {
if (!$member_handler->addUserToGroup(XOOPS_GROUP_USERS, $newuser->getVar(‘uid’))) {
$adduser_errormsg = _AM_CNRNU2;
} else {
if( strlen($adduser_errormsg)==0){
redirect_header(“admin.php?fct=subusers",1,_AM_DBUPDATED);
exit();

取代成
if (!$member_handler->insertUser($newuser)) {
$adduser_errormsg = _AM_CNRNU;
} else {
if (!$member_handler->addUserToGroup(XOOPS_GROUP_USERS, $newuser->getVar(‘uid’)))
$adduser_errormsg = _AM_CNRNU2;
foreach($groups as $gid){
if (!$member_handler->addUserToGroup($gid, $newuser->getVar(‘uid’)))
$adduser_errormsg = _AM_CNRNU2;
}
//if (!$member_handler->addUserToGroup(XOOPS_GROUP_USERS, $newuser->getVar(‘uid’))) {
// $adduser_errormsg = _AM_CNRNU2;
//} else {
if( strlen($adduser_errormsg)==0){
redirect_header(“admin.php?fct=subusers",1,_AM_DBUPDATED);
exit();

65 則迴響 »

  1. Are you looking for expert writing services? We’ve got you covered! Our skilled team can handle a wide range of assignments, from essays and case studies to editing and formatting. Need a compelling book review or a captivating creative writing piece? We’re here for you. Whether it’s a research paper, coursework, or a critical analysis, we deliver good quality. Your personal statement, presentation, or problem-solving task is in good hands.

    b.link/EssayCraftsman

    迴響 by Amalia Newton — 十二月 26, 2023 @ 2:58 下午

  2. yandanxvurulmus.cN54iyroRsHr

    迴響 by porn siteleri — 十二月 30, 2023 @ 2:11 上午

  3. xyandanxvurulmus.C2u2tFDrDd0C

    迴響 by reception — 十二月 30, 2023 @ 3:56 上午

  4. xbunedirloooo.9kvpdO0rlv9u

    迴響 by unsteels — 十二月 30, 2023 @ 5:20 上午

  5. dysaesthesias xyandanxvurulmus.rcLkloeHI6RB

    迴響 by dysaesthesias — 十二月 30, 2023 @ 4:45 下午

  6. porno izle vurgunyedim.nTyd5vPyosiN

    迴響 by porno siteleri — 一月 16, 2024 @ 11:10 下午

  7. food porn yaralandinmieycan.050uTCJzbKz4

    迴響 by anal siteleri — 一月 17, 2024 @ 2:57 下午

  8. BİZİ SİK BİZ BUNU HAK EDİYORUZ citixx.ZuM29Ee3Kj4X

    迴響 by anal siteleri — 一月 20, 2024 @ 4:20 下午

  9. seks siteleri hyuqgzhqt.FcYp4N562s4P

    迴響 by bahis siteleri porn — 一月 20, 2024 @ 4:43 下午

  10. sexax ewrjghsdfaa.ZpNg0nEmppkN

    迴響 by pornhub bahis siteleri — 一月 20, 2024 @ 4:52 下午

  11. escort siteleri wrtgdfgdfgdqq.4h3l3gpoWU4C

    迴響 by anal siteleri — 一月 20, 2024 @ 5:25 下午

  12. pornhub bahis siteleri wrtgdfgdfgdqq.KtFFdlRK4sUd

    迴響 by craft porn — 一月 20, 2024 @ 5:33 下午

  13. sexx pompadirha.pfYUP9rNOvZH

    迴響 by sexx — 二月 2, 2024 @ 7:32 下午

  14. bahis siteleri child porn asillartaklitler.CFs8Co1lNqZB

    迴響 by amciik siteleri — 二月 2, 2024 @ 7:48 下午

  15. bahis siteleri porn sex incest hephupx.yjASiB2DqyDS

    迴響 by am siteleri — 二月 3, 2024 @ 12:31 上午

  16. porn siteleri hepxhupx.yEsFCTR32e7u

    迴響 by porn siteleri — 二月 3, 2024 @ 8:03 下午

  17. porn siteleri juljulfbi.rAxJ3ovr3m19

    迴響 by seksi siteler — 二月 3, 2024 @ 8:58 下午

  18. escort siteleri bjluajszz.Z8xY6H6YdAT0

    迴響 by bahis siteleri sikis — 二月 5, 2024 @ 3:00 下午

  19. am siteleri bxjluajsxzz.H8tORpFd4NV2

    迴響 by bahis porno — 二月 5, 2024 @ 3:18 下午

  20. fuck google 0qbxjluaxcxjsxzz.k34bbcHsjpus

    迴響 by eski rahatiniz olmayacak — 二月 5, 2024 @ 3:39 下午

  21. full hd pirn gghkyogg.Ji5quU0gEEP

    迴響 by 4k porn downloads — 三月 13, 2024 @ 3:17 下午

  22. hd porn videos.com ggjennifegg.vZ3MAP8ku5m

    迴響 by best porn videos download — 三月 13, 2024 @ 9:13 下午

  23. free full hd porn ggjinnysflogg.1T4zXcrcrBL

    迴響 by hdporn vid — 三月 13, 2024 @ 11:37 下午

  24. Your blog is a great source of positivity and inspiration in a world filled with negativity Thank you for making a difference

    迴響 by Thiago Zachary Issac Lucas — 三月 16, 2024 @ 11:25 上午

  25. Hocam Ellerinize Sağlık Gastronize bardak yıkama hakkında Detaylı ve Güzel Makale Olmuş.

    迴響 by Ana Y. Rowe — 三月 16, 2024 @ 1:32 下午

  26. This is one of my go-to blogs for inspiration Whether it’s fashion, travel, or self-improvement, you cover it all flawlessly

    迴響 by Jayda Douglas — 三月 16, 2024 @ 9:34 下午

  27. Yazınız için teşekkürler, bu Joseph Campbell bilgileri ışığında nice insanlar bilgilenmiş olacaktır.

    迴響 by Tessa Gilbert — 三月 17, 2024 @ 1:26 上午

  28. Hocam Ellerinize Sağlık, köpek oteli hakkında Detaylı ve Güzel Makale Olmuş.

    迴響 by Azariah Small — 三月 19, 2024 @ 5:11 下午

  29. Ankara şehirlerarası nakliyat

    迴響 by Ankara şehirlerarası nakliyat — 三月 21, 2024 @ 5:13 上午

  30. Sitenizin tasarımı da içerikleriniz de harika, özellikle içerikleri adım adım görsellerle desteklemeniz çok başarılı, Sao Paulo’da 1 numarasınız, emeğinize sağlık.

    迴響 by Ellison Yoder — 三月 23, 2024 @ 12:22 上午

  31. This blog is like a breath of fresh air in the midst of all the negativity on the internet I’m grateful to have stumbled upon it

    迴響 by Eden I. Kennedy — 三月 23, 2024 @ 8:36 下午

  32. fashionflag you hd porno fashionflag.7BEay7fJaQJ

    迴響 by fashionflag sex videos download hd 4k — 三月 27, 2024 @ 4:16 下午

  33. goodhere Funny Porn vurucutewet.XdxG9a5fxUq

    迴響 by goodhere Celebrity porn — 三月 28, 2024 @ 12:44 下午

  34. ladyandtherose Old and Young porn backlinkseox.rPGEDYF2Ksu

    迴響 by ladyandtherose Hentai, Anime porn — 三月 28, 2024 @ 4:11 下午

  35. jenniferroy ランダムポルノ japanesexxporns.5V0TwTbrZDm

    迴響 by jenniferroy 集団セックス — 三月 28, 2024 @ 10:48 下午

  36. landuse Fetish porn lancdcuse.trWKQFL8XKo

    迴響 by landuse POV porn — 三月 29, 2024 @ 3:32 下午

  37. Uygun Fiyatlı Arçelik Ürünleri https://www.ihlamurarcelik.com

    迴響 by Arçelik Gardırop Tipi Buzdolabı — 三月 29, 2024 @ 8:37 下午

  38. falbobrospizzamadison Man Masturbating porn jkkıjxxx.5mRamHxmRNn

    迴響 by falbobrospizzamadison BBW porn — 三月 29, 2024 @ 10:36 下午

  39. For the reason that the admin of this site is working, no uncertainty very quickly it will be renowned, due to its quality contents about olive oil polyphenol.

    迴響 by Olive Oil Turkey — 三月 30, 2024 @ 1:57 上午

  40. मुष्टिप्रहार अश्लील qqyyooppxx.S7ePU8rhfbD

    迴響 by समलैङ्गिक अश्लील — 三月 30, 2024 @ 3:06 下午

  41. समूह सेक्स के बारे में बतावल गइल बा hjkvbasdfzxzz.FnVSfeGY4og

    迴響 by किन्नर अश्लीलता के बा — 三月 30, 2024 @ 11:11 下午

  42. For the reason that the admin of this site is working, no uncertainty very quickly it will be renowned, due to its quality contents about olive oil for hair.

    迴響 by Olive Oil for Hair — 三月 31, 2024 @ 2:44 下午

  43. Çok yararlı bir yazı olmuş hocam teşekkür ederim, latte macchiato ile ilgili yazılarınızı beğenerek okuyorum elinize sağlık.

    迴響 by Latte Macchiato — 四月 1, 2024 @ 2:50 上午

  44. कट्टर अश्लीलता txechdyzxca.mhQPAaoMrqI

    迴響 by एशियाई अश्लीलता — 四月 1, 2024 @ 6:29 下午

  45. trend topic satın al trend topic satın al

    迴響 by trend topic satın al — 四月 1, 2024 @ 9:36 下午

  46. I appreciate you sharing this blog post about olive oil gluten free, thanks again, cool.

    迴響 by Olive Oil Gluten Free — 四月 2, 2024 @ 6:21 上午

  47. Hocam Ellerinize Sağlık americano hakkında Detaylı ve Güzel Makale Olmuş.

    迴響 by Americano — 四月 2, 2024 @ 11:03 下午

  48. सेलिब्रिटी अश्लील hkyonet.0vgrIRl6szF

    迴響 by विंटेज और युवा पोर्न — 四月 3, 2024 @ 1:53 上午

  49. Hocam Ellerinize Sağlık cappuccino hakkında Detaylı ve Güzel Makale Olmuş.

    迴響 by Hocam Ellerinize Sağlık cappuccino hakkında Detaylı ve Güzel Makale Olmuş. — 四月 3, 2024 @ 10:20 下午

  50. ਵੱਡੇ ਕੁੱਕੜ ਪੋਰਨ madisonivysex.gzZ9QknYk52

    迴響 by bbw ਪੋਰਨ — 四月 3, 2024 @ 11:30 下午

  51. ladesbet ਅਰਬ ਪੋਰਨ ladesinemi.7M9iS10tQJo

    迴響 by ladesbet ਵਿੰਟੇਜ ਅਤੇ ਨੌਜਵਾਨ ਪੋਰਨ — 四月 5, 2024 @ 12:57 下午

  52. ladesbet 巨乳ポルノ ladestinemi.6OdO9y0JOg4

    迴響 by ladesbet ハードコアポルノ — 四月 5, 2024 @ 2:37 下午

  53. herkesin ihtiyaç duyduğu sms onay yapan bir siteyi sizlerle paylaşacağım çok başarılı buluyorum

    迴響 by sms onay — 四月 6, 2024 @ 5:10 上午

  54. Best premium IPTV: Unmatched viewing pleasure.

    迴響 by Alvin R. Francis — 四月 8, 2024 @ 11:09 上午

  55. I want to express my appreciation for the writer of this blog post. It’s clear they put a lot of effort and thought into their work, and it shows. From the informative content to the engaging writing style, I thoroughly enjoyed reading it.

    迴響 by Zayne Bryant — 四月 8, 2024 @ 11:52 上午

  56. I truly admire how you tackle difficult topics and address them in a respectful and thought-provoking manner

    迴響 by Nathanael Leo Theo Bentley — 四月 9, 2024 @ 9:35 上午

  57. Your writing is so relatable and down-to-earth It’s like chatting with a good friend over a cup of coffee Keep sharing your wisdom with us

    迴響 by Deacon Dalton London Haynes — 四月 12, 2024 @ 2:06 上午

  58. Thank you for creating such valuable content. Your hard work and dedication are appreciated by so many.

    迴響 by Marcus X. I. Burgess — 四月 15, 2024 @ 4:28 下午

  59. Love this blog! The content is always so relevant and insightful, keep up the great work!

    迴響 by Kayla Jolie Kane — 四月 15, 2024 @ 7:50 下午

  60. Your posts are always so well-researched and informative I appreciate how thorough and detailed your content is

    迴響 by Amaris H. Buchanan — 四月 15, 2024 @ 9:58 下午

  61. Sitemizden en guzel bakırköy escort kızlarını görebilirsiniz…

    迴響 by Jean Ruecker — 四月 16, 2024 @ 11:24 上午

  62. Hocam Ellerinize Sağlık web tasarım hakkında Detaylı ve Güzel Makale Olmuş.

    迴響 by Web Tasarım — 四月 18, 2024 @ 7:28 上午

  63. The positivity and optimism conveyed in this blog never fails to uplift my spirits Thank you for spreading joy and positivity in the world

    迴響 by Lucy Watts — 四月 19, 2024 @ 8:31 下午

  64. teraryum malzemeleri

    迴響 by teraryum malzemeleri — 四月 22, 2024 @ 9:40 下午

  65. Beyaz eşya servis bakım montaj arıza yapan firmaların listesine ve bilgilerine web sitemizden ulaşabilirsiniz.

    迴響 by beyaz eşya servisi — 四月 23, 2024 @ 5:17 上午

此篇文章迴響的訂閱源料 TrackBack URL

發表迴響

Powered by WordPress