Page Index Toggle Pages: 1 ... 6 7 [8] 9 10 11 Send TopicPrint
Very Hot Topic (More than 25 Replies) [DONE] More Board/Category Options 2.0 SP1.1 (Read 56626 times)
Spikecity
God Member
*****
Offline


Beer anyone ?

Posts: 2630
Location: New York
Joined: Apr 16th, 2002
Gender: Male
Re: [DONE] More Board/Category Options 2.0 SP1.1
Reply #105 - Aug 28th, 2002 at 9:32pm
Print Post  
Fix for hidden board showing up in the pulldown below thread index and message index.

Goto Subs.pl, look for this piece of code:
Code
Select All
				fopen(FILE, "$boardsdir/$data[$i].dat");
				@newcatdata = <FILE>;
				fclose(FILE);
				chomp @newcatdata;
				if ($data[$i] eq $currentboard) { $selecthtml .= "<option selected value=\"?board=$data[$i]\">=> $newcatdata[0]</option>\n"; }
				else { $selecthtml .= "<option value=\"?board=$data[$i]\">&nbsp; - $newcatdata[0]</option>\n"; }
			}
 



change into :

Code
Select All
				fclose(FILE);
				chomp @newcatdata;
				my $access = &AccessCheck($data[$i], '');
				if($access eq "granted"){
					if ($data[$i] eq $currentboard) { $selecthtml .= "<option selected value=\"?board=$data[$i]\">=> $newcatdata[0]</option>\n"; }
					else { $selecthtml .= "<option value=\"?board=$data[$i]\">&nbsp; - $newcatdata[0]</option>\n"; }
				}
			}
 



And not accesible board will not show up in the pull down any more.
  

Nothing to add here Smiley
Back to top
 
IP Logged
 
EliteRides
God Member
*****
Offline


EliteRides.com !

Posts: 692
Location: Salt Lake City
Joined: Mar 23rd, 2002
Gender: Male
Re: [DONE] More Board/Category Options 2.0 SP1.1
Reply #106 - Aug 29th, 2002 at 12:02am
Print Post  
Could the above hidden boards showing up problem be related to another mod?  Because I don't have that issue.
  

ElietRides.com

Nice cars and just a bunch of hotties...  Grin
Back to top
WWW  
IP Logged
 
Spikecity
God Member
*****
Offline


Beer anyone ?

Posts: 2630
Location: New York
Joined: Apr 16th, 2002
Gender: Male
Re: [DONE] More Board/Category Options 2.0 SP1.1
Reply #107 - Aug 29th, 2002 at 2:42pm
Print Post  
No, this is merely a fix which processes the $selecthtml string used in the jumpto routine used in the bottom if the message index and the thread index.
There's only one thing which does not work 100% now and that is when you mark a hidden protected board to be visible anyway, it still will not show up in the pulldown (perhaps I tried to make the test board too complicated though Wink )
  

Nothing to add here Smiley
Back to top
 
IP Logged
 
EliteRides
God Member
*****
Offline


EliteRides.com !

Posts: 692
Location: Salt Lake City
Joined: Mar 23rd, 2002
Gender: Male
Re: [DONE] More Board/Category Options 2.0 SP1.1
Reply #108 - Aug 31st, 2002 at 9:07pm
Print Post  
Potentially weird question.  Anyone have a download link to the original version, not 2.0?  I have some old stuff in my Admin that is showing up and I think it's from that mod.  These "Start Threads" and "Reply" options.  Are they from the first version?



Quote:
There's only one thing which does not work 100% now and that is when you mark a hidden protected board to be visible anyway, it still will not show up in the pulldown


Is anyone working on this or just forget about it?
  

ElietRides.com

Nice cars and just a bunch of hotties...  Grin
Back to top
WWW  
IP Logged
 
BHRA Webmaster
God Member
*****
Offline


Mod Author of the Year
2002

Posts: 5238
Location: BHRA Headquarters
Joined: Jan 18th, 2002
Gender: Male
Re: [DONE] More Board/Category Options 2.0 SP1.1
Reply #109 - Aug 31st, 2002 at 9:51pm
Print Post  
Have a look at the "Announcement Boards" mod - I think the options are from that.
  


World Domination, one smiley at a time!
Back to top
 
IP Logged
 
Dummy Proof
God Member
*****
Offline


I hate Bosses!  Now get
to work!

Posts: 991
Location: Outside L.A.
Joined: Aug 8th, 2002
Gender: Male
Re: [DONE] More Board/Category Options 2.0 SP1.1
Reply #110 - Sep 1st, 2002 at 1:22am
Print Post  
Hey Elite!... I noticed you have Announcement Board and Mail New Thread Notification mods both installed, if you have had a problem with these two mods, you might want to check out this thread at YaBB: http://www.yabbforum.com/community/?board=scripting;action=display;num=102998774...

