Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4260
Latest: Verrick
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 43306
Total Topics: 7525
Most Online Today: 662
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 255
Total: 255

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 ... 11
16
Support / Re: Version 6.1.6 issues
« on: September 24, 2023, 02:21:44 pm »
Yes.

I'm sorry VB but I don't understand about the custom edits. Where does it mention about doing those? I've looked in the readme.txt file and there's no mention of it there.

17
Support / Re: Version 6.1.6 issues
« on: September 24, 2023, 09:32:46 am »
Did you do custom file changes before for permissions I think I remember a post about that

Would I have needed to on the new install?

18
Support / Version 6.1.6 issues
« on: September 24, 2023, 08:40:37 am »
Hi VB,

I uploaded this to my site yesterday and the permissions stopped working. I had to revert to 6.1.5.

Just to make sure I wasn't imagining it. I've just installed 6.1.6 on my test site and set it up OK. I created a Cat and put a download in it.

I then set the cat permissions and the SMF permissions. No matter what I did my test member could not see the download created.

So in order to see if it was the new version or not I uninstalled 6.1.6 and installed 6.1.5, which I should add has never been installed on this test site, nor had the 6.1.6.

After installing the older version. I logged in as my test member and was able to see the download  without any issue.

So there must be bug with 6.1.6 somewhere

19
Support / Re: Permissions query
« on: March 26, 2023, 04:43:48 am »
Just found out what that issue was above. Although they denied knowledge of it, that error is caused by mod_security.

To prove it I added code to the .htaccess file to stop mod_security running and got the hosts to move my site to a new server in Europe, that way the server was restarted and the code took effect.

I then installed the latest version on all my sites that are with that host and it worked ok every time with no errors.

So if anyone else gets it now you know


20
Support / Re: Permissions query
« on: November 30, 2022, 09:52:38 am »
Assuming SMF 2.13? anything else in the error log.
No nothing in the error log at all...I have to admit the idea that it was 2.1.3 didn't occur to me VB. I'll uninstall the packages I've installed and then overwrite the Sources and Themes with 2.1.2 version and see if it happens...I'll get back to you


UPDATE: I have installed a fresh version of 2.1.2 and it's still doing it so my best guess is that it's my host or similar where the problem is.

I'll have to investigate further.

Thanks for the reply though

21
Support / Re: Permissions query
« on: November 30, 2022, 05:55:12 am »
Thank you again VB, that has done exactly what I thought it should have done in the first place, that's no disrespect you you by btw. Members in the 'New' group can see downloads and their primary group is set to (no primary membergroup) and they are now in the 'Additional Membergroups'.

I tested the announcements and the 'New' group now got the email although they weren't included in the list, I only selected regular members and the admin

Slightly off topic.

I'm not sure if this is related to Downloads or SMF but I tried to install the latest version 6.1.4 on my fresh install test site and got the errors as below. Would you have any idea why it would do that?

I should add that I deleted the old database and all files etc and started from new. I have also now tested installing other mods and they are fine. I've tried installing various versions from 6.0.1 up to the latest.


Code: [Select]
array(16) { [0]=> array(3) { ["file"]=> string(88) "***testing/Sources/Subs-Db-mysql.php" ["line"]=> int(590) ["function"]=> string(9) "log_error" } [1]=> array(3) { ["file"]=> string(88)
 "***testing/Sources/Subs-Db-mysql.php" ["line"]=> int(494) ["function"]=> string(12) "smf_db_error" } [2]=> array(3) { ["file"]=> string(81)
 "***testing/Sources/Errors.php" ["line"]=> int(138) ["function"]=> string(12) "smf_db_query" } [3]=> array(3) { ["file"]=> string(81)
 "***testing/Sources/Errors.php" ["line"]=> int(301) ["function"]=> string(9) "log_error" } [4]=> array(1) { ["function"]=> string(17)
 "smf_error_handler" } [5]=> array(3) { ["file"]=> string(88) "***testing/Sources/Subs-Db-mysql.php" ["line"]=> int(1027) ["function"]=> string(22)
 "mysqli_stmt_bind_param" } [6]=> array(3) { ["file"]=> string(81) "***testing/Sources/Errors.php" ["line"]=> int(129) ["function"]=> string(19)
 "smf_db_error_insert" } [7]=> array(3) { ["file"]=> string(88) "***testing/Sources/Subs-Db-mysql.php" ["line"]=> int(590) ["function"]=> string(9)
 "log_error" } [8]=> array(3) { ["file"]=> string(88) "***testing/Sources/Subs-Db-mysql.php" ["line"]=> int(494) ["function"]=> string(12)
 "smf_db_error" } [9]=> array(3) { ["file"]=> string(79) "***testing/Sources/Subs.php" ["line"]=> int(5824) ["function"]=> string(12)
 "smf_db_query" } [10]=> array(3) { ["file"]=> string(88) "***testing/Packages/temp/dohooks.php" ["line"]=> int(40) ["function"]=> string(24)
 "add_integration_function" } [11]=> array(4) { ["file"]=> string(83) "***testing/Sources/Packages.php" ["line"]=> int(1028) ["args"]=> array(1) { [0]=> string(88)
 "***testing/Packages/temp/dohooks.php" } ["function"]=> string(7) "require" } [12]=> array(3) { ["file"]=> string(79)
 "***testing/Sources/Subs.php" ["line"]=> int(6016) ["function"]=> string(14) "PackageInstall" } [13]=> array(3) { ["file"]=> string(83)
 "***testing/Sources/Packages.php" ["line"]=> int(91) ["function"]=> string(11) "call_helper" } [14]=> array(3) { ["file"]=> string(80)
 "***testing/Sources/Admin.php" ["line"]=> int(499) ["function"]=> string(8) "Packages" } [15]=> array(3) { ["file"]=> string(72)
 "***testing/index.php" ["line"]=> int(191) ["function"]=> string(9) "AdminMain" } } Error loop.

22
Support / Re: Permissions query
« on: November 30, 2022, 01:15:05 am »
Thanks VB I'll test it out on my test site first

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


24
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?

25
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

26
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 ]

27
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 ]

28
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 ]

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

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

I'll raid my money box tomorrow ;)


Pages: 1 [2] 3 4 ... 11

+- Recent Topics

Attachment images Upsidedown or Sideways by SMFHacks
June 10, 2024, 04:00:21 pm

“Insert from Gallery” by donk
June 10, 2024, 01:26:57 pm

Pretty Urls extras by SMFHacks
May 13, 2024, 10:28:54 am

Mod question by Verrick
May 11, 2024, 02:42:50 pm

i have paid but cant download ad pro. by SMFHacks
May 02, 2024, 11:29:38 pm

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

Powered by EzPortal