Facebook 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4290
Latest: JoshuaShoor
New This Month: 2
New This Week: 0
New Today: 0
Stats
Total Posts: 43790
Total Topics: 7602
Most Online Today: 49
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 52
Total: 52

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - davejo

Pages: 1 2 [3] 4 5 ... 12
31
Support / Re: Permissions query
« on: November 29, 2022, 01:31:46 am »
That would be good, thank you VB.

The only reason this came up is now the 'Announcement' issue, which I reported on SMF, has ben resolved in 2.1.3 I sent out a test announcement and omitted one group, Regular Members, but sent it to everyone else but the 'New' group who were included didn't get the email.


32
Support / Permissions query
« on: November 27, 2022, 09:59:51 am »
I created a new group 'New' that has the permission profile set to 'inherit from:
Regular Members'.

These members are set to download certain categories, let's call them 'Cups' in the 'Downloads'

In their profiles under account settings they are set to

Primary Membergroup - (no primary membergroup)
Additional Membergroups - (New)

The way I see it (no primary membergroup) means they are regarded as 'Regular Members *' for everything else to do with the forum.

The problem is that if I set them to those settings then they cannot download items from the 'Cups' downloads area, yet if I set them to 'Primary Membergroup - New' then they can download items.

This seems to be wrong to me as the 'Additional Membergroups' setting should allow them to download even if their account is set to Primary Membergroup - (no primary membergroup).

Anyone who has Primary Membergroup - (no primary membergroup) would not be able to download.

I should add that obviously the 'New' group has permissions set in the downloads for 'Cups' but the '* Full Member, Hero Member, Jr. Member and Newbie are not.

If you're following me so far; what's your thoughts?

33
Support / Re: Delete old file
« on: October 05, 2022, 01:03:30 am »
You should be able to remove/edit the main file by using Using the upload file button. That will overwrite the primary file on the upload

Yes that worked for me. I originally used the 'Add More Files' as I thought that it was better to add then delete the old one, I didn't realise that uploading using the existing button would overwrite it.

Thank you for the help

34
Support / Delete old file
« on: October 04, 2022, 09:19:58 am »
I found out I made a mistake with packaging some quizzes for the new quiz mod that will be released in the not to distant future.

So I created a new zip file and added it to the existing download, but I'm unable to delete the old file. I can delete the new file as it has a delete link next to it.

Any ideas how to delete the old file, apart from going into the download folder and finding it, which might not work as the database might still have a path to it.

The image below is of the editor page, the new file is the one at the top and at the bottom of the image you'll see the old file link

[ Guests cannot view attachments ]

The screenshot below is of the download page itself not the editor page, the download that says Pack 6a,b,c is the one I want to keep

[ Guests cannot view attachments ]

35
Support / Re: Portal Block
« on: August 23, 2022, 01:09:26 am »
Here is some php code which you can customize

