Custom Field On posting 1.1

Started by Aportadordelmix, May 31, 2009, 02:26:14 AM

Previous topic - Next topic

Aportadordelmix



Custom Field On Posting
Author : 130860 = mirahalo. Take by Aportadordelmix



Link to Mod | Comment On This Mod

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)

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




Antes

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>

mirahalo

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!

Blinker

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'.

Sudhakar Arjunan

Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

mirahalo

Blinker & A.SK  thank you both for your words!

mirahalo

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 ;)

mirahalo

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


Afro

can this mod create and input box on the post page ?

say

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

and then poster can add a phone number before posting

mirahalo

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  mod   it does similar at what you want  maybe you can  twisted a little bit to get what you want ;)

Afro

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

mbanusick2

Pls is there a way i can add the kind of code this mod ads after every post..

mirahalo

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

Northboun

Using SMF 2 rc3

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

Thanks

mirahalo

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 ;)

Northboun

Thank you for your quick reply :)

amiralib

it does not show the quick search . why?
I use this code :
<?php ssi_quickSearch(); ?>

mirahalo

because this mod do not support php at the moment, I will look at it to add support for php.

esp3tek

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 :)

mextremex

working  nicely  in 2.0.1
you need to emulate "2.0 RC2"
thanks for this mod :)

Advertisement: