Page Index Toggle Pages: 1 ... 3 4 [5] 6  Send TopicPrint
Locked Topic [BETA] In-Thread Multi Delete (Read 22231 times)
Shoeb Omar
God Member
*****
Offline


Mod Writer

Posts: 5665
Location: San Diego
Joined: Jun 29th, 2001
Gender: Male
Re: [BETA] In-Thread Multi Delete
Reply #60 - Mar 23rd, 2002 at 10:13pm
 
already did Smiley

p.s. BHRA IS AWESOME!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Smiley
  

YaBB SP2 BETA!
Now taking pay jobs in PHP or Perl.  Contact me for details.
Back to top
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: [BETA] In-Thread Multi Delete
Reply #61 - Mar 23rd, 2002 at 10:22pm
 
check if it works first!

(but only if you're well enough!)
  


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


Mod Writer

Posts: 5665
Location: San Diego
Joined: Jun 29th, 2001
Gender: Male
Re: [BETA] In-Thread Multi Delete
Reply #62 - Mar 23rd, 2002 at 10:25pm
 
release bta 4 bhra! Tongue
  

YaBB SP2 BETA!
Now taking pay jobs in PHP or Perl.  Contact me for details.
Back to top
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: [BETA] In-Thread Multi Delete
Reply #63 - Mar 23rd, 2002 at 10:30pm
 
OK, here it is BETA 4

Changes:
1...message index updates correctly (test this please!)
2...board index updates correctly (test this please!)
3...page number retained when you press the delete button
4...delete button is hidden if thread is locked
5...removed error message when no checkboxes are ticked
6...streamlined code and made it easier to follow (well, easier for me!)



(report all bugs to Omario when he's feeling better!) Tongue
  


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


Mod Writer

Posts: 5665
Location: San Diego
Joined: Jun 29th, 2001
Gender: Male
Re: [BETA] In-Thread Multi Delete
Reply #64 - Mar 23rd, 2002 at 10:33pm
 
lol Grin
  

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


I love YaBB 1 Gold!

Posts: 129
Joined: Nov 23rd, 2001
Re: [BETA] In-Thread Multi Delete
Reply #65 - Mar 26th, 2002 at 5:51pm
 
Step 7

If you change to:

Code
Select All
<search for>
    <td colspan=2 class="windowbg2" bgcolor="$color{'windowbg2'}">
    <HR size=1 width="100%" class="hr"></td>
  </tr><tr>
    <td class="windowbg2" bgcolor="$color{'windowbg2'}"><font size="2">$txt{'746'}</font></td>
    <td class="windowbg2" bgcolor="$color{'windowbg2'}"><input type=checkbox name="allowpics" $allowpicschecked></td>
</search for>

<add before>
    <td class="windowbg2" bgcolor="$color{'windowbg2'}"><font size="2">$mdintxt{'1'}</font><br><font size=-2>$mdintxt{'2'}</font></td>
    <td class="windowbg2" bgcolor="$color{'windowbg2'}"><input type=checkbox name="mdadmin" value="1"$mdadchecked>&nbsp;<input type=checkbox name="mdglobal" value="1"$mdglchecked>&nbsp;<input type=checkbox name="mdmod" value="1"$mdmochecked></td>
  </tr><tr>
</add before> 



It puts things together nicely with omario's other fine mod... Moderation Update V3...

Also, a $menusep would be useful between the "delete selected" button and the sticky post button.

Any chance that this could be made into an icon button rather than what it is now?  Keep a consistent look to the admin functions?  I went to the button generator site and looked at what might be available for use... some possibilities...
  
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: [BETA] In-Thread Multi Delete
Reply #66 - Mar 27th, 2002 at 1:41am
 
So you're trying to get all the controls in the same section hum?

In that case, it would probably be better to use the following.

Code
Select All
<search for>
    <td class="windowbg2" bgcolor="$color{'windowbg2'}"><font size="2">$txt{'498'}</font></td>
    <td class="windowbg2" bgcolor="$color{'windowbg2'}"><input type=text name="maxmesslen" size="5" value="$MaxMessLen"></td>
  </tr><tr>
    <td colspan=2 class="windowbg2" bgcolor="$color{'windowbg2'}">
    <HR size=1 width="100%" class="hr"></td>
  </tr><tr>
</search for>

<add after>
    <td class="windowbg2" bgcolor="$color{'windowbg2'}"><font size="2">$mdintxt{'1'}</font><br><font size=-2>$mdintxt{'2'}</font></td>
    <td class="windowbg2" bgcolor="$color{'windowbg2'}"><input type=checkbox name="mdadmin" value="1"$mdadchecked>&nbsp;<input type=checkbox name="mdglobal" value="1"$mdglchecked>&nbsp;<input type=checkbox name="mdmod" value="1"$mdmochecked></td>
  </tr><tr>
</add after>
 


This way, the controls should be in the same section, regardless of which order the mods are installed (unless another mod inserts some code here!)

BTW, the position of the delete button is the only thing I'm not 100% happy with, but it's difficult finding somewhere else to put it.
  


World Domination, one smiley at a time!
Back to top
 
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: [BETA] In-Thread Multi Delete
Reply #67 - Mar 27th, 2002 at 1:46am
 
@Zone: So, apart from the cosmetic issues, how did the mod perform? Any functional problems? Any improvements needed?
  


World Domination, one smiley at a time!
Back to top
 
IP Logged
 
Zone
Full Member
***
Offline


I love YaBB 1 Gold!

Posts: 129
Joined: Nov 23rd, 2001
Re: [BETA] In-Thread Multi Delete
Reply #68 - Mar 27th, 2002 at 3:33am
 
I really liked how it worked... I could not see any errors at all.  Fantastic work guys!
  
Back to top
WWW  
IP Logged
 
McH
Junior Member
**
Offline


Juud. 16

Posts: 60
Location: Lahti
Joined: Nov 6th, 2001
Gender: Male
Re: [BETA] In-Thread Multi Delete
Reply #69 - Mar 31st, 2002 at 5:01pm
 
Does this mod work whit poll mod?

My polls don't work anymore when I install this mod. I can look polls just fine but I don't can vote. :/
  
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: [BETA] In-Thread Multi Delete
Reply #70 - Mar 31st, 2002 at 11:10pm
 
Probably a problem with where this mod puts the <form> tag in Display.pl (you can't nest form tags!)

in the mod file, change this
Code
Select All
<search for>
<table width="100%" cellpadding="0" cellspacing="0">
</search for>

<add before>
<form name="multidel" art" method="POST" style="display: inline">
<input type="hidden" name="maxmessage" value="$maxmessagedisplay">
</add before> 



with this
Code
Select All
<search for>
<table cellpadding="0" cellspacing="0" border="0" width="100%" bgcolor="$color{'bordercolor'}" class="bordercolor" align="center">
</search for>

<add before>
<form name="multidel" art" method="POST" style="display: inline">
<input type="hidden" name="maxmessage" value="$maxmessagedisplay">
</add before>
 



and reapply.
« Last Edit: Apr 1st, 2002 at 2:27pm by BHRA Webmaster »  


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


Mod Writer

Posts: 5665
Location: San Diego
Joined: Jun 29th, 2001
Gender: Male
Re: [BETA] In-Thread Multi Delete
Reply #71 - Apr 1st, 2002 at 1:16am
 
bhra, if i make that one change the mod ready for release?
  

YaBB SP2 BETA!
Now taking pay jobs in PHP or Perl.  Contact me for details.
Back to top
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: [BETA] In-Thread Multi Delete
Reply #72 - Apr 1st, 2002 at 10:29am
 
Quote:
Any chance that this could be made into an icon button rather than what it is now?  Keep a consistent look to the admin functions?

I don't know if you want to look into this, it's a cosmetic change that might be nice, but it's not critical.

As nobody else has reported any problems in how this mod functions, I think it's safe to release it!



(Glad to here you're feeling better Omario!)
  


World Domination, one smiley at a time!
Back to top
 
IP Logged
 
McH
Junior Member
**
Offline


Juud. 16

Posts: 60
Location: Lahti
Joined: Nov 6th, 2001
Gender: Male
Re: [BETA] In-Thread Multi Delete
Reply #73 - Apr 1st, 2002 at 12:04pm
 
@BHRA Webmaster
Thank you, that works for me! Thank U!

Great mod!  Grin
  
Back to top
WWW  
IP Logged
 
Shoeb Omar
God Member
*****
Offline


Mod Writer

Posts: 5665
Location: San Diego
Joined: Jun 29th, 2001
Gender: Male
Re: [BETA] In-Thread Multi Delete
Reply #74 - Apr 1st, 2002 at 8:27pm
 
dont wanna make the modification bhra cause it annoying to have a zip file for mods Wink

this is soooo much easier Wink and i will release lata today Smiley
  

YaBB SP2 BETA!
Now taking pay jobs in PHP or Perl.  Contact me for details.
Back to top
IP Logged
 
Page Index Toggle Pages: 1 ... 3 4 [5] 6 
Send TopicPrint