Page Index Toggle Pages: [1] 2 3 ... 7 Send TopicPrint
Very Hot Topic (More than 25 Replies) Alert Moderator 1.0 (Read 38287 times)
Martin_W
Senior Member
****
Offline


I love YaBB 1G - SP1.2!

Posts: 463
Location: Devon
Joined: Jun 22nd, 2005
Gender: Male
Alert Moderator 1.0
Jun 11th, 2006 at 8:29am
Print Post  
I have completed this mod, and have tested it on two boards successfully.

It is compatible with the Sub Boards Mod.

I have included a German Button, and language(Thanks Jet Li!).

Thanks also to jet-li for re-packaging this latest version - my time was limited.

« Last Edit: Sep 3rd, 2006 at 8:08pm by Martin_W »  

AlertMod_V1_04_.zip ( 22 KB | Downloads )
Back to top
WWW  
IP Logged
 
Martin_W
Senior Member
****
Offline


I love YaBB 1G - SP1.2!

Posts: 463
Location: Devon
Joined: Jun 22nd, 2005
Gender: Male
Re: Alert Moderator 1.0
Reply #1 - Jun 11th, 2006 at 8:37am
Print Post  
Oh - Just realised that the button I have created remains when you select text only buttons in admin-prefs.

Not sure how to alter this yet - any tips??  Never looked into menu.def's yet.
  
Back to top
WWW  
IP Logged
 
lym
Junior Member
**
Offline



Posts: 88
Location: Manchester
Joined: Dec 7th, 2002
Gender: Female
Re: Alert Moderator 1.0
Reply #2 - Jun 11th, 2006 at 9:00am
Print Post  
I got one error while trying to install:

Quote:
Step 1 ... ok

Step 2 ... ok

Step 3 ... ok

Step 4 ... ok

Step 5 ... ok

Step 6 ... ok

Step 7 ... failed - ERR(1): Search string could not be found

Step 8 ... ok

Step 9 ... ok

Step 10 ... ok

Step 11 ... ok

Step 12 ... ok


I have these mods installed:

Member Delete Lock 
Search for IP Address beta 1.0a YaBB2 
Admin Center Update 
Extended Profiles 
  
Back to top
 
IP Logged
 
Jeff
God Member
*****
Offline


There are no bugs there
are only features

Posts: 2552
Joined: Jan 14th, 2005
Gender: Male
Re: Alert Moderator 1.0
Reply #3 - Jun 11th, 2006 at 9:11am
Print Post  
Hi
Step 7 is doing with Extented Profile mod.  Wink

Code
Select All
	    <td align="left"><select name="userlanguage">$drawnldirs</select></td>
	</tr>~;
	if($location_posts) {
		my $loctxtcheck = "";
		my $locflagcheck = "";
		($loctxt, $locflag) = split (/\|/, ${$uid.$user}{'viewlocation'});
		if($loctxt) {$loctxtcheck = qq~ checked="checked"~;}
		if($locflag) {$locflagcheck = qq~ checked="checked"~;}
		$yymain .= qq~
		<tr class="windowbg">
		    <td width="320" align="left"><b>$maptxt{'51'}:</b></td>
		    <td align="left"> $maptxt{'52'} <input type="checkbox" name="loctxt" style="margin: 0px;"$loctxtcheck /> $maptxt{'53'} <input type="checkbox" name="locflag" style="margin: 0px;"$locflagcheck /></td>
		</tr>
		~;
	}
	require "$sourcedir/ExtendedProfiles.pl";
	$yymain .= ext_editprofile($user,"options") . qq~
	<tr class="catbg"> 

  

greetings
Jeff
Back to top
WWW  
IP Logged
 
lym
Junior Member
**
Offline



Posts: 88
Location: Manchester
Joined: Dec 7th, 2002
Gender: Female
Re: Alert Moderator 1.0
Reply #4 - Jun 11th, 2006 at 9:23am
Print Post  
Thanks, can someone help with trying to fix the error please?
  
Back to top
 
IP Logged
 
Martin_W
Senior Member
****
Offline


I love YaBB 1G - SP1.2!

Posts: 463
Location: Devon
Joined: Jun 22nd, 2005
Gender: Male
Re: Alert Moderator 1.0
Reply #5 - Jun 11th, 2006 at 9:41am
Print Post  
I will look at that shortly...
  
Back to top
WWW  
IP Logged
 
Jeff
God Member
*****
Offline


There are no bugs there
are only features

Posts: 2552
Joined: Jan 14th, 2005
Gender: Male
Re: Alert Moderator 1.0
Reply #6 - Jun 11th, 2006 at 9:45am
Print Post  
German Language I have soon too.  Wink Grin
  

greetings
Jeff
Back to top
WWW  
IP Logged
 
Martin_W
Senior Member
****
Offline


I love YaBB 1G - SP1.2!

Posts: 463
Location: Devon
Joined: Jun 22nd, 2005
Gender: Male
Re: Alert Moderator 1.0
Reply #7 - Jun 11th, 2006 at 10:25am
Print Post  
Thanks Jet Li - I have made the mod file compatible with Ext Profiles mod.  I also missed out the text from the Language file for the profile.pl

So, this attached version has an altered AlertMod.lng file and an altered .mod file (which only alters profile.pl slightly compared to previous version).
  
Back to top
WWW  
IP Logged
 
lym
Junior Member
**
Offline



Posts: 88
Location: Manchester
Joined: Dec 7th, 2002
Gender: Female
Re: Alert Moderator 1.0
Reply #8 - Jun 11th, 2006 at 10:54am
Print Post  
Right I've installed the mod with no errors, uploaded everything and chmoded too. Gone to the admin center and then 'alert moderator' link and then done the Express Setup. But I've just gone to go test it out but there is no button next to the posts. Also the mod says:

Recipients of the reports can choose if they want an Email, Instant Message or both via their profile options.

I can't see this option in the profile pages.  Undecided
  
Back to top
 
IP Logged
 
Jeff
God Member
*****
Offline


There are no bugs there
are only features

Posts: 2552
Joined: Jan 14th, 2005
Gender: Male
Re: Alert Moderator 1.0
Reply #9 - Jun 11th, 2006 at 10:54am
Print Post  
Hi
about the menux.def, here a example with chat button.

Menu0.def
Code
Select All
'chatirc' => "<img src=\"$modimgurl/ChatIRC/irc.$imgext\" alt=\"$img_txt{'chatirc'}\" border=\"0\" /> <span class=\"imgmenu\">$img_txt{'chatirc'}</span>", 



Menu1.def
Code
Select All
'chatirc' => "<span class=\"imgmenu\">$img_txt{'chatirc'}</span>", 



Menu2.def
Code
Select All
'chatirc' => "<img src=\"$html_root/Buttons/$language/chatirc.$imgext\" alt=\"$img_txt{'chatirc'}\" border=\"0\" />", 



and all there is search for

Code
Select All
); 



you can see how this works. Wink
  

greetings
Jeff
Back to top
WWW  
IP Logged
 
lym
Junior Member
**
Offline



Posts: 88
Location: Manchester
Joined: Dec 7th, 2002
Gender: Female
Re: Alert Moderator 1.0
Reply #10 - Jun 11th, 2006 at 10:59am
Print Post  
Never mind, fixed it. Accidentally missed one of the files to upload.  Roll Eyes

Still can't find the option in the profiles though.
  
Back to top
 
IP Logged
 
Martin_W
Senior Member
****
Offline


I love YaBB 1G - SP1.2!

Posts: 463
Location: Devon
Joined: Jun 22nd, 2005
Gender: Male
Re: Alert Moderator 1.0
Reply #11 - Jun 11th, 2006 at 11:08am
Print Post  
Option will only appear in profile if the member is on the recipient list.

You will find the option under OPTIONS in the profile at the bottom under "select language".

If you want to PM me a link to the site with password i can take a look.
  
Back to top
WWW  
IP Logged
 
lym
Junior Member
**
Offline



Posts: 88
Location: Manchester
Joined: Dec 7th, 2002
Gender: Female
Re: Alert Moderator 1.0
Reply #12 - Jun 11th, 2006 at 11:13am
Print Post  
Ah found it  Cheesy

Just set it all up, and tested the mod seems to work fine.

Thanks for the great mod  Grin
  
Back to top
 
IP Logged
 
Martin_W
Senior Member
****
Offline


I love YaBB 1G - SP1.2!

Posts: 463
Location: Devon
Joined: Jun 22nd, 2005
Gender: Male
Re: Alert Moderator 1.0
Reply #13 - Jun 11th, 2006 at 11:27am
Print Post  
No worries - glad it's working.

If you want to turn the buttons off and use text, you wll need to alter you install slightly when I sort the menu'x' files.

  
Back to top
WWW  
IP Logged
 
Martin_W
Senior Member
****
Offline


I love YaBB 1G - SP1.2!

Posts: 463
Location: Devon
Joined: Jun 22nd, 2005
Gender: Male
Re: Alert Moderator 1.0
Reply #14 - Jun 11th, 2006 at 12:02pm
Print Post  
OK, Version 1.02 - Im sorry I have altered it twice already!

I have now correctly put the button in the menu'x' files, this is included in the mod file.
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: [1] 2 3 ... 7
Send TopicPrint