looking for index.php?action

Started by ʜᴏᴍɪᴄɪᴅᴇ, August 29, 2014, 04:10:58 AM

Previous topic - Next topic

ʜᴏᴍɪᴄɪᴅᴇ

Sorry don't know much about coding; trying to teach myself. Stuck trying to find this file, I was able to modify the script using Google Chromes Inspect Element. I'm looking for index.php?action=mlist seems to be a html file that I can't find anywhere


Hj Ahmad Rasyid Hj Ismail

We are not using html file in SMF. Most of them is in php. I think it is in Memberlist.php file and its template is in Memberlist.template.php file.

ʜᴏᴍɪᴄɪᴅᴇ

from Inspect Element it shows up as html, ill check out the memberlist file though

EDIT:                           
Not having any luck, I'm looking for this specifically



Burke ♞ Knight


Sources Directory for Memberlist.php

Themes directory for Memberlist.template.php (Default theme for Curve or if your theme does not have it's own of this file.)

ʜᴏᴍɪᴄɪᴅᴇ



Hj Ahmad Rasyid Hj Ismail


NanoSector

If you ever need to look up where a function is located, open {forum}/index.php
Search for the action (so "mlist" in this case).

You'll find this line:
'mlist' => array('Memberlist.php', 'Memberlist'),
That means, upon calling this action, it will run the function Memberlist in file Sources/Memberlist.php.

Hope that makes it clearer :)
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Hj Ahmad Rasyid Hj Ismail


Arantor

Except for hooked actions and wrapped actions, that is. Fortunately the latter is so rarely used it doesn't matter.

Advertisement: