Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Aportadordelmix on May 31, 2009, 02:26:14 AM

Title: Custom Field On posting 1.1
Post by: Aportadordelmix on May 31, 2009, 02:26:14 AM


Custom Field On Posting
Author : 130860 = mirahalo (http://oharascans.com). Take by Aportadordelmix (http://www.simplemachines.org/community/index.php?action=profile;u=239378)



Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1856) | Comment On This Mod (http://www.simplemachines.org/community/index.php?topic=314404.0)

Version 1.1
For SMF 2.0 RC2, 2.0 RC3 and SMF 1.1.11


Languages

English
Spanish_es
Spanish_latin
Turkish
Turkish-utf8  (thanks to Antes (http://www.simplemachines.org/community/index.php?action=profile;u=183330))

I welcome translations, please post it on the support topic ;)

Changelog
1.2 - November 11 2009
- Update to work with 2.0RC2
1.1 - August 13 2009
- Update to work with 1.1.10 and 2.0 RC1.2.
- Clean unnecessary language strings.
- Moved the settings in 1.1.x to a better place.
- Added Turkish language support.
- Improved the readme and the install.
1.0 - May 25, 2009,
-Initial Release


Introduction
With this mod you can put a custom HTML or BBC code in the posting template

Settings

- Admin/Features and Options for 1.1.x
- Admin->Configuration->Modifications for 2.0


You can use the SMF permissons sistem.

Preview
(http://img20.imageshack.us/img20/9671/cfoplook.jpg)

(http://img20.imageshack.us/img20/3163/cfopsettings.jpg)

Title: Re: Custom Field On posting
Post by: Antes on May 31, 2009, 03:28:29 AM
Awsome ... its very useful about ads ... Rulz Waow...

Turkish Translate ( Normal + UTF8 )

<file name="$languagedir/Modifications.turkish.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Custom Field On Posting start

$txt['CFOP_error'] = 'Görüntülenecek herhangi bir kod girmediniz';
$txt['CFOP_user_code'] = 'Düzenlediğiniz Kodu Buraya Giriniz:';
$txt['CFOP_enable'] = 'İAUB Eklentisini Çalıştır';
$txt['permissiongroup_CFOP'] = 'İleti Alanına Uyarlanmış Bölüm eklentisi';
$txt['permissionname_CFOP_view'] = 'İAUB Eklentisini Görüntüle';
$helptxt['CFOP_view'] = 'Eğer burdaki kutucuğu işaretlerseniz, bu üyelik grubu altındaki üyeler özel alanı görebilecekler, aksi halde fonksiyon kapalı halde olacaktır.';
$helptxt['CFOP_user_code'] = 'Bölümde HTML ve/veya BBCode kullanabilirsiniz.';
$helptxt['CFOP_enable'] = 'Bu İAUB eklentisini etkinleştirecek. Bu eklenti, size post.template içinde özel bir html kutusu oluşturmanızı sağlayacak.';

// Custom Field On Posting end
]]></add>
</operation>
</file>


<file name="$languagedir/Modifications.turkish-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Custom Field On Posting start

$txt['CFOP_error'] = 'Görüntülenecek herhangi bir kod girmediniz';
$txt['CFOP_user_code'] = 'Düzenlediğiniz Kodu Buraya Giriniz:';
$txt['CFOP_enable'] = 'İAUB Eklentisini Çalıştır';
$txt['permissiongroup_CFOP'] = 'İleti Alanına Uyarlanmış Bölüm eklentisi';
$txt['permissionname_CFOP_view'] = 'İAUB Eklentisini Görüntüle';
$helptxt['CFOP_view'] = 'Eğer burdaki kutucuğu işaretlerseniz, bu üyelik grubu altındaki üyeler özel alanı görebilecekler, aksi halde fonksiyon kapalı halde olacaktır.';
$helptxt['CFOP_user_code'] = 'Bölümde HTML ve/veya BBCode kullanabilirsiniz.';
$helptxt['CFOP_enable'] = 'Bu İAUB eklentisini etkinleştirecek. Bu eklenti, size post.template içinde özel bir html kutusu oluşturmanızı sağlayacak.';

// Custom Field On Posting end
]]></add>
</operation>
</file>
Title: Re: Custom Field On posting
Post by: mirahalo on May 31, 2009, 06:55:03 PM
Quote from: Gnoll on May 31, 2009, 03:28:29 AM
Awsome ... its very useful about ads ... Rulz Waow...

Turkish Translate ( Normal + UTF8 )


Thanks a lot ;) I will add this in the next version or if more translations are posted.

greetings!
Title: Re: Custom Field On posting
Post by: Blinker on June 01, 2009, 05:36:49 AM
Great mod, thanks very much dude. Yet another grand move on the way to my members finally remembering to do the right thing before they click 'post'.
Title: Re: Custom Field On posting
Post by: Sudhakar Arjunan on June 02, 2009, 08:00:44 AM
Good mod, Thank you.
Title: Re: Custom Field On posting
Post by: mirahalo on June 02, 2009, 09:32:07 AM
Blinker & A.SK  thank you both for your words!
Title: Re: Custom Field On posting
Post by: mirahalo on August 13, 2009, 10:20:24 PM
Version 1.1. Update!  8)

Changelog
1.1 - August 13 2009
- Update to work with 1.1.10 and 2.0 RC1.2.
- Clean unnecessary language strings.
- Moved the settings in 1.1.x to a better place.
- Added Turkish language support.
- Improved the readme and the install.
1.0 - May 25, 2009,
-Initial Release


Please uninstall the older version before you install the new one ;)
Title: Re: Custom Field On posting 1.1
Post by: mirahalo on November 11, 2009, 02:12:09 PM
another quick update, heres the changelog:

Changelog
1.2 - November 11 2009
- Update to work with 2.0RC2
1.1 - August 13 2009
- Update to work with 1.1.10 and 2.0 RC1.2.
- Clean unnecessary language strings.
- Moved the settings in 1.1.x to a better place.
- Added Turkish language support.
- Improved the readme and the install.
1.0 - May 25, 2009,
-Initial Release

Title: Re: Custom Field On posting 1.1
Post by: Afro on December 23, 2009, 01:15:48 PM
can this mod create and input box on the post page ?

say

Phone number ..................................

and then poster can add a phone number before posting
Title: Re: Custom Field On posting 1.1
Post by: mirahalo on December 23, 2009, 01:47:11 PM
im afraid it does not,  this mod is very simple, it only shows something you set in admin, for example, rules,  faq, tips, etc,  in the posting section,  What you want  is something more sophisticated,  take a look to Oldiesmann  Now playing (http://custom.simplemachines.org/mods/index.php?mod=122)  mod   it does similar at what you want  maybe you can  twisted a little bit to get what you want ;)
Title: Re: Custom Field On posting 1.1
Post by: Afro on December 23, 2009, 02:04:30 PM
Thanks , i have sen it and i am pretty sure there are a lot to twist there..

if you can do that for me, we can talk about it offline..on pm
Title: Re: Custom Field On posting 1.1
Post by: mbanusick2 on January 25, 2010, 09:11:15 AM
Pls is there a way i can add the kind of code this mod ads after every post..
Title: Re: Custom Field On posting 1.1
Post by: mirahalo on January 25, 2010, 11:10:17 AM
you mean for ads?  if its for ads I suggest the ad management mod.


do you want the same code always under every post? if so it could be done with this mod, please tell me what version of smf do you use and attach your theme's display.template.php and your ./Themes/default/Post.template.php
Title: Re: Custom Field On posting 1.1
Post by: Northboun on May 12, 2010, 06:45:55 PM
Using SMF 2 rc3

How do I uninstall this mod? I have no uninstall in package manager.

Thanks
Title: Re: Custom Field On posting 1.1
Post by: mirahalo on May 12, 2010, 09:44:05 PM
ups!   sorry, looks like i made a mistake  and forgot to add the version for unistall, sorry,   try to emulate RC2 version, click on advanced and type SMF 2.0 RC2  if this  doesn't help, try to follow the parser to undo the changes made by this mod.

I will release another update to fix this ;)
Title: Re: Custom Field On posting 1.1
Post by: Northboun on May 13, 2010, 11:22:10 AM
Thank you for your quick reply :)
Title: Re: Custom Field On posting 1.1
Post by: amiralib on July 09, 2010, 04:09:58 PM
it does not show the quick search . why?
I use this code :
<?php ssi_quickSearch(); ?>
Title: Re: Custom Field On posting 1.1
Post by: mirahalo on July 09, 2010, 04:12:04 PM
because this mod do not support php at the moment, I will look at it to add support for php.
Title: Re: Custom Field On posting 1.1
Post by: esp3tek on July 08, 2011, 05:18:45 AM
I've installed on my SMF 2.0 Final ;) we can install it only editing package-info.xml modifyng this lines:

before:
<install for="2.0 RC2, 2.0 RC3">
<readme parsebbc="true">CFOP_readme.txt</readme>
<modification>CFOP_2.xml</modification>
<redirect url="$scripturl?action=admin;area=modsettings;sa=general;" timeout="4000">redirect.txt</redirect>
</install>

<uninstall for="2.0 RC2, 2.0RC 3">
<modification reverse="true">CFOP_2.xml</modification>
</uninstall>


After:
<install for="2.0 RC2, 2.0 RC3, 2.0">
<readme parsebbc="true">CFOP_readme.txt</readme>
<modification>CFOP_2.xml</modification>
<redirect url="$scripturl?action=admin;area=modsettings;sa=general;" timeout="4000">redirect.txt</redirect>
</install>

<uninstall for="2.0 RC2, 2.0RC 3, 2.0">
<modification reverse="true">CFOP_2.xml</modification>
</uninstall>


Bye :)
Title: Re: Custom Field On posting 1.1
Post by: mextremex on September 26, 2011, 05:57:53 PM
working  nicely  in 2.0.1
you need to emulate "2.0 RC2"
thanks for this mod :)
Title: Re: Custom Field On posting 1.1
Post by: shaka on November 10, 2011, 07:14:02 AM
can anyone please update this for 2.0.1  tried the previous post but still won't install  :-[
Title: Re: Custom Field On posting 1.1
Post by: mageguild on April 30, 2012, 01:18:07 AM
I am unable to install this plugin on my site.  I get this error:  The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

I am running SMF 2.0 and the mod says that it is compatible with 2.0. 
Title: Re: Custom Field On posting 1.1
Post by: TwitchisMental on April 30, 2012, 12:45:04 PM
With this mod can you put a template for one category and a different one for another category?
Title: Re: Custom Field On posting 1.1
Post by: Apllicmz on October 07, 2012, 05:16:57 PM
Any news about Update Mod
Title: Re: Custom Field On posting 1.1
Post by: TheListener on October 07, 2012, 05:20:17 PM
Use the Mod Emulate link in my signature if you want to use this mod on 2.0.2
Title: Re: Custom Field On posting 1.1
Post by: Westwegoman on August 23, 2014, 09:09:20 PM
Could this be added to quick reply?