Page Index Toggle Pages: [1] 2  Send TopicPrint
Hot Topic (More than 10 Replies) Reason for Editing V1.1 for YaBB 2.1 (Read 6788 times)
Jeff
God Member
*****
Offline


There are no bugs there
are only features

Posts: 2552
Joined: Jan 14th, 2005
Gender: Male
Reason for Editing V1.1 for YaBB 2.1
Jan 22nd, 2007 at 6:02pm
Print Post  
hello YaBBer   Cheesy

MF-B and I have make Reason for Editing mod for YaBB 2.1

----------------------------------------------------------
Reason for Editing V1.1
----------------------------------------------------------


Description:
This mod allow to enter your Reason in edit users posts by Forumstaff (Admins, Gmods and Mods).

Screenshots:

Edit Reason in Edit Posts


View Reason in Post


Installation:
1) Modify YaBB files using BoardMod or manually.
2) Load modified files to your server in ASCII mode.

Admin/ModList.pl (ASCII)
Languages/English.Display.lng (ASCII)
Languages/English/Post.lng (ASCII)
Sources/Display.pl (ASCII)
Sources/ModifyMessage.pl (ASCII)
Sources/Post.pl (ASCII)
Sources/Printpage.pl (ASCII)
Sources/YaBBC.pl (ASCII)
Templates/default/Display.template (ASCII)

Credit:
"Thanks for Ron@Spikecity with mod Power Hide for idea to use a specific tag in the message"

Mod History:
Status Reason for Editing V1.1 (January 22 2007)
- Add/Fix Printpage.pl
- Fix Display.pl optimized/speed code by Zoo

Status Reason for Editing V1.0 (January 22 2007) (3 Downloads)
- First release

Download:

Sorry! The Download Folder is full in this forum, so you can download the Reason for Editing Mod here ...

--> Reason_for_Edit_V1_1.zip
« Last Edit: Feb 18th, 2008 at 10:21am by Jeff »  

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


I love YaBB 1G - SP1!

Posts: 290
Joined: Jan 22nd, 2003
Re: Reason for Editing V1.0 for YaBB 2.1
Reply #1 - Jan 22nd, 2007 at 7:16pm
Print Post  
fist look  Wink