new_thread_notification_20_sp1.mod is extremely poorly written, it is written to overwrite any value in boardinfo[3] thru boardinfo[5] that isn't a 0 or 1. Which means when announcment board writes a 2(for admin only boards) new_thread_notification_20_sp1.mod will overwrite the value. I notified Sonic but his response was, "well use notify plus instead" Tongue It should be pulled from the DB.(hint hint to Dave). It actually could be corrected rather than trashed and used for those who don't want all the bells and whistles of notify plus.

Dummy
  

Ya can Idiot proof it...
Ya can Dummy proof it...
But ya can never...
...Blonde proof it!
Back to top
WWW  
IP Logged
 
EliteRides
God Member
*****
Offline


EliteRides.com !

Posts: 692
Location: Salt Lake City
Joined: Mar 23rd, 2002
Gender: Male
Re: [DONE] More Board/Category Options 2.0 SP1.1
Reply #111 - Sep 1st, 2002 at 2:03am
Print Post  
Hey DP, lol

Thanks.  If you could send me that info like you said, it would be appreciated.  I uninstalled the thread notification if that makes any difference.  Does that fix for advanced notification still work?

Quote:
It actually could be corrected rather than trashed and used for those who don't want all the bells and whistles of notify plus.


Yeah, it could be a very useful mod.
  

ElietRides.com

Nice cars and just a bunch of hotties...  Grin
Back to top
WWW  
IP Logged
 
Dummy Proof
God Member
*****
Offline


I hate Bosses!  Now get
to work!

Posts: 991
Location: Outside L.A.
Joined: Aug 8th, 2002
Gender: Male
Re: [DONE] More Board/Category Options 2.0 SP1.1
Reply #112 - Sep 1st, 2002 at 3:50am
Print Post  
Attached to other thread so as to not clutter this thread with off topic mod.

Dummy
  

Ya can Idiot proof it...
Ya can Dummy proof it...
But ya can never...
...Blonde proof it!
Back to top
WWW  
IP Logged
 
AlexC
God Member
*****
Offline



Posts: 896
Location: Aylesbury
Joined: May 26th, 2002
Gender: Male
Re: [DONE] More Board/Category Options 2.0 SP1.1
Reply #113 - Sep 3rd, 2002 at 1:14pm
Print Post  
i ahve fallen along way behind on my thread reading since my holiday, i had around 150 new emails (mostly notifies) after my week away, anything important happen since page 6?
  

-Alex
Back to top
WWW  
IP Logged
 
Tea-Master
Forum Administrator
*****
Offline



Posts: 1945
Location: north germany
Joined: Oct 21st, 2001
Gender: Male
Re: [DONE] More Board/Category Options 2.0 SP1.1
Reply #114 - Sep 6th, 2002 at 2:53pm
Print Post  
Spikecity wrote on Aug 28th, 2002 at 9:32pm:
Goto Subs.pl, look for this piece of code:
Code
Select All
                        fopen(FILE, "$boardsdir/$data[$i].dat");
                        @newcatdata = <FILE>;
                        fclose(FILE);
                        chomp @newcatdata;
                        if ($data[$i] eq $currentboard) { $selecthtml .= "<option selected value=\"?board=$data[$i]\">=> $newcatdata[0]</option>\n"; }
                        else { $selecthtml .= "<option value=\"?board=$data[$i]\">&nbsp; - $newcatdata[0]</option>\n"; }
                  }
 



change into :

Code
Select All
                        fclose(FILE);
                        chomp @newcatdata;
                        my $access = &AccessCheck($data[$i], '');
                        if($access eq "granted"){
                              if ($data[$i] eq $currentboard) { $selecthtml .= "<option selected value=\"?board=$data[$i]\">=> $newcatdata[0]</option>\n"; }
                              else { $selecthtml .= "<option value=\"?board=$data[$i]\">&nbsp; - $newcatdata[0]</option>\n"; }
                        }
                  }
 


u forgot two lines Tongue Wink

just got it cause someone asked why the jump to box is full with "-" instead of the board names.

so it has to be:
Quote:
change into :

Code
Select All
				fopen(FILE, "$boardsdir/$data[$i].dat");
				@newcatdata = <FILE>;
				fclose(FILE);
				chomp @newcatdata;
				my $access = &AccessCheck($data[$i], '');
				if($access eq "granted"){
					if ($data[$i] eq $currentboard) { $selecthtml .= "<option selected value=\"?board=$data[$i]\">=> $newcatdata[0]</option>\n"; }
					else { $selecthtml .= "<option value=\"?board=$data[$i]\">&nbsp; - $newcatdata[0]</option>\n"; }
				}
			}
 

  
Back to top
WWW  
IP Logged
 
huijaa
Full Member
***
Offline


I'm loving YaBB GOLD 2
and MORE!

Posts: 173
Location: Zoetermeer
Joined: Feb 23rd, 2002
Gender: Male
Re: [DONE] More Board/Category Options 2.0 SP1.1
Reply #115 - Sep 8th, 2002 at 10:25am
Print Post  
Shoeb Omar, can it also make a forbid for an user? e.g. !user (! mean not) in the textfield of users for create/reply/read ?
  

