CZModules

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   
flexn
CZ Newbie
flexn has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Sep 16, 2005
0.00 posts per day
Posts: 5
Points: 270
   


Originally posted by Bluefin @ Tue Aug 09, 2005 3:56 am:

I have installed the block but all I have available is Quick Links, Extra Links, I can't add any categories, and I can only see inactive modules all the active modules are hidden????



I have the exact same problem as this guy.... any help would be appreciated. Using the latest version of czmodules and 7.8... thanks in advance

Out..



Back to top Reply with quote
#2   re: CZModules
flexn
CZ Newbie
flexn has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Sep 16, 2005
0.00 posts per day
Posts: 5
Points: 270
   
Ok I went back and checked all my tables....

I was missing the exlink tables for some reason. Went back to the installer and then went thru the installation again w/ a new czm file..

This time I did the upgrade from 1 to 2 to 3 to 4 or whatever.... went and checked the admin screen and walaaaa ....the categorie info and modules were all visible NOW.

I didnt find this anywhere on the forms ...but it may be here. Just thought I would add it once more. Cuz i spent like 4hrs researching this issue. Hope it helps

out...

flex



Back to top Reply with quote
#3   re: CZModules
Gomesh
CZ Newbie
Gomesh has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Jul 03, 2005
0.00 posts per day
Posts: 1
Points: 250
   
Hi Man, I've solved a great Problem for my portal on PHP-NUKE 7.8 Patched 3.1 whit CZModules + NSN Groups_171_71-78.

I create a group and I want that a module is visible to this group only comes instead seen from all. In order to resolve this problem I have brought the following modifications:

Open: /blocks/block-Modules.php and . . .

Find:
$result2 = $db->sql_query("select title, custom_title, view, url FROM ".$prefix."_modules WHERE active='1' AND inmenu='1' AND mcid='$mcid' ORDER BY custom_title ASC");


Replace Whit:
$result2 = $db->sql_query("select title, custom_title, view, groups, url FROM ".$prefix."_modules WHERE active='1' AND inmenu='1' AND mcid='$mcid' ORDER BY custom_title ASC");


Find:
          switch($view){
            case 0: // All users case
                $showit = 10;
            break;

            case 1: // Registered user access
                if (is_user($user) || is_admin($admin)) $showit = 1;
            break;

            case 2: // Admin only access
                if (is_admin($admin)) $showit = 2;
            break;

            default: // Subscriber only access
                if (is_user($user) || paid()) $showit = 3;
            break;

        }


Replace Whit:
          switch($view){
            case 0: // All users case
                $showit = 10;
            break;

            case 1: // Registered user access
                if (is_user($user) || is_admin($admin)) $showit = 1;
            break;

            case 2: // Admin only access
                if (is_admin($admin)) $showit = 2;
            break;

            case 4: // Groups access
                if (in_groups($groups)) $showit = 4;
            break;

            default: // Subscriber only access
                if (is_user($user) || paid()) $showit = 3;
            break;

        }


icon_wink.gif

cYa All.


Back to top Reply with quote
#4   re: CZModules
LuckyMcGee
CZ Newbie
 Codezwiz Site Donator
LuckyMcGee has been a member for over 18 year's 18 Year Member
Gender: Female
Status: Offline
Joined: Dec 30, 2005
0.00 posts per day
Posts: 4
Points: 1,643
   
I have searched through this entire thread, and didn't see one person with my same probelm, so I'm asking now.

This is a fresh install of the CZModules, on a fresh install of a patched PHPNuke 7.9.

After installing the CSModules files inte their respective folders, I open my admin, and see the new link to CZModules, however, ANY admin module sends me to a blank "Access Denied" page.

I am going to put my back up files back in for now, but am really hoping to be able to use this, since it was the motivation for me subscribing in the first place.

Thank you in advance for your time.

~Lucky



Back to top Reply with quote
#5   
LuckyMcGee
CZ Newbie
 Codezwiz Site Donator
LuckyMcGee has been a member for over 18 year's 18 Year Member
Gender: Female
Status: Offline
Joined: Dec 30, 2005
0.00 posts per day
Posts: 4
Points: 1,643
   


Originally posted by Telli @ Fri Apr 29, 2005 1:00 pm:

Make sure you uploaded all the files. Make sure you ran the installer. Make sure you have the following datatables:

nuke_modules_categories
nuke_modules
nuke_exlinks
nuke_exlinks_popup


I read the above post, and checked my database, and here's what I have:

(23 Rows) nuke_modules
(1 Rows) nuke_modules_categories
(11 Rows) nuke_modules_config
(1 Rows) nuke_modules_exlinks
(0 Rows) nuke_modules_popups

Could this be a probem? And how can I fix it?

Again, thank you in advance.

~Lucky



Back to top Reply with quote
#6   re: CZModules
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,475
   
For using the patched version you will need to change a few things in the files:

Open

admin/modules/modules.php
admin/case/case.modules.php


Find:

if (!eregi("admin.php", $_SERVER['SCRIPT_NAME'])) { die ("Access Denied"); }


Replace that with:

if (!defined('ADMIN_FILE')) { die("Access Denied"); }


Let me know how it goes.



_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#7   Re: re: CZModules
LuckyMcGee
CZ Newbie
 Codezwiz Site Donator
LuckyMcGee has been a member for over 18 year's 18 Year Member
Gender: Female
Status: Offline
Joined: Dec 30, 2005
0.00 posts per day
Posts: 4
Points: 1,643
   


Originally posted by Telli @ Mon Jan 16, 2006 9:13 am:

Let me know how it goes.


I did as you suggested,and also reinstalled. However, I am no longer getting the Access Denied' messge, but nothing looks new at all, and clicking the "modules" admin link just takes me to the basic modules admin section...help?? :-/



Back to top Reply with quote
#8   Re: re: CZModules
LuckyMcGee
CZ Newbie
 Codezwiz Site Donator
LuckyMcGee has been a member for over 18 year's 18 Year Member
Gender: Female
Status: Offline
Joined: Dec 30, 2005
0.00 posts per day
Posts: 4
Points: 1,643
   


Originally posted by LuckyMcGee @ Mon Jan 16, 2006 1:01 pm:



Originally posted by Telli @ Mon Jan 16, 2006 9:13 am:

Let me know how it goes.


I did as you suggested,and also reinstalled. However, I am no longer getting the Access Denied' messge, but nothing looks new at all, and clicking the "modules" admin link just takes me to the basic modules admin section...help?? :-/


OK, started from scratch replaced the line you suggested, did everything right..(as best I can tell) and now I just get a blank white page when attempting to access the modules in admin.

*head-desk*



Back to top Reply with quote
#9   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,475
   
Can you PM me your login info so I can take a look?

FTP
MYSQL
Site Admin




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#10   re: CZModules
andy23
CZ Super Newbie
andy23 has been a member for over 18 year's 18 Year Member
Age: 41
Gender: Male
Status: Offline
Joined: Jan 20, 2006
0.01 posts per day
Posts: 38
Points: 1,059
   
hy
I have one question about cz-module.
I have cz-module but i want the Guest see module but canīt acess (they must register for seeing),how can i do that?

Sorry for may bad english icon_rolleyes.gif



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum