Is there an ignore forums mod?

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   
Dauthus
CZ Addict
 Codezwiz Site Donator
Dauthus has been a member for over 20 year's 20 Year Member
usa.gif illinois.gif
Age: 61
Gender: Male
Website:
Status: Offline
Joined: Mar 17, 2004
0.06 posts per day
Posts: 426
Points: 15,917
   
Yea. Both portions of the edits to my index.php were commented out with category hierarchies, so that's the file I have to figure out where to make the changes for this thing to work.

Telli, you following this? How about a little help if I upload my index.php file? Pleeeeeaaaaassssseeeeee???




_________________
[ Register or login to view links on this board.]
Vivere disce, cogita mori
Back to top Reply with quote
#2   
pnclthnmstsh
CZ Active Member
pnclthnmstsh has been a member for over 20 year's 20 Year Member
usa.gif nevada.gif
Age: 53
Gender: Male
Website:
Status: Offline
Joined: Sep 17, 2004
0.04 posts per day
Posts: 267
Points: 13,641
   
Good news!!! It works perfectly with PNP. Remember to check the box in the admin panel to hide forums the members select, otherwise they will still see them..but they will not be notified upon new posts.
It should also work on any other version of nuke..at least 6.9 and up....now...hopefully Dauthus can resolve the Cat Heirarchies (how do you spell that?) problem icon_biggrin.gif




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#3   re: Is there an ignore forums mod?
Dauthus
CZ Addict
 Codezwiz Site Donator
Dauthus has been a member for over 20 year's 20 Year Member
usa.gif illinois.gif
Age: 61
Gender: Male
Website:
Status: Offline
Joined: Mar 17, 2004
0.06 posts per day
Posts: 426
Points: 15,917
   
Hey! That is good news. Anyone else want to try and see if they can help with the index.php file edits?




_________________
[ Register or login to view links on this board.]
Vivere disce, cogita mori
Back to top Reply with quote
#4   re: Is there an ignore forums mod?
Dauthus
CZ Addict
 Codezwiz Site Donator
Dauthus has been a member for over 20 year's 20 Year Member
usa.gif illinois.gif
Age: 61
Gender: Male
Website:
Status: Offline
Joined: Mar 17, 2004
0.06 posts per day
Posts: 426
Points: 15,917
   
I almost forgot. When selecting multiple forums, you have to hold the "ctrl" key while selecting the forum. Otherwise only the last forum you clicked on will be selected.




_________________
[ Register or login to view links on this board.]
Vivere disce, cogita mori
Back to top Reply with quote
#5   re: Is there an ignore forums mod?
pnclthnmstsh
CZ Active Member
pnclthnmstsh has been a member for over 20 year's 20 Year Member
usa.gif nevada.gif
Age: 53
Gender: Male
Website:
Status: Offline
Joined: Sep 17, 2004
0.04 posts per day
Posts: 267
Points: 13,641
   
From the author icon_biggrin.gif



Hi PTM,


Porting is fine with me, I love it when my mods are spread around and
used on all sorts of forums. With my credits mentioned offcourse, but
I'm sure that'll be taken care of.

Please do keep up with possible feature updates, because I can only
maintain my own mods, not the ported ones.

Thanks,
Rens aka mosymuis




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#6   re: Is there an ignore forums mod?
Dauthus
CZ Addict
 Codezwiz Site Donator
Dauthus has been a member for over 20 year's 20 Year Member
usa.gif illinois.gif
Age: 61
Gender: Male
Website:
Status: Offline
Joined: Mar 17, 2004
0.06 posts per day
Posts: 426
Points: 15,917
   
That's good news!!

Ok, I'm on day 2 and still haven't been able to figure out how to add the code to my /modules/Forums/index.php file. This category hierarchies (whatever) is stopping me cold.

I am going to post what I need here and upload my index.html file to see if anyone can help figure it out.

Here are the two simple code changes. But, as you will see the places for the changes are coded out because of cat hierarchies (I wish I could spell). Anyone want to give it a shot?

#
#-----[ OPEN ]------------------------------------------
#
modules/Forums/index.php

#
#-----[ FIND ]------------------------------------------
#
            AND p.post_time > " . $userdata['user_lastvisit'] . "

#
#-----[ AFTER, ADD ]------------------------------------------
#
            " . ( $board_config['ignore_or_hide_forums'] == IGNORE && $userdata['user_ignore_hide_forums'] ? "AND t.forum_id NOT IN(" . $userdata['user_ignore_hide_forums'] . ")" : '' ) . "

#
#-----[ FIND ]------------------------------------------
#
                  if ( $is_auth_ary[$forum_id]['auth_view'] )

#
#-----[ REPLACE WITH ]------------------------------------------
#
                  if ( $is_auth_ary[$forum_id]['auth_view'] && !($userdata['session_logged_in'] && $board_config['ignore_or_hide_forums'] == HIDE && in_array($forum_id, explode(',', $userdata['user_ignore_hide_forums'])) && $viewcat == -1 ) )


I have attached the index.html file as a zip.


Attached Files
index.zip (5.98 KB, Downloaded: 5232 Time(s))



_________________
[ Register or login to view links on this board.]
Vivere disce, cogita mori
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