Advertisement:

Author Topic: GDPR Helper  (Read 11191 times)

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,502
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: GDPR Helper
« Reply #120 on: September 08, 2019, 10:23:20 PM »
That looks like a server issue or a mod issue.
That is not a standard SMF url. Could be caused by mod_security in apache maybe?
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

Offline moyack

  • Semi-Newbie
  • *
  • Posts: 58
  • Gender: Male
  • Bootstrap FTW!!
Re: GDPR Helper
« Reply #121 on: September 08, 2019, 10:41:08 PM »
That looks like a server issue or a mod issue.
That is not a standard SMF url. Could be caused by mod_security in apache maybe?

That URL is made by portaMX SEF. But unfortunately I'm stuck to disable it.

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,502
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: GDPR Helper
« Reply #122 on: September 08, 2019, 10:44:08 PM »
You can remove... from sources/querystring.php this code...
Code: [Select]

// Same goes for numeric keys.
foreach (array_merge(array_keys($_POST), array_keys($_GET), array_keys($_FILES)) as $key)
if (is_numeric($key))
die('Numeric request keys are invalid.');
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

Offline moyack

  • Semi-Newbie
  • *
  • Posts: 58
  • Gender: Male
  • Bootstrap FTW!!
Re: GDPR Helper
« Reply #123 on: September 08, 2019, 11:13:42 PM »
You can remove... from sources/querystring.php this code...
Code: [Select]

// Same goes for numeric keys.
foreach (array_merge(array_keys($_POST), array_keys($_GET), array_keys($_FILES)) as $key)
if (is_numeric($key))
die('Numeric request keys are invalid.');
Removed, but it gets reloading... the same page https://wc3modding.info/gpdr/sa/privacypolicy/reagree/1/

Is there a temporary way to disable the forcing of the agreement changing something in your mod? With this I can access to the site and disable SEF in portamx for your mod.

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,502
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: GDPR Helper
« Reply #124 on: September 08, 2019, 11:46:32 PM »
I would remove the section of code that calls the redirect.
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

Offline moyack

  • Semi-Newbie
  • *
  • Posts: 58
  • Gender: Male
  • Bootstrap FTW!!
Re: GDPR Helper
« Reply #125 on: September 09, 2019, 01:16:42 AM »
I would remove the section of code that calls the redirect.
Well, I'm checking the gprd2.php, but there's a lotr of redirect functions. in which one you recommend to make the modification?

Offline moyack

  • Semi-Newbie
  • *
  • Posts: 58
  • Gender: Male
  • Bootstrap FTW!!
Re: GDPR Helper
« Reply #126 on: September 09, 2019, 08:47:02 AM »
Ok, fixed the issue.

I was a little dumb and I forgot to check the code modifications.

Anyways I'd suggest to add to the documentation that you have to add an exception to SEF to the gpdr because the issue was that.

Checking any other stuff, but in general, nice mod.

Thanks for your support.  ;)

Offline moyack

  • Semi-Newbie
  • *
  • Posts: 58
  • Gender: Male
  • Bootstrap FTW!!
Re: GDPR Helper
« Reply #127 on: September 12, 2019, 11:02:31 AM »
Hi again:

One question: In my site I have 2 themes, where a board uses the other theme.

When I try to enter to that board, it forces the re-agreement. So I accept it, but when I try to enter again to that board, it reloads the re-agreement page.

How can I fix this?

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,430
  • Gender: Male
    • Kindred-999 on GitHub
Re: GDPR Helper
« Reply #128 on: September 12, 2019, 11:18:37 AM »
Sounds like there were theme edits which you did not apply to the secondary theme files
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline moyack

  • Semi-Newbie
  • *
  • Posts: 58
  • Gender: Male
  • Bootstrap FTW!!
Re: GDPR Helper
« Reply #129 on: September 12, 2019, 11:20:31 AM »
Sounds like there were theme edits which you did not apply to the secondary theme files
Hmm, probably, but the installation didn't add any modification to the theme... as far as I remember.

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,430
  • Gender: Male
    • Kindred-999 on GitHub
Re: GDPR Helper
« Reply #130 on: September 12, 2019, 12:00:45 PM »
Oh....  I see the possible problem.

I think that the mod stores the data of having read/accepted the policy in the extended user data...   this data is stored in a table and associated by option/user to each theme....
Since the theme is only in use for that one board, the acceptance 1- is not recorded for that user on that theme and 2- potentially may not get stored to that theme...




VBGamer...   I did just notice something
Code: [Select]
$buffer = preg_replace('~(, Simple Machines LLC</a>)~', ', Simple Machines LLC</a>....

why LLC? Simple machines has not been an LLC for a long time now...
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,502
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: GDPR Helper
« Reply #131 on: September 12, 2019, 01:58:09 PM »
Kindred for the copyright I think it was for odd SMF verisons. I copy the code from mod to mod to handle all cases.
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