Code
Select All
if ($postmessage =~ s~\[reason\](.+?)\[/reason\]~~isg && $lastmodified) { 

- slooow

Code
Select All
if ($lastmodified && $postmessage =~ s~\[reason\](.+?)\[/reason\]~~isg) {
 

- qick

is it clear?
  
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: Reason for Editing V1.0 for YaBB 2.1
Reply #2 - Jan 22nd, 2007 at 8:15pm
Print Post  
Hi Zoo
ok updated. thnx.  Wink

And fix/add for Printpage.pl
  

greetings
Jeff
Back to top
WWW  
IP Logged
 
Outumuro
God Member
*****
Offline


Publisher - YaBB Toolbar

Posts: 569
Location: Los Angeles
Joined: Apr 14th, 2004
Gender: Male
Re: [DONE] Reason for Editing V1.1 for YaBB 2.1
Reply #3 - Jan 23rd, 2007 at 5:33am
Print Post  
Great idea guys! Smiley
  


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



Posts: 253
Joined: Mar 18th, 2006
Re: [DONE] Reason for Editing V1.1 for YaBB 2.1
Reply #4 - Jan 23rd, 2007 at 1:37pm
Print Post  
Hey you have made this mod, thanks a lot
  
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: [DONE] Reason for Editing V1.1 for YaBB 2.1
Reply #5 - Jan 23rd, 2007 at 1:38pm
Print Post  
Hi
no problem, was request by Curtiss.  Wink You have post on MF-B Forum laters.  Grin
  

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



Posts: 253
Joined: Mar 18th, 2006
Re: [DONE] Reason for Editing V1.1 for YaBB 2.1
Reply #6 - Jan 23rd, 2007 at 3:03pm
Print Post  
Hey,

mod works great again, without problems  Smiley
  
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: [DONE] Reason for Editing V1.1 for YaBB 2.1
Reply #7 - Jan 23rd, 2007 at 3:07pm
Print Post  
aerow90 wrote on Jan 23rd, 2007 at 3:03pm:
Hey,

mod works great again, without problems  Smiley


Hi
again?  ???  Grin
  

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



Posts: 253
Joined: Mar 18th, 2006
Re: [DONE] Reason for Editing V1.1 for YaBB 2.1
Reply #8 - Jan 23rd, 2007 at 3:25pm
Print Post  
Yes like in German:

Mod funktioniert wieder gut ! (=so gut wie die anderen)
  
Back to top
WWW  
IP Logged
 
Larian
Senior Member
****
Offline



Posts: 316
Location: Leipzig
Joined: Oct 22nd, 2002
Gender: Male
Re: [DONE] Reason for Editing V1.1 for YaBB 2.1
Reply #9 - Jan 25th, 2007 at 10:13am
Print Post  
Again a very good idea!

Works perfect!
  
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: [DONE] Reason for Editing V1.1 for YaBB 2.1
Reply #10 - Jan 25th, 2007 at 10:19am
Print Post  
Hi
Wink super.  Cheesy
  

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



Posts: 316
Location: Leipzig
Joined: Oct 22nd, 2002
Gender: Male
Re: [DONE] Reason for Editing V1.1 for YaBB 2.1
Reply #11 - Jan 28th, 2007 at 5:22pm
Print Post  
Have a wish for next version:
The admin should have an option to say (in preferences) that a mod and gmod has to give an reason!
  
Back to top
 
IP Logged
 
Outumuro
God Member
*****
Offline


Publisher - YaBB Toolbar

Posts: 569
Location: Los Angeles
Joined: Apr 14th, 2004
Gender: Male
Re: [DONE] Reason for Editing V1.1 for YaBB 2.1
Reply #12 - Jan 30th, 2007 at 12:31pm
Print Post  
Quote:
no problem, was request by Curtiss.  Wink

Thanks Curtiss! Grin Wink
  


Back to top
WWW  
IP Logged
 
iamnettie
New Member
*
Offline


The one and only

Posts: 38
Location: KC
Joined: Jul 30th, 2005
Gender: Female
Re: Reason for Editing V1.1 for YaBB 2.1
Reply #13 - Apr 9th, 2007 at 12:12am
Print Post  
Works great, first time installed with ZERO issues!!  THANK YOU!
  
Back to top
WWW  
IP Logged
 
ccarr
Ex Member


Re: Reason for Editing V1.1 for YaBB 2.1
Reply #14 - May 18th, 2007 at 7:41am
Print Post  
Hi Jet Li

I installed this mod and it works only in that I get the reason option when modifying the message. If I look in the message.txt I can see the reason in there but this is not displaying in my message.

Here is the text:
Code
Select All
admin Test|Admin(Guest)|admin@admin.com|1179332595|Guest|xx|0|*.*.*.*|Admin Test||1179403454|admin|
Re: admin Test|Zoo(Guest)|nothing@no.com|1179383388|Guest|xx|0|*.*.*.*|test[approval]admin[/approval]||||
Re: admin Test|Admin(Guest)|admin@admin.com|1179403028|Guest|xx|0|*.*.*.*|Admin Test 03||1179470548|admin| 



I have this in my Display.Template:
Code
Select All
  <div class="small" style="float: left; width: 50%; text-align: right;">
   <yabb modified>&nbsp;<yabb approval>&nbsp;<yabb reason>
  </div> 



Here is the message:

http://www.eulogia.co.uk/cgi-bin/forum/YaBB.pl?num=1179332595

Have you any idea why this might be happening?

There is also one other problem that is related to both Zoo's 'Approve' mod and the 'Last Edit:' feature. Zoo has just helped me to get his 'Approve' mod working:

http://www.boardmod.org/yabb/YaBB.pl?board=beta_y2;action=display;num=1178205903...

Here is the problem. For this message there is a message and two reply's. I modified 'Reply #2' but before I did it had the following at the bottom of each message.

The message =  'Last Edit' & Approved by: Admin
Reply #1 = Approved by: Admin
Reply #2 = 'Last Edit' & Approved by: Graham


After I modified 'Reply #2' the Approved text was deleted. So now I have this at the bottom of each message:

The message =  'Last Edit'
Reply #1 = Approved by: Admin
Reply #2 = 'Last Edit'


As well as there being no modified reason the approved message has also been deleted but only on the messages that have a 'Last Edit:

Very Strange.... Any Ideas?
« Last Edit: May 18th, 2007 at 9:13am by »  
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send TopicPrint