WorkBar Mod...Planning[0.5%]
Dutch Mod...Planning[99.5%]
Back to top
 
IP Logged
 
Shoeb Omar
God Member
*****
Offline


Mod Writer

Posts: 5665
Location: San Diego
Joined: Jun 29th, 2001
Gender: Male
Re: [DONE] More Board/Category Options 2.0 SP1.1
Reply #116 - Sep 8th, 2002 at 4:42pm
Print Post  
huijaa wrote on Sep 8th, 2002 at 10:25am:
Shoeb Omar, can it also make a forbid for an user? e.g. !user (! mean not) in the textfield of users for create/reply/read ?


Not right now it can't... but I have to say... It's a good idea for the next one Wink.
  

YaBB SP2 BETA!
Now taking pay jobs in PHP or Perl.  Contact me for details.
Back to top
IP Logged
 
Spikecity
God Member
*****
Offline


Beer anyone ?

Posts: 2630
Location: New York
Joined: Apr 16th, 2002
Gender: Male
Re: [DONE] More Board/Category Options 2.0 SP1.1
Reply #117 - Sep 8th, 2002 at 6:40pm
Print Post  
Tea-Master wrote on Sep 6th, 2002 at 2:53pm:
u forgot two lines Tongue Wink

Oops.... a little copy&paste error from my part.... sorry guys Grin
  

Nothing to add here Smiley
Back to top
 
IP Logged
 
chaospixel
New Member
*
Offline


..:: start.a.riot ::..

Posts: 23
Joined: Aug 12th, 2002
Gender: Male
Re: [DONE] More Board/Category Options 2.0 SP1.1
Reply #118 - Sep 10th, 2002 at 11:09pm
Print Post  
hi! i have a problem with mbc in some kind of way (well actually i dont think that its mbcs fault, but i dunno where else to post)

i have one board hidden, it can be only accessed by admins and mods. now i want that the normal user cant see any evidence of this board. but the problem is, that the info center counts the threads and posts of the hidden board together with the normal boards.. so the normal user sees that there is something wrong. also, i have the who is online mod installed, and the normal user can see when a mod or admin is in that board, which in my case obviously isnt wanted Smiley

ok, i tried to edit some things, but it didnt work out.. pls dont laugh at me, but this was my idea Wink

for the infocenter, my idea was to change this code in boardindex.pl:

                 $lastposter{$curboard} = $lastposter eq 'N/A' || ! $lastposter ? $txt{'470'} : $lastposter;
                 $messagecount{$curboard} = $messagecount || 0;
                 $threadcount{$curboard} = $threadcount || 0;
                 $totalm += $messagecount;
                 $totalt += $threadcount;
           }
     }


to this:

                 $lastposter{$curboard} = $lastposter eq 'N/A' || ! $lastposter ? $txt{'470'} : $lastposter;
                 if ($curboard ne "dsfW30dfsolkrjopp_siu99SSFjws034wsdljwsdq09sSFF0s78fsS9s_") {
                 $messagecount{$curboard} = $messagecount || 0; } else { $messagecount{$curboard} = 0;}
                 if ($curboard ne "dsfW30dfsolkrjopp_siu99SSFjws034wsdljwsdq09sSFF0s78fsS9s_") {
                 $threadcount{$curboard} = $threadcount || 0; } else { $threadcount{$curboard} = 0 ;}
                 $totalm += $messagecount;
                 $totalt += $threadcount;
           }
     }

---------------

dsfW30dfsolkrjopp_siu99SSFjws034wsdljwsdq09sSFF0s78fsS9s_ <-- thats the id of the hidden board.

well, it didnt work Wink so can someone tell me how to do it correctly please? Smiley was this idea slightly right, or a complete idiotical idea? Wink


and for the whos on mod, i thought of, if a user is in the hidden forum, not to let anything be written to the online log, but i dunno if that is the easiest idea.

pls help Smiley

greetz, chaospixel
  

:: Play the game - gaming is lame ::
Back to top
WWWICQ  
IP Logged
 
kiteless
New Member
*
Offline


I love YaBB 1G - SP1!

Posts: 4
Joined: Sep 16th, 2002
Re: [DONE] More Board/Category Options 2.0 SP1.1
Reply #119 - Sep 16th, 2002 at 7:29am
Print Post  
i'm sure this is something dumbass on my part but i installed this without a hitch with the newest version of boardmod available off this site. when i log into my admin page and go to the more board/catgory options everything opens up just fine. the issue is when i click the drop down to choose a category or board. it will not a) let me change from any other category than my main general category and b) will not save any changes. i am suspecting this has something to do with what a certain file is chmod'd to, but i've no clue which one. i'm running yabb sp 1.1 and i don't get any errors. it just wont stick when i select something different in the drop down. any help would be mucho appreciated. great mod! i look forward to using it.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 ... 6 7 [8] 9 10 11
Send TopicPrint