Home :: Forums :: Register :: Sign In :: Links :: Downloads :: Shop
You are not signed in. Please sign in. If you have not registered, please click here.

CZModules

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb   More...
#1Tue Jan 24, 2006 11:02 am   re: CZModules
theeoneandonly
CZ Newbie
theeoneandonly has been a member for over 7 year's 7 Year Member
canada.gif
Age: 24
Status: Offline
Joined: Apr 27, 2005
0.00 posts per day
Posts: 7
Points: 292
  MSN Messenger 
Are you saying, you just want the CZ Module to display register/login for guest, so they dont see any other info, if so, go into the admin panel -> blocks -> and set the CZ Module access to the correct function.



Back to top Reply with quote
#2Tue Jan 24, 2006 11:44 am   re: CZModules
andy23
CZ Super Newbie
andy23 has been a member for over 6 year's 6 Year Member
Age: 29
Status: Offline
Joined: Jan 20, 2006
0.02 posts per day
Posts: 38
Points: 1,059
   
no, guest must see all modules in menu,when gust click on module,then must show up meseege "you dont have acees to this modul" you must register-that i want icon_smile.gif



Back to top Reply with quote
#3Tue Jan 24, 2006 12:32 pm   re: CZModules
theeoneandonly
CZ Newbie
theeoneandonly has been a member for over 7 year's 7 Year Member
canada.gif
Age: 24
Status: Offline
Joined: Apr 27, 2005
0.00 posts per day
Posts: 7
Points: 292
  MSN Messenger 
ok, leave the block the way it is, go to admin panel -> module -> and set the module you dont want the guest to have access to, and set permission to be viewed if registered.



Back to top Reply with quote
#4Tue Jan 24, 2006 2:46 pm   re: CZModules
andy23
CZ Super Newbie
andy23 has been a member for over 6 year's 6 Year Member
Age: 29
Status: Offline
Joined: Jan 20, 2006
0.02 posts per day
Posts: 38
Points: 1,059
   
in admin panel is cz modules and there is edit modules but there is just setting who see witch module and if i seting "all visitor" then have guest aces for all module. If seting on "registering users only" then guest dont see this module.

Like on this site click Downloads > PhP Nuke
[ Register or login to view links on this board. ]



Back to top Reply with quote
#5Thu Jan 26, 2006 10:18 pm   
Telli
Site Admin
Telli has been a member for over 9 year's 9 Year Member
usa.gif florida.gif
Occupation: Self Employed
Age: 41
Fav. Sports Team: Detroit Red Wings
Website: www.codezhost.com
Status: Offline
Joined: May 26, 2003
2.46 posts per day
Posts: 8097
Points: 494,015
   
You would have to edit the block and remove the section that hides the links if there not registered.




_________________
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
#6Tue Jan 31, 2006 2:28 pm   re: CZModules
bf123
CZ Newbie
 Codezwiz Site Donator
bf123 has been a member for over 6 year's 6 Year Member
usa.gif northcarolina.gif
Status: Offline
Joined: Jan 30, 2006
0.00 posts per day
Posts: 2
Points: 172
   
I modified mine to basically have a "restricted" image for those modules that require registration or subscription. Feel free to incorporate this into the real script if you want. I make no guarantees to this working for anyone but me icon_wink.gif

It requires a new image called noacc.gif. Just find something that you like.

Here is the code:

36    <!     
37    <!      if (file_exists("themes/$czmtheme/images/CZM/noacc.gif")) {
38    <!      $noaccimg = "themes/$czmtheme/images/CZM/noacc.gif";
39    <!      } else {
40    <!      $noaccimg = "images/CZModules/noacc.gif";
41    <!      }
64    <! newimage3 = new Image();
65    <! newimage3.src = \"$noaccimg\";
279    <!           $restricted = 1; //restricted, show special
282     *                $restricted=0;
        *                 $showit = 10;
283    <!                $showit=1;
287     *                 if (is_user($user) || is_admin($admin)) $restricted = 0;
        *                 if (is_user($user) || is_admin($admin)) $showit = 1;
288    <!                  $showit=1;
292     *                 if (is_admin($admin)) {
        *                 if (is_admin($admin)) $showit = 2;
293    <!                    $showit = 2;
294    <!                    $restricted=0;
295    <!                 }
299     *                 if (is_user($user) || paid()) $restricted=0;
        *                 if (is_user($user) || paid()) $showit = 3;
