Customizing SMF > Modifications and Packages

Custom Action Mod

<< < (117/121) > >>

Yoshi:
Hey UNeverNo,

Does the script output something? If so, put it in the template box.

Just place it like this:

--- Code: ---<?php

// $boarddir contains the path to the SMF directory, so perhaps it's /var/www/smf
global $boarddir;

include 'MyFile.php';

?>
--- End code ---

Good luck!

poda19:
hi
i get this error when i submit my custom action

--- Quote ---database error:
Unknown column 'permissions_mode' in 'field list'
file: C:\AbyssRoot\htdocs\Forum\Sources\ManageSettings.php
line: 2396
--- End quote ---
can anyone help?
**EDIT:fixed it. smf_customaction table didn't have the permissions_mode column and i added it manually

DietmarH:

--- Quote from: Andrew94© on December 28, 2010, 11:51:39 AM ---I figured it out, it's ;sa=subaction

Example:

--- Code: ---http://youwebsite/index.php?action=firstaction;sa=subaction
--- End code ---

--- End quote ---
I found this, too. But why doesn't appear it as a sublist like under "admin", members" etc.?

iain sherriff:
hello.
Ive tried a search but can get my answer.
I have installed the mod with no errors and it works, Thank yuo for it.

Can I use it with existing actions? (as an Easy way of adding button to the menu)

thanks

tMicky:
Hello,

Is there a way to know the number of views a page with Custom Action Mod has?

thanks

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version