Code: [Select]
global $smcFunc, $modSettings, $boardurl;
 
       
 if (empty($modSettings['badgeawards_url']))
 $modSettings['badgeawards_url'] = $boardurl . '/badges/';
       

 $result = $smcFunc['db_query']('', "
 SELECT
 b.id_badge, b.title, b.image, b.enabled, m.real_name, m.ID_MEMBER
 FROM ({db_prefix}badgeawards_badges as b, {db_prefix}badgeawards_badge_log as l)
            LEFT JOIN {db_prefix}members as m ON (m.ID_MEMBER = l.ID_MEMBER)
 WHERE l.id_badge = b.id_badge
 ORDER BY l.id_log DESC
 LIMIT  10
 ");
 while ($row = $smcFunc['db_fetch_assoc']($result))
 {
 echo '<img src="' . $modSettings['badgeawards_url']  . $row['image'] . '" alt="' . $row['title'] . '" title="' . $row['title'] . '" /> ' . $row['title']  . ' - ' . $row['real_name'];
 
 }
 

 

Thank you very much VB just what I wanted

I changed the code a little as the buttons says it all for me

Code: [Select]
global $smcFunc, $modSettings, $boardurl;

       
if (empty($modSettings['badgeawards_url']))
$modSettings['badgeawards_url'] = $boardurl . '/badges/';
       

$result = $smcFunc['db_query']('', "
SELECT
b.id_badge, b.title, b.image, b.enabled, m.real_name, m.ID_MEMBER
FROM ({db_prefix}badgeawards_badges as b, {db_prefix}badgeawards_badge_log as l)
            LEFT JOIN {db_prefix}members as m ON (m.ID_MEMBER = l.ID_MEMBER)
WHERE l.id_badge = b.id_badge
ORDER BY l.id_log DESC
LIMIT  8
");
while ($row = $smcFunc['db_fetch_assoc']($result))
{
echo '<img src="' . $modSettings['badgeawards_url']  . $row['image'] . '" /> ' .  $row['real_name'];

}

and that results in

[ Guests cannot view attachments ]

36
Support / Re: Portal Block
« on: August 21, 2022, 04:00:06 pm »
No really with that function. It just displays barges for the member.
What would that function display?/How would it be formatted.

My thoughts were that the block would display a list of members who had received a badge the same as it does on the board index. The block would not need to have the date or time just who received the badge similar to the attachment, with the option of changing how long the list is.


[ Guests cannot view attachments ]

37
Support / Re: Portal Block
« on: August 20, 2022, 06:04:33 am »
VB,

Is it possible to have the member ID
Quote
Badges_DisplayBadges($memberID = 0, $order = 'recent', $maxToShow = 5);
as a wild card so it picks up on all members who have recently received a badge?

It would be similar to the board index setting.

38
Support / Re: Custom badges
« on: August 18, 2022, 03:37:45 pm »
Thank you

I'll raid my money box tomorrow ;)


39
Support / Custom badges
« on: August 18, 2022, 10:26:51 am »
Hi VB,

Is it possible, with this mod, for me to create my own button and have it added manually, by admin, to a members profile the same as the badges?

I want to create a 'Donator' button and use that in place of one of the pre-installed buttons with the mod.

Is this possible?

40
Support / Re: Membergroup level
« on: August 18, 2022, 02:13:49 am »
Think you need the file space manager which allows you to limit things like downloads per day look in settings

Hi Mick,

Thanks I have found it now, I thought that was related to the uploads not the downloads limits

Thanks

Problem solved

41
Support / Membergroup level
« on: August 18, 2022, 01:15:40 am »
Hi VB

I have had a search around for the answer to my question but can't see one.

I want to be able to limit the amount of downloads members use by changing the settings

Quote
Membergroup level wait time in between downloads in minutes
Membergroup level max downloads per day

These show on your main downloads page https://www.smfhacks.com/download-system-pro.php

But I cannot find either of those settings anywhere.

Can you enlighten me please to where they are?

Regards

Dave

42
Site Discussion / Re: SMF forum
« on: June 27, 2022, 01:16:25 am »
Thanks Oldiesmann

43
Site Discussion / Re: SMF forum
« on: June 26, 2022, 12:54:09 pm »
Server hardware issue working on being resolved. No ETA yet.
Discord link https://discord.gg/MPeyrcHv  also posted on twitter.

Thanks VB

44
Site Discussion / SMF forum
« on: June 26, 2022, 11:24:43 am »
Anyone know why SMF forum is down? I haven't been able to get there all day

45
Feature Requests / Re: Quick-moderation checkboxes
« on: June 22, 2022, 09:27:24 am »
Just wanted to say thank you very much for those checkboxes VB. They have saved no end of time, it's a great addition to the mod

Pages: 1 2 [3] 4 5 ... 12

+- Recent Topics

[Mod]Cloudflare Turnstile for SMF by SMFHacks
May 08, 2025, 10:08:43 am

Disable "Notify me of Comments feature" by Kiwi
May 08, 2025, 02:04:16 am

Trying to access array offset on null by Michel68
May 05, 2025, 08:47:34 am

Default [Additional] Membergroups upon Registration by SMFHacks
April 30, 2025, 10:22:52 am

Sorted FTP Import Directory by SMFHacks
April 25, 2025, 05:11:22 am

Search results items per page? by SMFHacks
April 18, 2025, 04:12:23 pm

Suggestions and request by Senkusha
April 03, 2025, 02:30:43 pm

How does a member add a Classified Listing? by SMFHacks
March 28, 2025, 08:05:50 pm

Auto converting to webp or AVIF by [chrisB]
March 28, 2025, 01:46:00 pm

Thumbnail creation settings by SMFHacks
March 28, 2025, 12:42:51 pm

Powered by EzPortal