300    <!                  $showit = 3;
306    <!               if ($restricted != 0) { //restricted
307    <!                $content .= "<table border=0 cellpadding='1' cellspacing=1><tr><td width='16'><img src=\"$noaccimg\" align=\"absmiddle\" border=\"0\"></td><td><a href=\"$url\" title=\"$m_title2\" onMouseOver=\"self.status=' $m_title2 ';return true\" onmouseout=\"self.status='';return true\">$m_title2</a></td></tr></table>\n";
308    <!               } else { // Not restricted
310    <!               }
312     *             if ($restricted != 0) { //restricted
        *          $content .= "<table border=0 cellpadding='1' cellspacing=1><tr><td width='16'><img src=\"$arrowimg\" align=\"absmiddle\" border=\"0\"></td><td><a href=\"modules.php?name=$m_title\" title=\"$m_title2\" onMouseOver=\"self.status=' $m_title2 ';return true\" onmouseout=\"self.status='';return true\">$m_title2</a></td></tr></table>\n";
313    <!                  $content .= "<table border=0 cellpadding='1' cellspacing=1><tr><td width='16'><img src=\"$noaccimg\" align=\"absmiddle\" border=\"0\"></td><td><a href=\"modules.php?name=$m_title\" title=\"$m_title2\" onMouseOver=\"self.status=' $m_title2 ';return true\" onmouseout=\"self.status='';return true\">$m_title2</a></td></tr></table>\n";
314    <!             } else { //not restricted
315    <!                  $content .= "<table border=0 cellpadding='1' cellspacing=1><tr><td width='16'><img src=\"$arrowimg\" align=\"absmiddle\" border=\"0\"></td><td><a href=\"modules.php?name=$m_title\" title=\"$m_title2\" onMouseOver=\"self.status=' $m_title2 ';return true\" onmouseout=\"self.status='';return true\">$m_title2</a></td></tr></table>\n";
316    <!             }



Back to top Reply with quote
#7Mon May 22, 2006 8:23 am   re: CZModules
floppydrivez
CZ Addict
 Codezwiz Site Donator
floppydrivez has been a member for over 6 year's 6 Year Member
usa.gif mississippi.gif
Occupation: graphic design
Age: 30
Website: www.clanthemes.com
Status: Offline
Joined: Feb 26, 2006
0.23 posts per day
Posts: 520
Points: 4,848
AIM Address Yahoo Messenger MSN Messenger 
I need to make CZ Modules and CZ Hide Blocks work together, or someone needs to tell me how to hide left blocks in forums for a quick answer. The edits that can't be found are in the admin/modules/modules.php. This is due to the overwrite of that original file by the installation of CZ Modules. Could somone please point Telli to this post?



Back to top Reply with quote
#8Mon May 29, 2006 11:01 pm   re: CZModules
floppydrivez
CZ Addict
 Codezwiz Site Donator
floppydrivez has been a member for over 6 year's 6 Year Member
usa.gif mississippi.gif
Occupation: graphic design
Age: 30
Website: www.clanthemes.com
Status: Offline
Joined: Feb 26, 2006
0.23 posts per day
Posts: 520
Points: 4,848
AIM Address Yahoo Messenger MSN Messenger 
well I figured out how to hide blocks in a certain module without cz hide blocks. I have read this topic and made all the suggested changes in admin/modules/modules.php, but I still can't add get new modules to show up in my admin area.



Back to top Reply with quote
#9Thu Jul 20, 2006 11:07 am   re: CZModules
spockep
CZ Newbie
spockep has been a member for over 5 year's 5 Year Member
Status: Offline
Joined: Jul 20, 2006
0.00 posts per day
Posts: 2
Points: 25
   
Great site!!!

I Don't know how or why but I can't find the CZModules download. icon_eek.gif Is it still available?



Back to top Reply with quote
#10Thu Jul 20, 2006 11:16 am   re: CZModules
floppydrivez
CZ Addict
 Codezwiz Site Donator
floppydrivez has been a member for over 6 year's 6 Year Member
usa.gif mississippi.gif
Occupation: graphic design
Age: 30
Website: www.clanthemes.com
Status: Offline
Joined: Feb 26, 2006
0.23 posts per day
Posts: 520
Points: 4,848
AIM Address Yahoo Messenger MSN Messenger 
[ Register or login to view links on this board. ]



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb   More...
<< 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