Search found 171 matches

by cedricthecat
Sun Aug 17, 2014 5:51 pm
Forum: [3.0.x] Support Forum
Topic: Users who activate but don't log in!
Replies: 5
Views: 303

Users who activate but don't log in!

Hi folks We run a forum where we get users to register via a Googledocs form embedded into our website front end. From this, we take the necessary details to register new members ourselves via the Add User mod for the ACP. We've recently moved from activating users as we've signed them up, to having...
by cedricthecat
Sun May 18, 2014 6:06 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Adding custom profile field to memberlist
Replies: 293
Views: 65782

Re: Adding custom profile field to memberlist

I wonder if anyone would be able to advise on the sorting solution posted by codejunkie on the tenth post on page two? https://www.phpbb.com/community/viewtopic.php?p=6077655#p6077655 He says, for changes to memberlist.php , at "around" line 900 to add $sort_key_text['y'] = $user->lang['SORT_FNAME']...
by cedricthecat
Sat May 10, 2014 6:19 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Member Number (or ID)
Replies: 36
Views: 2053

Re: Member Number (or ID)

if you want that in viewtopic mini profile only, you can easily adapt all users to a user-id, which depends on reg-date. just extract all non-reg-user (anonymous, bots, etc.), sort it by reg-date and you will have an array which can iritate the normal user-array. I think I see what you are saying, ...
by cedricthecat
Tue Apr 22, 2014 6:50 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Member Number (or ID)
Replies: 36
Views: 2053

Re: Member Number (or ID)

Apologies for exhuming a fairly old post, but I stumbled across it as it gave me just the solution I wanted for a problem with our forum! I wonder if anyone could advise if it's possible to change the code given earlier $member_num = $poster_id; if ($member_num > 52) { ($member_num -= 51); } elseif ...
by cedricthecat
Fri Mar 28, 2014 2:47 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Adding switch to ACP User Preferences
Replies: 8
Views: 703

Re: Adding switch to ACP User Preferences

I'm guessing that I just might be talking to myself here, but just in case, afternoon everyone! :mrgreen: OK, I've made the changes outlined above, and now also added $s_hide_fixed_bar = ($user->data['user_hidefixedbar'] == 1) ? 1 : 0; $template->assign_var('S_HIDE_FIXED_BAR', $s_hide_fixed_bar); to...
by cedricthecat
Thu Mar 27, 2014 7:21 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Adding switch to ACP User Preferences
Replies: 8
Views: 703

Re: Adding switch to ACP User Preferences

Oh, and on the same principle of making the coding/syntax match the environment, I have now changed <dl> <dt><label for="hidefixedbar0">Hide Fixed Bar:</label><br /><span>This will remove the fixed bar from the bottom of the screen.</span></dt> <dd> <label for="hidefixedbar1"><input type="radio" nam...
by cedricthecat
Thu Mar 27, 2014 6:33 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Adding switch to ACP User Preferences
Replies: 8
Views: 703

Re: Adding switch to ACP User Preferences

Hi all Still working on this! I've changed the additions to includes/acp/acp_users.php to match the syntax of adjacent code as follows:- $data['hidefixedbar'] = request_var('hidefixedbar', (bool) $user->data['user_hidefixedbar']); is now under " Under $data = array( " as 'hidefixedbar' => request_va...
by cedricthecat
Sat Mar 08, 2014 5:28 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Adding switch to ACP User Preferences
Replies: 8
Views: 703

Re: Adding switch to ACP User Preferences

Still tinkering with this! :D

Thinking about it, do I also need the equivalent of

Code: Select all

    $s_hide_fixed_bar = ($user->data['user_hidefixedbar'] == 1) ? 1 : 0;
    $template->assign_var('S_HIDE_FIXED_BAR', $s_hide_fixed_bar); 
perhaps in forums/adm/includes/functions.php?
by cedricthecat
Fri Mar 07, 2014 2:46 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Adding switch to ACP User Preferences
Replies: 8
Views: 703

Re: Adding switch to ACP User Preferences

You also have to add code to the includes/acp/acp_users.php file within the case prefs to get your button selections to stay. I've had a go at using the three snippets of code from the tutorial $data['hidefixedbar'] = request_var('hidefixedbar', (bool) $user->data['user_hidefixedbar']); $sql_ary['u...
by cedricthecat
Fri Mar 07, 2014 9:24 am
Forum: [3.0.x] MOD Writers Discussion
Topic: Adding switch to ACP User Preferences
Replies: 8
Views: 703

Re: Adding switch to ACP User Preferences

Hi Bill At this point, nothing happens I'm afraid! You can click to change the wording of the radio buttons, even though the buttons themselves appear inactive, but if you then hit "Submit" and go back, the status will revert (ie, if it currently has "Yes" highlighted and you click "No", then submit...
by cedricthecat
Thu Mar 06, 2014 6:42 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Adding switch to ACP User Preferences
Replies: 8
Views: 703

Adding switch to ACP User Preferences

Hi folks Firstly, apologies if this is in the wrong section - I think from past experience that it is, but never entirely sure.... OK, so I've added a custom menu to our forum, which runs on Artodia Art Phantom as it's style, using a combination of a floating right hand panel and popups. This works ...
by cedricthecat
Thu Dec 26, 2013 11:50 pm
Forum: [3.0.x] Support Forum
Topic: Word censoring phrases with BB code in
Replies: 5
Views: 1057

Re: Word censoring phrases with BB code in

That's brilliant - thanks very much!

(I'd never even thought about doing it from that end!)
by cedricthecat
Thu Dec 26, 2013 1:40 pm
Forum: [3.0.x] Support Forum
Topic: Word censoring phrases with BB code in
Replies: 5
Views: 1057

Word censoring phrases with BB code in

I've had a search and can't find anything that relates to this.... :( A lot of users are posting via phones, which is fair enough, but they often automatically put a phrase like Sent from my iPhone using Tapatalk at the bottom. The actual text is of course Sent from my iPhone using Tapatalk[/u rl] T...
by cedricthecat
Sat Aug 31, 2013 5:20 pm
Forum: [3.0.x] MOD Requests
Topic: Custom Profile page to show only Custom Fields
Replies: 27
Views: 1237

Re: Custom Profile page to show only Custom Fields

Just wondering if a Custom Profiles field guru could give any pointers to something I am mulling over? In the original memberlist.html there's this bit near the bottom, which determines whether there's a box to display the signature or not <!-- IF SIGNATURE --> <div class="panel bg1"> <div class="in...
by cedricthecat
Mon Aug 26, 2013 3:53 pm
Forum: [3.0.x] MOD Requests
Topic: Exclude sub-forums from Unread and New Posts
Replies: 0
Views: 221

Exclude sub-forums from Unread and New Posts

Is it possible to exclude specified sub-forums from the " View unread posts " and " View new posts " searches? I know you can stop all searches in Forum Permissions, under "Misc" , by setting "Can search the forum" to never, but just wondering if it's possible to stop in such a way as clicking to vi...

Go to advanced search