JDALIP - Join Date And Location In Postbit (Partially Hook!)

Started by Hj Ahmad Rasyid Hj Ismail, June 13, 2010, 12:13:59 PM

Previous topic - Next topic

Hj Ahmad Rasyid Hj Ismail

Link to Mod

JDALIP - Join Date And Location In Postbit

- For SMF 2.0.x
- Partially using hook, minor modifications on two files.

1. Please do your own backup though every installation is backed up automatically.
2. This mod will show member's join date and location in two places in Display (post) or Personal Message (PM) page(s).
3. After a successful instalaltion, you will be given several options to use this mod.
4. All you need to do is turn check each option preferred in Mod Settings Page and save it.
5. You can test it in all lower SMF 2.0.x version too as IMO it should work just fine. ;)


Thank you for using/testing it.


Yours friendly,
Abu Fahim Ismail.

BSD License. Feel free to modify accordingly but keep original and current authors' link(s) if it is in there somewhere. ;)

Original Author: Joker™
Alternative Support Site: BurkeKnight Enterprises

 


#Change Logs

@Version 1.3.2
- Author and license changed.
- Mod upgraded to partially hook.

@Version 1.3.1
- Mod added on GitHub
- License changed

@Version 1.3.0
- A new option added in the mod to hide the join date and location from guests on topic pages.

@Version 1.2.0
- Mod updated for 2.0
- License added to the mod

@Version 1.1.0
- Join date and Location fields options added for Personal Messages also.
- Mod is working fine on RC5

@Version 1.0.0
- Initial Release.

PurpleCrow

Great mod, just installed it and it works perfectly :)
SMF 2.0 RC3

Looking for staff!

Forums Galore, a brand new Admin Forum is looking for staff to help with the launch. Send me a PM or sign up to Forums Galore if you're interested!

Add your forum to the Forums Galore Community Showcase

Joker™

Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

~DS~

Well that's much better. Glad you like my idea. Options in one mod are always good when you can always disable or enable them. ;)
Cheers.
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

Joker™

Quote from: DS™ on June 13, 2010, 12:47:58 PM
Well that's much better. Glad you like my idea. Options in one mod are always good when you can always disable or enable them. ;)
Cheers.

yeah , credit goes to you for giving me the idea.Glad you liked it :D
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Reefer

Downloaded it and tried to install...
I get Error:
Unable to find Package file.

Any ideas?
Have checked that the file size download = file size uploaded...? Tried to upload several times, but keep getting same message when trying to install. Using custom theme estalia...

Reefer

C'mon guys... help a noob here!
Tried to install manually, but when I get to this instruction...
./Themes/default/languages/Modifications.english.php
there is no such directory in my theme files.
Is it possible to skip this file or am I courting disaster? What to do please?

Joker™

./Themes/default/languages/Modifications.english.php << it must be there

you are using SMF2.0 RC3 ?
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Reefer

Yep I'm using RC3. But I'm using a custom theme... if I don't find the file in my custom theme directory, do I then go to the default theme directory?
I'm obviously not understanding the use of themes too well. My custom theme is set as the default. I assumed that the default directory would then be my custom theme directory? Or not?

Joker™

no , as mentioned in parse , if ur custom theme don't have the file then your default theme is providing it the files.

Most of the themes uses the files of default theme.

So , make changes in the files of default theme which are not present in your custom theme :).
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Bancherd

Nice... ;D   I was just hoping for such a mod.  :D

Reefer

Thanks for your help Sid... will give it a bash!

Joker™

Mod updated version 1.1 . Change log*

Join date and Location fields options add for Personal Messages also .
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

davo88

Thanks very much for this. Works perfectly. Just what I needed.

Joker™

Update - Just tested mod is working perfectly fine on RC4
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

henrik1782

Nice mod... thanks a lot!

Here is the Danish translation.


    <file name="$languagedir/Modifications.danish.php">
<operation>
<search position="end" />
<add><![CDATA[
$txt['join_date'] = 'Medlemsdato';
$txt['enable_join_date_post'] = 'Vis medlemsdato i indlæg';
$txt['enable_member_location_post'] = 'Vis medlemslokation i indlæg';
$txt['enable_join_date_pm'] = 'Vis medlemsdato i personlige meddelelser';
$txt['enable_member_location_pm'] = 'Vis medlemslokation i personlige meddelelser';

]]></add>
</operation>
</file>

    <file name="$languagedir/Modifications.danish-utf8.php">
<operation>
<search position="end" />
<add><![CDATA[
$txt['join_date'] = 'Medlemsdato';
$txt['enable_join_date_post'] = 'Vis medlemsdato i indlæg';
$txt['enable_member_location_post'] = 'Vis medlemslokation i indlæg';
$txt['enable_join_date_pm'] = 'Vis medlemsdato i personlige meddelelser';
$txt['enable_member_location_pm'] = 'Vis medlemslokation i personlige meddelelser';

]]></add>
</operation>
</file>
My favorite mods: Forum Firewall, httBL, MessagePreviewOnHover, BoardHover Mod, VB Style Board Index, Separate Replies and Views Column, Realtime clock by Joker, ENotify, Topic Solved.

Joker™

Quote from: henrik1782 on December 06, 2010, 09:30:52 AM
Nice mod... thanks a lot!

Here is the Danish translation.


    <file name="$languagedir/Modifications.danish.php">
<operation>
<search position="end" />
<add><![CDATA[
$txt['join_date'] = 'Medlemsdato';
$txt['enable_join_date_post'] = 'Vis medlemsdato i indlæg';
$txt['enable_member_location_post'] = 'Vis medlemslokation i indlæg';
$txt['enable_join_date_pm'] = 'Vis medlemsdato i personlige meddelelser';
$txt['enable_member_location_pm'] = 'Vis medlemslokation i personlige meddelelser';

]]></add>
</operation>
</file>

    <file name="$languagedir/Modifications.danish-utf8.php">
<operation>
<search position="end" />
<add><![CDATA[
$txt['join_date'] = 'Medlemsdato';
$txt['enable_join_date_post'] = 'Vis medlemsdato i indlæg';
$txt['enable_member_location_post'] = 'Vis medlemslokation i indlæg';
$txt['enable_join_date_pm'] = 'Vis medlemsdato i personlige meddelelser';
$txt['enable_member_location_pm'] = 'Vis medlemslokation i personlige meddelelser';

]]></add>
</operation>
</file>

Thanks a lot, will add this in next upgrade ;).
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Goad

#17
What do I need to do to make the location field a required field on the registration page?

Joker™

Quote from: Goad on January 10, 2011, 09:20:22 PM
What do I need to do to make the location field a required field on the registration page?
I'm assuming that you are using SMF 2.0 series

Go to
1. Administration Center » Core Features -- Enable "Advanced Profile Fields"
2. Administration Center » Features and Options » Profile Fields -- Just click show "location" on registration page.
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Goad

Quote from: Joker™ on January 11, 2011, 11:01:09 PM
Quote from: Goad on January 10, 2011, 09:20:22 PM
What do I need to do to make the location field a required field on the registration page?
I'm assuming that you are using SMF 2.0 series

Go to
1. Administration Center » Core Features -- Enable "Advanced Profile Fields"
2. Administration Center » Features and Options » Profile Fields -- Just click show "location" on registration page.

I understand that, but I want to make it a field that is REQUIRED to be filled out to proceed with registration. This helps me with locating spammers as my forum is a regional specific forum. So if someone signs up from a foreign country, its a red flag its a spammer.

Thanks!

Advertisement: