ACP Mod

Discussion forum for MOD Writers regarding MOD Development.
Locked
twprogrammers
Registered User
Posts: 61
Joined: Mon Oct 15, 2012 11:33 pm
Contact:

ACP Mod

Post by twprogrammers » Thu Nov 22, 2012 12:32 am

I want to create a MOD for 3.0.11 that adds a new button to the ACP index where you can reset most users ever online and such that runs an sql command. How would I do this? I am unfamiliar with creating phpBB MODS so please be patient with me.

The SQL Command I am wanting to run is:

Code: Select all

UPDATE phpbb_topics SET topic_views=0 WHERE topic_id>0

User avatar
Dugi
Registered User
Posts: 1386
Joined: Sun May 25, 2008 5:36 pm
Location: Mainz, Germany
Name: Dukagjin Surdulli
Contact:

Re: ACP Mod

Post by Dugi » Thu Nov 22, 2012 12:29 pm

I don't understand what you are requesting exactly... Would you mind reexplaining?
PM me for custom extension pricing / My validated MODs / My MODs in development

Fridge
Registered User
Posts: 307
Joined: Sat Nov 11, 2006 1:41 am
Location: Rotterdam, The Netherlands
Name: Martin
Contact:

Re: ACP Mod

Post by Fridge » Thu Nov 22, 2012 12:40 pm

The most users ever online is already there....

Image

twprogrammers
Registered User
Posts: 61
Joined: Mon Oct 15, 2012 11:33 pm
Contact:

Re: ACP Mod

Post by twprogrammers » Thu Nov 22, 2012 7:31 pm

I know, I want to add a button under that, that runs the SQL function that I showed in the first post. I don't know how to do it though.

Image

Locked

Return to “[3.0.x] MOD Writers Discussion”