[BETA] Event medals.

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Ideas Centre
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
Satanasov
Registered User
Posts: 1215
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov
Contact:

Re: [BETA] Event medals.

Post by Satanasov »

«THÖMÅS®©» wrote:
Thu Jun 29, 2017 5:33 pm
Regarding: this post

We have updated our boards to phpBB 3.2 from 3.1.19 and we got this error whenever we award a medal to someone:

Code: Select all

General Error
SQL ERROR [ mysql4 ]

Unknown column 'user_points' in 'field list' [1054]

SQL

UPDATE phpbb_users SET medal_user_points = user_points + 0 WHERE user_id = 217

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 999
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysql.php
LINE: 191
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 329
CALL: phpbb\db\driver\mysql->sql_query()

FILE: [ROOT]/ext/bb3mobi/medals/controller/medals.php
LINE: 1179
CALL: phpbb\db\driver\factory->sql_query()

FILE: [ROOT]/ext/bb3mobi/medals/controller/medals.php
LINE: 631
CALL: bb3mobi\medals\controller\medals->award_medal()

FILE: (not given by php)
LINE: (not given by php)
CALL: bb3mobi\medals\controller\medals->medals_system()

FILE: [ROOT]/vendor/symfony/http-kernel/HttpKernel.php
LINE: 144
CALL: call_user_func_array()

FILE: [ROOT]/vendor/symfony/http-kernel/HttpKernel.php
LINE: 64
CALL: Symfony\Component\HttpKernel\HttpKernel->handleRaw()

FILE: [ROOT]/app.php
LINE: 35
CALL: Symfony\Component\HttpKernel\HttpKernel->handle()
I must mention that despite this screen popping up with the above "General error", the medal is actually awarded. Is there anything that could be causing this as we have looked repeatedly and could not see what was causing it. I am wondering if it is a simple issue that could be causing it and I have overlooked it or something.

Could I get some pointers as to what could be causing this please?

Thanks.
This is not related to event medals. Please contact the developer of the extension that you are using for user points or something like it.
For list of all my extensions go to https://github.com/satanasov
If you want custom functions in some of my products - PM me and we will discuss it.
User avatar
olalavui
Registered User
Posts: 103
Joined: Sat Dec 13, 2008 3:02 am
Location: Vietnam
Name: Bui Thanh Tung
Contact:

Re: [BETA] Event medals.

Post by olalavui »

Please update some screenshot
Come back phpBB with phpBBVietnam
koraldon
Registered User
Posts: 529
Joined: Sat Jun 30, 2007 12:42 pm

Re: [BETA] Event medals.

Post by koraldon »

Where can I find a demo of this extension?
«THÖMÅS®©»
Registered User
Posts: 520
Joined: Sun Feb 27, 2011 5:38 pm
Location: UK
Contact:

Re: [BETA] Event medals.

Post by «THÖMÅS®©» »

Apologies that it has taken so long to reply, forgot all about this thread...

Here is the screenshot as requested...

Image
“No, this trick won't work... How on earth are you ever going to explain in terms of chemistry and physics so important a biological phenomenon as first love?” - Albert Einstein
"For every action has is an equal and opposite reaction". - Sir Isaac Newton
"In honor there is hope" - Alaska State Troopers

Owner & President @ =DN= Dark Nexus Multi-Gaming Clan
User avatar
3Di
Former Team Member
Posts: 15854
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [BETA] Event medals.

Post by 3Di »

Seems like your issue is related to bb3mobi/medals extension.
Try disabling it.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
:studio_microphone: Looking for a specific feature or alternative option?
«THÖMÅS®©»
Registered User
Posts: 520
Joined: Sun Feb 27, 2011 5:38 pm
Location: UK
Contact:

Re: [BETA] Event medals.

Post by «THÖMÅS®©» »

I know it is, I just don't know whats causing it. Something to do with the database perhaps?
“No, this trick won't work... How on earth are you ever going to explain in terms of chemistry and physics so important a biological phenomenon as first love?” - Albert Einstein
"For every action has is an equal and opposite reaction". - Sir Isaac Newton
"In honor there is hope" - Alaska State Troopers

Owner & President @ =DN= Dark Nexus Multi-Gaming Clan
«THÖMÅS®©»
Registered User
Posts: 520
Joined: Sun Feb 27, 2011 5:38 pm
Location: UK
Contact:

Re: [BETA] Event medals.

Post by «THÖMÅS®©» »

Sorry to ressurect a pretty old topic, however, we have installed a new version and we cannot move where the medals are displayed in the "viewtopic.php" file when viewing topics.

Currently it is displayed like this:
Image

Does anyone know where the medals can be moved down to near the bottom?
“No, this trick won't work... How on earth are you ever going to explain in terms of chemistry and physics so important a biological phenomenon as first love?” - Albert Einstein
"For every action has is an equal and opposite reaction". - Sir Isaac Newton
"In honor there is hope" - Alaska State Troopers

Owner & President @ =DN= Dark Nexus Multi-Gaming Clan
User avatar
fliper4o
Registered User
Posts: 267
Joined: Wed Mar 23, 2011 8:15 pm
Contact:

Re: [BETA] Event medals.

Post by fliper4o »

From other topic & ext but maybe can be useful & working.
martin wrote:
Wed Sep 20, 2017 8:10 am
You just change the name of the event file to where ever you would like it to show.
Image
You would also need to have another tab open of the acp so you can purge the cache or your see an error page.
While Ctrl + F5 is intended to abandon all cached content and just retrieve all content from the servers again.
«THÖMÅS®©»
Registered User
Posts: 520
Joined: Sun Feb 27, 2011 5:38 pm
Location: UK
Contact:

Re: [BETA] Event medals.

Post by «THÖMÅS®©» »

Please clarify, I am unsure what you mean...
“No, this trick won't work... How on earth are you ever going to explain in terms of chemistry and physics so important a biological phenomenon as first love?” - Albert Einstein
"For every action has is an equal and opposite reaction". - Sir Isaac Newton
"In honor there is hope" - Alaska State Troopers

Owner & President @ =DN= Dark Nexus Multi-Gaming Clan
User avatar
fliper4o
Registered User
Posts: 267
Joined: Wed Mar 23, 2011 8:15 pm
Contact:

Re: [BETA] Event medals.

Post by fliper4o »

«THÖMÅS®©» wrote:
Fri Nov 10, 2017 6:30 pm
Please clarify, I am unsure what you mean...
You've continued the ext developed to stage u're using & working. Yea?
What u've got in event folder? name the files in it.
Example of Profile Flair:
phpbb-flair/styles/prosilver/template/event/viewtopic_body_contact_fields_after.html
Rename .html file to what u see on pic below to where you want it to be shown
viewtopic_body_...html

If you ask for this?
«THÖMÅS®©»
Registered User
Posts: 520
Joined: Sun Feb 27, 2011 5:38 pm
Location: UK
Contact:

Re: [BETA] Event medals.

Post by «THÖMÅS®©» »

Here is a copy of the files inside the /ext/medals folder.

We are trying to get the medals displayed just below the country flag on our profiles...

We have tried everything and it does not work, at one point we even started getting HTTP 500 errors! Our board version is 3.2.1.

Help!
“No, this trick won't work... How on earth are you ever going to explain in terms of chemistry and physics so important a biological phenomenon as first love?” - Albert Einstein
"For every action has is an equal and opposite reaction". - Sir Isaac Newton
"In honor there is hope" - Alaska State Troopers

Owner & President @ =DN= Dark Nexus Multi-Gaming Clan
User avatar
fliper4o
Registered User
Posts: 267
Joined: Wed Mar 23, 2011 8:15 pm
Contact:

Re: [BETA] Event medals.

Post by fliper4o »

Thanks, but I can't help. I don't understand ether.
It's already medals_folder.zip\styles\prosilver\template\event\viewtopic_body_contact_fields_after.
Let the OP help you or somebody who understand :) give 'em some time :p

Good luck!
Satanasov
Registered User
Posts: 1215
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov
Contact:

Re: [BETA] Event medals.

Post by Satanasov »

OK ... where are the medals now?
For list of all my extensions go to https://github.com/satanasov
If you want custom functions in some of my products - PM me and we will discuss it.
Keeno
Registered User
Posts: 70
Joined: Mon Feb 19, 2018 1:48 pm

Re: [BETA] Event medals.

Post by Keeno »

This could be exactly what im looking for
Post Reply

Return to “Extensions in Development”