Page Index Toggle Pages: 1 Send TopicPrint
Hot Topic (More than 10 Replies) Off Topic Tag V1.0 for 2.2.1 - 2.2.3 (Read 9402 times)
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Off Topic Tag V1.0 for 2.2.1 - 2.2.3
Sep 23rd, 2008 at 7:41pm
Print Post  
Off Topic Tag V1.0

I don' know if this is the same thing that bluegerman meant by an Off Topic Tag or not, but I've seen this sort of thing being used in other places, so I thought I'd do one anyway...

Description:
This MOD will add an Off Topic BBCode to YaBB

Screenshots:





Zip Package:
Off_Topic_Tag_V_1_0.mod
Off_Topic_Tag_V_1_0_Dutch.mod
Off_Topic_Tag_V_1_0_German.mod
Off_Topic_Tag_Spoiler_Patch_V_1_0_221.mod
Off_Topic_Tag_Spoiler_Patch_V_1_0_222-223.mod
Off_Topic_Tag_Dutch_Spoiler_Patch_V_1_0_221.mod
Off_Topic_Tag_Dutch_Spoiler_Patch_V_1_0_222-223.mod
Off_Topic_Tag_German_Spoiler_Patch_V_1_0_221.mod
Off_Topic_Tag_German_Spoiler_Patch_V_1_0_222-223.mod
yabbfiles/ModImages/OffTopicTag/offtopic.gif

Files to edit:
Admin/ModList.pl
Languages/English/InstantMessage.lng
Languages/English/Main.lng
Languages/English/Post.lng
Sources/InstantMessage.pl
Sources/Post.pl
Sources/Printpage.pl
Sources/YaBBC.pl

yabbfiles/ubbc.js
yabbfiles/yabbc.js

Installation:
Before installing, copy 'ubbc.js' and 'yabbc.js' to cgi-bin/yabbdirectory/ - Make sure you re-upload them to their correct directory - html_root/yabbfiles.

Note: If you want to install this Mod and the Spoiler Tag Mod, Install the Spoiler first, then install the Off Topic patch.

Modify YaBB files using BoardMod or manually.
Load modified files to your server. 

Add the following code to your Style Sheet
Code
Select All
.otfieldset {
	font-size: 12px;
	font-weight: normal;
	font-style: normal;
	font-family: Verdana, Helvetica, Arial, Sans-Serif;
	color: #304B58;
	border: 1px #34689A solid;
	width: 90%;
	padding: 4px;
}

.otlegend {
	font-size: 12px;
	font-weight: bold;
	font-style: normal;
	font-family: Verdana, Helvetica, Arial, Sans-Serif;
	color: #304B58;
	text-align: left;
}
 



Mod History:
1.0 - Original version - 23rd September 2008
« Last Edit: Oct 15th, 2008 at 12:00am by Derek Barnstorm »  

Off_Topic_Tag_V_1_0.zip ( 13 KB | Downloads )
Back to top
 
IP Logged
 
ccarr
Ex Member


Re: Off Topic Tag V1.0 for 2.2.1 - 2.2.3
Reply #1 - Sep 23rd, 2008 at 8:02pm
Print Post  
Hey Derek, I love the way that you are getting to grips with the mod writing. Keep up the good work  8)
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Off Topic Tag V1.0 for 2.2.1 - 2.2.3
Reply #2 - Sep 23rd, 2008 at 8:17pm
Print Post  
Thanks ccar! Just been enjoying messing about really. I've done another couple of BBCodes (a download tag and Google search) that I'll put up soon, but I'm going to update the Mood Mod a bit first.
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Off Topic Tag V1.0 for 2.2.1 - 2.2.3
Reply #3 - Sep 23rd, 2008 at 8:51pm
Print Post  
I think I've done the languages wrong in that .zip file... I translated that on Google which said...

Off Topic Comment:

Off Topic Comment - Dutch (same)
Off Topic Kommentar _ German

But I've just looked somewhere else and it says:

van onderwerpcommentaar - Dutch
weg von der Themaanmerkung - German

Does anybody know if any of them are correct?


  
Back to top
 
IP Logged
 
ThM
God Member
*****
Offline



Posts: 585
Location: Germany, Nds.
Joined: May 21st, 2006
Gender: Male
Re: Off Topic Tag V1.0 for 2.2.1 - 2.2.3
Reply #4 - Sep 23rd, 2008 at 11:11pm
Print Post  
Off Topic is a commonly used word in German-speaking forums. So it is correct if you write:

Quote:
Off Topic Kommentar
  

Greeting ThM
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Off Topic Tag V1.0 for 2.2.1 - 2.2.3
Reply #5 - Sep 24th, 2008 at 1:00am
Print Post  
Okay, thanks ThM.

German Mod's correct then.
  
Back to top
 
IP Logged
 
bartez
Ex Member


Re: Off Topic Tag V1.0 for 2.2.1 - 2.2.3
Reply #6 - Sep 24th, 2008 at 2:32pm
Print Post  
cool stuff!
Curious what it will do with the button, since i have the [?] button from the Spoilertag on that position.
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Off Topic Tag V1.0 for 2.2.1 - 2.2.3
Reply #7 - Sep 24th, 2008 at 2:42pm
Print Post  
I'll make a bridge for it... I'll try to get it up later tonight...
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Off Topic Tag V1.0 for 2.2.1 - 2.2.3
Reply #8 - Sep 24th, 2008 at 7:11pm
Print Post  
Right, I've done that... If you've already got the Spoiler Tag installed, you just need to install one of the patches... I've updated the .zip package in the first post.

It will tidy the input and textarea fields up a bit too...

« Last Edit: Sep 29th, 2008 at 3:13pm by Derek Barnstorm »  
Back to top
 
IP Logged
 
bartez
Ex Member


Re: Off Topic Tag V1.0 for 2.2.1 - 2.2.3
Reply #9 - Sep 25th, 2008 at 2:39pm
Print Post  
nice work Derek Smiley
Thanks
  
Back to top
 
IP Logged
 
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: Off Topic Tag V1.0 for 2.2.1 - 2.2.3
Reply #10 - Oct 6th, 2008 at 8:36pm
Print Post  
Nice ... I think I like this.

Congratulations.
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Off Topic Tag V1.0 for 2.2.1 - 2.2.3
Reply #11 - Oct 15th, 2008 at 12:05am
Print Post  
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint