News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Join Reason

Started by live627, December 20, 2009, 10:49:47 AM

Previous topic - Next topic

ViV

The link takes me to a blank page

ViV

Request you to PM me the file. Alternatively you can email me the same at [email protected]

live627


ViV

Thanks a million...

Got it and it worked :)

KungFuJoe

Can you send 1.3 to me as well?  ([email protected]).  I'm getting the install20.php error.


GamePersia

whenever installing,..
it shows error : :(
Fatal error: require(): Failed opening required '/home/u728154997/public_html/Packages/temp/install20.php' (include_path='.:/opt/php-5.4/pear') in /home/u728154997/public_html/Sources/Packages.php on line 951

margarett

Confirmed, there is an error in the package... package-info.xml refers "install20.php" and the file in the package is called "install.php" as already reported in the previous page.

To fix it, unpack the MOD, rename install.php to install20.php, repack and upload it.
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

GamePersia

Quote from: margarett on February 18, 2014, 07:12:57 AM
Confirmed, there is an error in the package... package-info.xml refers "install20.php" and the file in the package is called "install.php" as already reported in the previous page.

To fix it, unpack the MOD, rename install.php to install20.php, repack and upload it.
Ok,..
Sorry i not turned this page !! :P
thanks for again telling me buddy !! :D

vbgamer45


Version 1.5
!Fix install issue for SMF 2.0.x
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

GamePersia

How would i know that a new member who joined site what he/she had written in join reason ??
any place where join reason of his/her would be mention ? :-\

live627



Shambles

Quote from: GamePersia
Quote from: live627
rtfm
what is this ???

An extremely rude comment which I'd ignore, if I were you.

DEEPSNUYB

Does the install.php modify the database or just add tables?  This has been manually installed and I want to remove all traces of it from the db since I really have no use for it.  Thanks.

margarett

It adds a column "join_reason" to smf_members table
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

NekoJonez

Question: How can I see the join reason when there is no admin approval?

Question 2: How can I make this field optional?
Retro video game blogger, writer, actor, podcaster and general amazing dude.

Twitter
My Blog

demlak

i just played a little bit with it..
i want to share my findings.. BUT BE CAREFULL.. im NOT A CODER.. i don´t know if this will break your forum!

adding the join-reason to the default memberslist in admin area is simple.. just change in ..Sources/ManageMembers.php
                                        'default' => 'posts',
                                        'reverse' => 'posts DESC',
                                ),
                        ),
                        'check' => array(
                                'header' => array(

to
                                        'default' => 'posts',
                                        'reverse' => 'posts DESC',
                                ),
                        ),
                        'join_reason' => array(
                                'header' => array(
                                        'value' => $txt['admin_browse_join_reason'],
                                ),
                                'data' => array(
                                        'db_htmlsafe' => 'join_reason',
                                ),
                                'sort' =>  array(
                                        'default' => 'join_reason DESC',
                                        'reverse' => 'join_reason',
                                ),
                        ),
                        'check' => array(
                                'header' => array(


in my theme.. this is not accaptable, because the memberslist is wider than the page.. so the list is cropped at the right side..
in my forum there is no difference between Username and DisplayName.. so i just cut off the "display name" column, by adding a # at each line, that is responsible for this column of the members list.. maybe this is a workaround for anyone else..  maybe someone trys to add a smal popup button, which does not make the members list bigger than it should..
here is my workaround:
#                       'display_name' => array(
#                               'header' => array(
#                                       'value' => $txt['display_name'],
#                               ),
#                               'data' => array(
#                                       'sprintf' => array(
#                                               'format' => '<a href="' . strtr($scripturl, array('%' => '%%')) . '?action=profile;u=%1$d">%2$s</a>',
#                                               'params' => array(
#                                                       'id_member' => false,
#                                                       'real_name' => false,
#                                               ),
#                                       ),
#                               ),
#                               'sort' => array(
#                                       'default' => 'real_name',
#                                       'reverse' => 'real_name DESC',
#                               ),
#                       ),


if you want it to be optional and not as an obligation.. just do the same with the coresponding "empty check"..
in Sources/Register.php change:
        // You can't register without a reason..
        if (empty($_POST['join_reason']) || trim($_POST['join_reason']) == '')
               fatal_lang_error('error_join_reason_empty', false);

to
        // You can't register without a reason..
#        if (empty($_POST['join_reason']) || trim($_POST['join_reason']) == '')
#               fatal_lang_error('error_join_reason_empty', false);


would be nice to have those things as a real option in a mod settings page..

Ninja ZX-10RR

Quote from: Arantor on January 02, 2010, 01:17:33 PM
So 0 is a logical join reason?
I'm really crying for laughing too much  ;D

Anyway... Italian translation? :O
$txt['admin_browse_join_reason'] = 'Motivo della registrazione';
$txt['join_reason'] = 'Come é venuto a conoscenza di questo sito?';


Code (utf) Select
$txt['admin_browse_join_reason'] = 'Motivo della registrazione';
$txt['join_reason'] = 'Come &eacute; venuto a conoscenza di questo sito?';
Quote from: BeastMode topic=525177.msg3720020#msg3720020
It's so powerful that on this post and even in the two PMs you sent me,you still answered my question very quickly and you're apologizing for the delay. You're the #1 support I've probably ever encountered man, so much respect for that. Thank you, and get better soon.

I'll keep this in my siggy for a while just to remind me that someone appreciated what I did while others didn't.

♥ Jess ♥

STOP EDITING MY PROFILE

dtbradio

Hi!

I went down through the file edits (double-checked everything twice), then copied the files included in the mod ZIP package into my smf directory and ran install.php. Now, when I try to view the member list from the admin panel, I get nothing but a blank screen. No files were modified other than the ones specified in the modification instructions for SMF 2.0.9 (the version I'm using), and no database mods were done after the install.php file was executed.

Any ideas here?

Advertisement: